From 1448522d15f943fb8ee1c7c49c3e15624c1f7c74 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Sun, 22 Dec 2013 22:55:58 +0000 Subject: [PATCH] In an MPI_IBCAST, we cannot shortcut if there's only 1 process. cmr=v1.7.4:reviewer=brbarret:subject=Fix IBCAST for COMM_SELF -This line, and those below, will be ignored-- M c/ibcast.c This commit was SVN r30054. --- ompi/mpi/c/ibcast.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ompi/mpi/c/ibcast.c b/ompi/mpi/c/ibcast.c index 7b21694180..4308d46506 100644 --- a/ompi/mpi/c/ibcast.c +++ b/ompi/mpi/c/ibcast.c @@ -72,13 +72,6 @@ int MPI_Ibcast(void *buffer, int count, MPI_Datatype datatype, } } - /* If there's only one node, or if the count is 0, we're done */ - - if ((OMPI_COMM_IS_INTRA(comm) && ompi_comm_size(comm) <= 1) || - 0 == count) { - return MPI_SUCCESS; - } - OPAL_CR_ENTER_LIBRARY(); /* Invoke the coll component to perform the back-end operation */