[MPICH] How do I dump a core under MPICH-2?

Robert Latham robl at mcs.anl.gov
Tue Sep 25 10:00:26 CDT 2007


On Tue, Sep 25, 2007 at 10:06:32AM -0400, Gus Correa wrote:
> The idea is to examine the core dump with gdb, and try to find out the 
> point and reason of failure.
> 
> How can  I get a core dump under MPICH-2?

I know this is possible: I get core dumps from MPICH2 all the time :>

> 7) I unlimited the core dump size ("limit coredumpsize unlimited"),
> but I still don't see any core in the run directory after the
> program fails.

You may be enabling core dumps on one process but not all of them?
Also there might be a difference between the environment given to an
interactive shell, a login shell,  and that of a non-interactive shell.  

What does 'ulimit -a' show you?  You might have to stick a 'ulimit -c
unlimited' in your .zshenv or .bashrc

In short, it's not an MPICH2 issue, but a distribution/linux issue.
I'm afraid we don't have too many FC7 clusters to test on, so I can
only offer you that advice above.

==rob

-- 
Rob Latham
Mathematics and Computer Science Division    A215 0178 EA2D B059 8CDF
Argonne National Lab, IL USA                 B29D F333 664A 4280 315B




More information about the mpich-discuss mailing list