Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
code killed by container usage
[simgrid.git] / src / smpi / smpi_global.cpp
index aa83bc21373d371d2549d7bfd254caac71eda327..9ca25bed45c6d88cf839ac6f2cd405be8cd54b98 100644 (file)
@@ -212,7 +212,7 @@ bool smpi_process_get_replaying(){
   if (index != MPI_UNDEFINED)
     return process_data[index_to_process_data[index]]->replaying;
   else
-    return !simgrid::xbt::replay_is_active();
+    return false;
 }
 
 int smpi_global_size()
@@ -634,7 +634,7 @@ void smpi_global_destroy()
 
   if (MPI_COMM_WORLD != MPI_COMM_UNINITIALIZED){
     MPI_COMM_WORLD->cleanup_smp();
-    MPI_COMM_WORLD->cleanup_attributes();
+    MPI_COMM_WORLD->cleanup_attr<Comm>();
     if(Colls::smpi_coll_cleanup_callback!=nullptr)
       Colls::smpi_coll_cleanup_callback();
     delete MPI_COMM_WORLD;
@@ -647,7 +647,6 @@ void smpi_global_destroy()
   }
 
   xbt_free(index_to_process_data);
-  Comm::keyval_cleanup();
   if(smpi_privatize_global_variables)
     smpi_destroy_global_memory_segments();
   smpi_free_static();