Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Now, any surf-based program can take --surf-path arguments to help locating platform...
[simgrid.git] / src / msg / environment.c
index e0644ec..981db97 100644 (file)
@@ -60,8 +60,16 @@ src_name dst_name (link_name link_name link_name ... )
  * it looks like.
  */
 void MSG_create_environment(const char *file) {
+  xbt_dict_cursor_t cursor = NULL;
+  char *name = NULL;
+  void *workstation = NULL;
+
   surf_workstation_resource_init(file);
 
+  xbt_dict_foreach(workstation_set, cursor, name, workstation) {
+    __MSG_host_create(name, workstation, NULL);
+  }
+
   return;
 }