Skip to content

Commit 1e6f41f

Browse files
authored
Merge pull request #6886 from rhc54/cmr31/pmix223
v3.1.x: Update PMIx to v2.2.3rc2
2 parents 5f657ab + 9baa3a5 commit 1e6f41f

Some content is hidden

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

63 files changed

+2023
-1433
lines changed

opal/mca/pmix/pmix2x/pmix/NEWS

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,24 @@ current release as well as the "stable" bug fix release branch.
5353
- PR #1311: Work around memory bug in older gcc compilers
5454
- PR #1329: Add -fPIC to static builds
5555
- PR #1334: Cache only -W CFLAG entries to fix 32-bit builds
56+
- PR #1341: Do not use '==' in m4 test statements
57+
- PR #1342: Fix if_linux_ipv6_open interface filter
58+
- PR #1344: Remove unnecessary libtool init for c++
59+
- PR #1346: Fix incorrect pointer casts/deref
60+
- PR #1347/#1348: Fix use of gethostname
61+
- PR #1353/#1357: util/environ: use setenv() if available
62+
- PR #1354: Plug a misc memory leak in the pmix_query_caddy_t destructor
63+
- PR #1356: Fix another pointer cast/deref in test suite
64+
- PR #1358: Implement support for class-based info arrays
65+
- PR #1359: Plug misc minor memory leaks
66+
- PR #1369: Fix legacy support for PMI-1
67+
- PR #1370: Cleanup handling of data requests for different nspaces
68+
- PR #1193: Resolve get of proc-specific job-level info from another nspace
69+
- PR #1377: Skip fastpath/dstore for NULL keys
70+
- PR #1379: Change IF_NAMESIZE to PMIX_IF_NAMESIZE and set to safe size
71+
- PR #1385: Check for EINVAL return from posix_fallocate
72+
- PR #1389: Plug misc memory leaks in configure
73+
5674

5775

5876
2.2.2 -- 24 Jan 2019

opal/mca/pmix/pmix2x/pmix/VERSION

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ release=3
2424
# The only requirement is that it must be entirely printable ASCII
2525
# characters and have no white space.
2626

27-
greek=rc1
27+
greek=rc2
2828

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

34-
repo_rev=git8aac6645
34+
repo_rev=git9a14c877
3535

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

4646
# The date when this release was created
4747

48-
date="Jun 26, 2019"
48+
date="Aug 09, 2019"
4949

5050
# The shared library version of each of PMIx's public libraries.
5151
# These versions are maintained in accordance with the "Library
@@ -76,8 +76,8 @@ date="Jun 26, 2019"
7676
# Version numbers are described in the Libtool current:revision:age
7777
# format.
7878

79-
libpmix_so_version=3:22:1
80-
libpmi_so_version=1:0:0
79+
libpmix_so_version=3:23:1
80+
libpmi_so_version=1:1:0
8181
libpmi2_so_version=1:0:0
8282

8383
# "Common" components install standalone libraries that are run-time

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ dnl University of Stuttgart. All rights reserved.
1111
dnl Copyright (c) 2004-2005 The Regents of the University of California.
1212
dnl All rights reserved.
1313
dnl Copyright (c) 2009 Sun Microsystems, Inc. All rights reserved.
14-
dnl Copyright (c) 2014-2015 Intel, Inc. All rights reserved.
15-
dnl Copyright (c) 2015 Research Organization for Information Science
16-
dnl and Technology (RIST). All rights reserved.
14+
dnl Copyright (c) 2014-2019 Intel, Inc. All rights reserved.
15+
dnl Copyright (c) 2015-2019 Research Organization for Information Science
16+
dnl and Technology (RIST). All rights reserved.
1717
dnl $COPYRIGHT$
1818
dnl
1919
dnl Additional copyrights may follow
@@ -44,7 +44,9 @@ AC_DEFUN([PMIX_C_GET_ALIGNMENT],[
4444
FILE *f=fopen("conftestval", "w");
4545
if (!f) exit(1);
4646
diff = ((char *)&p->x) - ((char *)&p->c);
47+
free(p);
4748
fprintf(f, "%d\n", (diff >= 0) ? diff : -diff);
49+
fclose(f);
4850
]])], [AS_TR_SH([pmix_cv_c_align_$1])=`cat conftestval`],
4951
[AC_MSG_WARN([*** Problem running configure test!])
5052
AC_MSG_WARN([*** See config.log for details.])

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ AC_DEFUN([PMIX_SETUP_CORE],[
191191
[Link the output PMIx library to this extra lib (used in embedded mode)]))
192192
AC_MSG_CHECKING([for extra lib])
193193
AS_IF([test ! -z "$with_pmix_extra_lib"],
194-
[AS_IF([test "$with_pmix_extra_lib" == "yes" || test "$with_pmix_extra_lib" == "no"],
194+
[AS_IF([test "$with_pmix_extra_lib" = "yes" || test "$with_pmix_extra_lib" = "no"],
195195
[AC_MSG_RESULT([ERROR])
196196
AC_MSG_WARN([Invalid value for --with-extra-pmix-lib:])
197197
AC_MSG_WARN([ $with_pmix_extra_lib])
@@ -209,7 +209,7 @@ AC_DEFUN([PMIX_SETUP_CORE],[
209209
[Link any embedded components/tools that require it to the provided libtool lib (used in embedded mode)]))
210210
AC_MSG_CHECKING([for extra ltlib])
211211
AS_IF([test ! -z "$with_pmix_extra_ltlib"],
212-
[AS_IF([test "$with_pmix_extra_ltlib" == "yes" || test "$with_pmix_extra_ltlib" == "no"],
212+
[AS_IF([test "$with_pmix_extra_ltlib" = "yes" || test "$with_pmix_extra_ltlib" = "no"],
213213
[AC_MSG_RESULT([ERROR])
214214
AC_MSG_WARN([Invalid value for --with-pmix-extra-ltlib:])
215215
AC_MSG_WARN([ $with_pmix_extra_ltlib])
@@ -663,7 +663,7 @@ AC_DEFUN([PMIX_SETUP_CORE],[
663663
# -lrt might be needed for clock_gettime
664664
PMIX_SEARCH_LIBS_CORE([clock_gettime], [rt])
665665

666-
AC_CHECK_FUNCS([asprintf snprintf vasprintf vsnprintf strsignal socketpair strncpy_s usleep statfs statvfs getpeereid getpeerucred strnlen posix_fallocate tcgetpgrp])
666+
AC_CHECK_FUNCS([asprintf snprintf vasprintf vsnprintf strsignal socketpair strncpy_s usleep statfs statvfs getpeereid getpeerucred strnlen posix_fallocate tcgetpgrp setpgid ptsname openpty setenv])
667667

668668
# On some hosts, htonl is a define, so the AC_CHECK_FUNC will get
669669
# confused. On others, it's in the standard library, but stubbed with
@@ -1162,7 +1162,7 @@ AC_MSG_CHECKING([if want to support dlopen of non-global namespaces])
11621162
AC_ARG_ENABLE([nonglobal-dlopen],
11631163
AC_HELP_STRING([--enable-nonglobal-dlopen],
11641164
[enable non-global dlopen (default: enabled)]))
1165-
if test "$enable_nonglobal_dlopen" == "no"; then
1165+
if test "$enable_nonglobal_dlopen" = "no"; then
11661166
AC_MSG_RESULT([no])
11671167
pmix_need_libpmix=0
11681168
else

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ dnl -*- shell-script -*-
22
dnl
33
dnl Copyright (c) 2009 Oak Ridge National Labs. All rights reserved.
44
dnl Copyright (c) 2013-2019 Intel, Inc. All rights reserved.
5+
dnl Copyright (c) 2019 Research Organization for Information Science
6+
dnl and Technology (RIST). All rights reserved.
57
dnl
68
dnl $COPYRIGHT$
79
dnl
@@ -43,6 +45,7 @@ int main (int argc, char * argv[])
4345
f=fopen("conftestval", "w");
4446
if (!f) exit(1);
4547
fprintf (f, "%d", PLATFORM_COMPILER_$1);
48+
fclose(f);
4649
return 0;
4750
}
4851
], [
@@ -75,6 +78,7 @@ int main (int argc, char * argv[])
7578
f=fopen("conftestval", "w");
7679
if (!f) exit(1);
7780
fprintf (f, "%s", PLATFORM_COMPILER_$1);
81+
fclose(f);
7882
return 0;
7983
}
8084
], [
@@ -110,6 +114,7 @@ int main (int argc, char * argv[])
110114
f=fopen("conftestval", "w");
111115
if (!f) exit(1);
112116
fprintf (f, "%s", _STRINGIFY(PLATFORM_COMPILER_$1));
117+
fclose(f);
113118
return 0;
114119
}
115120
], [

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
1010
dnl University of Stuttgart. All rights reserved.
1111
dnl Copyright (c) 2004-2005 The Regents of the University of California.
1212
dnl All rights reserved.
13-
dnl Copyright (c) 2014 Intel, Inc. All rights reserved.
14-
dnl Copyright (c) 2016 Research Organization for Information Science
15-
dnl and Technology (RIST). All rights reserved.
13+
dnl Copyright (c) 2014-2019 Intel, Inc. All rights reserved.
14+
dnl Copyright (c) 2016-2019 Research Organization for Information Science
15+
dnl and Technology (RIST). All rights reserved.
1616
dnl $COPYRIGHT$
1717
dnl
1818
dnl Additional copyrights may follow
@@ -45,6 +45,7 @@ int main ()
4545
func (4711, "Help %d [%s]\n", 10, "ten");
4646
f=fopen ("conftestval", "w");
4747
if (!f) exit (1);
48+
fclose(f);
4849
return 0;
4950
}
5051

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

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

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ LT_PREREQ([2.2.6])
171171

172172
pmix_enable_shared="$enable_shared"
173173
pmix_enable_static="$enable_static"
174-
AS_IF([test ! -z "$enable_static" && test "$enable_static" == "yes"],
174+
AS_IF([test ! -z "$enable_static" && test "$enable_static" = "yes"],
175175
[CFLAGS="$CFLAGS -fPIC"])
176176

177177
AM_ENABLE_SHARED
@@ -201,7 +201,6 @@ AS_IF([test "$pmix_debug" = "1"],
201201

202202
LT_INIT()
203203
LT_LANG([C])
204-
LT_LANG([C++])
205204

206205
############################################################################
207206
# Setup the core

opal/mca/pmix/pmix2x/pmix/contrib/pmix.spec

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

193193
Summary: An extended/exascale implementation of PMI
194194
Name: %{?_name:%{_name}}%{!?_name:pmix}
195-
Version: 2.2.3rc1
195+
Version: 2.2.3rc2
196196
Release: 1%{?dist}
197197
License: BSD
198198
Group: Development/Libraries

opal/mca/pmix/pmix2x/pmix/contrib/whitespace-purge.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
#
3-
# Copyright (c) 2015 Intel, Inc. All rights reserved.
3+
# Copyright (c) 2015-2019 Intel, Inc. All rights reserved.
44
# Copyright (c) 2015 Los Alamos National Security, LLC. All rights
55
# reserved
66
# Copyright (c) 2015 Cisco Systems, Inc.
@@ -18,7 +18,7 @@ for file in $(git ls-files) ; do
1818
# skip sym links, pdfs, etc. If any other file types should be
1919
# skipped add the check here.
2020
type=$(file -b --mime-type -h $file)
21-
if test ${type::4} == "text" ; then
21+
if test ${type::4} = "text" ; then
2222
# Eliminate whitespace at the end of lines
2323
perl -pi -e 's/\s*$/\n/' $file
2424
fi

opal/mca/pmix/pmix2x/pmix/examples/client.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,9 @@ int main(int argc, char **argv)
254254
fprintf(stderr, "Client ns %s rank %d: PMIx_Commit failed: %d\n", myproc.nspace, myproc.rank, rc);
255255
goto done;
256256
}
257+
if (0 == myproc.rank) {
258+
sleep(2);
259+
}
257260

258261
/* call fence to synchronize with our peers - instruct
259262
* the fence operation to collect and return all "put"

0 commit comments

Comments
 (0)