X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e9572271027ff5b09272f0780dd8c26c0a6b38e3..1aeee3ce2981cd8db039d6be8f5b86e88eabb704:/src/simdag/sd_global.cpp diff --git a/src/simdag/sd_global.cpp b/src/simdag/sd_global.cpp index 3f6851efaf..697cc136a5 100644 --- a/src/simdag/sd_global.cpp +++ b/src/simdag/sd_global.cpp @@ -72,9 +72,6 @@ void SD_init(int *argc, char **argv) jedule_sd_init(); #endif - XBT_DEBUG("ADD SD LEVELS"); - SD_STORAGE_LEVEL = xbt_lib_add_level(storage_lib,__SD_storage_destroy); - if (_sg_cfg_exit_asap) { SD_exit(); exit(0); @@ -161,18 +158,8 @@ void SD_application_reinit(void) */ void SD_create_environment(const char *platform_file) { - xbt_lib_cursor_t cursor = NULL; - char *name = NULL; - void **surf_storage = NULL; - parse_platform_file(platform_file); - /* now let's create the SD wrappers for storage elements */ - xbt_lib_foreach(storage_lib, cursor, name, surf_storage) { - if(surf_storage[SURF_STORAGE_LEVEL]) - __SD_storage_create(surf_storage[SURF_STORAGE_LEVEL], NULL); - } - XBT_DEBUG("Workstation number: %zu, link number: %d", sg_host_count(), sg_link_count()); #ifdef HAVE_JEDULE