Skip to content

Commit e8cec80

Browse files
authored
Merge pull request #4989 from jjhursey/update/v3.0.x-to-pmix-2.0.3
v3.0.x: Update to PMIx 2.0.3
2 parents bbf15aa + eba14f3 commit e8cec80

Some content is hidden

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

80 files changed

+1245
-1972
lines changed

opal/mca/pmix/pmix2x/pmix/NEWS

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2015-2017 Intel, Inc. All rights reserved.
1+
Copyright (c) 2015-2018 Intel, Inc. All rights reserved.
22
Copyright (c) 2017 IBM Corporation. All rights reserved.
33
$COPYRIGHT$
44

@@ -20,6 +20,43 @@ other, a single NEWS-worthy item might apply to different series. For
2020
example, a bug might be fixed in the master, and then moved to the
2121
current release as well as the "stable" bug fix release branch.
2222

23+
2.0.3 -- 23 Feb 2018
24+
----------------------
25+
**** NOTE: PMIx_Get in PMIx v2.x will fail when requesting information
26+
**** on any process whose nspace has not yet been registered with the
27+
**** PMIx server
28+
- Fix event notification so all sides of multi-library get notified
29+
of other library's existence
30+
- Update syslog protection to support Mac High Sierra OS
31+
- Remove usock component - unable to support v1.x clients due
32+
to datatype differences
33+
- Cleanup security handshake
34+
- Cleanup separation of PMI-1/2 libraries and PMIx symbols
35+
- Protect against overly-large messages
36+
- Update data buffer APIs to support cross-version operations
37+
- Protect receive callbacks from NULL and/or empty buffers as this
38+
can occur when the peer on a connection disappears.
39+
- Fix tool connection search so it properly descends into the directory
40+
tree while searching for the server's contact file.
41+
- Fix store_local so it doesn't reject a new nspace as that can happen
42+
when working with tools
43+
- Ensure we always complete PMIx_Finalize - don't return if something
44+
goes wrong in the middle of the procedure
45+
- Fix several tool connection issues
46+
- Fix a mismatch in data type on an MCA param
47+
48+
49+
2.0.2 -- 19 Oct 2017
50+
----------------------
51+
- Update RPM spec file (rpmbuild -ta, and --rebuild fixes) (PR #523)
52+
- Support singletons in PMI-1/PMI-2 (PR #537)
53+
- Provide missing implementation support for arrays of pmix_value_t's (PR #531)
54+
- Remove unsupported assembly code for MIPS and ARM processors
55+
prior to v6 (PR #547)
56+
- Fix path separator for PMIx configuration files (PR #547)
57+
- Add configure option to enable/disable the default value for the
58+
show-load-errors MCA param (PR #547)
59+
2360

2461
2.0.1 -- 24 Aug. 2017
2562
----------------------
@@ -90,6 +127,15 @@ current release as well as the "stable" bug fix release branch.
90127
and to themselves
91128

92129

130+
1.2.4 -- 13 Oct. 2017
131+
----------------------
132+
- Silence some unnecessary warning messages (PR #487)
133+
- Coverity fix - TOCTOU (PR #465)
134+
- automake 1.13 configure fix (PR #486)
135+
- Update RPM spec file (rpmbuild -ta, and --rebuild fixes) (PR #523)
136+
- Support singletons in PMI-1/PMI-2 (PR #537)
137+
138+
93139
1.2.3 -- 24 Aug. 2017
94140
----------------------
95141
- Resolve visibility issues for public APIs (PR #451)

opal/mca/pmix/pmix2x/pmix/README

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Copyright (c) 2007 Myricom, Inc. All rights reserved.
1515
Copyright (c) 2008 IBM Corporation. All rights reserved.
1616
Copyright (c) 2010 Oak Ridge National Labs. All rights reserved.
1717
Copyright (c) 2011 University of Houston. All rights reserved.
18-
Copyright (c) 2013-2015 Intel, Inc. All rights reserved
18+
Copyright (c) 2013-2017 Intel, Inc. All rights reserved.
1919
$COPYRIGHT$
2020

2121
Additional copyrights may follow
@@ -128,6 +128,32 @@ INSTALLATION OPTIONS
128128
--disable-shared; enabling static libraries and disabling shared
129129
libraries are two independent options.
130130

131+
--disable-show-load-errors-by-default
132+
Set the default value of the mca_base_component_show_load_errors MCA
133+
variable: the --enable form of this option sets the MCA variable to
134+
true, the --disable form sets the MCA variable to false. The MCA
135+
mca_base_component_show_load_errors variable can still be overridden
136+
at run time via the usual MCA-variable-setting mechanisms; this
137+
configure option simply sets the default value.
138+
139+
The --disable form of this option is intended for PMIx packagers
140+
who tend to enable support for many different types of networks and
141+
systems in their packages. For example, consider a packager who
142+
includes support for both the FOO and BAR networks in their PMIx
143+
package, both of which require support libraries (libFOO.so and
144+
libBAR.so). If an end user only has BAR hardware, they likely only
145+
have libBAR.so available on their systems -- not libFOO.so.
146+
Disabling load errors by default will prevent the user from seeing
147+
potentially confusing warnings about the FOO components failing to
148+
load because libFOO.so is not available on their systems.
149+
150+
Conversely, system administrators tend to build a PMIx that is
151+
targeted at their specific environment, and contains few (if any)
152+
components that are not needed. In such cases, they might want
153+
their users to be warned that the FOO network components failed to
154+
load (e.g., if libFOO.so was mistakenly unavailable), and thus
155+
some PMIx calls might unexpectedly return "not supported".
156+
131157
--with-platform=FILE
132158
Load configure options for the build from FILE. Options on the
133159
command line that are not in FILE are also used. Options on the

opal/mca/pmix/pmix2x/pmix/VERSION

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,22 @@
1515

1616
major=2
1717
minor=0
18-
release=1
18+
release=3
1919

2020
# greek is used for alpha or beta release tags. If it is non-empty,
2121
# it will be appended to the version number. It does not have to be
2222
# numeric. Common examples include a1 (alpha release 1), b1 or (beta release 1).
2323
# The only requirement is that it must be entirely printable ASCII
2424
# characters and have no white space.
2525

26-
greek=rc1
26+
greek=
2727

2828
# If repo_rev is empty, then the repository version number will be
2929
# obtained during "make dist" via the "git describe --tags --always"
3030
# command, or with the date (if "git describe" fails) in the form of
3131
# "date<date>".
3232

33-
repo_rev=gitda9b50e
33+
repo_rev=gitf2bdb4a
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 14, 2017"
47+
date="Mar 05, 2018"
4848

4949
# The shared library version of each of PMIx's public libraries.
5050
# These versions are maintained in accordance with the "Library
@@ -75,4 +75,6 @@ date="Aug 14, 2017"
7575
# Version numbers are described in the Libtool current:revision:age
7676
# format.
7777

78-
libpmix_so_version=3:1:1
78+
libpmix_so_version=3:3:1
79+
libpmi_so_version=1:0:0
80+
libpmi2_so_version=1:0:0

opal/mca/pmix/pmix2x/pmix/config/distscript.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,14 @@ touch -r "${srcdir}/VERSION" "${distdir}/VERSION"
5454

5555
echo "*** Updated VERSION file with repo rev: $repo_rev"
5656
echo "*** (via dist-hook / config/distscript.sh)"
57+
58+
#
59+
# Update pmix.spec:%{version} with the main version
60+
#
61+
PMIX_SPEC=contrib/pmix.spec
62+
perl -pi -e 's/^Version:.*/Version: '$PMIX_REPO_REV'/' -- "${distdir}/$PMIX_SPEC"
63+
touch -r "${srcdir}/$PMIX_VERSION" "${distdir}/$PMIX_VERSION"
64+
65+
echo "*** Updated $PMIX_SPEC file with repo rev: $PMIX_REPO_REV"
66+
echo "*** (via dist-hook / config/distscript.sh)"
67+

opal/mca/pmix/pmix2x/pmix/config/pmix.m4

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -156,18 +156,6 @@ AC_DEFUN([PMIX_SETUP_CORE],[
156156
AC_SUBST(PMIX_RENAME)
157157
AC_CONFIG_FILES(pmix_config_prefix[include/pmix_rename.h])
158158

159-
# Add any extra lib?
160-
AC_ARG_WITH([pmix-extra-lib],
161-
AC_HELP_STRING([--with-pmix-extra-lib=LIB],
162-
[Link the output PMIx library to this extra lib (used in embedded mode)]))
163-
AC_MSG_CHECKING([for extra lib])
164-
AS_IF([test ! -z "$with_pmix_extra_lib"],
165-
[AC_MSG_RESULT([$with_pmix_extra_lib])
166-
PMIX_EXTRA_LIB=$with_pmix_extra_lib],
167-
[AC_MSG_RESULT([no])
168-
PMIX_EXTRA_LIB=])
169-
AC_SUBST(PMIX_EXTRA_LIB)
170-
171159
# GCC specifics.
172160
if test "x$GCC" = "xyes"; then
173161
PMIX_GCC_CFLAGS="-Wall -Wmissing-prototypes -Wundef"
@@ -698,6 +686,32 @@ AC_DEFUN([PMIX_SETUP_CORE],[
698686

699687
pmix_show_title "Modular Component Architecture (MCA) setup"
700688

689+
#
690+
# Do we want to show component load error messages by default?
691+
#
692+
693+
AC_MSG_CHECKING([for default value of mca_base_component_show_load_errors])
694+
AC_ARG_ENABLE([show-load-errors-by-default],
695+
[AC_HELP_STRING([--enable-show-load-errors-by-default],
696+
[Set the default value for the MCA parameter
697+
mca_base_component_show_load_errors (but can be
698+
overridden at run time by the usual
699+
MCA-variable-setting mechansism). This MCA variable
700+
controls whether warnings are displayed when an MCA
701+
component fails to load at run time due to an error.
702+
(default: enabled, meaning that
703+
mca_base_component_show_load_errors is enabled
704+
by default])])
705+
if test "$enable_show_load_errors_by_default" = "no" ; then
706+
PMIX_SHOW_LOAD_ERRORS_DEFAULT=0
707+
AC_MSG_RESULT([disabled by default])
708+
else
709+
PMIX_SHOW_LOAD_ERRORS_DEFAULT=1
710+
AC_MSG_RESULT([enabled by default])
711+
fi
712+
AC_DEFINE_UNQUOTED(PMIX_SHOW_LOAD_ERRORS_DEFAULT, $PMIX_SHOW_LOAD_ERRORS_DEFAULT,
713+
[Default value for mca_base_component_show_load_errors MCA variable])
714+
701715
AC_MSG_CHECKING([for subdir args])
702716
PMIX_CONFIG_SUBDIR_ARGS([pmix_subdir_args])
703717
AC_MSG_RESULT([$pmix_subdir_args])

opal/mca/pmix/pmix2x/pmix/config/pmix_check_package.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# All rights reserved.
1313
# Copyright (c) 2012-2015 Cisco Systems, Inc. All rights reserved.
1414
# Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved.
15-
# Copyright (c) 2014-2017 Intel, Inc. All rights reserved.
15+
# Copyright (c) 2014 Intel, Inc. All rights reserved.
1616
# Copyright (c) 2017 Research Organization for Information Science
1717
# and Technology (RIST). All rights reserved.
1818
# $COPYRIGHT$

opal/mca/pmix/pmix2x/pmix/config/pmix_config_asm.m4

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -959,8 +959,8 @@ AC_DEFUN([PMIX_CONFIG_ASM],[
959959
960960
ia64-*)
961961
pmix_cv_asm_arch="IA64"
962-
PMIX_ASM_SUPPORT_64BIT=1
963-
PMIX_GCC_INLINE_ASSIGN='"mov %0=r0\n;;\n" : "=&r"(ret)'
962+
PMIX_CHECK_SYNC_BUILTINS([pmix_cv_asm_builtin="BUILTIN_SYNC"],
963+
[AC_MSG_ERROR([No atomic primitives available for $host])])
964964
;;
965965
aarch64*)
966966
pmix_cv_asm_arch="ARM64"
@@ -993,20 +993,16 @@ AC_DEFUN([PMIX_CONFIG_ASM],[
993993
armv5*linux*|armv4*linux*|arm-*-linux-gnueabi)
994994
# uses Linux kernel helpers for some atomic operations
995995
pmix_cv_asm_arch="ARM"
996-
PMIX_ASM_SUPPORT_64BIT=0
997-
PMIX_ASM_ARM_VERSION=5
998-
CCASFLAGS="$CCASFLAGS -march=armv7-a"
999-
AC_DEFINE_UNQUOTED([PMIX_ASM_ARM_VERSION], [$PMIX_ASM_ARM_VERSION],
1000-
[What ARM assembly version to use])
1001-
PMIX_GCC_INLINE_ASSIGN='"mov %0, #0" : "=&r"(ret)'
996+
PMIX_CHECK_SYNC_BUILTINS([pmix_cv_asm_builtin="BUILTIN_SYNC"],
997+
[AC_MSG_ERROR([No atomic primitives available for $host])])
1002998
;;
1003999
10041000
mips-*|mips64*)
10051001
# Should really find some way to make sure that we are on
10061002
# a MIPS III machine (r4000 and later)
10071003
pmix_cv_asm_arch="MIPS"
1008-
PMIX_ASM_SUPPORT_64BIT=1
1009-
PMIX_GCC_INLINE_ASSIGN='"or %0,[$]0,[$]0" : "=&r"(ret)'
1004+
PMIX_CHECK_SYNC_BUILTINS([pmix_cv_asm_builtin="BUILTIN_SYNC"],
1005+
[AC_MSG_ERROR([No atomic primitives available for $host])])
10101006
;;
10111007
10121008
powerpc-*|powerpc64-*|powerpcle-*|powerpc64le-*|rs6000-*|ppc-*)

opal/mca/pmix/pmix2x/pmix/config/pmix_functions.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dnl All rights reserved.
1313
dnl Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
1414
dnl Copyright (c) 2009 Oak Ridge National Labs. All rights reserved.
1515
dnl Copyright (c) 2009-2016 Cisco Systems, Inc. All rights reserved.
16-
dnl Copyright (c) 2013-2017 Intel, Inc. All rights reserved.
16+
dnl Copyright (c) 2013-2016 Intel, Inc. All rights reserved.
1717
dnl Copyright (c) 2017 Research Organization for Information Science
1818
dnl and Technology (RIST). All rights reserved.
1919
dnl

opal/mca/pmix/pmix2x/pmix/config/pmix_setup_cc.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dnl Copyright (c) 2012-2017 Los Alamos National Security, LLC. All rights
1616
dnl reserved.
1717
dnl Copyright (c) 2015 Research Organization for Information Science
1818
dnl and Technology (RIST). All rights reserved.
19-
dnl Copyright (c) 2015-2017 Intel, Inc. All rights reserved.
19+
dnl Copyright (c) 2015-2016 Intel, Inc. All rights reserved.
2020
dnl $COPYRIGHT$
2121
dnl
2222
dnl Additional copyrights may follow

opal/mca/pmix/pmix2x/pmix/configure.ac

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,8 @@ AC_SUBST([CONFIGURE_DEPENDENCIES], ['$(top_srcdir)/VERSION'])
224224

225225
. $srcdir/VERSION
226226
AC_SUBST([libpmix_so_version])
227+
AC_SUBST([libpmi_so_version])
228+
AC_SUBST([libpmi2_so_version])
227229

228230
AC_CONFIG_FILES(pmix_config_prefix[contrib/Makefile]
229231
pmix_config_prefix[examples/Makefile]

0 commit comments

Comments
 (0)