Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
the matrix may have 0 columns...
[simgrid.git] / src / msg / environment.c
index c82b2d0..bbaeaf5 100644 (file)
@@ -8,6 +8,7 @@
 #include "private.h"
 #include "xbt/sysdep.h"
 #include "xbt/log.h"
+#include "gras_config.h"
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_environment, msg,
                                "Logging specific to MSG (environment)");
 
@@ -73,8 +74,14 @@ void MSG_create_environment(const char *file) {
   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_proportional")) {
+    surf_workstation_resource_init_KCCFLN05_proportionnal(file);
   } else if (!strcmp(workstation_model_name,"CLM03")) {
     surf_workstation_resource_init_CLM03(file);
+#ifdef USE_GTNETS
+  } else if (!strcmp(workstation_model_name,"GTNETS")) {
+    surf_workstation_resource_init_GTNETS(file);
+#endif
   } else {
     xbt_assert0(0,"The impossible happened (once again)");
   }