Skip to content

Commit ad156e3

Browse files
author
rhc54
authored
Merge pull request #2207 from rhc54/topic/pmixupdate
Update PMIx support to latest PMIx master
2 parents ee9f33f + 6ce4b6d commit ad156e3

Some content is hidden

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

84 files changed

+2650
-1622
lines changed

opal/mca/pmix/pmix3x/configure.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ AC_DEFUN([MCA_opal_pmix_pmix3x_CONFIG],[
3939

4040
AC_ARG_ENABLE([pmix3-dstore],
4141
[AC_HELP_STRING([--enable-pmix3-dstore],
42-
[Enable PMIx shared memory data store (default: disabled)])])
42+
[Enable PMIx shared memory data store (default: enabled)])])
4343
AC_MSG_CHECKING([if PMIx3 shared memory data store is enabled])
44-
if test "$enable_pmix3_dstore" = "yes"; then
44+
if test "$enable_pmix3_dstore" != "no"; then
4545
AC_MSG_RESULT([yes])
4646
opal_pmix_pmix3x_sm_flag=--enable-dstore
4747
else

opal/mca/pmix/pmix3x/pmix/NEWS

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@ current release as well as the "stable" bug fix release branch.
2323
Master (not on release branches yet)
2424
------------------------------------
2525

26+
1.1.5
27+
-----
28+
- Add pmix_version.h to support direct detection of PMIx library version
29+
- Fix support for Solaris 10 by using abstract version of strnlen
30+
- Fix native security module for Solaris by using getpeerucred in
31+
that environment
32+
- Ensure man pages don't get installed in embedded builds
33+
- Pass temporary directory locations in info keys instead of
34+
the environment
35+
2636
1.1.4
2737
-----
2838
- Properly increment the reference count for PMIx_Init

opal/mca/pmix/pmix3x/pmix/VERSION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ greek=
3030
# command, or with the date (if "git describe" fails) in the form of
3131
# "date<date>".
3232

33-
repo_rev=git9cbb1bf
33+
repo_rev=git6ea0747
3434

3535
# If tarball_version is not empty, it is used as the version string in
3636
# the tarball filename, regardless of all other versions listed in
@@ -44,7 +44,7 @@ tarball_version=
4444

4545
# The date when this release was created
4646

47-
date="Aug 19, 2016"
47+
date="Oct 11, 2016"
4848

4949
# The shared library version of each of PMIx's public libraries.
5050
# These versions are maintained in accordance with the "Library

opal/mca/pmix/pmix3x/pmix/config/pmix.m4

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dnl Copyright (c) 2009 Los Alamos National Security, LLC. All rights
1717
dnl reserved.
1818
dnl Copyright (c) 2009-2011 Oak Ridge National Labs. All rights reserved.
1919
dnl Copyright (c) 2011-2013 NVIDIA Corporation. All rights reserved.
20-
dnl Copyright (c) 2013-2015 Intel, Inc. All rights reserved
20+
dnl Copyright (c) 2013-2016 Intel, Inc. All rights reserved
2121
dnl Copyright (c) 2015-2016 Research Organization for Information Science
2222
dnl and Technology (RIST). All rights reserved.
2323
dnl Copyright (c) 2016 Mellanox Technologies, Inc.
@@ -104,6 +104,12 @@ AC_DEFUN([PMIX_SETUP_CORE],[
104104
AC_DEFINE_UNQUOTED([PMIX_MINOR_VERSION], [$PMIX_MINOR_VERSION],
105105
[The library minor version is always available, contrary to VERSION])
106106

107+
pmixmajor=${PMIX_MAJOR_VERSION}L
108+
pmixminor=${PMIX_MINOR_VERSION}L
109+
AC_SUBST(pmixmajor)
110+
AC_SUBST(pmixminor)
111+
AC_CONFIG_FILES(pmix_config_prefix[include/pmix_version.h])
112+
107113
PMIX_RELEASE_VERSION="`$PMIX_top_srcdir/config/pmix_get_version.sh $PMIX_top_srcdir/VERSION --release`"
108114
if test "$?" != "0"; then
109115
AC_MSG_ERROR([Cannot continue])
@@ -136,6 +142,23 @@ AC_DEFUN([PMIX_SETUP_CORE],[
136142
# replaced, not the entire file.
137143
AC_CONFIG_HEADERS(pmix_config_prefix[src/include/pmix_config.h])
138144

145+
# Rename symbols?
146+
AC_ARG_WITH([pmix-symbol-rename],
147+
AC_HELP_STRING([--with-pmix-symbol-rename=PREFIX],
148+
[Provide a prefix to rename PMIx symbols]))
149+
AC_MSG_CHECKING([for symbol rename])
150+
AS_IF([test ! -z "$with_pmix_symbol_rename" && test "$with_pmix_symbol_rename" != "yes"],
151+
[AC_MSG_RESULT([$with_pmix_symbol_rename])
152+
pmix_symbol_rename="$with_pmix_symbol_rename"
153+
PMIX_RENAME=$with_pmix_symbol_rename],
154+
[AC_MSG_RESULT([no])
155+
pmix_symbol_rename=""
156+
PMIX_RENAME=])
157+
AC_DEFINE_UNQUOTED(PMIX_SYMBOL_RENAME, [$pmix_symbol_rename],
158+
[The pmix symbol rename include directive])
159+
AC_SUBST(PMIX_RENAME)
160+
AC_CONFIG_FILES(pmix_config_prefix[include/pmix_rename.h])
161+
139162
# GCC specifics.
140163
if test "x$GCC" = "xyes"; then
141164
PMIX_GCC_CFLAGS="-Wall -Wmissing-prototypes -Wundef"
@@ -592,20 +615,6 @@ AC_DEFUN([PMIX_SETUP_CORE],[
592615

593616
PMIX_HWLOC_CONFIG
594617

595-
##################################
596-
# SASL
597-
##################################
598-
pmix_show_title "SASL"
599-
600-
PMIX_SASL_CONFIG
601-
602-
##################################
603-
# Munge
604-
##################################
605-
pmix_show_title "Munge"
606-
607-
PMIX_MUNGE_CONFIG
608-
609618
##################################
610619
# MCA
611620
##################################
@@ -698,16 +707,6 @@ AC_DEFUN([PMIX_DEFINE_ARGS],[
698707
[pmix_mode=standalone
699708
AC_MSG_RESULT([no])])
700709

701-
# Rename symbols?
702-
AC_ARG_WITH([pmix-symbol-rename],
703-
AC_HELP_STRING([--with-pmix-symbol-rename=FILE],
704-
[Provide an include file that contains directives to rename PMIx symbols]))
705-
AS_IF([test ! -z "$with_pmix_symbol_rename" && test "$with_pmix_symbol_rename" != "yes"],
706-
[pmix_symbol_rename="$with_pmix_symbol_rename"],
707-
[pmix_symbol_rename=\"src/include/rename.h\"])
708-
AC_DEFINE_UNQUOTED(PMIX_SYMBOL_RENAME, [$pmix_symbol_rename],
709-
[The pmix symbol rename include directive])
710-
711710
# Install tests and examples?
712711
AC_MSG_CHECKING([if tests and examples are to be installed])
713712
AC_ARG_WITH([tests-examples],
@@ -840,16 +839,17 @@ AC_MSG_CHECKING([if want shared memory datastore])
840839
AC_ARG_ENABLE([dstore],
841840
[AC_HELP_STRING([--disable-dstore],
842841
[Using shared memory datastore (default: enabled)])])
843-
if test "$enable_dstore" != "no" ; then
844-
AC_MSG_RESULT([yes])
845-
WANT_DSTORE=1
846-
else
842+
if test "$enable_dstore" == "no" ; then
847843
AC_MSG_RESULT([no])
848844
WANT_DSTORE=0
845+
else
846+
AC_MSG_RESULT([yes])
847+
WANT_DSTORE=1
849848
fi
850849
AC_DEFINE_UNQUOTED([PMIX_ENABLE_DSTORE],
851-
[$WANT_DSTORE],
852-
[if want shared memory dstore feature])
850+
[$WANT_DSTORE],
851+
[if want shared memory dstore feature])
852+
853853
#
854854

855855
# Ident string

opal/mca/pmix/pmix3x/pmix/config/pmix_check_munge.m4

Lines changed: 0 additions & 83 deletions
This file was deleted.

opal/mca/pmix/pmix3x/pmix/config/pmix_check_sasl.m4

Lines changed: 0 additions & 82 deletions
This file was deleted.

opal/mca/pmix/pmix3x/pmix/config/pmix_setup_libevent.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ AC_DEFUN([_PMIX_LIBEVENT_EXTERNAL],[
124124
# Set output variables
125125
PMIX_EVENT_HEADER="<event.h>"
126126
PMIX_EVENT2_THREAD_HEADER="<event2/thread.h>"
127-
PMIX_EVENT_LIB=-levent
127+
PMIX_EVENT_LIB="-levent -levent_pthreads"
128128
AS_IF([test "$pmix_event_dir" != ""],
129129
[PMIX_EVENT_CPPFLAGS="-I$pmix_event_dir/include"])
130130
AS_IF([test "$pmix_event_libdir" != ""],

opal/mca/pmix/pmix3x/pmix/include/Makefile.am

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,8 @@ include_HEADERS = \
1919
pmi2.h \
2020
pmix_tool.h
2121

22+
nodist_include_HEADERS = \
23+
pmix_version.h \
24+
pmix_rename.h
25+
2226
endif ! PMIX_EMBEDDED_MODE

opal/mca/pmix/pmix3x/pmix/include/pmix.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
/* Structure and constant definitions */
5050
#include <pmix_common.h>
51-
51+
#include <pmix_rename.h>
5252

5353
#if defined(c_plusplus) || defined(__cplusplus)
5454
extern "C" {

0 commit comments

Comments
 (0)