Compilation fails with intel 19 compilator

option, parallelism,...

Moderators: jbeuken, Jordan, pouillon

Forum rules
Please have a look at ~abinit/doc/config/build-config.ac 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: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.

Compilation fails with intel 19 compilator

Postby roginovicci » Sun Oct 28, 2018 2:49 pm

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?
roginovicci
 
Posts: 74
Joined: Thu Dec 02, 2010 11:36 pm

Re: Compilation fails with intel 19 compilator

Postby gmatteo » Tue Oct 30, 2018 7:12 pm

Perhaps the bug is triggered by one of the bigdft files.
Could you try to compile without bigdft to see if compilation completes successfully?
User avatar
gmatteo
 
Posts: 248
Joined: Sun Aug 16, 2009 5:40 pm

Re: Compilation fails with intel 19 compilator

Postby roginovicci » Fri Nov 02, 2018 3:57 pm

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.
roginovicci
 
Posts: 74
Joined: Thu Dec 02, 2010 11:36 pm

Re: Compilation fails with intel 19 compilator

Postby roginovicci » Tue Nov 06, 2018 7:04 pm

Dear gmatteo,
The answer is positive. without bigdft the compilations do not falls into compiler crush.
roginovicci
 
Posts: 74
Joined: Thu Dec 02, 2010 11:36 pm


Return to Configuration

Who is online

Users browsing this forum: No registered users and 3 guests