galaxyproject / galaxyproject/total-perspective-vortex
[Bug] Specifying supported slurm time format result in job not submitted
- 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
Assessment
This issue has not been assessed yet.