Hello,
I am working through the 3d/tet4 example to gain some understanding in meshing using LaGrit. I am experiencing a runtime error when reading the binary pset file provided in the example (error below). Conversely, the simulation runs fine when I use the ascii pset file.
The error suggests that there is a problem with the binary file’s header. Can this be remedied by editing the file using a hex editor? Furthermore, is this a version issue between PyLith 2.2.2 and the pset file that may come up later when meshing with LaGrit?
Stay well,
PJ
-- Reading binary Pset file 'mesh/tet4_1000m_binary.pset'. Fatal error. Calling MPI_Abort() to abort PyLith application. Traceback (most recent call last): File "/home/pj/pylith/pylith-2.2.2-linux-x86_64/lib/python2.7/site-packages/pylith/apps/PetscApplication.py", line 74, in onComputeNodes self.main(*args, **kwds) File "/home/pj/pylith/pylith-2.2.2-linux-x86_64/lib/python2.7/site-packages/pylith/apps/PyLithApp.py", line 115, in main mesh = self.mesher.create(self.problem.normalizer, interfaces) File "/home/pj/pylith/pylith-2.2.2-linux-x86_64/lib/python2.7/site-packages/pylith/topology/MeshImporter.py", line 100, in create mesh = self.reader.read(self.debug, self.interpolate) File "/home/pj/pylith/pylith-2.2.2-linux-x86_64/lib/python2.7/site-packages/pylith/meshio/MeshIOObj.py", line 71, in read ModuleMeshIO.read(self, mesh) File "/home/pj/pylith/pylith-2.2.2-linux-x86_64/lib/python2.7/site-packages/pylith/meshio/meshio.py", line 86, in read def read(self, *args): return _meshio.MeshIO_read(self, *args) RuntimeError: Header in binary Pset file '0000:' does not match anticipated header 'pset'. application called MPI_Abort(MPI_COMM_WORLD, -1) - process 0 /home/pj/pylith/pylith-2.2.2-linux-x86_64/bin/nemesis: mpirun: exit 255 /home/pj/pylith/pylith-2.2.2-linux-x86_64/bin/pylith: /home/pj/pylith/pylith-2.2.2-linux-x86_64/bin/nemesis: exit 1