[CP2K-user] [CP2K:18959] Installation problems

Krack Matthias matthias.krack at psi.ch
Thu Jun 22 11:56:11 UTC 2023


Hi Léon

It seems that you lost the file cp2k/tools/toolchain/scripts/tool_kit.sh somehow.

For simple tests, you can download and try a pre-compiled CP2K binary:

https://github.com/cp2k/cp2k/releases/download/v8.2.0/cp2k-8.2-Linux-x86_64.ssmp

or the most recent release version

https://github.com/cp2k/cp2k/releases/download/v2023.1/cp2k-2023.1-Linux-gnu-x86_64.ssmp

Best

Matthias

From: cp2k at googlegroups.com <cp2k at googlegroups.com> on behalf of Léon Luntadila Lufungula <Leon.luntadilalufungula at uantwerpen.be>
Date: Thursday, 22 June 2023 at 13:48
To: cp2k <cp2k at googlegroups.com>
Subject: Re: [CP2K:18958] Installation problems
Hi Matthias,

Thanks for the quick reply!

If I try "source /home/leon/software/cp2k-8.2/tools/toolchain/install/setup" I get the following:

-bash: /home/leon/Software/cp2k-8.2/tools/toolchain/scripts/tool_kit.sh: No such file or directory
prepend_path: command not found
prepend_path: command not found

...

prepend_path: command not found
prepend_path: command not found
prepend_path: command not found
prepend_path: command not found

I'm not so accustomed to installing software on a Linux computer, so perhaps I did something wrong somewhre...

I am installing this version because it is also the version that is installed on my HPC centre. The queue on our HPC centre is ridiculous at the moment, even for very short calculations and that's why I am installing it on our local machine, as I am still testing my calculations and can't wait so long for simple tests...

Best,
Léon
On Thursday, 22 June 2023 at 13:42:36 UTC+2 Krack Matthias wrote:
Hi Léon

Did you source the setup file before running cp2k.psmp?

source cp2k/tools/toolchain/install/setup

Why do you install such an old CP2k release?

Best

Matthias

From: cp... at googlegroups.com <cp... at googlegroups.com> on behalf of Léon Luntadila Lufungula <Leon.luntad... at uantwerpen.be>
Date: Thursday, 22 June 2023 at 13:37
To: cp2k <cp... at googlegroups.com>
Subject: [CP2K:18956] Installation problems
Dear all,

I've just finished installing CP2K v8.2 on a local machine running Ubuntu 16.04. I followed the steps in How to compile the CP2K code<https://github.com/cp2k/cp2k/blob/master/INSTALL.md> by performing the following commands:

wget https://github.com/cp2k/cp2k/releases/download/v8.2.0/cp2k-8.2.tar.bz2
tar xfv cp2k-8.2.tar.bz2
cd cp2k-8.2/
cd tools/toolchain
./install_cp2k_toolchain.sh --install-all
make -j 88 ARCH=local VERSION="ssmp sdbg psmp pdbg"

Everything seemed to work without a problem but when I try to run for example the cp2k.psmp executable, I get the following error:

./cp2k.psmp: error while loading shared libraries: libspfft.so.0: cannot open shared object file: No such file or directory

The "sudo find / -name libspfft.so.0" command shows that the library file can be found in either /home/leon/software/cp2k-8.2/tools/toolchain/install/SpFFT-0.9.13/lib/libspfft.so.0 or /home/leon/software/cp2k-8.2/tools/toolchain/build/SpFFT-0.9.13/build-cpu/src/libspfft.so.0 and I have tried to include it via an export statement but this does not work. Does anyone know how I can fix this issue?

Your help would be greatly appreciated!

All the best,
Léon
--
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+uns... at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/be681864-7c51-4865-bf9d-df872f843b58n%40googlegroups.com<https://groups.google.com/d/msgid/cp2k/be681864-7c51-4865-bf9d-df872f843b58n%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<mailto:cp2k+unsubscribe at googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/7b6da1ff-9c11-47af-bb3e-46214dcfbbe8n%40googlegroups.com<https://groups.google.com/d/msgid/cp2k/7b6da1ff-9c11-47af-bb3e-46214dcfbbe8n%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 on the web visit https://groups.google.com/d/msgid/cp2k/ZRAP278MB0827CDA4C007731EFB2A969CF422A%40ZRAP278MB0827.CHEP278.PROD.OUTLOOK.COM.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20230622/665b28d4/attachment-0001.htm>


More information about the CP2K-user mailing list