]> AND Public Git Repository - simgrid.git/blobdiff - src/smpi/internals/smpi_config.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
oops
[simgrid.git] / src / smpi / internals / smpi_config.cpp
index 2733ecd13a5168f44030f2d4360b920e757b0b50..ed6c33885beb033dea819fcece34ed916e59e7cb 100644 (file)
@@ -182,6 +182,7 @@ void smpi_init_options(){
   if(_smpi_options_initialized)
     return;
   simgrid::config::declare_flag<bool>("smpi/display-timing", "Whether we should display the timing after simulation.", false);
+  simgrid::config::declare_flag<int>("smpi/list-leaks", "Whether we should display the n first MPI handle leaks (addresses and type only) after simulation", 0);
   simgrid::config::declare_flag<bool>("smpi/keep-temps", "Whether we should keep the generated temporary files.", false);
   simgrid::config::declare_flag<std::string>("smpi/tmpdir", "tmp dir for dlopen files", "/tmp");