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