Skip to content

Commit 8c30958

Browse files
author
Ralph Castain
committed
Update to PMIx v2.1.0alpha
Signed-off-by: Ralph Castain <[email protected]>
1 parent d34dbf1 commit 8c30958

File tree

315 files changed

+18388
-11554
lines changed

Some content is hidden

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

315 files changed

+18388
-11554
lines changed

opal/mca/pmix/pmix2x/pmix/AUTHORS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PMIx Authors
44
The following cumulative list contains the names and GitHub IDs of
55
all individuals who have committed code to the PMIx repository.
66

7-
Email Name Affiliation(s)
7+
GitHub ID Name Affiliation(s)
88
------------------------------- --------------------------- -------------------
99
alinask Elena Shipunova Mellanox
1010
annu13 Annapurna Dasari Intel

opal/mca/pmix/pmix2x/pmix/INSTALL

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ For More Information
2121
====================
2222

2323
This file is a *very* short overview of building and installing
24-
the PMIx library. Much more information is available on the
25-
PMIx web site (e.g., see the FAQ section):
24+
the PMIx library. Much more information is available in the
25+
FAQ section on the PMIx web site:
2626

27-
http://pmix.github.io/pmix/pmix
27+
http://pmix.github.io/pmix/faq
2828

2929

3030
Developer Builds

opal/mca/pmix/pmix2x/pmix/README

Lines changed: 6 additions & 6 deletions
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
@@ -28,7 +28,7 @@ When submitting questions and problems, be sure to include as much
2828
extra information as possible. This web page details all the
2929
information that we request in order to provide assistance:
3030

31-
http://pmix.github.io/master/community/help/
31+
http://pmix.github.io/pmix/community/help/
3232

3333
The best way to report bugs, send comments, or ask questions is to
3434
sign up on the PMIx mailing list, which is hosted by GoogleGroups:
@@ -48,7 +48,7 @@ Thanks for your time.
4848

4949
More information is available in the PMIx FAQ:
5050

51-
http://pmix.github.io/master/faq/
51+
http://pmix.github.io/pmix/faq/
5252

5353
We are in early days, so please be patient - info will grow as questions
5454
are addressed.
@@ -63,7 +63,7 @@ General notes
6363

6464
- The majority of PMIx's documentation is here in this file, the
6565
included man pages, and on the web site FAQ
66-
(http://pmix.github.io/master/faq). This will eventually be
66+
(http://pmix.github.io/pmix/faq). This will eventually be
6767
supplemented with cohesive installation and user documentation files.
6868

6969
- Systems that have been tested are:
@@ -286,7 +286,7 @@ Common Questions
286286
Many common questions about building and using PMIx are answered
287287
on the FAQ:
288288

289-
http://pmix.github.io/master/faq/
289+
http://pmix.github.io/pmix/faq/
290290

291291
===========================================================================
292292

@@ -300,7 +300,7 @@ When submitting questions and problems, be sure to include as much
300300
extra information as possible. This web page details all the
301301
information that we request in order to provide assistance:
302302

303-
http://pmix.github.io/master/community/help/
303+
http://pmix.github.io/pmix/community/help/
304304

305305
Questions and comments should generally be sent to the PMIx mailing
306306
list ([email protected]). Because of spam, only

opal/mca/pmix/pmix2x/pmix/VERSION

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# major, minor, and release are generally combined in the form
1414
# <major>.<minor>.<release>.
1515

16-
major=3
17-
minor=0
16+
major=2
17+
minor=1
1818
release=0
1919

2020
# greek is used for alpha or beta release tags. If it is non-empty,
@@ -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=gitaa26b56
33+
repo_rev=git4714f20
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="Jun 26, 2017"
47+
date="Jul 20, 2017"
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/pmix2x/pmix/config/pmix_setup_libevent.m4

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# Copyright (c) 2009-2015 Cisco Systems, Inc. All rights reserved.
44
# Copyright (c) 2013 Los Alamos National Security, LLC. All rights reserved.
55
# Copyright (c) 2013-2017 Intel, Inc. All rights reserved.
6+
# Copyright (c) 2017 Research Organization for Information Science
7+
# and Technology (RIST). All rights reserved.
68
# $COPYRIGHT$
79
#
810
# Additional copyrights may follow
@@ -39,8 +41,11 @@ AC_DEFUN([_PMIX_LIBEVENT_EMBEDDED_MODE],[
3941
AC_MSG_CHECKING([for libevent])
4042
AC_MSG_RESULT([assumed available (embedded mode)])
4143

42-
PMIX_EVENT_HEADER="$with_libevent_header"
43-
PMIX_EVENT2_THREAD_HEADER="$with_libevent_header"
44+
AS_IF([test -z "$with_libevent_header" || test "$with_libevent_header" = "yes"],
45+
[PMIX_EVENT_HEADER="<event.h>"
46+
PMIX_EVENT2_THREAD_HEADER="<event2/thread.h>"],
47+
[PMIX_EVENT_HEADER="$with_libevent_header"
48+
PMIX_EVENT2_THREAD_HEADER="$with_libevent_header"])
4449

4550
])
4651

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,19 @@ AC_CONFIG_MACRO_DIR(./config)
5555
# because it twiddles random bits of autoconf
5656
PMIX_LOAD_PLATFORM
5757

58+
PMIX_TOP_BUILDDIR="`pwd`"
59+
AC_SUBST(PMIX_TOP_BUILDDIR)
60+
cd "$srcdir"
61+
PMIX_TOP_SRCDIR="`pwd`"
62+
AC_SUBST(PMIX_TOP_SRCDIR)
63+
cd "$PMIX_TOP_BUILDDIR"
64+
65+
AC_MSG_NOTICE([builddir: $PMIX_TOP_BUILDDIR])
66+
AC_MSG_NOTICE([srcdir: $PMIX_TOP_SRCDIR])
67+
if test "$PMIX_TOP_BUILDDIR" != "$PMIX_TOP_SRCDIR"; then
68+
AC_MSG_NOTICE([Detected VPATH build])
69+
fi
70+
5871
# setup configure options (e.g., show_title and friends)
5972
PMIX_CONFIGURE_SETUP
6073
pmix_show_title "Configuring PMIx"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ int main(int argc, char **argv)
208208
* query the status of the allocation request */
209209
usleep(10);
210210
PMIX_QUERY_CREATE(query, 1);
211-
PMIX_ARGV_APPEND(query[0].keys, PMIX_QUERY_ALLOC_STATUS);
211+
PMIX_ARGV_APPEND(rc, query[0].keys, PMIX_QUERY_ALLOC_STATUS);
212212
PMIX_INFO_CREATE(query[0].qualifiers, 1);
213213
PMIX_INFO_LOAD(&query[0].qualifiers[0], PMIX_ALLOC_ID, myallocation, PMIX_STRING);
214214
mydata.active = true;

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ int main(int argc, char **argv)
267267
* so we know if the RM can stop-on-exec, or only supports stop-in-init */
268268
nq = 1;
269269
PMIX_QUERY_CREATE(query, nq);
270-
PMIX_ARGV_APPEND(query[0].keys, PMIX_QUERY_SPAWN_SUPPORT);
271-
PMIX_ARGV_APPEND(query[0].keys, PMIX_QUERY_DEBUG_SUPPORT);
270+
PMIX_ARGV_APPEND(rc, query[0].keys, PMIX_QUERY_SPAWN_SUPPORT);
271+
PMIX_ARGV_APPEND(rc, query[0].keys, PMIX_QUERY_DEBUG_SUPPORT);
272272
/* setup the caddy to retrieve the data */
273273
myquery_data.info = NULL;
274274
myquery_data.ninfo = 0;
@@ -333,7 +333,7 @@ int main(int argc, char **argv)
333333
PMIX_APP_CREATE(app, napps);
334334
/* setup the executable */
335335
app[0].cmd = strdup("client");
336-
PMIX_ARGV_APPEND(app[0].argv, "./client");
336+
PMIX_ARGV_APPEND(rc, app[0].argv, "./client");
337337
getcwd(cwd, 1024); // point us to our current directory
338338
app[0].cwd = strdup(cwd);
339339
app[0].maxprocs = 2;
@@ -359,7 +359,7 @@ int main(int argc, char **argv)
359359
/* setup the debugger */
360360
PMIX_APP_CREATE(debugger, 1);
361361
debugger[0].cmd = strdup("./debuggerd");
362-
PMIX_ARGV_APPEND(debugger[0].argv, "./debuggerd");
362+
PMIX_ARGV_APPEND(rc, debugger[0].argv, "./debuggerd");
363363
debugger[0].cwd = strdup(cwd);
364364
/* provide directives so the daemons go where we want, and
365365
* let the RM know these are debugger daemons */

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* All rights reserved.
1414
* Copyright (c) 2009-2012 Cisco Systems, Inc. All rights reserved.
1515
* Copyright (c) 2011 Oak Ridge National Labs. All rights reserved.
16-
* Copyright (c) 2013-2016 Intel, Inc. All rights reserved.
16+
* Copyright (c) 2013-2017 Intel, Inc. All rights reserved.
1717
* Copyright (c) 2015 Mellanox Technologies, Inc. All rights reserved.
1818
* $COPYRIGHT$
1919
*
@@ -172,7 +172,7 @@ int main(int argc, char **argv)
172172
* our local target processes */
173173
nq = 1;
174174
PMIX_QUERY_CREATE(query, nq);
175-
PMIX_ARGV_APPEND(query[0].keys, PMIX_QUERY_LOCAL_PROC_TABLE);
175+
PMIX_ARGV_APPEND(rc, query[0].keys, PMIX_QUERY_LOCAL_PROC_TABLE);
176176
query[0].nqual = 1;
177177
PMIX_INFO_CREATE(query[0].qualifiers, 1);
178178
PMIX_INFO_LOAD(&query[0].qualifiers[0], PMIX_NSPACE, val->data.string, PMIX_STRING); // the nspace we are enquiring about

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#include <src/include/pmix_config.h>
2929
#include <pmix_server.h>
3030
#include <src/include/types.h>
31+
#include <src/include/pmix_globals.h>
3132

3233
#include <stdio.h>
3334
#include <stdlib.h>
@@ -48,7 +49,6 @@
4849
#include "src/util/output.h"
4950
#include "src/util/printf.h"
5051
#include "src/util/argv.h"
51-
#include "src/buffer_ops/buffer_ops.h"
5252

5353
static pmix_status_t connected(const pmix_proc_t *proc, void *server_object,
5454
pmix_op_cbfunc_t cbfunc, void *cbdata);

0 commit comments

Comments
 (0)