Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Using openMPI selector in this case possibly led to issues, so use single implems...
authordegomme <augustin.degomme@unibas.ch>
Thu, 21 Jan 2016 09:07:56 +0000 (10:07 +0100)
committerdegomme <augustin.degomme@unibas.ch>
Thu, 21 Jan 2016 09:08:19 +0000 (10:08 +0100)
src/smpi/smpi_base.c
src/smpi/smpi_coll.c

index 497f383..21a8356 100644 (file)
@@ -1086,14 +1086,12 @@ int smpi_mpi_testsome(int incount, MPI_Request requests[], int *indices,
 void smpi_mpi_bcast(void *buf, int count, MPI_Datatype datatype, int root,
                     MPI_Comm comm)
 {
-  // use openMPI selector as default one, as naive one was removed
-    smpi_coll_tuned_bcast_ompi(buf, count, datatype, root, comm);
+    smpi_coll_tuned_bcast_binomial_tree(buf, count, datatype, root, comm);
 }
 
 void smpi_mpi_barrier(MPI_Comm comm)
 {
-  // use openMPI selector as default one, as naive one was removed
-    smpi_coll_tuned_barrier_ompi(comm);
+    smpi_coll_tuned_barrier_ompi_basic_linear(comm);
 }
 
 void smpi_mpi_gather(void *sendbuf, int sendcount, MPI_Datatype sendtype,
index 9656375..e685e31 100644 (file)
@@ -68,8 +68,8 @@ COLL_SCATTERS(COLL_DESCRIPTION, COLL_COMMA),
 
 s_mpi_coll_description_t mpi_coll_barrier_description[] = {
   {"default",
-   "barrier default collective - ompi selector",
-   smpi_coll_tuned_barrier_ompi},
+   "barrier default collective",
+   smpi_mpi_barrier},
 COLL_BARRIERS(COLL_DESCRIPTION, COLL_COMMA),
   {NULL, NULL, NULL}      /* this array must be NULL terminated */
 };
@@ -97,8 +97,8 @@ COLL_ALLTOALLVS(COLL_DESCRIPTION, COLL_COMMA),
 
 s_mpi_coll_description_t mpi_coll_bcast_description[] = {
   {"default",
-   "bcast default collective - ompi selector",
-   smpi_coll_tuned_bcast_ompi},
+   "bcast default collective ",
+   smpi_mpi_bcast},
 COLL_BCASTS(COLL_DESCRIPTION, COLL_COMMA),
   {NULL, NULL, NULL}      /* this array must be NULL terminated */
 };