<div dir="ltr">Hi Davide,<div><br></div><div>Did you try "<span style="font-size:12.800000190734863px">-I/$(LIBXC)/include", i.e. LIBXC with brackets?</span></div><div><span style="font-size:12.800000190734863px"><br></span></div><div><span style="font-size:12.800000190734863px">SL</span></div><div><span style="font-size:12.800000190734863px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 14 May 2016 at 17:21, David T <span dir="ltr"><<a href="mailto:amazing...@gmail.com" target="_blank">amazing...@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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.<span class=""><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></span>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><span class="">

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups "cp2k" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+uns...@googlegroups.com" target="_blank">cp2k+uns...@googlegroups.com</a>.<br>
To post to this group, send email to <a href="mailto:cp...@googlegroups.com" target="_blank">cp...@googlegroups.com</a>.<br></span>
Visit this group at <a href="https://groups.google.com/group/cp2k" target="_blank">https://groups.google.com/group/cp2k</a>.<div class="HOEnZb"><div class="h5"><br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<br>
</div></div></blockquote></div><br></div>