1. 14 Dec, 2019 6 commits
  2. 12 Dec, 2019 1 commit
  3. 10 Dec, 2019 4 commits
  4. 09 Dec, 2019 4 commits
  5. 06 Dec, 2019 1 commit
  6. 05 Dec, 2019 3 commits
  7. 04 Dec, 2019 2 commits
  8. 03 Dec, 2019 1 commit
  9. 02 Dec, 2019 3 commits
  10. 28 Nov, 2019 3 commits
  11. 26 Nov, 2019 6 commits
  12. 21 Nov, 2019 3 commits
    • Alejandro Sanchez's avatar
    • Alejandro Sanchez's avatar
      Fix misleading error for immediate alloc requests and defer combination. · 1b13f532
      Alejandro Sanchez authored
      When an allocation request was done with the immediate=1 argument and
      SchedulerParameters included defer, Slurm was returning a misleading
      ESLURM_FRAGMENTATION error. Logic now a returns a more appropriate
      ESLURM_CAN_NOT_START_IMMEDIATELY error for this scenario by decoupling
      defer from the too fragmented logic in job_allocate().
      
      Note that this doesn't change behavior as immediate + defer combination
      continues having defer as the king in terms of precedence order, meaning
      individual submit time allocation attempts will be avoided independently
      of immediate.
      
      Bug 5175.
      1b13f532
    • Marshall Garey's avatar
      Reject unrunnable jobs submitted to reservations. · ab52c868
      Marshall Garey authored
      This effectively reverts commit 73351553. That commit's message is,
      
           "Improve support for overlapping advanced reservations.
            Patch from Bill Brophy, Bull."
      
      Jobs submitted to reservations that request more resources than are on a
      node will pend forever because of that commit. Reverting that commit
      causes those jobs to be immediately rejected. Also, that commit doesn't
      appear to "improve support for overlapping advanced reservations" in any
      way.
      
      The job is already immediately rejected if it asks for more resources
      than are on a node without being submitted to a reservation, or if the
      job asks for more nodes than are currently in the reservation. So, this
      commit just makes behavior consistent.
      
      Bug 5175.
      ab52c868
  13. 19 Nov, 2019 1 commit
  14. 18 Nov, 2019 1 commit
  15. 15 Nov, 2019 1 commit
    • Michael Hinton's avatar
      Fix both socket-[un]constrained GRES allocation issues. · efcd853a
      Michael Hinton authored
      Do not assume that these sock_gres_t pointers always exist:
      bits_by_sock
      bits_by_sock[s]
      
      If they don't, that means there are no current iteration socket `s`
      constrained GRES and so the logic shouldn't allocate the current
      iteration GRES `g`.
      
      Analogously, do not assume that bits_any_sock sock_gres_t member pointer
      is always valid. If it isn't, it means there are no socket-unconstrained
      GRES available to satisfy the job request, so the logic should not
      allocate the current iteration GRES `g`.
      
      Otherwise, job/node struct members holding GRES allocation information
      would end up being incorrect, leading to improper allocations and also
      leading to errors logged in slurmctld log at deallocation time like:
      
      error: gres/gpu: job <X> dealloc node <Y> GRES count underflow (0 < 1)
      
      Bug 7827
      efcd853a