Jennifer Reeve
01/26/2026, 8:59 PMJennifer Reeve
01/26/2026, 9:01 PMerrorStrategy set to terminate, so I don't think that is the issue. And the same pipeline/config will sometimes clean up submitted jobs and sometimes not.
For example, the output from a recent execution reads:
ERROR ~ Pipeline failed. Please refer to troubleshooting docs: <https://nf-co.re/docs/usage/troubleshooting>
-- Check '.nextflow.log' file for details
With the failing process failing nearly 24 hours ago, but the .nextflow.log is still updating this morning with:
Jan-27 09:58:49.115 [Task monitor] DEBUG n.processor.TaskPollingMonitor - !! executor slurm > tasks to be completed: 4 -- submitted tasks are shown below
~> TaskHandler[jobId: 4390835; id: 55925; name: NFCORE_SAREK:SAREK:BAM_VARIANT_CALLING_GERMLINE_ALL:BAM_JOINT_CALLING_GERMLINE_GATK:GATK4_GENOTYPEGVCFS (joint_variant_calling); status: SUBMITTED; exit: -; error: -; workDir: workdir/01/11afb5dbaa4e3ac5fb9fbdd411a302 started: -; exited: -; ]
~> TaskHandler[jobId: 4390836; id: 55921; name: NFCORE_SAREK:SAREK:BAM_VARIANT_CALLING_GERMLINE_ALL:BAM_JOINT_CALLING_GERMLINE_GATK:GATK4_GENOTYPEGVCFS (joint_variant_calling); status: SUBMITTED; exit: -; error: -; workDir: workdir/0b/2c9a0ddf3e28abc994150df59c9bb8 started: -; exited: -; ]
~> TaskHandler[jobId: 4390837; id: 55922; name: NFCORE_SAREK:SAREK:BAM_VARIANT_CALLING_GERMLINE_ALL:BAM_JOINT_CALLING_GERMLINE_GATK:GATK4_GENOTYPEGVCFS (joint_variant_calling); status: SUBMITTED; exit: -; error: -; workDir: workdir/b6/7f29566782b9910d8541b5303e3d58 started: -; exited: -; ]
~> TaskHandler[jobId: 4390838; id: 55926; name: NFCORE_SAREK:SAREK:BAM_VARIANT_CALLING_GERMLINE_ALL:BAM_JOINT_CALLING_GERMLINE_GATK:GATK4_GENOTYPEGVCFS (joint_variant_calling); status: SUBMITTED; exit: -; error: -; workDir: workdir/c5/6bd517ea8bfb7d2726a1ee648e7ebf started: -; exited: -; ]Niklas Schandry
01/27/2026, 8:13 AMscancel would not be able to cancel on the correct cluster with only SLURM_CLUSTERS being set, but required explicit -M clustername , which I think nextflow does not do by default. Solutions include alias scancel=scancel -M clusternameNiklas Schandry
01/27/2026, 8:17 AMpontus
01/27/2026, 8:40 AMerrorStrategy takes properly.Niklas Schandry
01/27/2026, 8:55 AMpontus
01/27/2026, 9:22 AM