Skip to content
Snippets Groups Projects
  1. Sep 21, 2023
  2. Sep 20, 2023
  3. Sep 19, 2023
  4. Sep 18, 2023
  5. Sep 15, 2023
    • Marcin Stolarek's avatar
      Docs - Improve the link to scrun.lua example · c60f1b48
      Marcin Stolarek authored
      Bug 17632
      c60f1b48
    • Tim Wickberg's avatar
      Docs - Add FAQ entry on how to cite Slurm. · 33feaaf5
      Tim Wickberg authored
      Link to JSSPP'23 paper, and provide an example citation block.
      33feaaf5
    • Marcin Stolarek's avatar
      gres_job_state_validate must be called with NULL gres_list · fd6efe3e
      Marcin Stolarek authored
      This function doesn't support removal of elements from gres_list, so we will
      need to generate a new gres_list instead of modifying the current one.
      
      Revert commit e652133c attempted to add the removal logic incorrectly.
      
      gres_list wasn't yet merged at that point so we had there non-typed
      elements representing cpus_per_tres and mem_per_tres which needed to be
      merged into typed gres (e.g. gpu:v100:x) first. Since those didn't
      contribute to GRES allocation, but affected other resources allocation,
      they didn't contribute to total_gres which was 0 and were incorrectly
      removed.
      
      Bug 17184
      fd6efe3e
    • Marcin Stolarek's avatar
      a04517c5
    • Felip Moll's avatar
      set and reset TRES job_desc fields for validating GRES in a job update · a9970e9d
      Felip Moll authored
      In case of update of GRES specification we call gres_job_state_validate
      on the job_desc requested by the update. If some member of the struct
      wasn't specified we need to use what we had before so we need to set the
      TRES job_desc fields. Reset them after validating.
      
      This is preparation for the next commits and implicitly fixes CpusPerTres
      not being updateable.
      
      Before:
      $scontrol update job=55 CpusPerTres=gres:gpu:2
      Invalid generic resource (gres) specification for job 55
      
      After:
      $scontrol show job | grep CpusPerTres
         CpusPerTres=gres:gpu:1
      $scontrol update job=55 CpusPerTres=gres:gpu:2
      $scontrol show job | grep CpusPerTres
         CpusPerTres=gres:gpu:2
      
      Bug 17184
      a9970e9d
  6. Sep 14, 2023
  7. Sep 12, 2023
Loading