X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/febfa21172b9cc827797849be5c0923aa399717f..42971b0ce70b8dfab1c8a4ce5545664fea4a6f2e:/src/smpi/smpi_global.c diff --git a/src/smpi/smpi_global.c b/src/smpi/smpi_global.c index 302c3ed7bd..7fca6d7bf9 100644 --- a/src/smpi/smpi_global.c +++ b/src/smpi/smpi_global.c @@ -366,6 +366,12 @@ int smpi_main(int (*realmain) (int argc, char *argv[]),int argc, char *argv[]) void*, int, MPI_Datatype, MPI_Comm)) mpi_coll_allgather_description[allgather_id].coll; + int allgatherv_id = find_coll_description(mpi_coll_allgatherv_description, + sg_cfg_get_string("smpi/allgatherv")); + mpi_coll_allgatherv_fun = (int (*)(void *, int, MPI_Datatype, + void*, int*, int*, MPI_Datatype, MPI_Comm)) + mpi_coll_allgatherv_description[allgatherv_id].coll; + int allreduce_id = find_coll_description(mpi_coll_allreduce_description, sg_cfg_get_string("smpi/allreduce")); mpi_coll_allreduce_fun = (int (*)(void *sbuf, void *rbuf, int rcount, \ @@ -407,7 +413,7 @@ int smpi_main(int (*realmain) (int argc, char *argv[]),int argc, char *argv[]) else SIMIX_run(); - if (sg_cfg_get_int("smpi/display_timing")) + if (sg_cfg_get_boolean("smpi/display_timing")) XBT_INFO("Simulation time: %g seconds.", SIMIX_get_clock()); smpi_global_destroy();