relation between ranks of processes after using MPI_COMM_split
Posted
by dks12345
on Stack Overflow
See other posts from Stack Overflow
or by dks12345
Published on 2010-05-12T12:43:12Z
Indexed on
2010/05/12
14:14 UTC
Read the original article
Hit count: 188
I used MPI_Comm_split to split the default MPI communicator.If initially there were 10 processes in default communicator ,MPI_COMM_WORLD and ,say, their ranks were identified by id_original. The new communicator consisted of 4 processes with id_original 6,7,8,9.These processes will have ranks defined by , say , id_new in the new communicator. What will be the relation between ranks of processes in these two communicators. Will the processes with id_original 6,7,8,9 will have new ranks 0,1,2,3 respectively in the new communicator or the ordering might be different?
© Stack Overflow or respective owner