So this might be my fault and not an issue with the code but initially I was erroring on this line (and any other sbatch command)
sbatch --wait --account=$acc --partition=$part --mem=$pre_B_m --time=$pre_B_t --cpus-per-task=$pre_B_c --ntasks=1 job_pre_B.sh
I resolved it by removing -account=$acc, because when submitting a job to slurm on JASMIN we don't have to specify an account, it already knows who I am I think. I thought I was putting the right account name into settings.csv but I might have been wrong.... Anyway it worked fine for me on JASMIN without specifying an account.
Just thought I'd add this issue in case anyone else encounters the same
So this might be my fault and not an issue with the code but initially I was erroring on this line (and any other sbatch command)
sbatch --wait --account=$acc --partition=$part --mem=$pre_B_m --time=$pre_B_t --cpus-per-task=$pre_B_c --ntasks=1 job_pre_B.sh
with this error
I resolved it by removing
-account=$acc
, because when submitting a job to slurm on JASMIN we don't have to specify an account, it already knows who I am I think. I thought I was putting the right account name intosettings.csv
but I might have been wrong.... Anyway it worked fine for me on JASMIN without specifying an account.Just thought I'd add this issue in case anyone else encounters the same