Skip to content

Commit ddf7e43

Browse files
author
Ralph Castain
authored
Merge pull request #5695 from rhc54/topic/pmix4
Update master to PMIx v4
2 parents fb67b17 + 7facb3f commit ddf7e43

File tree

645 files changed

+12823
-3648
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

645 files changed

+12823
-3648
lines changed

.gitignore

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -391,12 +391,12 @@ opal/mca/pmix/pmix*/pmix/examples/pub
391391
opal/mca/pmix/pmix*/pmix/examples/server
392392
opal/mca/pmix/pmix*/pmix/examples/tool
393393

394-
opal/mca/pmix/ext3x/ext3x.c
395-
opal/mca/pmix/ext3x/ext3x.h
396-
opal/mca/pmix/ext3x/ext3x_client.c
397-
opal/mca/pmix/ext3x/ext3x_component.c
398-
opal/mca/pmix/ext3x/ext3x_server_north.c
399-
opal/mca/pmix/ext3x/ext3x_server_south.c
394+
opal/mca/pmix/ext4x/ext4x.c
395+
opal/mca/pmix/ext4x/ext4x.h
396+
opal/mca/pmix/ext4x/ext4x_client.c
397+
opal/mca/pmix/ext4x/ext4x_component.c
398+
opal/mca/pmix/ext4x/ext4x_server_north.c
399+
opal/mca/pmix/ext4x/ext4x_server_south.c
400400

401401
opal/tools/opal-checkpoint/opal-checkpoint
402402
opal/tools/opal-checkpoint/opal-checkpoint.1

config/opal_check_pmi.m4

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,12 +337,25 @@ AC_DEFUN([OPAL_CHECK_PMIX],[
337337
338338
# if it does exist, then we need to parse it to find
339339
# the actual release series
340+
AS_IF([test "$opal_external_pmix_version_found" = "0"],
341+
[AC_MSG_CHECKING([version 4x])
342+
AC_PREPROC_IFELSE([AC_LANG_PROGRAM([
343+
#include <pmix_version.h>
344+
#if (PMIX_VERSION_MAJOR < 4L)
345+
#error "not version 4 or above"
346+
#endif
347+
], [])],
348+
[AC_MSG_RESULT([found])
349+
opal_external_pmix_version=4x
350+
opal_external_pmix_version_found=1],
351+
[AC_MSG_RESULT([not found])])])
352+
340353
AS_IF([test "$opal_external_pmix_version_found" = "0"],
341354
[AC_MSG_CHECKING([version 3x or above])
342355
AC_PREPROC_IFELSE([AC_LANG_PROGRAM([
343356
#include <pmix_version.h>
344-
#if (PMIX_VERSION_MAJOR < 3L)
345-
#error "not version 3 or above"
357+
#if (PMIX_VERSION_MAJOR != 3L)
358+
#error "not version 3"
346359
#endif
347360
], [])],
348361
[AC_MSG_RESULT([found])

ompi/runtime/ompi_mpi_init.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* Copyright (c) 2008-2009 Sun Microsystems, Inc. All rights reserved.
1818
* Copyright (c) 2011 Sandia National Laboratories. All rights reserved.
1919
* Copyright (c) 2012-2013 Inria. All rights reserved.
20-
* Copyright (c) 2014-2017 Intel, Inc. All rights reserved.
20+
* Copyright (c) 2014-2018 Intel, Inc. All rights reserved.
2121
* Copyright (c) 2014-2016 Research Organization for Information Science
2222
* and Technology (RIST). All rights reserved.
2323
* Copyright (c) 2016-2018 Mellanox Technologies Ltd. All rights reserved.
@@ -531,7 +531,7 @@ int ompi_mpi_init(int argc, char **argv, int requested, int *provided,
531531
/* we want to go first */
532532
OBJ_CONSTRUCT(&info, opal_list_t);
533533
kv = OBJ_NEW(opal_value_t);
534-
kv->key = strdup(OPAL_PMIX_EVENT_ORDER_PREPEND);
534+
kv->key = strdup(OPAL_PMIX_EVENT_HDLR_PREPEND);
535535
opal_list_append(&info, &kv->super);
536536
/* give it a name so we can distinguish it */
537537
kv = OBJ_NEW(opal_value_t);
@@ -660,7 +660,7 @@ int ompi_mpi_init(int argc, char **argv, int requested, int *provided,
660660
opal_pmix.commit();
661661
OMPI_TIMING_NEXT("commit");
662662
#if (OPAL_ENABLE_TIMING)
663-
if (OMPI_TIMING_ENABLED && !opal_pmix_base_async_modex &&
663+
if (OMPI_TIMING_ENABLED && !opal_pmix_base_async_modex &&
664664
opal_pmix_collect_all_data) {
665665
if (OMPI_SUCCESS != (ret = opal_pmix.fence(NULL, 0))) {
666666
error = "timing: pmix-barrier-1 failed";

opal/mca/pmix/ext3x/Makefile.am

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2014-2017 Intel, Inc. All rights reserved.
2+
# Copyright (c) 2014-2018 Intel, Inc. All rights reserved.
33
# Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
44
# Copyright (c) 2015-2018 Research Organization for Information Science
55
# and Technology (RIST). All rights reserved.
@@ -38,19 +38,6 @@ component_noinst = libmca_pmix_ext3x.la
3838
component_install =
3939
endif
4040

41-
#
42-
# Generate ext3x sources from the pmix3x component
43-
#
44-
$(nodist_headers):
45-
pmix3xname=`echo $@ | sed -e s/ext3x/pmix3x/g` ; \
46-
$(SED) 's/pmix3x/ext3x/g' $(top_srcdir)/opal/mca/pmix/pmix3x/$$pmix3xname > $@
47-
48-
$(sources): $(nodist_headers)
49-
50-
$(nodist_sources): $(nodist_headers)
51-
pmix3xname=`echo $@ | sed -e s/ext3x/pmix3x/g` ; \
52-
$(SED) 's/pmix3x/ext3x/g' $(top_srcdir)/opal/mca/pmix/pmix3x/$$pmix3xname > $@
53-
5441
mcacomponentdir = $(opallibdir)
5542
mcacomponent_LTLIBRARIES = $(component_install)
5643
mca_pmix_ext3x_la_SOURCES = $(sources)
File renamed without changes.

0 commit comments

Comments
 (0)