#include "src/surf/surf_interface.hpp"
#ifdef HAVE_SMPI
-#include "src/smpi/private.h"
+#include "src/smpi/private.hpp"
#endif
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_process, simix, "Logging specific to SIMIX (process)");
#if HAVE_SMPI
#include "src/smpi/private.h"
+#include "src/smpi/private.hpp"
#endif
XBT_LOG_NEW_CATEGORY(simix, "All SIMIX categories");
// utilities
extern XBT_PRIVATE double smpi_cpu_threshold;
extern XBT_PRIVATE double smpi_host_speed;
-
-#define SMPI_PRIVATIZE_NONE 0
-#define SMPI_PRIVATIZE_MMAP 1
-#define SMPI_PRIVATIZE_DLOPEN 2
-#define SMPI_PRIVATIZE_DEFAULT SMPI_PRIVATIZE_MMAP
-extern XBT_PRIVATE int smpi_privatize_global_variables;
-
extern XBT_PRIVATE char* smpi_start_data_exe; //start of the data+bss segment of the executable
extern XBT_PRIVATE int smpi_size_data_exe; //size of the data+bss segment of the executable
XBT_PUBLIC(smpi_trace_call_location_t*) smpi_process_get_call_location();
XBT_PUBLIC(smpi_trace_call_location_t*) smpi_trace_get_call_location();
}
+
+typedef enum {
+ SMPI_PRIVATIZE_NONE = 0,
+ SMPI_PRIVATIZE_MMAP = 1,
+ SMPI_PRIVATIZE_DLOPEN = 2,
+ SMPI_PRIVATIZE_DEFAULT = SMPI_PRIVATIZE_MMAP
+} smpi_priv_strategies;
+
+extern XBT_PRIVATE int smpi_privatize_global_variables;
+
#endif
#include "src/simix/smx_private.h"
#include "src/smpi/private.h"
+#include "src/smpi/private.hpp"
#include "src/smpi/smpi_comm.hpp"
#include "src/smpi/smpi_coll.hpp"
#include "src/smpi/smpi_datatype.hpp"
#include "simgrid/modelchecker.h"
#include "src/smpi/private.h"
+#include "src/smpi/private.hpp"
#include "src/smpi/smpi_datatype_derived.hpp"
#include "src/smpi/smpi_op.hpp"
#include "src/smpi/smpi_process.hpp"
#include "src/smpi/SmpiHost.hpp"
#include "xbt/config.hpp"
#include "src/smpi/private.h"
+#include "src/smpi/private.hpp"
#include "src/smpi/smpi_coll.hpp"
#include "src/smpi/smpi_comm.hpp"
#include "src/smpi/smpi_group.hpp"
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "src/smpi/private.h"
+#include "src/smpi/private.hpp"
#include "src/smpi/smpi_datatype.hpp"
#include "src/smpi/smpi_op.hpp"
#include "src/smpi/smpi_process.hpp"
#include "src/msg/msg_private.h"
#include "src/simix/smx_private.h"
#include "src/smpi/private.h"
+#include "src/smpi/private.hpp"
#include "src/smpi/smpi_process.hpp"
#include "src/smpi/smpi_group.hpp"
#include "src/smpi/smpi_comm.hpp"
#include "src/mc/mc_replay.h"
#include "src/smpi/SmpiHost.hpp"
#include "src/smpi/private.h"
+#include "src/smpi/private.hpp"
#include "src/smpi/smpi_comm.hpp"
#include "src/smpi/smpi_datatype.hpp"
#include "src/smpi/smpi_op.hpp"