From b1463660ab52c5a6758ccac6db6ade06607b5f6d Mon Sep 17 00:00:00 2001 From: cristianrosa Date: Mon, 6 Dec 2010 14:54:12 +0000 Subject: [PATCH 1/1] Initialize surf before the context module, so the later one can make use of the configuration variables. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9017 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/simix/smx_global.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simix/smx_global.c b/src/simix/smx_global.c index 5ec6c24d11..12829ade27 100644 --- a/src/simix/smx_global.c +++ b/src/simix/smx_global.c @@ -84,6 +84,7 @@ void SIMIX_global_init(int *argc, char **argv) simix_global->latency_limited_dict = xbt_dict_new(); #endif + surf_init(argc, argv); /* Initialize SURF structures */ SIMIX_context_mod_init(); SIMIX_create_maestro_process(); @@ -99,7 +100,6 @@ void SIMIX_global_init(int *argc, char **argv) /* Prepare to display some more info when dying on Ctrl-C pressing */ signal(SIGINT, inthandler); - surf_init(argc, argv); /* Initialize SURF structures */ } if (!simix_timers) { simix_timers = xbt_heap_new(8, &free); -- 2.20.1