Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2007-03-30 14:06:31

You should be able to get a core dump pretty easily by doing
something like this:

     { char *foo = 0; *foo = 13; }

Ensure that your coredumpsize limit is set to "unlimited" in the
shell on all nodes where you are running your MPI processes. It's
also helpful to set Linux (I'm assuming you're using Linux...?) to
append the core filename with the PID of the process that created it
so that you don't have multiple processes all writing to a single
file named "core" (particularly in a network filesystem kind of
scenario) because you'll get a single file that may or may not be

On Mar 30, 2007, at 12:11 PM, Jeff Stuart wrote:

> I'm using OpenMPI, and the documentation says that only a totalview
> style of debugger can be used. With that in mind, all I want to do is
> get a core-dump when a process crashes. I can then just load the core
> into GDB. Is there any easy way to do this?
> I tried calling signal(SIGSEGV, SIG_DFL); signal(SIGABRT, SIG_DFL); to
> no avail. All that happens is that I don't get a call stack dump
> anymore.
> Thanks,
> -Jeff
> _______________________________________________
> users mailing list
> users_at_[hidden]

Jeff Squyres
Cisco Systems