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)");
}
xbt_assert0(_msg_init_status<2, "Cannot change the model after the initialization");
val = xbt_cfg_get_string (_msg_cfg_set, name);
-
+
+#ifdef USE_GTNETS
+ xbt_assert1(!strcmp(val, "CLM03") ||
+ !strcmp(val, "KCCFLN05") ||
+ !strcmp(val, "GTNETS"),
+ "Unknown workstation model: %s (either 'CLM03', 'KCCFLN05', or 'GTNETS'",val);
+#else
xbt_assert1(!strcmp(val, "CLM03") ||
!strcmp(val, "KCCFLN05"),
"Unknown workstation model: %s (either 'CLM03' or 'KCCFLN05'",val);
+#endif
+
}
/* create the config set and register what should be */