Page 1 of 1

Compilation fails with intel 19 compilator

Posted: Sun Oct 28, 2018 1:49 pm
by roginovicci
Hello,
I've found that abinit source code could not be compiled with the recent version of Intel compilator. The following error emerges:

Code: Select all

/opt/intel//impi/2019.0.117/intel64/bin/mpiifort -I. -I. -I../../includes   -I../../libABINIT/src -I/distrib/abinit/abinit-8.10.1/fallbacks/exports/include -free -fp-model precise -fp-model source -fPIC   -fp-model precise -fp-model source -fPIC   -c -o interfaces.o  interfaces.f90
interfaces.f90: catastrophic error: **Internal compiler error: segmentation violation signal raised** Please report this error along with the circumstances in which it occurred in a Software Problem Report.  Note: File and line given may not be explicit cause of this error


Intel version:
icc version 19.0.0.117 (gcc version 7.3.1 compatibility)

configure parameters:

Code: Select all

export FCFLAGS_EXTRA="-fp-model precise -fp-model source -fPIC "
export FC_LDFLAGS_EXTRA="-L${INTEL_COMP}/lib/intel64 -L${MPICH2}/lib -L${INTEL_COMP}/mkl/lib/intel64  -static-intel -lmkl_sequential -lmkl_blacs_intelmpi_lp64  -lmkl_scalapack_lp64 -lmkl_gf_lp64 -lmkl_intel_lp64 -Wl,--start-group  -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -Wl,--end-group -liomp5 -lpthread -limf -lsvml -lirc -fPIC"
export FCFLAGS=$FCFLAGS_EXTRA
export CXX_LDFLAGS_EXTRA=$FC_LDFLAGS_EXTRA
export CPPFLAGS_EXTRA="-I${INTEL_COMP}/include -I$CUDA/include -I${MPICH2}/include -fPIC"
export CFLAGS_EXTRA=$CPPFLAGS_EXTRA
export CFLAGS=$CPPFLAGS_EXTRA
./configure --prefix=/opt/abinit-$VER --enable-mpi --enable-mpi-io  \                                                                 
 --with-linalg-incs="-I$INTEL_COMP/mkl/include" \                                                                                     
 --with-fft-flavor="fftw3-mkl" --with-fft-incs="-I$INTEL_COMP/mkl/include/fftw" \                                                     
 --with-fft-libs="-L$INTEL_COMP/mkl/interfaces/fftw3xf/ -lfftw3xf_intel" \                                                             
 --with-linalg-flavor="mkl" \                                                                                                         
 --with-linalg-libs="-L$INTEL_COMP/mkl/lib/intel64 -L$INTEL_COMP/lib/intel64  -Wl,--start-group  -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -Wl,--end-group -liomp5 -lpthread -limf -lsvml -lirc -lmkl_sequential -lmkl_blacs_intelmpi_lp64  -lmkl_scalapack_lp64 -lmkl_gf_lp64 -lmkl_intel_lp64" \                                                                                                               
 --with-linalg-incs="-I$INTEL_COMP/mkl/include" \                                                                                     
 --with-dft-flavor="atompaw+bigdft+libxc+wannier90" \                                                                                 
 --disable-gpu


The configuration is as follows:

Code: Select all

Summary of important options:            
                                                     
  * C compiler      : intel version 19.0                       
  * Fortran compiler: intel version 19.0             
  * 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 = none                                                                                                               
  * TIMER  flavor = abinit (libs: ignored)                                                                                             
  * LINALG flavor = mkl (libs: user-defined)                                                                                           
  * ALGO   flavor = none (libs: ignored)
  * FFT    flavor = fftw3-mkl (libs: user-defined)
  * MATH   flavor = none (libs: ignored)
  * DFT    flavor = libxc-fallback+atompaw-fallback+bigdft-fallback+wannier90-fallback


I've used the same configuration with older intel compilator but in other working stations. What could be the problem?

Re: Compilation fails with intel 19 compilator

Posted: Tue Oct 30, 2018 6:12 pm
by gmatteo
Perhaps the bug is triggered by one of the bigdft files.
Could you try to compile without bigdft to see if compilation completes successfully?

Re: Compilation fails with intel 19 compilator

Posted: Fri Nov 02, 2018 2:57 pm
by roginovicci
Thank you gmatteo, I will try and give you know. Also I would like to let you know, that with vesion 2018 update 1 of intel compilator there is no such problem.

Re: Compilation fails with intel 19 compilator

Posted: Tue Nov 06, 2018 6:04 pm
by roginovicci
Dear gmatteo,
The answer is positive. without bigdft the compilations do not falls into compiler crush.