Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add tesh files to test all new collectives
[simgrid.git] / src / smpi / colls / alltoall-ring-light-barrier.c
index f901445..a721c77 100644 (file)
@@ -31,7 +31,7 @@ smpi_coll_tuned_alltoall_ring_light_barrier(void *send_buff, int send_count,
   MPI_Aint send_chunk, recv_chunk;
   MPI_Status s;
   int i, src, dst, rank, num_procs, next_dst, next_src;
-  int tag = 1, success = 1;     /*, failure = 0; */
+  int tag = 1;
 
   char send_sync = 'a', recv_sync = 'b';
   char *send_ptr = (char *) send_buff;
@@ -66,5 +66,5 @@ smpi_coll_tuned_alltoall_ring_light_barrier(void *send_buff, int send_count,
     }
   }
 
-  return success;
+  return MPI_SUCCESS;
 }