How to run the programs
-
Assumption: All files, scripts and the directory first_example/ are in the same folder
-
Call job_master.sh with the directory first_examples/ as argument, like: ./job_master.sh first_example/
-
Call kill_all.sh if a process doesn't stop running
References
-
This Bash cheatsheet: https://gist.github.com/LeCoupa/122b12050f5fb267e75f
-
This discussion: https://stackoverflow.com/questions/10929453/read-a-file-line-by-line-assigning-the-value-to-a-variable