Skip to content

Commit 30f98cd

Browse files
committed
pmix: redefine OPAL_PMIX_ARCH macro
Architecture is set by the ompi layer *after* job startup, so the key cannot have the "pmix" prefix since optimizations in 01a653d otherwise architecture cannot be retrieved
1 parent 60e91e8 commit 30f98cd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

opal/mca/pmix/pmix_types.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2014-2016 Intel, Inc. All rights reserved.
3+
* Copyright (c) 2016 Research Organization for Information Science
4+
* and Technology (RIST). All rights reserved.
35
* $COPYRIGHT$
46
*
57
* Additional copyrights may follow
@@ -61,7 +63,8 @@ BEGIN_C_DECLS
6163
#define OPAL_PMIX_CPUSET "pmix.cpuset" // (char*) hwloc bitmap applied to proc upon launch
6264
#define OPAL_PMIX_CREDENTIAL "pmix.cred" // (char*) security credential assigned to proc
6365
#define OPAL_PMIX_SPAWNED "pmix.spawned" // (bool) true if this proc resulted from a call to PMIx_Spawn
64-
#define OPAL_PMIX_ARCH "pmix.arch" // (uint32_t) datatype architecture flag
66+
#define OPAL_PMIX_ARCH "opal.pmix.arch" // (uint32_t) datatype architecture flag
67+
// not set at job startup, so cannot have the pmix prefix
6568

6669
/* scratch directory locations for use by applications */
6770
#define OPAL_PMIX_TMPDIR "pmix.tmpdir" // (char*) top-level tmp dir assigned to session

0 commit comments

Comments
 (0)