Skip to content

Commit 11ebf3a

Browse files
committed
ess/singleton: when forking hnp, use the PMIX_NAMESPACE sent by the hnp
as the jobid
1 parent 037020e commit 11ebf3a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

orte/mca/ess/singleton/ess_singleton_module.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ static int rte_init(void)
165165
/* ensure we use the isolated pmix component */
166166
opal_setenv (OPAL_MCA_PREFIX"pmix", "isolated", true, &environ);
167167
} else {
168+
/* we want to use PMIX_NAMESPACE that will be sent by the hnp as a jobid */
169+
opal_setenv(OPAL_MCA_PREFIX"orte_launch", "1", true, &environ);
168170
/* spawn our very own HNP to support us */
169171
if (ORTE_SUCCESS != (rc = fork_hnp())) {
170172
ORTE_ERROR_LOG(rc);

0 commit comments

Comments
 (0)