Talk:Restarting belt automatically
Jump to navigation
Jump to search
Hi Vardan, that applies to magnitude and amplitude, right? --Lothar (talk) 12:09, 3 July 2024 (CEST)
- Hi Lothar. I tested it only on magnitUDE so far, but should work on the both clusters. --Vardan (talk) 14:21, 3 July 2024
- I thought so, because you need such a chain job only on systems with time limited queues/partitions. Regarding your approach, having to specify the script name explicitly (
sbatch submit
) seems somewhat error-prone to me (forgetting to change the line after renaming the script). An (admittedly clumsy looking ;-) alternative would bescontrol show job $SLURM_JOB_ID | awk -F= '/^ *Command/{print $2}' | xargs sbatch
If one never changes the job name, a simplesbatch $SLURM_JOB_NAME
would do the trick. --Lothar (talk) 15:34, 3 July 2024 (CEST)
- I thought so, because you need such a chain job only on systems with time limited queues/partitions. Regarding your approach, having to specify the script name explicitly (