How can I avoid core files if my program crashes#
Core files can be very helpful when debugging a problem but they also take a long time to get written for large parallel programs. This will limit the core size to zero, i.e. no core files are written:
ulimit -c 0
srun --propagate=STACK,CORE ...
Note that due to a bug in our current installation of the slurm scheduler, the option
#SBATCH --propagate=STACK,CORE
has no effect on srun.