|
本帖最后由 辣辣辣 于 2025-2-16 09:16 编辑
在WIN11的WSL2里的Rocky Linux9系统中编译CP2K时,输入: make -j 16 ARCH=local VERSION="ssmp sdbg psmp pdbg"
报错如下:
Discovering programs ...
make -C /home/first/cp2k-2025.1/exts/dbcsr -f /home/first/cp2k-2025.1/exts/build_dbcsr/Makefile \
ARCHFILE=/home/first/cp2k-2025.1/arch/local.sdbg \
LIBDIR=/home/first/cp2k-2025.1/lib/local/sdbg/exts/dbcsr \
OBJDIR=/home/first/cp2k-2025.1/obj/local/sdbg/exts/dbcsr \
USE_ACCEL="" \
ACC="" \
ACCFLAGS=""
make -C /home/first/cp2k-2025.1/exts/dbcsr -f /home/first/cp2k-2025.1/exts/build_dbcsr/Makefile \
ARCHFILE=/home/first/cp2k-2025.1/arch/local.ssmp \
LIBDIR=/home/first/cp2k-2025.1/lib/local/ssmp/exts/dbcsr \
OBJDIR=/home/first/cp2k-2025.1/obj/local/ssmp/exts/dbcsr \
USE_ACCEL="" \
ACC="" \
ACCFLAGS=""
make -C /home/first/cp2k-2025.1/exts/dbcsr -f /home/first/cp2k-2025.1/exts/build_dbcsr/Makefile \
ARCHFILE=/home/first/cp2k-2025.1/arch/local.pdbg \
LIBDIR=/home/first/cp2k-2025.1/lib/local/pdbg/exts/dbcsr \
OBJDIR=/home/first/cp2k-2025.1/obj/local/pdbg/exts/dbcsr \
USE_ACCEL="" \
ACC="" \
ACCFLAGS=""
make -C /home/first/cp2k-2025.1/exts/dbcsr -f /home/first/cp2k-2025.1/exts/build_dbcsr/Makefile \
ARCHFILE=/home/first/cp2k-2025.1/arch/local.psmp \
LIBDIR=/home/first/cp2k-2025.1/lib/local/psmp/exts/dbcsr \
OBJDIR=/home/first/cp2k-2025.1/obj/local/psmp/exts/dbcsr \
USE_ACCEL="" \
ACC="" \
ACCFLAGS=""
Removing stale archives for sdbg ...
Removing stale archives for ssmp ...
Removing stale archives for pdbg ...
Removing stale archives for psmp ...
Removing stale archives ...
Removing stale archives ...
Removing stale archives ...
Removing stale archives ...
Resolving dependencies for pdbg ...
Resolving dependencies for psmp ...
Resolving dependencies for ssmp ...
Resolving dependencies for sdbg ...
Resolving dependencies ...
Resolving dependencies ...
Resolving dependencies ...
Resolving dependencies ...
/home/first/cp2k-2025.1/exts/build_dbcsr//Makefile:198: *** No FYPP submodule available, please read README.md on how to properly download DBCSR. Stop.
/home/first/cp2k-2025.1/exts/build_dbcsr//Makefile:198: *** No FYPP submodule available, please read README.md on how to properly download DBCSR. Stop.
/home/first/cp2k-2025.1/exts/build_dbcsr//Makefile:198: *** No FYPP submodule available, please read README.md on how to properly download DBCSR. Stop.
make[3]: *** [/home/first/cp2k-2025.1/exts/build_dbcsr/Makefile:187: libdbcsr] Error 2
make[3]: *** [/home/first/cp2k-2025.1/exts/build_dbcsr/Makefile:187: libdbcsr] Error 2
make[3]: *** [/home/first/cp2k-2025.1/exts/build_dbcsr/Makefile:187: libdbcsr] Error 2
make[2]: *** [/home/first/cp2k-2025.1/exts/Makefile.inc:38: dbcsr] Error 2
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [/home/first/cp2k-2025.1/exts/Makefile.inc:38: dbcsr] Error 2
make[2]: *** [/home/first/cp2k-2025.1/exts/Makefile.inc:38: dbcsr] Error 2
make[2]: *** Waiting for unfinished jobs....
make[2]: *** Waiting for unfinished jobs....
/home/first/cp2k-2025.1/exts/build_dbcsr//Makefile:198: *** No FYPP submodule available, please read README.md on how to properly download DBCSR. Stop.
make[3]: *** [/home/first/cp2k-2025.1/exts/build_dbcsr/Makefile:187: libdbcsr] Error 2
make[2]: *** [/home/first/cp2k-2025.1/exts/Makefile.inc:38: dbcsr] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/home/first/cp2k-2025.1/Makefile:128: ssmp] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [/home/first/cp2k-2025.1/Makefile:128: psmp] Error 2
make[1]: *** [/home/first/cp2k-2025.1/Makefile:128: pdbg] Error 2
make[1]: *** [/home/first/cp2k-2025.1/Makefile:128: sdbg] Error 2
make: *** [Makefile:123: all] Error 2
对此我在/home/first/cp2k-2025.1/exts/build_dbcsr//Makefile中检查了,发现FYPPEXE := $(TOOLSDIR)/build_utils/fypp/bin/fypp
这也没有问题呀。对应FYPPEXE=/home/first/cp2k-2025.1/exts/dbcsr/tools/build_utils/fypp/bin/fypp位置是有fypp文件的啊
# /home/first/cp2k-2025.1/exts/dbcsr/tools/build_utils/fypp/bin/fypp --version
-bash: /home/first/cp2k-2025.1/exts/dbcsr/tools/build_utils/fypp/bin/fypp: No such file or directory
明明这个位置是一个113KB的fypp文件呀
# cd /home/first/cp2k-2025.1/exts/dbcsr/tools/build_utils/fypp/bin/
# ls
fypp.txt
经查询操作系统中也有FYPP文件,linux中全部FYPP删除后,使用PIP下载FYPP,fypp --vision有信息,/home/first/cp2k-2025.1/exts/build_dbcsr//Makefile对应地址修改,依然出现此问题. |
|
|
|