[mpich-discuss] MPI_Win_Create

Luis Cebamanos luiceur at gmail.com
Mon Jan 15 08:57:02 CST 2018


Hi MPI users,

I am trying to understand the way MPI_Win_Create works. The way
MPI_Win_Create is used in my code creates a window between two MPI
ranks, so it creates a communicator with the two ranks and then proceed
to the create the window. This is also happening in the other direction,
the other rank involved in the communicator creates another window, for
example:

0 -> creates a window with 1

1 -> creates a window with 0

What I normally do is to play the odd and even game to create the
windows in one direction or the other, but this hangs very often. What
is the right way to do it? Could I serialized the window creations so
there are not deadlocks?

Regards,


_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list