Hello, everyone, when I compling the Exciting codes in cluster, a problem appears and I do not kown how to fix it. So I display the problem here, hoping some can heping me:
zfftifc.o: In function ‘zfftifc_’:
zfftifc.f90:(.text+0x4): undefined reference to ‘cfftnd_’
make[1]: * [exciting] Error 1
make[1]: Leaving directory ‘/public/home/maofei/src/exciting/src’
make: * [all] Error 2
And, here is my make.inc files:
MAKE = make
F90 = ifort
F90_OPTS = -O3 -ip -unroll -scalar_rep -w90
F77 = ifort
F77_OPTS = -O3 -ip -unroll -scalar_rep -w90
AR = ar
LIB_SYS =
LIB_LPK = -L/public/home/maofei/opt/mkl/lib/em64t -lmkl_lapack95_lp64 -lmkl_blas95_lp64 -lmkl_intel_lp64 -lmkl_intel
_thread -lmkl_lapack -lmkl_core -liomp5 -lpthread -lm
My ifort version is 11.1, and using MKL library instead of lapack/blas