Merge pull request #3952 from yutaka-ishikawa/pr/pmix-fix-2

mpidu: bug fix in the PMIx string fetch.

Approved-by: Ken Raffenetti <raffenet@mcs.anl.gov>
Esse commit está contido em:
Ken Raffenetti
2019-08-06 10:04:33 -05:00
commit de GitHub
+2 -1
Ver Arquivo
@@ -155,7 +155,8 @@ int MPIDU_bc_table_create(int rank, int size, int *nodemap, void *bc, int bc_len
proc.rank = i;
rc = PMIx_Get(&proc, "bc", NULL, 0, &pvalue);
MPIR_ERR_CHKANDJUMP(rc, mpi_errno, MPI_ERR_OTHER, "**pmix_get");
rc = MPL_str_get_binary_arg(val, "mpi", &segment[i * bc_len], bc_len, &out_len);
rc = MPL_str_get_binary_arg(pvalue->data.string, "mpi", &segment[i * bc_len], bc_len,
&out_len);
MPIR_ERR_CHKANDJUMP(rc, mpi_errno, MPI_ERR_OTHER, "**argstr_missinghost");
PMIX_VALUE_RELEASE(pvalue);
}