internal compiler error: Segmentation fault during make  [SOLVED]

option, parallelism,...

Moderators: jbeuken, Jordan, pouillon

Forum rules
Please have a look at ~abinit/doc/config/ in the source package for detailed and up-to-date information about the configuration of Abinit builds.
For a video explanation on how to build Abinit for Linux, please go to:
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.

internal compiler error: Segmentation fault during make

Postby shiva » Wed Jul 11, 2018 8:57 am

config log file
(92.02 KiB) Downloaded 3 times
config log file
(92.02 KiB) Downloaded 3 times
Dear Moderators and users,

I am new user of abinit and compiling abinit-8.8.3 on a cluster. I prepared a file and run the configure in the build directory with .ac file as config file. After configuration with no error or warning, I issued make. In this step I am getting "../../../src/41_xc_lowlevel/drivexc.F90:894: internal compiler error: Segmentation fault" error.

I am giving the system information and configure details below:

OS : CentOS 6.7
uname -a
Linux 2.6.32-504.23.4.el6.x86_64 #1 SMP x86_64 x86_64 x86_64 GNU/Linux

ifort (icc) -V : Intel(R) 64, Version Build 20121010

My file:
Code: Select all
with_fft_libs="-L/opt/soft/share/intel/composer_xe_2013.1.117/mkl/lib/intel64 -Wl,--start-group  -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -Wl,--end-group"
with_linalg_libs="-L/opt/soft/share/intel/composer_xe_2013.1.117/mkl/lib/intel64 -Wl,--start-group  -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -Wl,--end-group"

Code: Select all
 === Final remarks                                                          ===

Summary of important options:

  * C compiler      : gnu version 4.4
  * Fortran compiler: gnu version 4.4
  * architecture    : intel xeon (64 bits)

  * debugging       : basic
  * optimizations   : standard

  * OpenMP enabled  : no (collapse: ignored)
  * MPI    enabled  : yes
  * MPI-IO enabled  : yes
  * GPU    enabled  : no (flavor: none)

  * TRIO   flavor = netcdf-fallback
  * TIMER  flavor = abinit (libs: ignored)
  * LINALG flavor = mkl (libs: user-defined)
  * ALGO   flavor = none (libs: ignored)
  * FFT    flavor = fftw3 (libs: user-defined)
  * MATH   flavor = none (libs: ignored)
  * DFT    flavor = libxc-fallback+atompaw-fallback+bigdft-fallback+wannier90-fallback

I have tried configuring with icc and ifort(also with mpif90 and mpicc) in but abinit configure was automatically taking gcc and gfortran 4.4.
I have also tried basic abinit compilation with_dft_flavor="none and got the same error.

I have attached config.log.

Thank you
IIT Mandi,
Posts: 2
Joined: Wed Jul 11, 2018 7:09 am

Re: internal compiler error: Segmentation fault during make  [SOLVED]

Postby shiva » Fri Jul 13, 2018 6:40 pm

The error is solved.

The error was due to very old gfortran version 4.4.7 in the cluster. Used gfortran-4.8.2 (still it is older) and with abinit lapack + blas libraries was able to compile successfully with suboptimal configuration. Passed all the tests.

gfortran-4.8.2 + intel mkl for linear algebra was also successfully compiled in the previous try, in the cluster but all the tests were not passed.
Posts: 2
Joined: Wed Jul 11, 2018 7:09 am

Return to Configuration

Who is online

Users browsing this forum: No registered users and 1 guest