Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't use positive tags for internal messages.
[simgrid.git] / src / smpi / colls / bcast / bcast-arrival-scatter.cpp
index 7d51422..7891c76 100644 (file)
@@ -21,7 +21,7 @@ int Coll_bcast_arrival_scatter::bcast(void *buf, int count,
                                           MPI_Comm comm)
 {
   int tag = -COLL_TAG_BCAST;//in order to use ANY_TAG, make this one positive
-  int header_tag = 10;
+  int header_tag = -10;
   MPI_Status status;
 
   int curr_remainder;