]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use MPI_TAGs that are guaranteed to be valid 6546/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Wed, 9 May 2018 00:11:09 +0000 (02:11 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Wed, 9 May 2018 00:11:25 +0000 (02:11 +0200)
source/dofs/dof_handler_policy.cc

index 93f5cac25e8da85b0616b26d504f8f5d7b5e470a..e2409c499c117e431a5d5ea785c125662ad595b7 100644 (file)
@@ -3300,7 +3300,7 @@ namespace internal
               sendbuffers[idx] = it->second.pack_data ();
               const int ierr = MPI_Isend(sendbuffers[idx].data(), sendbuffers[idx].size(),
                                          MPI_BYTE, it->first,
-                                         1100101, tria.get_communicator(), &requests[idx]);
+                                         10101, tria.get_communicator(), &requests[idx]);
               AssertThrowMPI(ierr);
             }
 
@@ -3315,7 +3315,7 @@ namespace internal
 
               MPI_Status status;
               int len;
-              int ierr = MPI_Probe(MPI_ANY_SOURCE, 1100101, tria.get_communicator(), &status);
+              int ierr = MPI_Probe(MPI_ANY_SOURCE, 10101, tria.get_communicator(), &status);
               AssertThrowMPI(ierr);
               ierr = MPI_Get_count(&status, MPI_BYTE, &len);
               AssertThrowMPI(ierr);
@@ -3351,7 +3351,7 @@ namespace internal
               reply_buffers[idx] = cell_data_transfer_buffer.pack_data();
               ierr = MPI_Isend(&(reply_buffers[idx])[0], reply_buffers[idx].size(),
                                MPI_BYTE, status.MPI_SOURCE,
-                               1100102, tria.get_communicator(), &reply_requests[idx]);
+                               10102, tria.get_communicator(), &reply_requests[idx]);
               AssertThrowMPI(ierr);
             }
 
@@ -3363,7 +3363,7 @@ namespace internal
 
               MPI_Status status;
               int len;
-              int ierr = MPI_Probe(MPI_ANY_SOURCE, 1100102, tria.get_communicator(), &status);
+              int ierr = MPI_Probe(MPI_ANY_SOURCE, 10102, tria.get_communicator(), &status);
               AssertThrowMPI(ierr);
               ierr = MPI_Get_count(&status, MPI_BYTE, &len);
               AssertThrowMPI(ierr);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.