...
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:
Add the below to your job script, before
srun
.Column width 900px Code Block language bash theme DJango 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 (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
hidden | true |
---|
...