Skip to content

fix likwid-mpirun bug with slurm

Thomas Gruber requested to merge github/fork/ohlmann/fix_mpirun_slurm into master

Created by: ohlmann

  • the problem lies in setting SLURM_NODELIST in likwid-mpirun
  • currently, the hostlist is read from a scontrol command using a lua pipe with f:read('*a')
  • this leads to line break at the end of the environment variable SLURM_NODELIST, causing srun to segfault
  • this can be fixed by using f:read('*l') because the scontrol output should always be only one line -> the line break is ignored

Merge request reports