本帖最后由 wanlichuan 于 2020-11-17 17:15 编辑
最近在一台ubuntu18.04电脑上编译 cp2k7.1的时候,遇到了一件很奇怪的事:QUIP模块失败。以前从来没遇到过这个模块出问题,查了一下,发现错误原因如下:
==================== Installing QUIP==================== QUIP-cc83ceea5776c40fcb5ab224a25ab04d62175449.zipis found Installing from scratch into /home/cp2k-7.1/tools/toolchain/install/quip-cc83ceea5776c40fcb5ab224a25ab04d62175449 ERROR: (./scripts/install_quip.sh, line 91)Non-zero exit code detected. …… ……
wanlichuan@wanlichuan:~/cp2k-7.1/tools/toolchain$tail ./build/QUIP-cc83ceea5776c40fcb5ab224a25ab04d62175449/make.log make[3]: *** [fox_m_fsys_format.o] Error 1 make[3]: Leaving directory '/home/cp2k-7.1/tools/toolchain/build/QUIP-cc83ceea5776c40fcb5ab224a25ab04d62175449/src/FoX-4.0.3/fsys' Makefile:78: recipefor target 'fsys_lib' failed make[2]: *** [fsys_lib] Error 2 make[2]: Leaving directory '/home/cp2k-7.1/tools/toolchain/build/QUIP-cc83ceea5776c40fcb5ab224a25ab04d62175449/src/FoX-4.0.3' Makefile.QUIP:26:recipe for target 'foxlibs' failed make[1]: *** [foxlibs] Error 2 make[1]: Leaving directory '/home/cp2k-7.1/tools/toolchain/build/QUIP-cc83ceea5776c40fcb5ab224a25ab04d62175449/src/FoX-4.0.3' Makefile:108: recipefor target 'src/FoX-4.0.3/objs.linux_x86_64_gfortran/lib/libFoX_common.a'failed make: *** [src/FoX-4.0.3/objs.linux_x86_64_gfortran/lib/libFoX_common.a]Error 2
请教群里的高手,有没有人知道如何解决?谢谢。
|