CP2k Install

522 views
Skip to first unread message

Jignesh Parmar

unread,
Sep 30, 2021, 3:10:58 AM9/30/21
to cp2k
Respected sir 
 I install cp2k using toolchain.sh file, i install all library required for cp2k, also generate arch file local.psmp, local.popt so on after finished step, when i was execute the command $ make -j 8 ARCH=local VERSION="psmp"   there was an error message "No DBCSR submodule available, please run 'git submodule update --init --recursive"

how to solve this, how to update git submodule by using command, 

please help me out solve this issue  

Alfio Lazzaro

unread,
Oct 1, 2021, 6:39:27 AM10/1/21
to cp2k
Have you tried to run the suggested command:

run 'git submodule update --init --recursive"

?

sbart

unread,
May 9, 2022, 6:46:43 AM5/9/22
to cp2k
I have:

kirimu /usr/local/sw/cp2k-9.1.0 # git submodule update --init --recursive
fatal: not a git repository (or any of the parent directories): .git

I have downloaded the sources from https://github.com/cp2k/cp2k/releases/

Cheers,
B.

Alfio Lazzaro

unread,
May 10, 2022, 3:47:56 AM5/10/22
to cp2k
Hello,
You have to download 

cp2k-9.1.tar.bz2

file (not the source file) as described at: https://github.com/cp2k/cp2k/blob/master/INSTALL.md

Alfio

Reply all
Reply to author
Forward
0 new messages