forked from lijiext/lammps
a new communicator should have a different number than the old
This commit is contained in:
parent
4ee5eee7cb
commit
6e53608789
|
@ -353,7 +353,7 @@ int MPI_Get_count(MPI_Status *status, MPI_Datatype datatype, int *count)
|
|||
|
||||
int MPI_Comm_split(MPI_Comm comm, int color, int key, MPI_Comm *comm_out)
|
||||
{
|
||||
*comm_out = comm;
|
||||
*comm_out = comm+1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -361,7 +361,7 @@ int MPI_Comm_split(MPI_Comm comm, int color, int key, MPI_Comm *comm_out)
|
|||
|
||||
int MPI_Comm_dup(MPI_Comm comm, MPI_Comm *comm_out)
|
||||
{
|
||||
*comm_out = comm;
|
||||
*comm_out = comm+1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue