Re: [OMPI users] MPI_Comm_create with unequal group arguments

2012-01-20 Thread Jens Jørgen Mortensen
up? This seems to work also. Or must one always call MPI_Comm_create on all processes in comm - as the description says. Jens Jørgen -- Josh 2012/1/20 Jens Jørgen Mortensen <mailto:je...@fysik.dtu.dk>> Hi! For a long time, I have been calling MPI_Comm_create(comm,

[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