1. 21 Mar, 2012 4 commits
    • Morris Jette's avatar
      change owner of slurmctld and slurmdbd log files · 3470c651
      Morris Jette authored
      Change the owner of slurmctld and slurmdbd log files to the appropriate
      user. Without this change the files will be created by and owned by the
      user starting the daemons (likely user root).
      3470c651
    • Morris Jette's avatar
      CRAY: Fix support for SlurmdTimeout=0 · 4dd9e697
      Morris Jette authored
      CRAY: Fix support for configuration with SlurmdTimeout=0 (never mark
      node that is DOWN in ALPS as DOWN in SLURM).
      4dd9e697
    • Morris Jette's avatar
      Modify the step completion RPC between slurmd and slurmstepd · ed31e6c7
      Morris Jette authored
      in the tightly coupled functions slurmd:stepd_completion and
      slurmstepd:_handle_completion, a jobacct structure is
      send from the main daemon to the step daemon to provide
      the statistics of the children slurmstepd and do the aggregation.
      
      The methodology used to send the structure is the use of
      jobacct_gather_g_{setinfo,getinfo} over a pipe (JOBACCT_DATA_PIPE).
      As {setinfo,getinfo} use a common internal lock and reading
      or writing to a pipe is equivalent to holding a lock, slurmd and
      slurmstepd have to avoid using both setinfo and getinfo over a
      pipe or deadlock situations can occured. For example :
      slurmd(lockforread,write)/slurmstepd(write,lockforread).
      
      This patch remove the call to jobacct_gather_g_setinfo in slurmd
      and the call to jobacct_gather_g_getinfo in slurmstepd ensuring
      that slurmd only do getinfo operations over a pipe and slurmstepd
      only do setinfo over a pipe. Instead jobacct_gather_g_{pack,unpack}
      are used to marshall/unmarshall the data for transmission over the
      pipe.
      Patch by Matthieu Hautreux, CEA.
      
      The patch committed here is a variation on the work by Matthieu.
      Specifically, the logic is added to slurmstepd to read a new format
      of RPC including an RPC version number and buffer with the data
      structure. The slurmd however will not send the RPC in the new format
      until SLURM version 2.5.
      ed31e6c7
    • Morris Jette's avatar
      Modify Makefiles to support Hardening flags · a7e89e72
      Morris Jette authored
      a7e89e72
  2. 20 Mar, 2012 3 commits
  3. 16 Mar, 2012 10 commits
  4. 15 Mar, 2012 4 commits
  5. 14 Mar, 2012 2 commits
    • Morris Jette's avatar
      Set Cray srun default job name · 0b24e690
      Morris Jette authored
      Cray - For srun wrapper when creating a job allocation, set the default job
      name to the executable file's name. Ignore leading directory names in the path.
      0b24e690
    • Morris Jette's avatar
      Add Cray BASIL/XML logging options · 0a2b9b0f
      Morris Jette authored
      Cray - Enable logging of BASIL communications with environment variables.
      Set XML_LOG to enable logging. Set XML_LOG_LOC to specify path to log file
      or "SLURM" to write to SlurmctldLogFile or unset for "slurm_basil_xml.log".
      Based on work by Steve Tronfinoff, CSCS.
      0a2b9b0f
  6. 13 Mar, 2012 5 commits
  7. 12 Mar, 2012 1 commit
  8. 09 Mar, 2012 1 commit
  9. 07 Mar, 2012 1 commit
  10. 06 Mar, 2012 2 commits
  11. 02 Mar, 2012 1 commit
  12. 29 Feb, 2012 1 commit
  13. 28 Feb, 2012 1 commit
  14. 24 Feb, 2012 4 commits