|
本帖最后由 jnbx 于 2023-5-21 11:29 编辑
我用bash build_dockerhub_images.sh构建docker镜像时,出现这个报错,换了两个节点,故障一样,有知道的么
=> CACHED [33/40] COPY ./tools/build_utils ./tools/build_utils 0.0s
=> ERROR [34/40] RUN /bin/bash -c " if [ -n "" ] ; then echo "git:${GIT_COMMIT_SHA::7}" > REVISION; 2.9s
------
> [34/40] RUN /bin/bash -c " if [ -n "" ] ; then echo "git:${GIT_COMMIT_SHA::7}" > REVISION; fi && mkdir -p arch && ln -vs /opt/cp2k-toolchain/install/arch/local.psmp ./arch/ && echo 'Compiling cp2k...' && source /opt/cp2k-toolchain/install/setup && make -j ARCH=local VERSION=psmp && ln -sf ./cp2k.psmp ./exe/local/cp2k && ln -sf ./cp2k_shell.psmp ./exe/local/cp2k_shell && rm -rf lib obj exe/local/libcp2k_unittest.psmp && ( [ ! -f ./exe/local/cp2k.psmp ] || ldd ./exe/local/cp2k.psmp | grep -q libmpi )":
#0 0.850 './arch/local.psmp' -> '/opt/cp2k-toolchain/install/arch/local.psmp'
#0 0.850 Compiling cp2k...
#0 2.255 Discovering programs ...
#0 2.759 /opt/cp2k/exts/Makefile.inc:2: *** "No DBCSR submodule available, please run 'git submodule update --init --recursive'". Stop.
#0 2.759 make[1]: *** [/opt/cp2k/Makefile:128: psmp] Error 2
#0 2.759 make: *** [Makefile:123: all] Error 2
|
|