MKLROOT = /shared/ucl/apps/intel/2017.Update1/compilers_and_libraries_2017.1.132/linux/mkl
MAKE = make
F90 = mpiifort
F90_OPTS = -O3 -ip -qopenmp -I$(MKLROOT)/include
F77 = mpiifort
F77_OPTS = -O3 -ip -qopenmp
AR = ar
LIB_SYS =
LIB_LPK = -Wl,--start-group $(MKLROOT)/lib/intel64/libmkl_intel_lp64.a $(MKLROOT)/lib/intel64/libmkl_core.a $(MKLROOT)/lib/intel64/libmkl_intel_thread.a -Wl,--end-group -lpthread -lm -qopenmp 
SRC_MPI =
LIB_libxc = libxcf90.a libxc.a
SRC_libxc = libxc_funcs.f90 libxc.f90 libxcifc.f90
SRC_FFT = zfftifc_fftw.f90

# It's not clear whether we need mkl_dfti.f90 as the instructions are contradictory
#SRC_FFT = mkl_dfti.f90 zfftifc_mkl.f90


MKLROOT = /shared/ucl/apps/intel/2017.Update1/compilers_and_libraries_2017.1.132/linux/mkl
MAKE = make
F90 = mpiifort
F90_OPTS = -O3 -ip -qopenmp -fp-model strict -I$(MKLROOT)/include
F77 = mpiifort
F77_OPTS = -O3 -ip -qopenmp -fp-model strict 
AR = ar
LIB_SYS =
LIB_LPK = -Wl,--start-group $(MKLROOT)/lib/intel64/libmkl_intel_lp64.a $(MKLROOT)/lib/intel64/libmkl_core.a $(MKLROOT)/lib/intel64/libmkl_intel_thread.a -Wl,--end-group -lpthread -lm -qopenmp -fp-model strict 
SRC_MPI =
LIB_libxc = libxcf90.a libxc.a
SRC_libxc = libxc_funcs.f90 libxc.f90 libxcifc.f90
SRC_FFT = zfftifc_fftw.f90

# It's not clear whether we need mkl_dfti.f90 as the instructions are contradictory
#SRC_FFT = mkl_dfti.f90 zfftifc_mkl.f90


Test fail, so force compiler to do math correctly.
Test fail, so force compiler to do math correctly.
