Dear Pylith developers,
I recently extended pylith to implement my own friction law. I use Pylith installed from source on the cluster.
Now when I try running pylith, I get this error:
– Initialized PETSc.
A process has executed an operation involving a call to the
“fork()” system call to create a child process. Open MPI is currently
operating in a condition that could result in memory corruption or
other system errors; your job may hang, crash, or produce silent
data corruption. The use of fork() (or system() or other calls that
create child processes) is strongly discouraged.
The process that invoked fork was:
Local host: [[54552,1],0] (PID 49034)
If you are absolutely sure that your application will successfully
and correctly survive a call to fork(), you may disable this warning
by setting the mpi_warn_on_fork MCA parameter to 0.
– Running on 1 process(es).
–  CPU time: 00:00:00, Memory usage: 89.75 MB
– Reading finite-element mesh
Fatal error. Calling MPI_Abort() to abort PyLith application.
Traceback (most recent call last):
File “/home/bolee/PYLITH_FROM_SOURCE/pylith/lib/python2.7/site-packages/pylith/apps/PetscApplication.py”, line 74, in onComputeNodes
File “/home/bolee/PYLITH_FROM_SOURCE/pylith/lib/python2.7/site-packages/pylith/apps/PyLithApp.py”, line 115, in main
mesh = self.mesher.create(self.problem.normalizer, interfaces)
File “/home/bolee/PYLITH_FROM_SOURCE/pylith/lib/python2.7/site-packages/pylith/topology/MeshImporter.py”, line 100, in create
mesh = self.reader.read(self.debug, self.interpolate)
File “/home/bolee/PYLITH_FROM_SOURCE/pylith/lib/python2.7/site-packages/pylith/meshio/MeshIOObj.py”, line 71, in read
File “/home/bolee/PYLITH_FROM_SOURCE/pylith/lib/python2.7/site-packages/pylith/meshio/meshio.py”, line 86, in read
def read(self, *args): return _meshio.MeshIO_read(self, *args)
RuntimeError: Error while reading Cubit Exodus file ‘mesh/geometry_and_mesh_2by3m.exo’.
Could not open ExodusII file ‘mesh/geometry_and_mesh_2by3m.exo’ for reading.
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode -1.
NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
/home/bolee/PYLITH_FROM_SOURCE/pylith/bin/nemesis: mpirun: exit 255
/home/bolee/PYLITH_FROM_SOURCE/pylith/bin/pylith: /home/bolee/PYLITH_FROM_SOURCE/pylith/bin/nemesis: exit 1
I know my mesh files are fine, because they ran previously with another pylith installation. I know the problem is not in my friction law, because the error is the same with build-in friction laws.
I tried reinstalling pylith and rebuilding friction, that didn’t work.
Do you know what the problem might be?
Any help will be appreciated!