I looks like OMPI_MCA_mpi_abort_print_stack=1 is broken. I'm seeing
following warning with it.
--------------------------
$mpirun -np 2 -x OMPI_MCA_mpi_abort_print_stack=1 ./hello_c
--------------------------------------------------------------------------
WARNING: A user-supplied value attempted to override the default-only MCA
variable named "mpi_abort_print_stack".
The user-supplied value was ignored.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
WARNING: A user-supplied value attempted to override the default-only MCA
variable named "mpi_abort_print_stack".
The user-supplied value was ignored.
--------------------------------------------------------------------------
Hello, world, I am 1 of 2,
Hello, world, I am 0 of 2,
----------------------------------
It seems HAVE_BACKTRACE is not defined by any configuration but, below
relevant code is guarded with it.
#if OPAL_WANT_PRETTY_PRINT_STACKTRACE && defined(HAVE_BACKTRACE)
0,
OPAL_INFO_LVL_9,
MCA_BASE_VAR_SCOPE_READONLY,
#else
MCA_BASE_VAR_FLAG_DEFAULT_ONLY,
OPAL_INFO_LVL_9,
MCA_BASE_VAR_SCOPE_CONSTANT,
#endif
$git grep HAVE_BACKTRACE
ompi/runtime/ompi_mpi_params.c:#if OPAL_WANT_PRETTY_PRINT_STACKTRACE &&
defined(HAVE_BACKTRACE)
$
--
-Devendar