Skip to content

Commit

Permalink
Disable the testing step for cuda 12, driver on clariden is not suffi…
Browse files Browse the repository at this point in the history
…cient
  • Loading branch information
aurianer committed Dec 6, 2023
1 parent 92a8f63 commit 02c5678
Showing 1 changed file with 37 additions and 37 deletions.
74 changes: 37 additions & 37 deletions .gitlab/includes/gcc12_cuda12_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,40 +37,40 @@ gcc12_cuda12_spack_image:
reports:
dotenv: compiler.env

gcc12_cuda12_debug_build:
stage: build
extends:
- .container-builder
- .variables_gcc12_cuda12_config
- .cmake_variables_common
needs:
- gcc12_cuda12_spack_image
before_script:
- build_type=`echo $BUILD_TYPE | tr '[:upper:]' '[:lower:]'`
- configuration=$CMAKE_COMMON_FLAGS-$CMAKE_FLAGS-$CI_COMMIT_SHORT_SHA
- configuration=${configuration//-D/}
- CONFIG_TAG=`echo $configuration | sha256sum - | head -c 16`
- export PERSIST_IMAGE_NAME=$CSCS_REGISTRY_PATH/pika-$compiler-$build_type-build:$CONFIG_TAG
- echo -e "PERSIST_IMAGE_NAME=$PERSIST_IMAGE_NAME" > build.env
variables:
DOCKERFILE: .gitlab/docker/Dockerfile.spack_build
CMAKE_FLAGS: "-DCMAKE_BUILD_TYPE=$BUILD_TYPE -DPIKA_WITH_CXX_STANDARD=$CXXSTD \
-DPIKA_WITH_CUDA=ON -DPIKA_WITH_MALLOC=system \
-DCMAKE_CUDA_ARCHITECTURES=$GPU_TARGET \
-DPIKA_WITH_CXX_LAMBDA_CAPTURE_DECLTYPE=OFF"
# PIKA_WITH_CXX_LAMBDA_CAPTURE_DECLTYPE is OFF to test the fallback implementation of PIKA_FORWARD.
DOCKER_BUILD_ARGS: '["BASE_IMAGE","SOURCE_DIR","BUILD_DIR","CMAKE_COMMON_FLAGS","CMAKE_FLAGS"]'
artifacts:
reports:
dotenv: build.env

gcc12_cuda12_debug_test:
extends:
- .variables_gcc12_cuda12_config
- .test_common_gpu_clariden_cuda
needs:
- gcc12_cuda12_debug_build
script:
- spack arch
- spack build-env $spack_spec -- bash -c "ctest --label-exclude COMPILE_ONLY --test-dir ${BUILD_DIR} -j$(nproc) --timeout 120 --output-on-failure --no-compress-output --no-tests=error"
image: $PERSIST_IMAGE_NAME
#gcc12_cuda12_debug_build:
# stage: build
# extends:
# - .container-builder
# - .variables_gcc12_cuda12_config
# - .cmake_variables_common
# needs:
# - gcc12_cuda12_spack_image
# before_script:
# - build_type=`echo $BUILD_TYPE | tr '[:upper:]' '[:lower:]'`
# - configuration=$CMAKE_COMMON_FLAGS-$CMAKE_FLAGS-$CI_COMMIT_SHORT_SHA
# - configuration=${configuration//-D/}
# - CONFIG_TAG=`echo $configuration | sha256sum - | head -c 16`
# - export PERSIST_IMAGE_NAME=$CSCS_REGISTRY_PATH/pika-$compiler-$build_type-build:$CONFIG_TAG
# - echo -e "PERSIST_IMAGE_NAME=$PERSIST_IMAGE_NAME" > build.env
# variables:
# DOCKERFILE: .gitlab/docker/Dockerfile.spack_build
# CMAKE_FLAGS: "-DCMAKE_BUILD_TYPE=$BUILD_TYPE -DPIKA_WITH_CXX_STANDARD=$CXXSTD \
# -DPIKA_WITH_CUDA=ON -DPIKA_WITH_MALLOC=system \
# -DCMAKE_CUDA_ARCHITECTURES=$GPU_TARGET \
# -DPIKA_WITH_CXX_LAMBDA_CAPTURE_DECLTYPE=OFF"
## PIKA_WITH_CXX_LAMBDA_CAPTURE_DECLTYPE is OFF to test the fallback implementation of PIKA_FORWARD.
# DOCKER_BUILD_ARGS: '["BASE_IMAGE","SOURCE_DIR","BUILD_DIR","CMAKE_COMMON_FLAGS","CMAKE_FLAGS"]'
# artifacts:
# reports:
# dotenv: build.env
#
#gcc12_cuda12_debug_test:
# extends:
# - .variables_gcc12_cuda12_config
# - .test_common_gpu_clariden_cuda
# needs:
# - gcc12_cuda12_debug_build
# script:
# - spack arch
# - spack build-env $spack_spec -- bash -c "ctest --label-exclude COMPILE_ONLY --test-dir ${BUILD_DIR} -j$(nproc) --timeout 120 --output-on-failure --no-compress-output --no-tests=error"
# image: $PERSIST_IMAGE_NAME

0 comments on commit 02c5678

Please sign in to comment.