Skip to content

Commit 3f7b1d0

Browse files
jjhurseyrhc54
authored andcommitted
Add PMIx Standard version info to pmix_info
Signed-off-by: Joshua Hursey <[email protected]>
1 parent fa15e0d commit 3f7b1d0

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/tools/pmix_info/support.c

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* reserved.
1616
* Copyright (c) 2011-2012 University of Houston. All rights reserved.
1717
* Copyright (c) 2016-2020 Intel, Inc. All rights reserved.
18-
* Copyright (c) 2017 IBM Corporation. All rights reserved.
18+
* Copyright (c) 2017-2022 IBM Corporation. All rights reserved.
1919
* Copyright (c) 2017 Research Organization for Information Science
2020
* and Technology (RIST). All rights reserved.
2121
* Copyright (c) 2021-2022 Nanook Consulting. All rights reserved.
@@ -1218,6 +1218,14 @@ void pmix_info_show_pmix_version(const char *scope)
12181218
}
12191219
pmix_info_out("PMIX release date", tmp, PMIX_RELEASE_DATE);
12201220
free(tmp);
1221+
1222+
// PMIx Standard Compliance levels
1223+
pmix_info_out("PMIX Standard", "pmix:std:version", PMIX_STD_VERSION);
1224+
if (0 > asprintf(&tmp, "Stable (%s), Provisional (%s)", PMIX_STD_ABI_STABLE_VERSION, PMIX_STD_ABI_PROVISIONAL_VERSION)) {
1225+
return;
1226+
}
1227+
pmix_info_out("PMIX Standard ABI", "pmix:std:abi:version", tmp);
1228+
free(tmp);
12211229
}
12221230

12231231
/*

0 commit comments

Comments
 (0)