Skip to content

Commit a557c41

Browse files
committed
Add OPAL_VPID to unpacking
* Needed to properly read PMIx job data like the following - `OPAL_PMIX_LOCALLDR` - `OPAL_PMIX_RANK` - `OPAL_PMIX_GLOBAL_RANK` - `OPAL_PMIX_APPLDR` - `OPAL_PMIX_APP_RANK` Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
1 parent f2e6d78 commit a557c41

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

opal/dss/dss_load_unload.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* Copyright (c) 2014-2018 Intel, Inc. All rights reserved.
1313
* Copyright (c) 2015-2017 Research Organization for Information Science
1414
* and Technology (RIST). All rights reserved.
15+
* Copyright (c) 2018 IBM Corporation. All rights reserved.
1516
* $COPYRIGHT$
1617
*
1718
* Additional copyrights may follow
@@ -372,6 +373,10 @@ int opal_value_unload(opal_value_t *kv,
372373
*data = kv->data.ptr;
373374
break;
374375

376+
case OPAL_VPID:
377+
memcpy(*data, &kv->data.name.vpid, sizeof(opal_vpid_t));
378+
break;
379+
375380
default:
376381
OPAL_ERROR_LOG(OPAL_ERR_NOT_SUPPORTED);
377382
return OPAL_ERR_NOT_SUPPORTED;

0 commit comments

Comments
 (0)