Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-17512

add conditional operator for 'jobid_name'

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • Lustre 2.16.0
    • None
    • 3
    • 9223372036854775807

      It would be useful to add a conditional operator like jobid_name=%j?%H:%e:%u in jobid_interpret_string() to allow using jobid_var if it is set, otherwise use the short hostname.

      This allows adding the hostname for interactive jobs that don't have the jobid_var environment variable set (e.g. on login nodes or commands that are run on compute nodes outside of the configured job scheduler), while also not splitting up the job stats for a single 5000-node job into 5000x separate JobIDs to track on the servers for cases where jobid_var is set.

            mdilger Max Dilger
            adilger Andreas Dilger
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: