Skip to content

[Bug] Specifying supported slurm time format result in job not submitted #163

Description

@ccoulombe

Hello,

@jdavcs found this one.

Slurm supports various format for time limit of a job: https://slurm.schedmd.com/sbatch.html#OPT_time

Acceptable time formats include "minutes", "minutes:seconds", "hours:minutes:seconds", "days-hours", "days-hours:minutes" and "days-hours:minutes:seconds".

Using --time=7-00:00:00 or --time=7-00 results in Galaxy failing to submit the job with the error:
Unable to run job due to a misconfiguration of the Galaxy job running system.

While using the hours:minutes:seconds format, works correctly (--time=168:00:00):

    params:
      native_specification: --nodes=1 --ntasks=1 --cpus-per-task={cores} --mem={round(mem*1024)} --time=168:00:00 --partition=main #set to main for autumn season

Thanks,

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