Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
This call can be performed before MPI_Init, avoid bench_end/bench_start.
authorAugustin Degomme <adegomme@gmail.com>
Sun, 7 Jun 2020 15:39:33 +0000 (17:39 +0200)
committerAugustin Degomme <adegomme@gmail.com>
Sun, 7 Jun 2020 15:39:33 +0000 (17:39 +0200)
src/smpi/bindings/smpi_pmpi.cpp

index f4f090b..4189478 100644 (file)
@@ -76,11 +76,9 @@ int PMPI_Get_version (int *version,int *subversion){
 }
 
 int PMPI_Get_library_version (char *version,int *len){
-  smpi_bench_end();
   snprintf(version, MPI_MAX_LIBRARY_VERSION_STRING, "SMPI Version %d.%d. Copyright The SimGrid Team 2007-2020",
            SIMGRID_VERSION_MAJOR, SIMGRID_VERSION_MINOR);
   *len = strlen(version) > MPI_MAX_LIBRARY_VERSION_STRING ? MPI_MAX_LIBRARY_VERSION_STRING : strlen(version);
-  smpi_bench_begin();
   return MPI_SUCCESS;
 }