CP2K ONLY works with libxc versions 2.2.2 and above

SaeeD PourasaD saeedp... at gmail.com
Tue Jan 12 13:10:15 UTC 2016


Dear Andreas , 

Thanks for your reply . 
I added libxc directory to the FCFLAGS : 
.......
FCFLAGS    = $(DFLAGS) -O2 -ffast-math -ffree-form -ffree-line-length-none\
             -ftree-vectorize -funroll-loops\
             -mtune=native\
             -I$(ACML_INC) -I$(FFTW_INC) -I$(LIBINT_INC) -I$(LIBXC_INC) 
*-I[/home/saeed/libxc-2.2.2/]/INCLUDE*
.....

But I get that error again . Do i make a mistake ? 
Thanks for your attention.
Regards,
Saeed.

On Monday, January 11, 2016 at 8:31:38 PM UTC+9, Andreas Glöss wrote:
>
> Dear Saeed,
>
> Due to the changes made in the LIBXC interface, CP2K requires the 
> xc_version.h header file and the library itself needs to be compiled with 
> the same compiler (to get compatible *.mod files). 
> You will need to add '-I[YOUR_LIBXC_DIR]/include' to the FCFLAGS in your 
> CP2K arch-file.
>
> Best regards,
> Andreas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20160112/5f9bb46b/attachment.htm>


More information about the CP2K-user mailing list