-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
When using OAR (Scan scripts) and a workflow manager (Snakemake in my case) i am missing a feature of oarsub to wait on the completion of the job and returning the same exit code as the job script (so that the workflow manager can keep track of the processes and their status)
In Slurm there is the --wait flag of sbatch that does this: https://slurm.schedmd.com/sbatch.html#OPT_wait
So what i would love in OAR would be something like this:
$ oarsub --wait -S './my_script_that_sleeps_for_1_minute.sh`
# waits for the completion of the job (i.e. waiting + running time)
$ echo $?
0$ oarsub --wait -S './my_script_that_fails.sh`
# waits for the completion of the job (i.e. waiting + running time)
$ echo $?
1But i also realize this is a flag that is very specific to a passive submission of OAR
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels