[CIG-SHORT] I/O error while reading SimpleDB data.

Brad Aagaard baagaard at usgs.gov
Thu Apr 11 14:30:04 PDT 2013


Yes, you can create a linear variation in the axial load. You need to 
add a line feed at the end of the file. See 
http://www.geodynamics.org/cig/community/workinggroups/short/workarea/pylith-wiki/index_html#errors_spatialdata

I have made the error message more verbose to suggest the proper fixes. 
This will appear in the next release.

Brad


On 04/11/2013 09:35 AM, Adewale Moroof Amosu (amamosu) wrote:
> I am trying to modify the step18 example in the pylith manual.
>
> The example does surface loading for a point.
> I am trying to extend it to surface loading for a line.
>
> When I use the points from the line only it gives me an I/O error. However when I add other points  outside the line it works.
>
> Is there a way to do it for just the line?
>
> I have attached two folders one that works and the one that doesn't work. The only difference are the points that I put in the spatialdb/tractions_axial_pressure.spatialdb file.
>
> I have also attached the result for the one that works and another plot of the line. The red dots show the line and the blue points show the extra points added for it to work.
>
> Here is a copy of the error message:
-- OUTPUT DELETED --
>   >> /Users/adewaleamosu/src/pylith/pylith-1.7.1-darwin-10.6.8/lib/python2.7/site-packages/pylith/bc/Neumann.py:134:initialize
>   -- timedependent(info)
>   -- Initializing Neumann boundary 'face_zpos'.
> Fatal error. Calling MPI_Abort() to abort PyLith application.
> Traceback (most recent call last):
>    File "/Users/adewaleamosu/src/pylith/pylith-1.7.1-darwin-10.6.8/lib/python2.7/site-packages/pylith/apps/PetscApplication.py", line 65, in onComputeNodes
>      self.main(*args, **kwds)
>    File "/Users/adewaleamosu/src/pylith/pylith-1.7.1-darwin-10.6.8/lib/python2.7/site-packages/pylith/apps/PyLithApp.py", line 113, in main
>      self.problem.initialize()
>    File "/Users/adewaleamosu/src/pylith/pylith-1.7.1-darwin-10.6.8/lib/python2.7/site-packages/pylith/problems/TimeDependent.py", line 119, in initialize
>      self.formulation.initialize(self.dimension, self.normalizer)
>    File "/Users/adewaleamosu/src/pylith/pylith-1.7.1-darwin-10.6.8/lib/python2.7/site-packages/pylith/problems/Implicit.py", line 127, in initialize
>      self._initialize(dimension, normalizer)
>    File "/Users/adewaleamosu/src/pylith/pylith-1.7.1-darwin-10.6.8/lib/python2.7/site-packages/pylith/problems/Formulation.py", line 503, in _initialize
>      integrator.initialize(totalTime, numTimeSteps, normalizer)
>    File "/Users/adewaleamosu/src/pylith/pylith-1.7.1-darwin-10.6.8/lib/python2.7/site-packages/pylith/bc/Neumann.py", line 137, in initialize
>      BoundaryCondition.initialize(self, totalTime, numTimeSteps, normalizer)
>    File "/Users/adewaleamosu/src/pylith/pylith-1.7.1-darwin-10.6.8/lib/python2.7/site-packages/pylith/bc/BoundaryCondition.py", line 127, in initialize
>      ModuleBoundaryCondition.initialize(self, self.mesh, self.upDir)
>    File "/Users/adewaleamosu/src/pylith/pylith-1.7.1-darwin-10.6.8/lib/python2.7/site-packages/pylith/bc/bc.py", line 154, in initialize
>      def initialize(self, *args): return _bc.BoundaryCondition_initialize(self, *args)
> RuntimeError: Error occurred while reading spatial database file 'spatialdb/tractions_axial_pressure.spatialdb'.
> I/O error while reading SimpleDB data.
> application called MPI_Abort(MPI_COMM_WORLD, -1) - process 0
> /Users/adewaleamosu/src/pylith/pylith-1.7.1-darwin-10.6.8/bin/nemesis: mpirun: exit 255
> /Users/adewaleamosu/src/pylith/pylith-1.7.1-darwin-10.6.8/bin/pylith: /Users/adewaleamosu/src/pylith/pylith-1.7.1-darwin-10.6.8/bin/nemesis: exit 1
>
>
>
>
> Thanks
> Adewale
>



More information about the CIG-SHORT mailing list