Commit 7866ffb8 authored by lhausamm's avatar lhausamm
Browse files

task dependencies graph works with MPI

parent 22831b41
...@@ -115,6 +115,11 @@ void scheduler_addunlock(struct scheduler *s, struct task *ta, ...@@ -115,6 +115,11 @@ void scheduler_addunlock(struct scheduler *s, struct task *ta,
void scheduler_write_dependency(struct scheduler *s) { void scheduler_write_dependency(struct scheduler *s) {
#ifdef WITH_MPI
if (engine_rank != 0)
return;
#endif
message("Writing dependencies"); message("Writing dependencies");
char filename[200] = "dependency_graph.dot"; char filename[200] = "dependency_graph.dot";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment