Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make internal collective flags negative (incorrect in MPI), to avoid confusion with...
[simgrid.git] / src / smpi / colls / reduce-arrival-pattern-aware.c
index 4038e7049ae8a126cfd62e36afeb7cc6b33f3c5d..b743323132593bc7ace30b3eae9e7a57064e79f2 100644 (file)
@@ -21,7 +21,7 @@ int smpi_coll_tuned_reduce_arrival_pattern_aware(void *buf, void *rbuf,
   int rank;
   rank = smpi_comm_rank(comm);
 
-  int tag = COLL_TAG_REDUCE;
+  int tag = -COLL_TAG_REDUCE;
   MPI_Status status;
   MPI_Request request;
   MPI_Request *send_request_array;