Skip to content
Snippets Groups Projects
Commit 5fc75f1f authored by Artem Polyakov's avatar Artem Polyakov Committed by David Bigagli
Browse files

Fix inconsistency with OMPI PMIx serverside.

parent 3863823d
No related branches found
No related tags found
No related merge requests found
......@@ -301,11 +301,15 @@ static void _set_procdatas(List lresp)
xfree(p);
list_append(lresp, kvp);
PMIXP_ALLOC_KEY(kvp, PMIX_NODEID);
PMIX_VAL_SET(&kvp->value, uint32_t, nsptr->node_id);
list_append(lresp, kvp);
/* store information about local processes */
for (i = 0; i < pmixp_info_tasks(); i++) {
List rankinfo;
ListIterator it;
int count, j, nodeid, localid;
int count, j, localid, nodeid;
char *nodename;
pmix_info_t *info;
......@@ -356,9 +360,6 @@ static void _set_procdatas(List lresp)
PMIX_VAL_SET(&kvp->value, string, nodename);
list_append(rankinfo, kvp);
free(nodename);
PMIXP_ALLOC_KEY(kvp, PMIX_NODEID);
PMIX_VAL_SET(&kvp->value, uint32_t, nodeid);
list_append(rankinfo, kvp);
/* merge rankinfo into one PMIX_PROC_DATA key */
count = list_count(rankinfo);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment