Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
unlock the dynar before removing sockets closed at the other side
[simgrid.git] / src / simix / smx_environment.c
index fe57ebf..0cd11b0 100644 (file)
@@ -40,13 +40,17 @@ void SIMIX_create_environment(const char *file)
   surf_timer_resource_init(file);
 
   /* which model do you want today? */
-  workstation_model_name = xbt_cfg_get_string (_simix_cfg_set, "surf_workstation_model");
+  workstation_model_name = xbt_cfg_get_string (_simix_cfg_set, "workstation_model");
 
   DEBUG1("Model : %s", workstation_model_name);
   if (!strcmp(workstation_model_name,"KCCFLN05")) {
     surf_workstation_resource_init_KCCFLN05(file);
-  } else if (!strcmp(workstation_model_name,"KCCFLN05_proportionnal")) {
-    surf_workstation_resource_init_KCCFLN05_proportionnal(file);
+  } else if (!strcmp(workstation_model_name,"KCCFLN05_proportional")) {
+    surf_workstation_resource_init_KCCFLN05_proportional(file);
+  } else if (!strcmp(workstation_model_name,"KCCFLN05_Vegas")) {
+    surf_workstation_resource_init_KCCFLN05_Vegas(file);
+  } else if (!strcmp(workstation_model_name,"KCCFLN05_Reno")) {
+    surf_workstation_resource_init_KCCFLN05_Reno(file);
   } else if (!strcmp(workstation_model_name,"CLM03")) {
     surf_workstation_resource_init_CLM03(file);
   } else {