Skip to content

wtime_to_minutes should not add padding #75

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions