Continue tracking PMIx v2.1.0
Signed-off-by: Ralph Castain <rhc@open-mpi.org>
Этот коммит содержится в:
родитель
f6fd699d44
Коммит
0561d64748
@ -30,7 +30,7 @@ greek=
|
||||
# command, or with the date (if "git describe" fails) in the form of
|
||||
# "date<date>".
|
||||
|
||||
repo_rev=git439c171
|
||||
repo_rev=git19a63db
|
||||
|
||||
# If tarball_version is not empty, it is used as the version string in
|
||||
# the tarball filename, regardless of all other versions listed in
|
||||
@ -44,7 +44,7 @@ tarball_version=
|
||||
|
||||
# The date when this release was created
|
||||
|
||||
date="Aug 22, 2017"
|
||||
date="Aug 23, 2017"
|
||||
|
||||
# The shared library version of each of PMIx's public libraries.
|
||||
# These versions are maintained in accordance with the "Library
|
||||
|
@ -349,7 +349,6 @@ typedef uint32_t pmix_rank_t;
|
||||
#define PMIX_TIME_REMAINING "pmix.time.remaining" // (char*) query number of seconds (uint32_t) remaining in allocation
|
||||
// for the specified nspace
|
||||
|
||||
|
||||
/* log attributes */
|
||||
#define PMIX_LOG_STDERR "pmix.log.stderr" // (char*) log string to stderr
|
||||
#define PMIX_LOG_STDOUT "pmix.log.stdout" // (char*) log string to stdout
|
||||
|
@ -418,7 +418,19 @@ static void infocb(pmix_status_t status,
|
||||
if (NULL == kv) {
|
||||
rc = PMIX_ERR_NOMEM;
|
||||
} else {
|
||||
rc = pmix_value_xfer(kv, &info[0].value);
|
||||
/* if this is a compressed string, then uncompress it */
|
||||
if (PMIX_COMPRESSED_STRING == info[0].value.type) {
|
||||
kv->type = PMIX_STRING;
|
||||
pmix_util_uncompress_string(&kv->data.string, (uint8_t*)info[0].value.data.bo.bytes, info[0].value.data.bo.size);
|
||||
if (NULL == kv->data.string) {
|
||||
PMIX_ERROR_LOG(PMIX_ERR_NOMEM);
|
||||
rc = PMIX_ERR_NOMEM;
|
||||
PMIX_VALUE_FREE(kv, 1);
|
||||
kv = NULL;
|
||||
}
|
||||
} else {
|
||||
rc = pmix_value_xfer(kv, &info[0].value);
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
@ -431,7 +443,9 @@ static void infocb(pmix_status_t status,
|
||||
cd->valcbfunc(rc, kv, cd->cbdata);
|
||||
}
|
||||
PMIX_RELEASE(cd);
|
||||
PMIX_VALUE_FREE(kv, 1);
|
||||
if (NULL != kv) {
|
||||
PMIX_VALUE_FREE(kv, 1);
|
||||
}
|
||||
if (NULL != release_fn) {
|
||||
release_fn(release_cbdata);
|
||||
}
|
||||
@ -534,7 +548,10 @@ static void _getnbfn(int fd, short flags, void *cbdata)
|
||||
PMIX_QUERY_CREATE(cd->queries, 1);
|
||||
cd->nqueries = 1;
|
||||
pmix_argv_append_nosize(&cd->queries[0].keys, cb->key);
|
||||
PMIx_Query_info_nb(cd->queries, 1, infocb, cd);
|
||||
if (PMIX_SUCCESS != (rc = PMIx_Query_info_nb(cd->queries, 1, infocb, cd))) {
|
||||
PMIX_RELEASE(cd);
|
||||
goto respond;
|
||||
}
|
||||
PMIX_RELEASE(cb);
|
||||
return;
|
||||
}
|
||||
|
@ -863,6 +863,7 @@ static pmix_status_t query_fn(pmix_proc_t *proct,
|
||||
/* keep this simple */
|
||||
PMIX_INFO_CREATE(info, nqueries);
|
||||
for (n=0; n < nqueries; n++) {
|
||||
pmix_output(0, "\tKey: %s", queries[n].keys[0]);
|
||||
(void)strncpy(info[n].key, queries[n].keys[0], PMIX_MAX_KEYLEN);
|
||||
info[n].value.type = PMIX_STRING;
|
||||
if (0 > asprintf(&info[n].value.data.string, "%d", (int)n)) {
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user