Skip to content

Commit 8a92aa4

Browse files
authored
Merge pull request #2091 from ggouaillardet/topic/v2.0.x/singleton_jobid
v2.0.x: ess/singleton: correctly set the jobid of a singleton
2 parents d479de3 + 8ed6de2 commit 8a92aa4

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
@@ -158,6 +158,8 @@ static int rte_init(void)
158158
/* for convenience, push the pubsub version of this param into the environ */
159159
opal_setenv (OPAL_MCA_PREFIX"pubsub_orte_server", orte_process_info.my_hnp_uri, 1, &environ);
160160
} else {
161+
/* we want to use PMIX_NAMESPACE that will be sent by the hnp as a jobid */
162+
opal_setenv(OPAL_MCA_PREFIX"orte_launch", "1", true, &environ);
161163
/* spawn our very own HNP to support us */
162164
if (ORTE_SUCCESS != (rc = fork_hnp())) {
163165
ORTE_ERROR_LOG(rc);

0 commit comments

Comments
 (0)