Skip to content

wtime_to_minutes should not add padding #75

@benclifford

Description

@benclifford

wtime_to_minutes does not accurately convert a specified time (such as "48:00:00") to a number of minutes (2880), but instead adds on an extra minute.

This has caused confusion in this situation:

slurm on a system with a 48h job time limit will take job submissions with:

 --time=48:00:00

but will not take job submissions submitted with a libsubmit walltime of "48:00:00" (as libsubmit requests 2880+1 minutes, which is slightly more than 48h).

This UI behaviour is confusing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions