1
1
Open MPI main development repository (BSD license) https://github.com/open-mpi/ompi
Перейти к файлу
Rainer Keller 6ee5a29c2f Add a Stacktrace feature, which figures where/what signal has happened
after MPI-startup.
For this a new mpirun-parameter "mpi_signal" is added, one may specify a
comma-separated list of signals to grab, e.g. mpirun --mca mpi_signal 8,11
will check for SIGFPE and SIGSEGV.
It only finds the first fault (SA_ONESHOT), as after the return the same
fault will occur again.

As printout, the data provided by siginfo_t is printed to STDOUT (yes,
it calls printf ,-]).
Additionally, with glibc, it uses backtrace and backtrace_symbols to 
print the calling stack up to the function in which the signal was raised:

(Rank:0) Going to write to RD_ONLY mmaped shared mem
Signal:11 info.si_errno:0(Success) si_code:2(SEGV_ACCERR)
Failing at addr:0x4020c000
[0] func:/home/rusraink/ompi-gcc/lib/libmpi.so.0 [0x40121afe]
[1] func:./t0 [0x42029180]
[2] func:./t0(__libc_start_main+0x95) [0x42017589]
[3] func:./t0(__libc_start_main+0x49) [0x8048691]

This commit was SVN r4170.
2005-01-26 19:11:46 +00:00
config Try harder not to find an F77 compiler in the F90 section. 2005-01-26 07:41:06 +00:00
contrib Update the nightly unimplemented report to skip the MPI-2 one-sided 2004-12-14 13:57:49 +00:00
etc Add HLRS copyright 2004-11-28 20:09:25 +00:00
include Fix some compiler warnings (specifically, from icc v8.0) 2005-01-21 13:54:38 +00:00
src Add a Stacktrace feature, which figures where/what signal has happened 2005-01-26 19:11:46 +00:00
test * adjust the ompi_argv_delete() function so that it shortens the passed 2004-12-07 02:42:17 +00:00
vcproj checking in changes that would make this thing work 2005-01-26 00:20:35 +00:00
acinclude.m4 Added F90 alignment tests (f90_get_alignment) 2005-01-12 18:23:26 +00:00
autogen.sh Properly add the soh framework in all the places it needs to be. Left 2004-12-16 18:52:33 +00:00
configure.ac Add a Stacktrace feature, which figures where/what signal has happened 2005-01-26 19:11:46 +00:00
Doxyfile Add HLRS copyright 2004-11-28 20:09:25 +00:00
HACKING Add HLRS copyright 2004-11-28 20:09:25 +00:00
INSTALL Add HLRS copyright 2004-11-28 20:09:25 +00:00
LICENSE Add HLRS copyright 2004-11-28 20:09:25 +00:00
Makefile.am Add HLRS copyright 2004-11-28 20:09:25 +00:00
README Add HLRS copyright 2004-11-28 20:09:25 +00:00
VERSION svn=2 will now place the svn version number in the tarball 2004-07-06 23:03:33 +00:00

Copyright (c) 2004-2005 The Trustees of Indiana University.
                        All rights reserved.
Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
                        All rights reserved.
Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 
                        University of Stuttgart.  All rights reserved.
$COPYRIGHT$

Additional copyrights may follow

$HEADER$

This is the world's greatest MPI.

...more to write here
should be a short file, referring to the real docs.