Skip to content
Snippets Groups Projects
  1. Sep 09, 2017
  2. Sep 08, 2017
  3. Sep 07, 2017
  4. Sep 05, 2017
  5. Sep 01, 2017
  6. Aug 31, 2017
  7. Aug 30, 2017
    • David Gloe's avatar
      Fix statically linked applications to CRAY's PMI. · 85d83258
      David Gloe authored
      Statically linked Cray PMI applications still expect to use some file paths
      containing the old SLURM_ID_HASH format. Some Cray customers have
      certification requirements that make recompilation difficult.
      
      The attached patch defines a macro to convert the new SLURM_ID_HASH
      to the old format, and writes the files and symlinks necessary for statically
      linked Cray PMI applications to work.
      
      Bug 4114
      85d83258
  8. Aug 29, 2017
  9. Aug 25, 2017
  10. Aug 24, 2017
  11. Aug 23, 2017
    • Alejandro Sanchez's avatar
    • Alejandro Sanchez's avatar
      jobcomp/elasticsearch - fix memory leak when transferring generated buffer. · 8172b7df
      Alejandro Sanchez authored
      Running slurmctld under valgrind while operating with jobcomp/elasticsearch
      reported the following bytes definitely lost:
      
      ==27403== 658 bytes in 1 blocks are definitely lost in loss record 301 of 342
      ==27403==    at 0x4C2FD4F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==27403==    by 0x2281B3: slurm_xrealloc (xmalloc.c:137)
      ==27403==    by 0x22856A: makespace (xstring.c:114)
      ==27403==    by 0x2285D0: _xstrcat (xstring.c:132)
      ==27403==    by 0x228CE0: _xstrfmtcat (xstring.c:291)
      ==27403==    by 0x83C5BCD: ???
      ==27403==    by 0x30A913: g_slurm_jobcomp_write (slurm_jobcomp.c:172)
      ==27403==    by 0x18D8FC: job_completion_logger (job_mgr.c:13652)
      
      It turns out the generated buffer in slurm_jobcomp_log_record was xstrdup'ed to
      the corresponding job_node->serialized_job, but the originally generated buffer
      wasn't freed afterwards. The fix consists in change the transfer so that instead
      of xstrdup'ing the char * we just assign the pointer and NULL the buffer.
      
      The job_node->serialized_job was already xfree'd properly later when the job
      was indexed.
      
      Discovered while working on Bug 4065.
      8172b7df
    • Tim Wickberg's avatar
      Print a warning if no results list is available. · 6d15591f
      Tim Wickberg authored
      This should only happen due to ESLURM_RESULT_TOO_LARGE,
      which leads to no list being packed.
      
      Follow on to 390da8cf / 8cf1835c.
      
      Bug 3624.
      6d15591f
Loading