Nevermind... I figured this one out on my own. I was calling foo() from
inside an if (rank == 0) block. Since MPI_Comm_dup is a collective
operation, it was waiting for all the other nodes to also call
MPI_Comm_dup. Oops.
--
Prentice
Prentice Bisbal wrote:
> I have a problem with MPI_Comm_dup. Wh
I have a problem with MPI_Comm_dup. When I call it in a function, it
causes my application to hang. Are they any common causes for a problem
like this? I'm using OpenMPI 1.2.8. Are there any known bugs that could
be causing this?
My program seems to hang when it gets to MPI_Comm_dup. Here's an exa