StartDate: 2026-03-26 06:52:29+00:00 CpuId: 32x AMD EPYC (3rd Gen) (Milan) [Zen 3], 7nm (SMT disabled) CommitSHA: 7b94146043c832266e977a0308f4c701eb629430 CommitTime: 2026-03-25 16:11:45 +0100 CommitAuthor: Matthias Krack CommitSubject: Add flag for building a static CP2K library in make_cp2k.sh #################### Building Image cp2k-gcc8 #################### Dockerfile: /tools/docker/Dockerfile.test_gcc8 Build-Path: / Build-Args: GIT_COMMIT_SHA=7b94146043c832266e977a0308f4c701eb629430 SPACK_CACHE=gs://cp2k-spack-cache Build-Cache: Yes Populating docker build cache... done. DEPRECATED: The legacy builder is deprecated and will be removed in a future release. BuildKit is currently disabled; enable it by removing the DOCKER_BUILDKIT=0 environment-variable. Sending build context to Docker daemon 413MB Step 1/44 : FROM ubuntu:20.04 20.04: Pulling from library/ubuntu 13b7e930469f: Pulling fs layer 13b7e930469f: Verifying Checksum 13b7e930469f: Download complete 13b7e930469f: Pull complete Digest: sha256:8feb4d8ca5354def3d8fce243717141ce31e2c428701f6682bd2fafe15388214 Status: Downloaded newer image for ubuntu:20.04 ---> b7bab04fd9aa Step 2/44 : RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && apt-get update -qq && apt-get install -qq --no-install-recommends cmake less nano make ninja-build wget python3 ca-certificates gcc-8 g++-8 gfortran-8 libfftw3-dev libopenblas-dev libint2-dev libxc-dev libhdf5-dev && rm -rf /var/lib/apt/lists/* ---> Using cache ---> ebd5a350e3dc Step 3/44 : RUN ln -sf /usr/bin/gcc-8 /usr/local/bin/gcc && ln -sf /usr/bin/g++-8 /usr/local/bin/g++ && ln -sf /usr/bin/gfortran-8 /usr/local/bin/gfortran ---> Using cache ---> 357382db6b65 Step 4/44 : WORKDIR /opt/cp2k-toolchain ---> Using cache ---> 47e50ee02065 Step 5/44 : COPY ./tools/toolchain/install_requirements*.sh ./ ---> Using cache ---> 2998e636f4ac Step 6/44 : RUN ./install_requirements.sh ubuntu:20.04 ---> Using cache ---> 81d8e00a61dd Step 7/44 : RUN mkdir scripts ---> Using cache ---> c60e2c77e6e3 Step 8/44 : COPY ./tools/toolchain/scripts/VERSION ./tools/toolchain/scripts/parse_if.py ./tools/toolchain/scripts/tool_kit.sh ./tools/toolchain/scripts/common_vars.sh ./tools/toolchain/scripts/signal_trap.sh ./tools/toolchain/scripts/get_openblas_arch.sh ./tools/toolchain/scripts/generate_cmake_options.sh ./scripts/ ---> Using cache ---> a3cd5459ce89 Step 9/44 : COPY ./tools/toolchain/install_cp2k_toolchain.sh . ---> Using cache ---> a7de1f8388b1 Step 10/44 : RUN ./install_cp2k_toolchain.sh --mpi-mode=no --with-dbcsr --with-gcc=system --with-cmake --with-ninja=system --with-openblas=system --with-libxc=no --with-libint=no --with-fftw=no --with-libxsmm=no --with-spglib=no --with-libvori=no --dry-run --list-cmake-options=no ---> Using cache ---> 06754486417e Step 11/44 : COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ ---> Using cache ---> d9bbbdbdb6d0 Step 12/44 : RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build ---> Using cache ---> 9d01c0e62575 Step 13/44 : COPY ./tools/toolchain/scripts/stage1/ ./scripts/stage1/ ---> Using cache ---> acea24ef2a31 Step 14/44 : RUN ./scripts/stage1/install_stage1.sh && rm -rf ./build ---> Using cache ---> 0e913714a3a5 Step 15/44 : COPY ./tools/toolchain/scripts/stage2/ ./scripts/stage2/ ---> Using cache ---> 39762307a5eb Step 16/44 : RUN ./scripts/stage2/install_stage2.sh && rm -rf ./build ---> Using cache ---> 6d5a29b406de Step 17/44 : COPY ./tools/toolchain/scripts/stage3/ ./scripts/stage3/ ---> Using cache ---> e89c7f674ca1 Step 18/44 : RUN ./scripts/stage3/install_stage3.sh && rm -rf ./build ---> Using cache ---> 5f73ff9e5f1e Step 19/44 : COPY ./tools/toolchain/scripts/stage4/ ./scripts/stage4/ ---> Using cache ---> 047084bcbf4a Step 20/44 : RUN ./scripts/stage4/install_stage4.sh && rm -rf ./build ---> Using cache ---> d4f82f87093a Step 21/44 : COPY ./tools/toolchain/scripts/stage5/ ./scripts/stage5/ ---> Using cache ---> d96bcb1b9b2f Step 22/44 : RUN ./scripts/stage5/install_stage5.sh && rm -rf ./build ---> Using cache ---> 5982ce8b1371 Step 23/44 : COPY ./tools/toolchain/scripts/stage6/ ./scripts/stage6/ ---> Using cache ---> 0b8b2e0bb638 Step 24/44 : RUN ./scripts/stage6/install_stage6.sh && rm -rf ./build ---> Using cache ---> 4031055bd990 Step 25/44 : COPY ./tools/toolchain/scripts/stage7/ ./scripts/stage7/ ---> Using cache ---> 085891b8b12b Step 26/44 : RUN ./scripts/stage7/install_stage7.sh && rm -rf ./build ---> Using cache ---> e96c7d7b1c40 Step 27/44 : COPY ./tools/toolchain/scripts/stage8/ ./scripts/stage8/ ---> 5c3dcb86ce2c Step 28/44 : RUN ./scripts/stage8/install_stage8.sh && rm -rf ./build ---> Running in e59666a57980 Step pugixml took 0.00 seconds. Step spfft took 0.00 seconds. Step spla took 0.00 seconds. WARNING: (./scripts/stage8/install_sirius.sh, line 19) MPI is disabled, skipping sirius installation Step dftd4 took 0.00 seconds. Step trexio took 0.00 seconds. Step tblite took 0.00 seconds. Step MCL took 0.00 seconds. ---> Removed intermediate container e59666a57980 ---> 8d999fe3f0d9 Step 29/44 : COPY ./tools/toolchain/scripts/stage9/ ./scripts/stage9/ ---> c68cdbb6e777 Step 30/44 : RUN ./scripts/stage9/install_stage9.sh && rm -rf ./build ---> Running in 5dd9442a9b84 ==================== Installing DBCSR ==================== wget --quiet https://www.cp2k.org/static/downloads/dbcsr-2.9.0.tar.gz -O dbcsr-2.9.0.tar.gz dbcsr-2.9.0.tar.gz: OK Checksum of dbcsr-2.9.0.tar.gz Ok Installing from scratch into /opt/cp2k-toolchain/install/dbcsr-2.9.0 Step DBCSR took 28.00 seconds. ---> Removed intermediate container 5dd9442a9b84 ---> 5c21089b50df Step 31/44 : WORKDIR /opt/cp2k ---> Running in b020189b7cd7 ---> Removed intermediate container b020189b7cd7 ---> 7e3b8cd155ef Step 32/44 : COPY ./src ./src ---> 705b09f58541 Step 33/44 : COPY ./data ./data ---> acf6d8e0f159 Step 34/44 : COPY ./tools/build_utils ./tools/build_utils ---> b09b5173887d Step 35/44 : COPY ./cmake ./cmake ---> ae2412a66a7b Step 36/44 : COPY ./CMakeLists.txt . ---> adc72c6d6589 Step 37/44 : COPY ./tools/docker/scripts/build_cp2k.sh . ---> 624beb73a0dd Step 38/44 : RUN ./build_cp2k.sh ubuntu ssmp ---> Running in c836a14bb9ef ==================== Building CP2K ==================== -- The Fortran compiler identification is GNU 8.4.0 -- The C compiler identification is GNU 8.4.0 -- The CXX compiler identification is GNU 8.4.0 -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Check for working Fortran compiler: /usr/local/bin/gfortran - skipped -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/local/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/local/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Found Python: /usr/bin/python3.8 (found version "3.8.10") found components: Interpreter -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Checking for module 'mpi-c' -- No package 'mpi-c' found -- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR MPI_C_WORKS) -- Checking for module 'mpi-cxx' -- No package 'mpi-cxx' found -- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR MPI_CXX_WORKS) -- Checking for module 'mpi-fort' -- No package 'mpi-fort' found -- Could NOT find MPI_Fortran (missing: MPI_Fortran_LIB_NAMES MPI_Fortran_F77_HEADER_DIR MPI_Fortran_MODULE_DIR MPI_Fortran_WORKS) -- Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND MPI_Fortran_FOUND CXX C Fortran) -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_Fortran: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") found components: CXX C Fortran -- Could NOT find MKL (missing: CP2K_MKL_INCLUDE_DIRS) -- Checking for module 'openblas' -- Found openblas, version 0.3.8 -- Found OpenBLAS: /usr/include/x86_64-linux-gnu -- Found Blas: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblas.so -- Found Lapack: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblas.so ------------------------------------------------------------ - OPENMP - ------------------------------------------------------------ -- Found OpenMP_Fortran: -fopenmp (found version "4.5") -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") found components: Fortran C CXX ------------------------------------------------------------ - DBCSR - ------------------------------------------------------------ -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP_Fortran: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") ------------------------------------------------------------ - Other dependencies - ------------------------------------------------------------ -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5_fortran.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so (found version "1.10.4") found components: C Fortran -- Checking for one of the modules 'fftw3' -- Checking for one of the modules 'fftw3f' -- Checking for one of the modules 'fftw3l' -- Checking for one of the modules 'fftw3q' -- Found Fftw: /usr/include -- Checking for module 'libint2' -- Found libint2, version 2.6.0 -- Found Libint2: /usr/include;/usr/include/libint2;/usr/include/eigen3;/usr/include -- Performing Test f2008-norm2 -- Performing Test f2008-norm2 - Success -- Performing Test f2008-block_construct -- Performing Test f2008-block_construct - Success -- Performing Test f2008-contiguous -- Performing Test f2008-contiguous - Success -- Performing Test f95-reshape-order-allocatable -- Performing Test f95-reshape-order-allocatable - Success -- FYPP preprocessor found. -------------------------------------------------------------------- - - - Summary of enabled dependencies - - - -------------------------------------------------------------------- - BLAS - vendor: OpenBLAS - include directories: /usr/include/x86_64-linux-gnu - libraries: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblas.so - LAPACK - include directories: /usr/include/x86_64-linux-gnu - libraries: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblas.so - HDF5 - version: 1.10.4 - include directories: /usr/include/hdf5/serial - libraries: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5_fortran.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so - FFTW3 - include directories: /usr/include - libraries: /usr/lib/x86_64-linux-gnu/libfftw3.so - Libint2 - include directories: /usr/include;/usr/include/libint2;/usr/include/eigen3;/usr/include - libraries: /usr/lib/x86_64-linux-gnu/libint2.so -------------------------------------------------------------------- - - - List of dependencies not included in this build - - - -------------------------------------------------------------------- - MPI - DFTD4 - DeePMD - PEXSI - ACE (libpace) - TBLITE - SIRIUS - Spglib - LibSMEAGOL - COSMA - SpLA - MiMiC - openPMD - GPU acceleration is disabled - ELPA - DLA-Future - PLUMED - LIBXSMM - LibXC - Libvori - LibTorch - TREXIO - GreenX After building and installing CP2K the regtests can be run with the following command: /opt/cp2k/tests/do_regtest.py /opt/cp2k/bin ssmp -- Configuring done (3.2s) -- Generating done (0.3s) -- Build files have been written to: /opt/cp2k/build Compiling CP2K ... done ---> Removed intermediate container c836a14bb9ef ---> db891bf8e70d Step 39/44 : ARG TESTOPTS="--skipdir=QS/regtest-rs-dhft" ---> Running in 9616079f6fb1 ---> Removed intermediate container 9616079f6fb1 ---> 40479b389b16 Step 40/44 : COPY ./tests ./tests ---> e234e51c3be1 Step 41/44 : COPY ./tools/docker/scripts/test_regtest.sh ./ ---> fb0725662b46 Step 42/44 : RUN /bin/bash -o pipefail -c " TESTOPTS='${TESTOPTS}' ./test_regtest.sh ubuntu ssmp |& tee report.log && rm -rf regtesting" ---> Running in b132bdf3f7dc ========== Running Regtests ========== + ./tests/do_regtest.py ./build/bin/ ssmp --skipdir=QS/regtest-rs-dhft *************************** Testing started **************************** ----------------------------- Settings --------------------------------- MPI ranks: 1 OpenMP threads: 2 GPU devices: 0 Workers: 16 Timeout [s]: 400 Work base dir: /opt/cp2k/regtesting/TEST-2026-03-26_06-58-13 MPI exec: mpiexec -n {N} --bind-to none Smoke test: False Valgrind: False Keepalive: False Flag slow: False Debug: False Binary dir: /opt/cp2k/build/bin CP2K data dir: /opt/cp2k/data VERSION: ssmp Flags: omp,libint,fftw3,hdf5 ------------------------------------------------------------------------ Traceback (most recent call last): File "./tests/do_regtest.py", line 698, in loop.run_until_complete(main()) File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete return future.result() File "./tests/do_regtest.py", line 123, in main if cfg.work_base_dir.is_relative_to(cfg.cp2k_root / "tests"): AttributeError: 'PosixPath' object has no attribute 'is_relative_to' + exit 0 ---> Removed intermediate container b132bdf3f7dc ---> cc7b6669fa33 Step 43/44 : CMD cat $(find ./report.log -mmin +10) | sed '/^Summary:/ s/$/ (cached)/' ---> Running in 7f54185615ae ---> Removed intermediate container 7f54185615ae ---> 4a5417d7e84a Step 44/44 : ENTRYPOINT [] ---> Running in 754ea7c25009 ---> Removed intermediate container 754ea7c25009 ---> 99b523276f6d [Warning] One or more build-args [GIT_COMMIT_SHA SPACK_CACHE] were not consumed Successfully built 99b523276f6d Successfully tagged us-central1-docker.pkg.dev/cp2k-org-project/cp2kci/img_cp2k-gcc8:master Pushing new image... done. #################### Running Image cp2k-gcc8 #################### EndDate: 2026-03-26 06:59:03+00:00