X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/21fe278c8460849931b37ccde22e944edec46f71..d011cb8a5566e78daba9b90c6a370dca07b74c5a:/src/simgrid/sg_config.cpp diff --git a/src/simgrid/sg_config.cpp b/src/simgrid/sg_config.cpp index 2acb020ae2..11bd7dd3bb 100644 --- a/src/simgrid/sg_config.cpp +++ b/src/simgrid/sg_config.cpp @@ -7,6 +7,7 @@ #include "simgrid/sg_config.hpp" #include "simgrid/instr.h" +#include "simgrid/version.h" #include "src/instr/instr_private.hpp" #include "src/internal_config.h" #include "src/kernel/lmm/maxmin.hpp" @@ -392,6 +393,10 @@ void sg_config_init(int *argc, char **argv) simgrid::config::declare_flag("smpi/shared-malloc-blocksize", "Size of the bogus file which will be created for global shared allocations", 1UL << 20); + simgrid::config::declare_flag("smpi/auto-shared-malloc-thresh", + "Threshold size for the automatic sharing of memory", + 0); + simgrid::config::declare_flag("smpi/shared-malloc-hugepage", "Path to a mounted hugetlbfs, to use huge pages with shared malloc.", ""); @@ -406,7 +411,8 @@ void sg_config_init(int *argc, char **argv) simgrid::config::declare_flag("smpi/trace-call-location", "Should filename and linenumber of MPI calls be traced?", false); - + simgrid::config::declare_flag("smpi/trace-call-use-absolute-path", + "Should filenames for trace-call tracing be absolute or not?", false); simgrid::config::declare_flag( "smpi/send-is-detached-thresh", "Threshold of message size where MPI_Send stops behaving like MPI_Isend and becomes MPI_Ssend", 65536);