瀏覽代碼

don't use ptask_L07 any more on simgrid 3.10 and later

Samuel Thibault 12 年之前
父節點
當前提交
5603eac7ce
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/core/simgrid.c

+ 3 - 0
src/core/simgrid.c

@@ -71,7 +71,10 @@ int main(int argc, char **argv)
 	}
 
 	MSG_init(&argc, argv);
+#if SIMGRID_VERSION_MAJOR < 3 || (SIMGRID_VERSION_MAJOR == 3 && SIMGRID_VERSION_MINOR < 10)
+	/* Versions earlier than 3.10 didn't support our communication tasks */
 	MSG_config("workstation/model", "ptask_L07");
+#endif
 
 	/* Create platform file */
 	starpu_conf_init(&conf);