Skip to content

Commit 5e3cf1e

Browse files
authored
Merge pull request #6478 from hppritcha/topic/issue_6471_f4.0.x
ompi_info: report whether MPI1 compat is enabled
2 parents 4d33115 + 5f7454a commit 5e3cf1e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ompi/tools/ompi_info/param.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
* Copyright (c) 2014-2017 Research Organization for Information Science
1515
* and Technology (RIST). All rights reserved.
1616
* Copyright (c) 2015 Intel, Inc. All rights reserved
17+
* Copyright (c) 2018 Amazon.com, Inc. or its affiliates. All Rights reserved.
18+
* Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
19+
* Copyright (c) 2019 Triad National Security, LLC. All rights reserved.
1720
* $COPYRIGHT$
1821
*
1922
* Additional copyrights may follow
@@ -132,6 +135,7 @@ void ompi_info_do_config(bool want_all)
132135
char *crdebug_support;
133136
char *topology_support;
134137
char *ipv6_support;
138+
char *mpi1_compat_support;
135139

136140
/* Do a little preprocessor trickery here to figure opal_info_out the
137141
* tri-state of MPI_PARAM_CHECK (which will be either 0, 1, or
@@ -285,6 +289,7 @@ void ompi_info_do_config(bool want_all)
285289
symbol_visibility = OPAL_C_HAVE_VISIBILITY ? "yes" : "no";
286290
topology_support = "yes";
287291
ipv6_support = OPAL_ENABLE_IPV6 ? "yes" : "no";
292+
mpi1_compat_support = OMPI_ENABLE_MPI1_COMPAT ? "yes" : "no";
288293

289294
/* setup strings that require allocation */
290295
if (OMPI_BUILD_FORTRAN_BINDINGS >= OMPI_FORTRAN_MPIFH_BINDINGS) {
@@ -643,6 +648,8 @@ void ompi_info_do_config(bool want_all)
643648
opal_info_out("Host topology support", "options:host-topology",
644649
topology_support);
645650
opal_info_out("IPv6 support", "options:ipv6", ipv6_support);
651+
opal_info_out("MPI1 compatibility", "options:mpi1-compatibility",
652+
mpi1_compat_support);
646653

647654
opal_info_out("MPI extensions", "options:mpi_ext", OMPI_MPIEXT_COMPONENTS);
648655

0 commit comments

Comments
 (0)