Re: [OMPI devel] Broken abort backtrace functionality

2014-09-30 Thread Ralph Castain
Should be fixed in r32821, scheduled for 1.8.4


On Sep 29, 2014, at 2:00 PM, Deva  wrote:

> 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
> ___
> devel mailing list
> de...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel
> Link to this post: 
> http://www.open-mpi.org/community/lists/devel/2014/09/15933.php



[OMPI devel] Broken abort backtrace functionality

2014-09-29 Thread Deva
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