[CP2K-user] [CP2K:21779] Re: Cannot get LIBXC to install

Bink Bonk nyanfan345 at gmail.com
Wed Aug 27 07:48:18 UTC 2025


Thank you that worked!

I'm still not sure what the actual error was since no detailed error
message was displayed.
There's a small chance that the "Terminated" might have been due to a lack
of memory since it appears similarly to the "Killed" text that is returned
from an OOM kill.

Glad I have things working for now!!

On Tue, 19 Aug 2025 at 22:44, Johann Pototschnig <
pototschnig.johann at gmail.com> wrote:

> I don't know how you install, but if you have problems wit LIBXC and don't
> need it, you can deactivate it:
>
> A) using cmake:
> cmake -DCP2K_USE_LIBXC=OFF
>
>
> B) using the toolchain
>    ./install_cp2k_toolchain.sh   --with-libxc=off
>
> If you want more help you will need to provide more information (setup,
> error message).
>
> On Tuesday, August 19, 2025 at 7:12:18 AM UTC+2 Chels wrote:
>
>> Hi,
>> I'm very new to working with Linux so I apologise if any of these are
>> silly questions,
>>
>> I am trying to install CP2K on Windows, following the instructions here:
>> https://www.cp2k.org/howto:compile_on_windows
>>
>> I have tried the release 2025.2 and development versions, but the same
>> problem happens each time.
>>
>> All other dependencies install successfully, however at the LIBXC step it
>> returns the line "Terminated" with no other error code.
>>
>> Is it possible to install manually? Where and how would I do that?
>>
>> My other issue is that the tutorial seems to imply that there is steps
>> that should appear after the installation completes but because it keeps
>> terminating at LIBXC how do I get around this to see those instructions?
>>
>> Thank you if anyone knows how to help!!
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
> 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 visit
> https://groups.google.com/d/msgid/cp2k/ee8bedf9-de27-4aae-9362-1bc284fde3dfn%40googlegroups.com
> <https://groups.google.com/d/msgid/cp2k/ee8bedf9-de27-4aae-9362-1bc284fde3dfn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 visit https://groups.google.com/d/msgid/cp2k/CAAD0THUF9ikCSS10UOwHW8S-d5oYNw2GXQu%2BzUbcSPdM350exw%40mail.gmail.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20250827/82149b54/attachment.htm>


More information about the CP2K-user mailing list