Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A "segmentation fault occurred" error appears under while using srun.

Solution

There are many causes of a segmentation fault, but they are all memory related.  Try:

  1. Add the below to your job script, before srun.

    Column
    width900px


    Code Block
    languagebash
    themeDJango
    ulimit -s unlimited



    The Intel compiler in particular appears to use stack memory heavily.

  2. Use more physical memory per task.  Either ask for more nodes in the job request, or use the --mem-per-cpu option for sbatch (see "man sbatch").
  3. Compile your software with debugging options, to see if an array index is going out of bounds.

Filter by label (Content by label)
showLabelsfalse
max5
spacesUS
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-troubleshooting-article" and type = "page" and space = "SDD"
labelskb-troubleshooting-article

...

hiddentrue

...