Skip to content

Commit ed6e6b3

Browse files
authored
Merge pull request #5312 from karasevb/3.0_fix_pmix_component
v3.0.x: pmix/ext2x: fixed detection PMIx v2.0 by pmix component
2 parents 0d90056 + 0f1f5e6 commit ed6e6b3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

opal/mca/pmix/ext2x/pmix2x_component.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ static int external_component_query(mca_base_module_t **module, int *priority)
100100

101101
/* see if a PMIx server is present */
102102
if (NULL != (t = getenv("PMIX_SERVER_URI")) ||
103+
NULL != (t = getenv("PMIX_SERVER_URI2")) ||
103104
NULL != (id = getenv("PMIX_ID"))) {
104105
/* if PMIx is present, then we are a client and need to use it */
105106
*priority = 100;

opal/mca/pmix/pmix2x/pmix2x_component.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ static int external_component_query(mca_base_module_t **module, int *priority)
117117

118118
/* see if a PMIx server is present */
119119
if (NULL != (t = getenv("PMIX_SERVER_URI")) ||
120+
NULL != (t = getenv("PMIX_SERVER_URI2")) ||
120121
NULL != (id = getenv("PMIX_ID"))) {
121122
/* if PMIx is present, then we are a client and need to use it */
122123
*priority = 100;

0 commit comments

Comments
 (0)