This web mail archive is frozen.
This page is part of a frozen web archive of this mailing list.
You can still navigate around this archive, but know that no new mails
have been added to it since July of 2016.
Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.
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])
comm = world.create([2, 3])
Now I read from the MPI_Comm_create description that this way of calling
MPI_Comm_create is erroneous:
"The call is erroneous if not all group arguments have the same value"
So, I guess I have just been lucky that it has worked for me? Or is it
OK to do what I do?