From eb94fa48cefd274b1241bab861fa943cbeb9b885 Mon Sep 17 00:00:00 2001 From: Tim Prins Date: Thu, 17 Apr 2008 12:37:10 +0000 Subject: [PATCH] the port name is only relevant at the root, so only look at it there. This commit was SVN r18188. --- ompi/mca/dpm/orte/dpm_orte.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/mca/dpm/orte/dpm_orte.c b/ompi/mca/dpm/orte/dpm_orte.c index 4f13f36ff9..7b03a9ef9c 100644 --- a/ompi/mca/dpm/orte/dpm_orte.c +++ b/ompi/mca/dpm/orte/dpm_orte.c @@ -138,7 +138,7 @@ static int connect_accept ( ompi_communicator_t *comm, int root, /* extract the process name from the port string, if given, and * set us up to communicate with it */ - if (NULL != port_string && 0 < strlen(port_string)) { + if (rank == root && NULL != port_string && 0 < strlen(port_string)) { char *rml_uri; /* separate the string into the RML URI and tag */ rml_uri = parse_port(port_string, &tag);