Unverified Commit 6e536087 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

a new communicator should have a different number than the old

parent 4ee5eee7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
}