From 3ac1d0dae58bc70027743d0cdfc860775102f1e0 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Thu, 29 Jan 2015 15:07:52 -0800 Subject: [PATCH] *-info: add "lt_dladvise support" lines --- ompi/tools/ompi_info/param.c | 5 ++++- orte/tools/orte-info/param.c | 5 ++++- oshmem/tools/oshmem_info/param.c | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ompi/tools/ompi_info/param.c b/ompi/tools/ompi_info/param.c index 0225402d9c..a9ba26324d 100644 --- a/ompi/tools/ompi_info/param.c +++ b/ompi/tools/ompi_info/param.c @@ -9,7 +9,7 @@ * University of Stuttgart. All rights reserved. * Copyright (c) 2004-2005 The Regents of the University of California. * All rights reserved. - * Copyright (c) 2007-2014 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2007-2015 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2009 Oak Ridge National Labs. All rights reserved. * Copyright (c) 2014-2015 Research Organization for Information Science * and Technology (RIST). All rights reserved. @@ -119,6 +119,7 @@ void ompi_info_do_config(bool want_all) char *cxxexceptions; char *threads; char *want_libltdl; + char *have_ltdl_advise; #if OMPI_RTE_ORTE char *mpirun_prefix_by_default; #endif @@ -255,6 +256,7 @@ void ompi_info_do_config(bool want_all) fortran_usempi_profiling = (OMPI_ENABLE_MPI_PROFILING && OMPI_BUILD_FORTRAN_USEMPI_BINDINGS) ? "yes" : "no"; fortran_usempif08_profiling = (OMPI_ENABLE_MPI_PROFILING && OMPI_BUILD_FORTRAN_USEMPIF08_BINDINGS) ? "yes" : "no"; want_libltdl = OPAL_WANT_LIBLTDL ? "yes" : "no"; + have_ltdl_advise = OPAL_HAVE_LTDL_ADVISE ? "yes" : "no"; #if OMPI_RTE_ORTE mpirun_prefix_by_default = ORTE_WANT_ORTERUN_PREFIX_BY_DEFAULT ? "yes" : "no"; #endif @@ -618,6 +620,7 @@ void ompi_info_do_config(bool want_all) opal_info_out("Memory profiling support", "option:mem-profile", memprofile); opal_info_out("Memory debugging support", "option:mem-debug", memdebug); opal_info_out("libltdl support", "option:dlopen", want_libltdl); + opal_info_out("lt_dladvise support", "option:lt_dladvise", have_ltdl_advise); opal_info_out("Heterogeneous support", "options:heterogeneous", heterogeneous); #if OMPI_RTE_ORTE opal_info_out("mpirun default --prefix", "mpirun:prefix_by_default", diff --git a/orte/tools/orte-info/param.c b/orte/tools/orte-info/param.c index 1b6f82c380..a2f59aec4b 100644 --- a/orte/tools/orte-info/param.c +++ b/orte/tools/orte-info/param.c @@ -9,7 +9,7 @@ * University of Stuttgart. All rights reserved. * Copyright (c) 2004-2005 The Regents of the University of California. * All rights reserved. - * Copyright (c) 2007-2011 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2007-2015 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2009 Oak Ridge National Labs. All rights reserved. * Copyright (c) 2015 Research Organization for Information Science * and Technology (RIST). All rights reserved. @@ -340,6 +340,7 @@ void orte_info_do_config(bool want_all) char *debug; char *threads; char *want_libltdl; + char *have_ltdl_advise; char *orterun_prefix_by_default; char *wtime_support; char *symbol_visibility; @@ -351,6 +352,7 @@ void orte_info_do_config(bool want_all) memdebug = OPAL_ENABLE_MEM_DEBUG ? "yes" : "no"; debug = OPAL_ENABLE_DEBUG ? "yes" : "no"; want_libltdl = OPAL_WANT_LIBLTDL ? "yes" : "no"; + have_ltdl_advise = OPAL_HAVE_LTDL_ADVISE ? "yes" : "no"; orterun_prefix_by_default = ORTE_WANT_ORTERUN_PREFIX_BY_DEFAULT ? "yes" : "no"; wtime_support = OPAL_TIMER_USEC_NATIVE ? "native" : "gettimeofday"; symbol_visibility = OPAL_C_HAVE_VISIBILITY ? "yes" : "no"; @@ -422,6 +424,7 @@ void orte_info_do_config(bool want_all) orte_info_out("Memory profiling support", "option:mem-profile", memprofile); orte_info_out("Memory debugging support", "option:mem-debug", memdebug); orte_info_out("libltdl support", "option:dlopen", want_libltdl); + orte_info_out("lt_dladvise support", "option:lt_dladvise", have_ltdl_advise); orte_info_out("Heterogeneous support", "options:heterogeneous", heterogeneous); orte_info_out("orterun default --prefix", "orterun:prefix_by_default", orterun_prefix_by_default); diff --git a/oshmem/tools/oshmem_info/param.c b/oshmem/tools/oshmem_info/param.c index e7c9468c19..d3809d8569 100644 --- a/oshmem/tools/oshmem_info/param.c +++ b/oshmem/tools/oshmem_info/param.c @@ -2,7 +2,7 @@ * Copyright (c) 2013 Mellanox Technologies, Inc. * All rights reserved. * - * Copyright (c) 2014 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2014-2015 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2014 Research Organization for Information Science * and Technology (RIST). All rights reserved. * $COPYRIGHT$ @@ -109,6 +109,7 @@ void oshmem_info_do_config(bool want_all) char *cxxexceptions; char *threads; char *want_libltdl; + char *have_ltdl_advise; #if OMPI_RTE_ORTE char *mpirun_prefix_by_default; #endif @@ -230,6 +231,7 @@ void oshmem_info_do_config(bool want_all) fortran_usempi_profiling = (OMPI_ENABLE_MPI_PROFILING && OMPI_BUILD_FORTRAN_USEMPI_BINDINGS) ? "yes" : "no"; fortran_usempif08_profiling = (OMPI_ENABLE_MPI_PROFILING && OMPI_BUILD_FORTRAN_USEMPIF08_BINDINGS) ? "yes" : "no"; want_libltdl = OPAL_WANT_LIBLTDL ? "yes" : "no"; + have_ltdl_advise = OPAL_HAVE_LTDL_ADVISE ? "yes" : "no"; #if OMPI_RTE_ORTE mpirun_prefix_by_default = ORTE_WANT_ORTERUN_PREFIX_BY_DEFAULT ? "yes" : "no"; #endif @@ -566,6 +568,7 @@ void oshmem_info_do_config(bool want_all) opal_info_out("Memory profiling support", "option:mem-profile", memprofile); opal_info_out("Memory debugging support", "option:mem-debug", memdebug); opal_info_out("libltdl support", "option:dlopen", want_libltdl); + opal_info_out("lt_dladvise support", "option:lt_dladvise", have_ltdl_advise); opal_info_out("Heterogeneous support", "options:heterogeneous", heterogeneous); #if OMPI_RTE_ORTE opal_info_out("mpirun default --prefix", "mpirun:prefix_by_default",