Skip to content

Commit a14bb4b

Browse files
authored
Merge pull request #6471 from hppritcha/topic/issue_6470
ompi_info: report whether MPI1 compat is enabled
2 parents 2c76696 + 61ccc65 commit a14bb4b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ompi/tools/ompi_info/param.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* Copyright (c) 2015 Intel, Inc. All rights reserved
1717
* Copyright (c) 2018 Amazon.com, Inc. or its affiliates. All Rights reserved.
1818
* Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
19+
* Copyright (c) 2019 Triad National Security, LLC. All rights reserved.
1920
* $COPYRIGHT$
2021
*
2122
* Additional copyrights may follow
@@ -134,6 +135,7 @@ void ompi_info_do_config(bool want_all)
134135
char *crdebug_support;
135136
char *topology_support;
136137
char *ipv6_support;
138+
char *mpi1_compat_support;
137139

138140
/* Do a little preprocessor trickery here to figure opal_info_out the
139141
* tri-state of MPI_PARAM_CHECK (which will be either 0, 1, or
@@ -287,6 +289,10 @@ void ompi_info_do_config(bool want_all)
287289
symbol_visibility = OPAL_C_HAVE_VISIBILITY ? "yes" : "no";
288290
topology_support = "yes";
289291
ipv6_support = OPAL_ENABLE_IPV6 ? "yes" : "no";
292+
/*
293+
* hardwire to no since we don't have MPI1 compat post v4.0.x
294+
*/
295+
mpi1_compat_support = "no";
290296

291297
/* setup strings that require allocation */
292298
if (OMPI_BUILD_FORTRAN_BINDINGS >= OMPI_FORTRAN_MPIFH_BINDINGS) {
@@ -669,6 +675,8 @@ void ompi_info_do_config(bool want_all)
669675
opal_info_out("Host topology support", "options:host-topology",
670676
topology_support);
671677
opal_info_out("IPv6 support", "options:ipv6", ipv6_support);
678+
opal_info_out("MPI1 compatibility", "options:mpi1-compatibility",
679+
mpi1_compat_support);
672680

673681
opal_info_out("MPI extensions", "options:mpi_ext", OMPI_MPIEXT_COMPONENTS);
674682

0 commit comments

Comments
 (0)