Problem
A "segmentation fault occurred" error appears under srun.
Solution
There are many causes of a segmentation fault, but they are all memory related. Try:
Add the below to your job script, before
srun
.ulimit -s unlimited
The Intel compiler in particular appears to use stack memory heavily.
- 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"). - Compile your software with debugging options, to see if an array index is going out of bounds.
Related articles
Filter by label
There are no items with the selected labels at this time.