Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add tesh files to test all new collectives
[simgrid.git] / src / smpi / colls / alltoall-pair-mpi-barrier.c
index bbd6286..78d3caa 100644 (file)
@@ -30,7 +30,7 @@ smpi_coll_tuned_alltoall_pair_mpi_barrier(void *send_buff, int send_count,
   MPI_Status s;
   MPI_Aint send_chunk, recv_chunk;
   int i, src, dst, rank, num_procs;
-  int tag = 101, success = 1;   /*, failure = 0, pof2 = 1; */
+  int tag = 101;
   char *send_ptr = (char *) send_buff;
   char *recv_ptr = (char *) recv_buff;
 
@@ -49,5 +49,5 @@ smpi_coll_tuned_alltoall_pair_mpi_barrier(void *send_buff, int send_count,
                  tag, recv_ptr + src * recv_chunk, recv_count, recv_type,
                  src, tag, comm, &s);
   }
-  return success;
+  return MPI_SUCCESS;
 }