Identify what's causing segmentation fault in Yambo
Jump to navigation
Jump to search
There may be different reasons why the Yambo code generates segmentation faults in a run.
To help Yambo developers understand where the problem lies and help you, please follow the steps below.
If one of the step solves your problem and please report the result in the forum.
Rule out possible causes of the segmentation fault:
- GPU: are you running Yambo with GPU support? In this case try to recompile without
--enable-cuda
flag. If this solve the problem report your bug in the section Yambo on GPU machines otherwise to the next step. - OPEN-MP: compile and run Yambo without open-mp support, no
--enable-open-mp
flag in compilation andOMP_NUM_THREADS="1"
. - Internal Lapack/Blas: compile Yambo with internal Lapack/Blas libraries
--enable-int-linalg
in the configure. - Internal FFT: compile Yambo with internal FFT libraries
--enable-internal-fftsg
in the configure. - Scalapack: compile without Scalpack, unset the flag
--with-scalapack-libs
if you use it. - Parallelism
- Change the number of processors
- Use automatic parallelization, unset all parallel variable input
- Run in serial