Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Now, you can send a task of length 0 in a no latency model... Otherwise the emitter...
[simgrid.git] / src / msg / environment.c
index e0644ec..942ed2a 100644 (file)
@@ -60,7 +60,16 @@ src_name dst_name (link_name link_name link_name ... )
  * it looks like.
  */
 void MSG_create_environment(const char *file) {
-  surf_workstation_resource_init(file);
+  xbt_dict_cursor_t cursor = NULL;
+  char *name = NULL;
+  void *workstation = NULL;
+
+/*   surf_workstation_resource_init_CLM03(file); */
+  surf_workstation_resource_init_KCCFLN05(file);
+
+  xbt_dict_foreach(workstation_set, cursor, name, workstation) {
+    __MSG_host_create(name, workstation, NULL);
+  }
 
   return;
 }