Designation: Non-Export Controlled Content
Folks;
                I have the following code setup. The sensorList is an array of 
ints of size 1. The value it contains is 1. My comm world size is 5. The call 
to MPI_Barrier fails every time with error "invalid communicator". This code is 
pretty much copied out of a text book. I must be doing something wrong. I just 
don't see it. Can anyone else spot my error? I am using v2.01 on red hat 6.5.

Thanks
Rick


                MPI_Comm_group(MPI_COMM_WORLD, &worldgroup);
MPI_Group_incl(worldgroup, 1, sensorList, &sensorgroup);
MPI_Comm_create(MPI_COMM_WORLD, sensorgroup, &sensorComm);
MPI_Barrier(sensorComm);

3.1.1001
_______________________________________________
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users

Reply via email to