Skip to content

Commit

Permalink
pmix: Fix detection of Externally-built PMIx
Browse files Browse the repository at this point in the history
See open-mpi#8823 for more details.

Signed-off-by: Artem Polyakov <artpol84@gmail.com>
  • Loading branch information
artpol84 committed Apr 20, 2021
1 parent 30b29b3 commit ea6e2d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions opal/mca/pmix/ext1x/pmix1x_component.c
Expand Up @@ -95,8 +95,7 @@ static int external_component_query(mca_base_module_t **module, int *priority)
char *t, *id;

/* see if a PMIx server is present */
if (NULL != (t = getenv("PMIX_SERVER_URI")) ||
NULL != (id = getenv("PMIX_ID"))) {
if (NULL != (t = getenv("PMIX_NAMESPACE"))) {
/* if PMIx is present, then we are a client and need to use it */
*priority = 100;
} else {
Expand Down

0 comments on commit ea6e2d8

Please sign in to comment.