From 4c1ea4a17100856e46dc1cce9655e979278f381c Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Wed, 6 Jan 2016 16:26:25 +0900 Subject: [PATCH] dpm: correctly handle procs_cutoff in ompi_dpm_connect_accept() this commit includes missing bits from open-mpi/ompi@213b2abde47cf02ba3152a301d3ec0ffeec54438 --- ompi/dpm/dpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/dpm/dpm.c b/ompi/dpm/dpm.c index b1c562ea1f..d689329b40 100644 --- a/ompi/dpm/dpm.c +++ b/ompi/dpm/dpm.c @@ -183,7 +183,7 @@ int ompi_dpm_connect_accept(ompi_communicator_t *comm, int root, } opal_argv_append_nosize(&members, nstring); free(nstring); - if (NULL == (nstring = (char*)opal_pmix.get_nspace(proc_list[i]->super.proc_name.jobid))) { + if (NULL == (nstring = (char*)opal_pmix.get_nspace(proc_name.jobid))) { opal_argv_free(members); free (proc_list); return OMPI_ERR_NOT_SUPPORTED;