Skip to content

Commit

Permalink
Disabling OpenACC in the CI because it emits too many warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Rombur committed Nov 30, 2023
1 parent f8788ef commit 7739ca1
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .jenkins
Original file line number Diff line number Diff line change
Expand Up @@ -27,32 +27,32 @@ pipeline {
}
stage('Build') {
parallel {
stage('OPENACC-NVHPC-CUDA-12.2') {
agent {
dockerfile {
filename 'Dockerfile.nvhpc'
dir 'scripts/docker'
label 'nvidia-docker && volta && large_images'
args '--env NVIDIA_VISIBLE_DEVICES=$NVIDIA_VISIBLE_DEVICES'
}
}
environment {
NVHPC_CUDA_HOME = '/opt/nvidia/hpc_sdk/Linux_x86_64/23.7/cuda/12.2'
}
steps {
sh '''rm -rf build && mkdir -p build && cd build && \
/opt/cmake/bin/cmake \
-DCMAKE_CXX_COMPILER=nvc++ \
-DCMAKE_CXX_STANDARD=17 \
-DKokkos_ARCH_NATIVE=ON \
-DKokkos_ENABLE_COMPILER_WARNINGS=ON \
-DKokkos_ENABLE_TESTS=ON \
-DKokkos_ENABLE_OPENACC=ON \
-DKokkos_ARCH_VOLTA70=ON \
.. && \
make -j8 && ctest --verbose'''
}
}
// stage('OPENACC-NVHPC-CUDA-12.2') {
// agent {
// dockerfile {
// filename 'Dockerfile.nvhpc'
// dir 'scripts/docker'
// label 'nvidia-docker && volta && large_images'
// args '--env NVIDIA_VISIBLE_DEVICES=$NVIDIA_VISIBLE_DEVICES'
// }
// }
// environment {
// NVHPC_CUDA_HOME = '/opt/nvidia/hpc_sdk/Linux_x86_64/23.7/cuda/12.2'
// }
// steps {
// sh '''rm -rf build && mkdir -p build && cd build && \
// /opt/cmake/bin/cmake \
// -DCMAKE_CXX_COMPILER=nvc++ \
// -DCMAKE_CXX_STANDARD=17 \
// -DKokkos_ARCH_NATIVE=ON \
// -DKokkos_ENABLE_COMPILER_WARNINGS=ON \
// -DKokkos_ENABLE_TESTS=ON \
// -DKokkos_ENABLE_OPENACC=ON \
// -DKokkos_ARCH_VOLTA70=ON \
// .. && \
// make -j8 && ctest --verbose'''
// }
// }
stage('CUDA-12.2-NVHPC') {
agent {
dockerfile {
Expand Down

0 comments on commit 7739ca1

Please sign in to comment.