Skip to content

Commit acc2a70

Browse files
Merge pull request #6251 from ggouaillardet/topic/pmix-v3.1
pmix/ext3x: fix support for external PMIx v3.1
2 parents c1bc92f + 950ba16 commit acc2a70

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

opal/mca/pmix/ext3x/ext3x.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
22
/*
33
* Copyright (c) 2014-2018 Intel, Inc. All rights reserved.
4-
* Copyright (c) 2014-2018 Research Organization for Information Science
4+
* Copyright (c) 2014-2019 Research Organization for Information Science
55
* and Technology (RIST). All rights reserved.
66
* Copyright (c) 2014-2015 Mellanox Technologies, Inc.
77
* All rights reserved.
@@ -1107,10 +1107,12 @@ int ext3x_value_unload(opal_value_t *kv,
11071107
OPAL_ERROR_LOG(OPAL_ERR_NOT_SUPPORTED);
11081108
rc = OPAL_ERR_NOT_SUPPORTED;
11091109
break;
1110+
#ifdef PMIX_MODEX
11101111
case PMIX_MODEX:
11111112
OPAL_ERROR_LOG(OPAL_ERR_NOT_SUPPORTED);
11121113
rc = OPAL_ERR_NOT_SUPPORTED;
11131114
break;
1115+
#endif /* PMIX_MODEX */
11141116
case PMIX_PERSIST:
11151117
kv->type = OPAL_PERSIST;
11161118
kv->data.uint8 = ext3x_convert_persist(v->data.persist);
@@ -1221,10 +1223,12 @@ int ext3x_value_unload(opal_value_t *kv,
12211223
OPAL_ERROR_LOG(OPAL_ERR_NOT_SUPPORTED);
12221224
rc = OPAL_ERR_NOT_SUPPORTED;
12231225
break;
1226+
#ifdef PMIX_INFO_ARRAY
12241227
case PMIX_INFO_ARRAY:
12251228
OPAL_ERROR_LOG(OPAL_ERR_NOT_SUPPORTED);
12261229
rc = OPAL_ERR_NOT_SUPPORTED;
12271230
break;
1231+
#endif /* PMIX_INFO_ARRAY */
12281232
case PMIX_IOF_CHANNEL:
12291233
OPAL_ERROR_LOG(OPAL_ERR_NOT_SUPPORTED);
12301234
rc = OPAL_ERR_NOT_SUPPORTED;

0 commit comments

Comments
 (0)