Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
typo--
authorAugustin Degomme <degomme@idpann.imag.fr>
Mon, 26 Aug 2013 12:10:59 +0000 (14:10 +0200)
committerAugustin Degomme <degomme@idpann.imag.fr>
Thu, 29 Aug 2013 12:41:11 +0000 (14:41 +0200)
src/smpi/colls/smpi_automatic_selector.c

index 192ac0f..083096c 100644 (file)
@@ -45,7 +45,7 @@
   if(smpi_comm_rank(comm)==0){\
       XBT_WARN("For rank 0, the quickest was %s : %lf , but global was %s : %lf at max",mpi_coll_##cat##_description[min_coll].name, time_min,mpi_coll_##cat##_description[global_coll].name, max_min);\
   }else\
   if(smpi_comm_rank(comm)==0){\
       XBT_WARN("For rank 0, the quickest was %s : %lf , but global was %s : %lf at max",mpi_coll_##cat##_description[min_coll].name, time_min,mpi_coll_##cat##_description[global_coll].name, max_min);\
   }else\
-  XBT_WARN("The quickest reduce_scatter was %s on rank %d and took %lf",mpi_coll_##cat##_description[min_coll].name, smpi_comm_rank(comm), time_min);\
+  XBT_WARN("The quickest %s was %s on rank %d and took %lf",#cat,mpi_coll_##cat##_description[min_coll].name, smpi_comm_rank(comm), time_min);\
   return (min_coll!=-1)?MPI_SUCCESS:MPI_ERR_INTERN;\
 }\
 
   return (min_coll!=-1)?MPI_SUCCESS:MPI_ERR_INTERN;\
 }\