Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: quote jobid passed to status script to support multi-cluster Slurm setup #1459

Merged
merged 3 commits into from Mar 7, 2022

Commits on Mar 4, 2022

  1. fix: quote jobid passed to status script to support multi-cluster setup

    Motivation: In a multi-cluster Slurm setup, i.e. passing the flag
    `--clusters` to `sbatch`, then the job id returned with the `--parsable`
    flag is actually `jobid;cluster_name`. This breaks a custom status
    script because the shell ends the command at the semi-colon. This PR
    quotes `jobid;cluster_name` so that a custom status script could then
    parse this input to obtain the job status from the specified
    cluster_name and jobid.
    jdblischak committed Mar 4, 2022
    Copy the full SHA
    715cb22 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    ce5e6fd View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2022

  1. Copy the full SHA
    6069127 View commit details
    Browse the repository at this point in the history