Skip to content

Wallitme specification switched from minutes to seconds #441

@pordyna

Description

@pordyna

Software Versions
snakemake package: https://conda.anaconda.org/bioconda/noarch/snakemake-9.17.1-hdfd78af_1.conda
plugin package: https://conda.anaconda.org/bioconda/noarch/snakemake-executor-plugin-slurm-2.5.4-pyhdfd78af_0.conda
slurm 24.05.5

Describe the bug
Walltime specification changed from minutes to seconds but the documentation still says minutes.

Minimal example
config.yaml in snakemake profile directory

executor: slurm
set-resources:
  compile: 
    runtime: 60

will set the walltime to 1 min and not 1 hour like before

Additional context
https://snakemake.github.io/snakemake-plugin-catalog/plugins/executor/slurm.html#using-configuration-profiles-for-resource-specifications says:

default-resources:
    slurm_partition: "default_partition"
    slurm_account: "your_account"
    mem_mb_per_cpu: 2000
    runtime: 60  # in minutes

set-resources:
    special_rule:
        slurm_partition: "high_mem_partition"
        runtime: 180  # in minutes
        mem_mb_per_cpu: 4000
        cpus_per_task: 8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions