[Pw_forum] FFTXlib compilation error

Sam Azadi s.azadi at imperial.ac.uk
Tue Jul 12 17:05:36 CEST 2016


Dear developers, 

I'm trying to compile Espresso-5.4.0 on same machines where previous
versions were complied and have been running, but getting this error: 

---------------------------------------------

fft_scalar.FFTW3.f90(40): #error: can't find include file: fftw3.f
../make.sys:9: recipe for target 'fft_scalar.o' failed
------------------------------------------------
although "fftw3.f" path is included in make.sys file which is attached. 
I appreciate your comments. 

Best, Sam 
==============================================
# make.sys.  Generated from make.sys.in by configure.

# compilation rules

.SUFFIXES :
.SUFFIXES : .o .c .f .f90

.f90.o:
$(MPIF90) $(F90FLAGS) -c $<

# .f.o and .c.o: do not modify

.f.o:
$(F77) $(FFLAGS) -c $<

.c.o:
$(CC) $(CFLAGS)  -c $<


TOPDIR = /home/sazadi/espresso-540/espresso-5.4.0
MANUAL_DFLAGS  =
DFLAGS         =  -D__INTEL -D__FFTW3
FDFLAGS        = $(DFLAGS) $(MANUAL_DFLAGS)
IFLAGS         = -I../include
-I/apps/mpt/mpt-2.13/include:/apps/intel/2016/compilers_and_libraries_2016.0.109/linux/ipp/include:/apps/intel/2016/compilers_and_libraries_2016.0.109/linux/mkl/include:/apps/intel/2016/compilers_and_libraries_2016.0.109/linux/tbb/include:/apps/intel/2016/compilers_and_libraries_2016.0.109/linux/daal/include -I:/apps/intel/2016/mkl/include:/apps/fftw/3.2.2/include
MOD_FLAG      = -I
MPIF90         = mpif90
#F90           = ifort
CC             = icc
F77            = ifort
CPP            = cpp
CPPFLAGS       = -P -C -traditional $(DFLAGS) $(IFLAGS)
CFLAGS         = -O3 $(DFLAGS) $(IFLAGS)
F90FLAGS       = $(FFLAGS) -nomodule -fpp $(FDFLAGS) $(IFLAGS)
$(MODFLAGS)
FFLAGS         = -O2 -assume byterecl -g -traceback
FFLAGS_NOOPT   = -O0 -assume byterecl -g -traceback
FFLAGS_NOMAIN   = -nofor_main
LD             = mpif90 
LDFLAGS        = -static-intel 
LD_LIBS        = 
BLAS_LIBS      = -L/apps/intel/2016/mkl/lib/intel64/ -lmkl_intel_lp64
-lmkl_sequential -lmkl_core
BLAS_LIBS_SWITCH = external
LAPACK_LIBS    = 
LAPACK_LIBS_SWITCH = external
ELPA_LIBS_SWITCH = disabled
SCALAPACK_LIBS = 
FFT_LIBS       = -L/apps/fftw/3.2.2/lib -lfftw3
MPI_LIBS       = -L/apps/mpt/mpt-2.13/lib -lmpi
MASS_LIBS      = 
AR             = ar
ARFLAGS        = ruv
RANLIB         = ranlib
FLIB_TARGETS   = all
LIBOBJS        = ../clib/clib.a ../iotk/src/libiotk.a
LIBS           = $(SCALAPACK_LIBS) $(LAPACK_LIBS) $(FFT_LIBS)
$(BLAS_LIBS) $(MPI_LIBS) $(MASS_LIBS) $(LD_LIBS)
WGET = wget -O
PREFIX = /home/sazadi
====================================




More information about the users mailing list