Identify what's causing segmentation fault in Yambo: Difference between revisions

From The Yambo Project
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
There may be different reasons why the Yambo code generates segmentation faults in a run.<br>
There may be different reasons why the Yambo code generates segmentation faults in a run.<br>
To help Yambo developers understand where the problem lies and help you, please follow the steps below:
To help Yambo developers understand where the problem lies and help you, please follow the steps below,
see if they solve your problem and then report the result in the [http://www.yambo-code.org/forum/ forum].
 


'''Rule out possible causes of the segmentation fault:'''
'''Rule out possible causes of the segmentation fault:'''


# GPU. Are you running Yambo with GPU support? In this case try to recompile without <code>--enable-cuda</cuda> flag. If this solve the problem report your bug in the section [http://www.yambo-code.org/forum/viewforum.php?f=38 Yambo on GPU machines] otherwise to the next step.
# '''GPU'''. Are you running Yambo with GPU support? In this case try to recompile without <code>--enable-cuda</code> flag. If this solve the problem report your bug in the section [http://www.yambo-code.org/forum/viewforum.php?f=38 Yambo on GPU machines] otherwise to the next step.
 
# '''OPEN-MP'''. Try to compile and run without open-mp support, no <code>--enable-open-mp</code> flag in compilation and <code>OMP_NUM_THREADS="1"</code>.


# OPEN-MP
# '''Internal Lapack/Blas''' Try to compile Yambo with internal Lapack/Blas libraries <code>--enable-int-linalg</code>

Revision as of 17:10, 10 January 2021

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, see if they solve your problem and then report the result in the forum.


Rule out possible causes of the segmentation fault:

  1. 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.
  1. OPEN-MP. Try to compile and run without open-mp support, no --enable-open-mp flag in compilation and OMP_NUM_THREADS="1".
  1. Internal Lapack/Blas Try to compile Yambo with internal Lapack/Blas libraries --enable-int-linalg