|
| 1 | +#! /bin/bash |
| 2 | + |
| 3 | +#====================================================================================== |
| 4 | +#Please Make a copy of this template in the same directory and edit it to fit your run. |
| 5 | +#Please do not submit your copy of this template to the repo. |
| 6 | +#====================================================================================== |
| 7 | + |
| 8 | + |
| 9 | +#The following section controls the parameters of your run, feel free to edit: |
| 10 | +#============================================================================= |
| 11 | +#SBATCH --nodes=1 # Number of nodes in our pool |
| 12 | +#SBATCH --ntasks=80 # Number of parallel tasks |
| 13 | +#SBATCH --ntasks-per-node=40 # maximum number of tasks simultaneously running on a node |
| 14 | +#SBATCH --job-name=vtr_test # Job name |
| 15 | +#SBATCH --mail-type=FAIL,END # When to send an email |
| 16 | +#SBATCH [email protected] # The user's email |
| 17 | +#SBATCH --output=parallel_%j.log # Determine the output log file; (%j) is the jobid |
| 18 | +#SBATCH --error=error_%j.log # Determine the error log file |
| 19 | +#SBATCH --time=10:00:00 # The job time limit in hh:mm:ss |
| 20 | + |
| 21 | +#You can also overwrite the values of some of these paramters using environment variables |
| 22 | +#======================================================================================== |
| 23 | +# - SBATCH_JOB_NAME instead of --job-name |
| 24 | +# - SBATCH_TIMELIMIT instead of --time |
| 25 | + |
| 26 | +#Preload the required environment modules |
| 27 | +module load gcc/9.2.0 |
| 28 | +module load python/3.8.5 |
| 29 | + |
| 30 | +#Choose the run directory |
| 31 | +path_to_task="../../tasks/regression_tests/vtr_reg_nightly/vtr_reg_qor_chain_large" |
| 32 | +dir="run001" |
| 33 | + |
| 34 | + |
| 35 | +for script in ${path_to_task}/${dir}/*/*/common*/vtr_flow.sh |
| 36 | +do |
| 37 | + echo $script |
| 38 | + $script & |
| 39 | +done |
| 40 | +wait |
0 commit comments