Slurm tower connection issue

I tried submitting job to out HPC slurm via the tower but looks like account is not being relayed, error message below

message: sbatch: error: Account specification required, but not provided
sbatch: error: Batch job submission failed: Invalid account or account/partition combination specified

Is there some tutorial i can follow to find how to set the account?

Can you share in detail how you did it? Sharing .nextflow.log and config files such as .nextflow.config is useful in this case.

i don’t see a log being created but i do see

~/cluster/work]$ cat nf-2QNjgvAhldjfjO.launcher.sh
#!/bin/bash
#SBATCH -D /cluster/projects/nn9036k/work
#SBATCH -J nf-workflow-2QNjgvAhldjfjO
#SBATCH -o /cluster/projects/nn9036k/work/nf-2QNjgvAhldjfjO.log
#SBATCH --no-requeue
#SBATCH -p bigmem
set -e
set -o pipefail

… created at the server via slurm compute env Seqera Cloud

but when i try to submit a job, i get the error Seqera Cloud

I must mention it works when the --account is supplied and job is submitted directly to cluster/sbatch https://raw.githubusercontent.com/animesh/scripts/fc522193e5637287d48d8cedf5c721748c1b7c29/scratch.slurm at the cluster with same parameters https://raw.githubusercontent.com/animesh/scripts/fc522193e5637287d48d8cedf5c721748c1b7c29/nextflow.json and tower-token so i guess the issue is properly setting the account via tower web-interface or?

Did you add your --account instruction to the Advanced → head job submit options?

1 Like