Error loading mesh in demo_navier-stokes with mpirun

Asked by Paul Constantine

DOLFIN 1.1 on CentOS 6

Running the first few lines of demo_navier-stokes.py produces a seg fault. In particular

mpirun -n 4 python demo_commented.py

where demo_commented.py is

from dolfin import *

# Print log messages only from the root process in parallel
parameters["std_out_all_processes"] = False;

# Load mesh from file
mesh = Mesh("lshape.xml.gz")

produces the error

$ mpirun -n 4 python demo_commented.py
===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= EXIT CODE: 139
= CLEANING UP REMAINING PROCESSES
= YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
===================================================================================
YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Segmentation fault (signal 11)
This typically refers to a problem with your application.
Please see the FAQ page for debugging suggestions

Question information

Language:
English Edit question
Status:
Answered
For:
DOLFIN Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Paul Constantine (paul-g-constantine) said :
#1

More info: No problem running the C++ version with mpirun.

Revision history for this message
Jan Blechta (blechta) said :
#2

run with gdb to catch a problem:
$ mpirun -n 2 xterm -e gdb -arg python demo_navier-stokes.py

If you have problem running gdb with mpirun follow here http://www.open-mpi.org/faq/?category=debugging#serial-debuggers

Jan

Can you help with this problem?

Provide an answer of your own, or ask Paul Constantine for more information if necessary.

To post a message you must log in.