Talk:Restarting belt automatically

From Arbeitsgruppe Kuiper
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 be
scontrol show job $SLURM_JOB_ID | awk -F= '/^ *Command/{print $2}' | xargs sbatch
If one never changes the job name, a simple sbatch $SLURM_JOB_NAME would do the trick. --Lothar (talk) 15:34, 3 July 2024 (CEST)
Yes, sure. I'm usually not changing the name of the submit file, but of course your option is much better. --Vardan (talk) 00:25, 4 July 2024