Skip to content

Commit 8f3060e

Browse files
rhc54bosilca
authored andcommitted
Register the singleton's nspace with the PMIx server
Once we have created the necessary PRRTE infrastructure to support the singleton, we need to register that info with our internal PMIx server so it can be served to any requesting clients. Signed-off-by: Ralph Castain <rhc@pmix.org> (cherry picked from commit 89fdffe)
1 parent 30cadc6 commit 8f3060e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/tools/prte/prte.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104
#include "src/runtime/runtime.h"
105105

106106
#include "include/prte.h"
107+
#include "src/prted/pmix/pmix_server.h"
107108
#include "src/prted/pmix/pmix_server_internal.h"
108109
#include "src/prted/prted.h"
109110

@@ -1438,7 +1439,10 @@ static int prep_singleton(const char *name)
14381439
node->num_procs = 1;
14391440
node->slots_inuse = 1;
14401441

1441-
return PRTE_SUCCESS;
1442+
// register the info with our PMIx server
1443+
rc = prte_pmix_server_register_nspace(jdata);
1444+
1445+
return rc;
14421446
}
14431447

14441448
static void signal_forward_callback(int signum, short args, void *cbdata)

0 commit comments

Comments
 (0)