We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1da5584 commit b748afcCopy full SHA for b748afc
orte/orted/pmix/pmix_server_register_fns.c
100644
100755
@@ -382,13 +382,11 @@ int orte_pmix_server_register_nspace(orte_job_t *jdata)
382
opal_list_append(pmap, &kv->super);
383
384
/* node ID */
385
- if (NULL != node) {
386
- kv = OBJ_NEW(opal_value_t);
387
- kv->key = strdup(OPAL_PMIX_NODEID);
388
- kv->type = OPAL_UINT32;
389
- kv->data.uint32 = node->index;
390
- opal_list_append(pmap, &kv->super);
391
- }
+ kv = OBJ_NEW(opal_value_t);
+ kv->key = strdup(OPAL_PMIX_NODEID);
+ kv->type = OPAL_UINT32;
+ kv->data.uint32 = pptr->node->index;
+ opal_list_append(pmap, &kv->super);
392
}
393
394
/* mark the job as registered */
0 commit comments