Skip to content

Commit 590a668

Browse files
author
Ralph Castain
authored
Merge pull request #4294 from rhc54/topic/pup
Sync to PMIx master
2 parents bdbea63 + 3ad5a40 commit 590a668

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

opal/mca/pmix/pmix2x/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=git9d9df02
33+
repo_rev=git6ab9c8d
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="Sep 27, 2017"
47+
date="Oct 03, 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/src/client/pmix_client_connect.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include <pmix_rename.h>
2525

2626
#include "src/include/pmix_globals.h"
27+
#include "src/mca/gds/base/base.h"
2728

2829
#ifdef HAVE_STRING_H
2930
#include <string.h>
@@ -252,6 +253,13 @@ PMIX_EXPORT pmix_status_t PMIx_Disconnect_nb(const pmix_proc_t procs[], size_t n
252253
pmix_output_verbose(2, pmix_globals.debug_output,
253254
"pmix: disconnect called");
254255

256+
size_t cnt;
257+
for (cnt = 0; cnt < nprocs; cnt++) {
258+
if (0 != strcmp(pmix_globals.myid.nspace, procs[cnt].nspace)) {
259+
PMIX_GDS_DEL_NSPACE(rc, procs[cnt].nspace);
260+
}
261+
}
262+
255263
if (pmix_globals.init_cntr <= 0) {
256264
PMIX_RELEASE_THREAD(&pmix_global_lock);
257265
return PMIX_ERR_INIT;

opal/mca/pmix/pmix2x/pmix/src/mca/bfrops/v12/pack.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ pmix_status_t pmix12_bfrop_pack_app(pmix_buffer_t *buffer, const void *src,
707707
pmix_app_t *app;
708708
int32_t i, j, nvals;
709709
pmix_status_t ret;
710-
int argc=0;
710+
int argc;
711711

712712
app = (pmix_app_t *) src;
713713

@@ -716,6 +716,7 @@ pmix_status_t pmix12_bfrop_pack_app(pmix_buffer_t *buffer, const void *src,
716716
return ret;
717717
}
718718
/* argv */
719+
argc = pmix_argv_count(app[i].argv);
719720
if (PMIX_SUCCESS != (ret = pmix12_bfrop_pack_int(buffer, &argc, 1, PMIX_INT))) {
720721
return ret;
721722
}

0 commit comments

Comments
 (0)