22 Feb
2014
22 Feb
'14
2:29 p.m.
Junchao Zhang <[email protected]> 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.