X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f0b6b515efe437925562a02a60738d10cdeff63a..647b236abe6aacb7f3881369d4cb63e27b75aa8f:/src/smpi/internals/smpi_global.cpp?ds=sidebyside diff --git a/src/smpi/internals/smpi_global.cpp b/src/smpi/internals/smpi_global.cpp index 6638b9cf75..c7ab73e5bc 100644 --- a/src/smpi/internals/smpi_global.cpp +++ b/src/smpi/internals/smpi_global.cpp @@ -15,6 +15,8 @@ #include "xbt/config.hpp" #include +#include /* trim_right / trim_left */ +#include #include /* DBL_MAX */ #include #include /* intmax_t */ @@ -23,6 +25,14 @@ #include #include +#if SG_HAVE_SENDFILE +#include +#endif + +#if HAVE_PAPI +#include "papi.h" +#endif + #if not defined(__APPLE__) && not defined(__HAIKU__) #include #endif @@ -39,13 +49,7 @@ constexpr bool HAVE_WORKING_MMAP = false; constexpr bool HAVE_WORKING_MMAP = true; #endif -#if SG_HAVE_SENDFILE -#include -#endif - XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_kernel, smpi, "Logging specific to SMPI (kernel)"); -#include -#include /* trim_right / trim_left */ #if SMPI_IFORT extern "C" void for_rtl_init_ (int *, char **); @@ -68,7 +72,6 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_kernel, smpi, "Logging specific to SMPI (ke #endif #if HAVE_PAPI -#include "papi.h" std::string papi_default_config_name = "default"; std::map units2papi_setup; #endif