Skip to content

Commit

Permalink
Register the singleton's nspace with the PMIx server
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
rhc54 committed Nov 14, 2024
1 parent f7dad28 commit 89fdffe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/tools/prte/prte.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
#include "src/runtime/runtime.h"

#include "include/prte.h"
#include "src/prted/pmix/pmix_server.h"
#include "src/prted/pmix/pmix_server_internal.h"
#include "src/prted/prted.h"

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

return PRTE_SUCCESS;
// register the info with our PMIx server
rc = prte_pmix_server_register_nspace(jdata);

return rc;
}

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

0 comments on commit 89fdffe

Please sign in to comment.