George,
Thank you very much for you well argumented answer. Indeed, I missed
something because I used MPI_Comm_remote_size in my spawned application.
Mathieu
George Bosilca wrote:
Mathieu,
Your MPI_COMM_UNIVERSE is a inter-communicator, and therefore the MPI_Comm_size and MPI_Com
Mathieu,
Your MPI_COMM_UNIVERSE is a inter-communicator, and therefore the MPI_Comm_size
and MPI_Comm_rank return the size, respectively the rank, in the local group.
There is a special accessor for getting the remote group size
(MPI_Comm_remote_size).
Now regarding the previous question (abou
Another question on the same example.
When I ask the size on the inter-communitator (MPI_COMM_UNIVERSE in the
example) between the spaner/parent and the spawned/children processes,
the same number of processes than in MPI_COMM_WORLD is returned. I do
not really understand because I expected m
Hello,
I am trying to use MPI_Comm_spawn (MPI-2 standard only) and I have an
problem when I use MPI_UNIVERSE_SIZE. Here my code:
int main( int argc, char *argv[] )
{
int wsize=0, wrank=-1 ;
int usize=0, urank=-1 ;
int ier ;
int usize_attr=0, flag=0 ;
MPI_Comm MPI_COMM_UNIVERSE;
ie