1. 11 Jan, 2019 1 commit
    • Morris Jette's avatar
      Add GRES support for numeric types · 4facada1
      Morris Jette authored
      Support GRES types that include numbers (e.g. "--gres=gpu:123g:2").
      Also change number suffix processing to use common function
      See commit 396e82a167
      bug 6345
      4facada1
  2. 09 Jan, 2019 2 commits
  3. 08 Jan, 2019 2 commits
    • Tim Wickberg's avatar
      Fix initialization for lock arrays. · f7da0636
      Tim Wickberg authored
      As pthread_rwlock_t is a struct, we cannot use this syntax
      to initialize all elements of the array to the same value
      as we would if these were any basic type.
      
      Instead, move the initialization to a dedicated loop to ensure
      all locks are initialized correctly.
      
      This does not seem to have caused any issues on Linux platforms,
      but macOS at least does notice this mistake.
      
      Bug 6319.
      f7da0636
    • Tim Wickberg's avatar
      Change CryptoType to CredType. Rename crypto/munge plugin to cred/munge. · 6b88b0e4
      Tim Wickberg authored
      Add logic in read_config.c to handle old config option name.
      
      Bug 5916.
      6b88b0e4
  4. 07 Jan, 2019 1 commit
    • Felip Moll's avatar
      Add new DEBUG_FLAG_ACCRUE · 0e1b6007
      Felip Moll authored
      Added a new DebugFlag=accrue to show debug messages related to accrue time
      count or other related stuff.
      
      Bug 6096
      0e1b6007
  5. 04 Jan, 2019 2 commits
  6. 03 Jan, 2019 2 commits
    • Nate Rini's avatar
      sbatch - search cwd first for a job script before evaluating PATH. · aca40d16
      Nate Rini authored
      Regression introduced in ccafaf7b.
      
      Replace the (was always set to true) check_current_dir argument to
      search_path() with check_cwd_last boolean to indicate if cwd should be
      evaluated first (needed by sbatch) or last (salloc/srun).
      
      Bug 6271.
      aca40d16
    • Morris Jette's avatar
      Handle changes in GRES count · 5708502d
      Morris Jette authored
      Kill running/pending job is allocated GRES and that GRES has a "File"
          configuration, and the GRES count changes.
      Also generally better handle changes in GRES count (avoid some bugs
          in GRES data structures).
      5708502d
  7. 28 Dec, 2018 4 commits
  8. 26 Dec, 2018 4 commits
  9. 21 Dec, 2018 4 commits
  10. 20 Dec, 2018 3 commits
  11. 19 Dec, 2018 2 commits
  12. 18 Dec, 2018 5 commits
  13. 17 Dec, 2018 1 commit
  14. 14 Dec, 2018 2 commits
  15. 11 Dec, 2018 1 commit
  16. 09 Dec, 2018 1 commit
    • Tim Wickberg's avatar
      Remove sbatch --x11 option. · c9728469
      Tim Wickberg authored
      New X11 forwarding code will only support forwarding back to
      salloc or an allocating srun command.
      
      Using this option within sbatch was always hit-or-miss. If the
      user submitting was disconnected from the alloc host for any
      reason their xauth credentials would likely fail even if they
      managed to get assigned the same local TCP port for forwarding.
      
      Bug 3647.
      c9728469
  17. 07 Dec, 2018 3 commits
    • Matthias Gerstner's avatar
      pam_slurm_adopt: Use uid to determine whether root is logging. · 17c63947
      Matthias Gerstner authored
      In some systems there can be multiple user accounts for uid 0, therefore
      the check for literal user name "root" might be insufficient.
      
      Bug 6184
      17c63947
    • Matthias Gerstner's avatar
      pam_slurm_adopt: avoid running outside of the sshd PAM service context · 4f954bd8
      Matthias Gerstner authored
      This pam module is tailored towards running in the context of remote ssh
      logins. When running in a different context like a local sudo call then
      the module could be influenced by e.g. passing environment variables
      like SLURM_CONF.
      
      By limiting the module to only perform its actions when running in the
      sshd context by default this situation can be avoided. An additional pam
      module argument service=<service> allows an Administrator to control
      this behavior, if different behavior is explicitly desired.
      
      Bug 6184
      4f954bd8
    • Nate Rini's avatar
      salloc/sbatch/srun - print warning if both --mem and --mem-per-cpu are set. · 13a606a4
      Nate Rini authored
      Only print a warning for 18.08. If a user has SLURM_MEM_PER_CPU or
      SLURM_MEM_PER_NODE environment variables set for some reason this
      situation could be happening by accident, and we don't want to prevent
      the srun command from launching steps at this point.
      
      Bug 6058.
      13a606a4