[mpich-discuss] [petsc-dev] turning off MPI abort messages

Jed Brown jed at jedbrown.org
Sat Feb 22 14:29:38 CST 2014


Junchao Zhang <jczhang at mcs.anl.gov> writes:

> See the wiki here<http://wiki.mpich.org/mpich/index.php/Tool_interfaces_(MPI-T),_MPICH_parameters_and_instrumentation#New_MPI_T_Control_Variable_Design>
> for how to add a cvar in MPICH.
> See MPI 3.0 Chapter 14.3.6 for how to access cvars in MPI.

I'm not familiar with the semantics for collective cvars, but the
attached code works for me (with my fixes to Jeff's patches applied to
MPICH).  In practice, perhaps we should go find
MPIR_CVAR_SUPPRESS_ABORT_MESSAGE in advance to avoid iterating in the
exit handler.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: abort.c
Type: text/x-csrc
Size: 966 bytes
Desc: not available
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20140222/61de1267/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20140222/61de1267/attachment.sig>


More information about the discuss mailing list