galaxyproject / galaxyproject/total-perspective-vortex

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

Open
#163 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
18
Forks
19
Avg merge
4d 9h
Merged PRs (30d)
5

Description

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,

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.