Re: [OMPI users] MPI_Comm_create with unequal group arguments

2012-01-20 Thread Josh Hursey
For MPI_Comm_create -all- processes in the communicator must make the call, not just those that are in the subgroups. The 2.2 standard states that "The function is collective and must be called by all processes in the group of comm." However, this is a common misconception about the MPI_Comm_cre

Re: [OMPI users] MPI_Comm_create with unequal group arguments

2012-01-20 Thread Jens Jørgen Mortensen
On 20-01-2012 15:26, Josh Hursey wrote: That behavior is permitted by the MPI 2.2 standard. It seems that our documentation is incorrect in this regard. I'll file a bug to fix it. Just to clarify, in the MPI 2.2 standard in Section 6.4.2 (Communicator Constructors) under MPI_Comm_create it sta

Re: [OMPI users] MPI_Comm_create with unequal group arguments

2012-01-20 Thread Josh Hursey
That behavior is permitted by the MPI 2.2 standard. It seems that our documentation is incorrect in this regard. I'll file a bug to fix it. Just to clarify, in the MPI 2.2 standard in Section 6.4.2 (Communicator Constructors) under MPI_Comm_create it states: "Each process must call with a group ar

[OMPI users] MPI_Comm_create with unequal group arguments

2012-01-20 Thread Jens Jørgen Mortensen
Hi! For a long time, I have been calling MPI_Comm_create(comm, group, newcomm) with different values for group on the different processes of comm. In pseudo-code, I would create two sub-communicators from a world with 4 ranks like this: if world.rank < 2: comm = world.create([0, 1]) els