Closed llq0325 closed 2 years ago
It sounds like your cluster isn't configured to allow compute nodes to submit jobs: https://www.mail-archive.com/slurm-dev@schedmd.com/msg01762.html. This is a requirement to run Canu on the grid: https://canu.readthedocs.io/en/latest/faq.html#my-run-stopped-with-the-error-failed-to-submit-batch-jobs. I assume your cluster admin won't change this setting just to run Canu.
Given that you have hifi data and not too big a genome, I'd just run on a single node with useGrid=false. Reserve one of the 80-core 600gb nodes for Canu and let it run there, something like:
#!/bin/bash
#SBATCH --job-name=canu
#SBATCH --nodes=1
#SBATCH --cpus-per-task=80
#SBATCH --time=96:00:00
#SBATCH --mem=600GB
/dss/dsslegfs01/pr53da/pr53da-dss-0022/nobackup/private/CNV/bin/canu/canu-2.2/bin/canu -p asm -d canu_test genomeSize=0.95g useGrid=false maxMemory=600g -maxThreads=80 \
-pacbio-hifi /dss/dsslegfs01/pr53da/pr53da-dss-0035/2022/1.Data_QC/raw_fastq/*.ccs.fastq.gz
thanks for replying!
Hi there,
I am running Canu 2.2 and having a problem submitting jobs to the grid (slurm). Would you please let me know if the grid setting is wrong? and how to solve it?
The commands I used:
and the log file loos like this