<div dir="ltr">Hello<br><br>After having compiled CP2K 3.0 (svn 16458) with LIBINIT, I am trying to add LIBXC but I had the same problem of Daniele.<br><br>xc_libxc_wrap.F(28): #error: can't find include file: xc_version.h<br>make[3]: *** [xc_libxc_wrap.o] Error 1<br><br>as you can see in the arc file (below) I am using libxc3.0 and I added -I/$LIBXC/include still the problem persist. <br><br>So I am bit lost :-?<br>any suggestion?<br><br>Cheers<br>Davide<br><br><br>This is my arc file:<br><br>MKLROOT=/ssoft/intel/15.0.0/RH6/all/x86_E5v2/mkl<br>INTEL_INC=$(MKLROOT)/include<br>FFTW3=/ssoft/fftw/3.3.4/RH6/intel-15.0.0/x86_E5v2/intelmpi<br>LIBXC=/home/tiana/cp2k-3.0/libxc-3.0.0<br>LIBINT=/home/tiana/cp2k-3.0/libint-1.1.4/<br><br>CC       = icc<br>CPP      =<br>FC       = mpiifort<br>FC_fixed = mpiifort<br>LD       = mpiifort<br>AR       = /usr/bin/ar -r<br><br>CPPFLAGS =<br>FCFLAGS  = $(DFLAGS) -I$(INTEL_INC) -I$(FFTW3)/include -O2 -heap-arrays 64 \<br>           -I$(LIBINT)/include -I/$LIBXC/include -funroll-loops -fpp -free<br>LDFLAGS  = $(FCFLAGS) -I$(INTEL_INC) <br>LIBS     = $(FFTW3)/lib/libfftw3.a \<br>           $(MKLROOT)/lib/intel64/libmkl_scalapack_lp64.a \<br>           -Wl,--start-group $(MKLROOT)/lib/intel64/libmkl_intel_lp64.a \<br>           $(MKLROOT)/lib/intel64/libmkl_core.a \<br>           $(MKLROOT)/lib/intel64/libmkl_sequential.a \<br>           -Wl,--end-group \<br>           $(MKLROOT)/lib/intel64/libmkl_blacs_intelmpi_lp64.a \<br>           -lpthread \<br>           $(LIBINT)/lib/libderiv.a \<br>           $(LIBINT)/lib/libint.a \<br>           $(LIBXC)/lib/libxc.a \<br>           $(LIBXC)/lib/libxcf90.a \<br>           -lstdc++<br><br>OBJECTS_ARCHITECTURE = machine_intel.o<br><br><br></div>