Open
Description
Software Versions
- snakemake: 9.1.3
- snakemake-executor-plugin-slurm: 1.1.0
- slurm 23.02.5
When running a simple and fast local rule snakemake hangs after completion. Around 40s which corresponds to
--slurm-init-seconds-before-status-checks=<time in seconds>
but specifying this seems to have no effect on the issue. When snakemake
is run clean without slurm executor the hang time is almost none.
Logs
It hangs 40s after 1 of 1 steps (100%) done
coasd@cycletwoprd-login-1:~/delme$ rm outfile.txt ;snakemake --profile ./profile/ --slurm-init-seconds-before-status-checks 4 --verbose
Using profile ./profile/ for setting default command line arguments.
host: cycletwoprd-login-1
Building DAG of jobs...
shared_storage_local_copies: True
remote_exec: False
Submitting maximum 100 job(s) over 1.0 second(s).
SLURM run ID: 37a432cc-6ce0-49aa-9ae5-824930b2f3e0
Using shell: /usr/bin/bash
Provided remote nodes: 10000
Job stats:
job count
----- -------
all 1
total 1
Resources before job selection: {'_cores': 9223372036854775807, '_nodes': 10000, '_job_count': 9223372036854775807}
Ready jobs: 1
Select jobs to execute...
Selecting jobs to run using greedy solver.
Selected jobs: 1
Resources after job selection: {'_cores': 9223372036854775806, '_nodes': 9999, '_job_count': 100}
Execute 1 jobs...
[Wed Apr 2 13:52:56 2025]
localrule all:
output: outfile.txt
jobid: 0
reason: Missing output files: outfile.txt
resources: tmpdir=/tmp
Waiting for more resources.
[Wed Apr 2 13:52:56 2025]
Finished jobid: 0 (Rule: all)
1 of 1 steps (100%) done
Complete log(s): /shared/home/coasd/delme/.snakemake/log/2025-04-02T135256.508784.snakemake.log
unlocking
removing lock
removing lock
removed all locks
Minimal example
Snakefile
rule all:
localrule: True
output:
"outfile.txt"
shell:
"touch {output}"
config.yaml
executor: slurm
jobs: 10000
Metadata
Metadata
Assignees
Labels
No labels