计算化学公社

标题: 安装cp2k过程中libint出现问题 [打印本页]

作者
Author:
haiqin28    时间: 2025-10-19 15:20
标题: 安装cp2k过程中libint出现问题
[color=rgba(0, 0, 0, 0.85)][backcolor=rgba(0, 0, 0, 0.04)]If you meant to cross compile, use `--host'.See `config.log' for more detailsmake: *** No targets specified and no makefile found.  Stop.make: *** No rule to make target `install'.  Stop./0000/cp2k20251/tools/toolchain/scripts/tool_kit.sh: line 680: /0000/cp2k20251/tools/toolchain/install/libint-v2.6.0-cp2k-lmax-5/install_successful: No such file or directory如何解决

作者
Author:
乐平    时间: 2025-10-19 15:58
你的编译环境是什么?
命令行里输入 gcc -v 看看

你的编译命令是什么?

作者
Author:
haiqin28    时间: 2025-10-19 17:57
乐平 发表于 2025-10-19 15:58
你的编译环境是什么?
命令行里输入 gcc -v 看看

安装命令
./install_cp2k_toolchain.sh --with-sirius=no --with-openmpi=install --with-plumed=instal
gcc版本
[root@155 toolchain]# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/gcc-10.4.0/libexec/gcc/x86_64-pc-linux-gnu/10.4.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ./configure --prefix=/usr/local/gcc-10.4.0/ --enable-checking=release --enable-languages=c,c++ --disable-multilib --with-gmp=/usr/local/gmp-6.1.0 --with-mpfr=/usr/local/mpfr-3.1.6 --with-mpc=/usr/local/mpc-1.0.3
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 10.4.0 (GCC)




欢迎光临 计算化学公社 (http://bbs.keinsci.com/) Powered by Discuz! X3.3