1
1

the port name is only relevant at the root, so only look at it there.

This commit was SVN r18188.
Этот коммит содержится в:
Tim Prins 2008-04-17 12:37:10 +00:00
родитель 3582e11200
Коммит eb94fa48ce

Просмотреть файл

@ -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);