#include "xbt/misc.h"
#include "xbt/config.h"
#include "xbt/log.h"
+#include "xbt/mallocator.h"
#include "xbt/str.h"
#include "surf/surf_private.h"
#include "surf/surf_routing.h" /* COORD_HOST_LEVEL and COORD_ASR_LEVEL */
surf_config_cmd_line(argc, argv);
- xbt_mallocator_initialization_is_done();
+ xbt_mallocator_initialization_is_done(SIMIX_context_is_parallel());
} else {
XBT_WARN("Call to surf_config_init() after initialization ignored");