A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[simdag/dot,example/simdag/dot] correction of logs
[simgrid.git]
/
examples
/
simdag
/
dot
/
simulate_dot.c
diff --git
a/examples/simdag/dot/simulate_dot.c
b/examples/simdag/dot/simulate_dot.c
index
a28aa8f
..
ad2a6cb
100644
(file)
--- a/
examples/simdag/dot/simulate_dot.c
+++ b/
examples/simdag/dot/simulate_dot.c
@@
-47,7
+47,11
@@
int main(int argc, char **argv)
SD_create_environment(argv[1]);
/* load the DOT file and schedule tasks */
SD_create_environment(argv[1]);
/* load the DOT file and schedule tasks */
- dot = SD_dotload(argv[2]);
+ dot = SD_dotload_with_sched(argv[2]);
+ if(dot == NULL){
+ INFO0("The dot file with the provided scheduling is wrong, more information with the option : --log=sd_dotparse.thres:verbose");
+ return -1;
+ }
/* Display all the tasks */
INFO0
/* Display all the tasks */
INFO0