* under the terms of the license (GNU LGPL) which comes with this package. */
#include "simgrid/sg_config.hpp"
-#include "src/smpi/include/smpi_config.hpp"
#include "src/mc/Session.hpp"
#include "src/mc/checker/Checker.hpp"
#include "src/mc/mc_config.hpp"
#include "src/mc/mc_exit.hpp"
+#if HAVE_SMPI
+#include "smpi/smpi.h"
+#endif
+
#include <cstring>
#include <memory>
#include <unistd.h>
// value to the model-checked:
char** argv_copy = argvdup(argc, argv);
xbt_log_init(&argc, argv);
-#ifdef HAVE_SMPI
+#if HAVE_SMPI
smpi_init_options();//only performed once
#endif
sg_config_init(&argc, argv);