antadde / N-SDM

Nested-Species Distribution Modelling
MIT License
26 stars 1 forks source link

Invalid account or account/partition combination specified #4

Open simonrolph opened 2 years ago

simonrolph commented 2 years ago

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

sbatch: error: Batch job submission failed: Invalid account or account/partition combination specified

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