Error running JBC hull example #512
michelepiffari
started this conversation in
General
Replies: 1 comment
-
You probably don't have enough memory... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm trying to run the JBC hull example.
I've installed docker on my MacBook Pro M2 and with the command :
docker pull dafoam/opt-packages:v3.0.7.
I runned the allClean and the preProcessing script and I got no errors with the mesh generation, but when I run the command:
mpirun -np 4 python runScript.py 2>&1 | tee optLog.txt
I got the following error:
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: Caught signal number 4 Illegal instruction: Likely due to memory corruption
[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
[0]PETSC ERROR: or see https://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind
[0]PETSC ERROR: or try http://valgrind.org on GNU/linux and Apple Mac OS X to find memory corruption errors
[0]PETSC ERROR: configure using --with-debugging=yes, recompile, link, and run
[0]PETSC ERROR: to get more information on the crash.
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 50176059.
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.
Why is this happening? I got a similar error also running in serial.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions