My Snakefile looks like this,
rule test:
output:
"test.txt"
resources:
mem_mb=4000
shell:
"sleep 600 && touch {output}"
and my config.yaml file looks like,
executor: cluster-generic
cluster-generic-submit-cmd: 'bsub -R "rusage[mem={resources.mem_mb}GB]" -n 4'
cluster-generic-cancel-cmd: bkill
I fire up my workflow with snakemake --profile profile/ and then press ^C to terminate the process early. I get the following warning,
Job <36740856> is submitted to default queue <long>.: Illegal job ID.
1 out of 1 calls to --cluster-cancel failed. This is safe to ignore in most cases.
and the job isn't terminated. What am I missing?
I am using snakemake v8.11.3.
My Snakefile looks like this,
and my
config.yamlfile looks like,I fire up my workflow with
snakemake --profile profile/and then press^Cto terminate the process early. I get the following warning,and the job isn't terminated. What am I missing?
I am using
snakemake v8.11.3.