ERROR when compiling bse of BGW 1.0.6

Submitted by juzhou1994 on Thu, 01/19/2017 - 01:06

Forums 

Installation

Hello everyone,

I've beening compiling BGW 1.0.6 on my cluster. Real version has been compiled without error output, but cplx version has met an error.

############
/public/software/mpi/openmpi/1.6.5/intel/bin/mpif90 -free -I ../Common -I /public/software/mathlib/fftw/2.1.5/double/include -c -O3 -no-prec-div input.p.f -o input.o -module ./
/public/software/mpi/openmpi/1.6.5/intel/bin/mpif90 -free -I ../Common -I /public/software/mathlib/fftw/2.1.5/double/include -c -O3 -no-prec-div intkernel.p.f -o intkernel.o -module ./
/public/software/mpi/openmpi/1.6.5/intel/bin/mpif90 -free -I ../Common -I /public/software/mathlib/fftw/2.1.5/double/include -c -O3 -no-prec-div intwfn.p.f -o intwfn.o -module ./
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.
compilation aborted for genwf_kernel.p.f (code 1)
make[1]: *** [genwf_kernel.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/public/software/apps/BerkeleyGW/BerkeleyGW-1.0.6-cplx/BSE'
make: *** [bse] Error 2

###########
Here is my arch.mk
# arch.mk for BerkeleyGW codes
#
# Threaded MKL, no threaded FFTs in 1.0.x.
#
# suitable for Lawrencium at LBNL
# need modules intel and openmpi
#
# D. Strubbe
# April 2012, UC Berkeley

# Precompiler options
#
COMPFLAG = -DINTEL
PARAFLAG = -DMPI
MATHFLAG = -DUSESCALAPACK
#DEBUGFLAG = -DDEBUG -DVERBOSE

FCPP = cpp -ansi
F90free = /public/software/mpi/openmpi/1.6.5/intel/bin/mpif90 -free
LINK = /public/software/mpi/openmpi/1.6.5/intel/bin/mpif90
FOPTS = -O3 -no-prec-div
FNOOPTS = -O2 -no-prec-div
MOD_OPT = -module
INCFLAG = -I

C_PARAFLAG = -DPARA
CC_COMP = /public/software/mpi/openmpi/1.6.5/intel/bin/mpiCC
C_COMP = /public/software/mpi/openmpi/1.6.5/intel/bin/mpicc
C_LINK = /public/software/mpi/openmpi/1.6.5/intel/bin/mpiCC
C_OPTS = -O3

REMOVE = /bin/rm -f

# Math Libraries
#
FFTWPATH = /public/software/mathlib/fftw/2.1.5/double
FFTWLIB = /public/software/mathlib/fftw/2.1.5/double/lib/libfftw.a
FFTWINCLUDE = /public/software/mathlib/fftw/2.1.5/double/include
MKLPATH = /public/software/compiler/intel/composer_xe_2015.2.164/mkl/lib/intel64
LAPACKLIB = -Wl,--start-group /public/software/compiler/intel/composer_xe_2015.2.164/mkl/lib/intel64/libmkl_intel_lp64.a \
/public/software/compiler/intel/composer_xe_2015.2.164/mkl/lib/intel64/libmkl_sequential.a \
/public/software/compiler/intel/composer_xe_2015.2.164/mkl/lib/intel64/libmkl_core.a \
/public/software/compiler/intel/composer_xe_2015.2.164/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.a \
-Wl,--end-group -lpthread
SCALAPACKLIB = /public/software/compiler/intel/composer_xe_2015.2.164/mkl/lib/intel64/libmkl_scalapack_lp64.a

TESTSCRIPT = qsub hbar_thread.scr

##########
Here is the version of the compiler:
mpif90 --version
ifort (IFORT) 15.0.2 20150121

##########
I dont know where the error occured. Compiler or my arch.mk?

jdeslip's picture

Submitted by jdeslip on Thu, 02/02/2017 - 21:57

**Internal compiler error: segmentation violation signal raised**

Is typically an issue or bug with the compiler. Do you have a different version of the Intel compiler you can try? Or perhaps try compiling that one roitine intwfn manually with a lower optimization level -O0 for example.