CP2K 安装错误:'No DBCSR submodule available' 和 'fatal: Not a git repository' 解决方法
这个错误提示表明你在执行 'git submodule update --init --recursive' 命令的时候,不在正确的 git 仓库目录下。
请先确定你已经成功克隆了 cp2k 的 git 仓库,并且在正确的目录下执行该命令。另外,你也可以尝试使用绝对路径来执行该命令,比如:
git submodule update --init --recursive /path/to/cp2k
其中,'/path/to/cp2k' 是 cp2k 仓库的绝对路径。
原文地址: https://www.cveoy.top/t/topic/ncdZ 著作权归作者所有。请勿转载和采集!