Skip to content

Commit 89fdffe

Browse files
committed
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>
1 parent f7dad28 commit 89fdffe

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/tools/prte/prte.c

+5-1
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

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

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

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

0 commit comments

Comments
 (0)