[CP2K-user] [CP2K:19904] Re: LIBXC section error on latest versions

Marcella Iannuzzi marci.akira at gmail.com
Wed Feb 14 17:05:33 UTC 2024


Dear Ismail
Please have a look at the manual entries
https://manual.cp2k.org/trunk/CP2K_INPUT/FORCE_EVAL/DFT/XC/XC_FUNCTIONAL.html

For example

      &XC_FUNCTIONAL

        &GGA_XC_PBE1W

        &END GGA_XC_PBE1W

      &END XC_FUNCTIONAL


Regards
Marcella

On Wednesday, February 14, 2024 at 5:14:49 PM UTC+1 ismaile... at gmail.com 
wrote:

> Dear all,
>
> From what I understand that, in previous versions of CP2K, it is possible 
> to add a functional from LIBXC via;
> &XC
>  &XC_FUNCTIONAL  
> &LIBXC
> FUNCTIONAL ....
> &END LIBXC
>  &END XC_FUNCTIONAL
> &XC
>
> When I try to same method in CP2K 2023.1 and 2024.1, I get "unknown 
> subsection LIBXC of section XC_FUNCTIONAL" error.
> When I check for the version of cp2k via; 
> cp2k.popt -v | grep "libxc"
>  command (in HPC server), I have this output:
> cp2kflags: omp libint fftw3 libxc parallel scalapack max_contr=4
>    ../tools/toolchain/install/libxc-6.0.0/include -I /../cp2k/cp2k
>    e -fpre-include=/../../../math-vector-fortran.h.
>
> Which I believe is LIBXC is already installed with CP2K.
>
> So shortly. how can I make a calculation with a functional from LIBXC?
>
> Thank you and best regards,
> Ismail Eren 
>

-- 
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/2f1ea2d5-a2d6-4f13-a690-b15cd3768ff0n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20240214/a11f6d0a/attachment-0001.htm>


More information about the CP2K-user mailing list