From a22f1eda665a2b69e64485aa1675cc21f94ccc81 Mon Sep 17 00:00:00 2001 From: Matthias Krack Date: Mon, 23 Jun 2025 13:22:51 +0200 Subject: [PATCH] Update CI files for Daint --- ci/cscs_daint_spack_psmp.yaml | 6 ++++-- ci/cscs_daint_toolchain_psmp.yaml | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ci/cscs_daint_spack_psmp.yaml b/ci/cscs_daint_spack_psmp.yaml index 626049fd5f..db25633f23 100644 --- a/ci/cscs_daint_spack_psmp.yaml +++ b/ci/cscs_daint_spack_psmp.yaml @@ -39,7 +39,7 @@ build deps daint: CP2K_BUILD_TYPE: minimal CP2K_VERSION: ${VERSION} LOG_LINES: 200 - MPICH_VERSION: 4.2.3 + MPICH_VERSION: 4.3.0 build cp2k daint: extends: .container-builder-cscs-gh200 @@ -86,7 +86,9 @@ regression test cp2k daint: needs: ["build cp2k daint","test cp2k daint"] timeout: 1h script: - - podman run --mount type=bind,src=${SCRATCH},target=${SCRATCH} --workdir=${SCRATCH} ${DOCKERHUB_IMAGE_NAME} /opt/cp2k/tests/do_regtest.py --maxtasks 288 /opt/cp2k/bin ${VERSION} + - git --no-pager log -1 --pretty="%nCommitSHA:%x20%H%nCommitTime:%x20%ci%nCommitAuthor:%x20%an%nCommitSubject:%x20%s%n" | tee ${REPOSITORY}_${TAG}.log + - podman run --mount type=bind,src=${SCRATCH},target=${SCRATCH} --workdir=${SCRATCH} ${DOCKERHUB_IMAGE_NAME} /opt/cp2k/tests/do_regtest.py --maxtasks 288 /opt/cp2k/bin ${VERSION} 2>&1 | tee -a ${REPOSITORY}_${TAG}.log + - cp ${REPOSITORY}_${TAG}.log ${SCRATCH}/ci/${REPOSITORY}_${TAG}_$(git rev-parse HEAD).log variables: SLURM_CONSTRAINT: gpu SLURM_DEBUG: 1 diff --git a/ci/cscs_daint_toolchain_psmp.yaml b/ci/cscs_daint_toolchain_psmp.yaml index fc0a519c46..4f2613c1d6 100644 --- a/ci/cscs_daint_toolchain_psmp.yaml +++ b/ci/cscs_daint_toolchain_psmp.yaml @@ -39,7 +39,7 @@ build deps daint: CP2K_BUILD_TYPE: minimal CP2K_VERSION: ${VERSION} LOG_LINES: 200 - MPICH_VERSION: 4.2.3 + MPICH_VERSION: 4.3.0 build cp2k daint: extends: .container-builder-cscs-gh200 @@ -86,7 +86,9 @@ regression test cp2k daint: needs: ["build cp2k daint","test cp2k daint"] timeout: 1h script: + - git --no-pager log -1 --pretty="%nCommitSHA:%x20%H%nCommitTime:%x20%ci%nCommitAuthor:%x20%an%nCommitSubject:%x20%s%n" | tee ${REPOSITORY}_${TAG}.log - podman run --mount type=bind,src=${SCRATCH},target=${SCRATCH} --workdir=${SCRATCH} ${DOCKERHUB_IMAGE_NAME} /opt/cp2k/tests/do_regtest.py --maxtasks 288 /opt/cp2k/bin ${VERSION} + - cp ${REPOSITORY}_${TAG}.log ${SCRATCH}/ci/${REPOSITORY}_${TAG}_$(git rev-parse HEAD).log variables: SLURM_CONSTRAINT: gpu SLURM_DEBUG: 1