Skip to content

Commit

Permalink
Merge branch 'old-nvhpc-with-new-cmake' into 'master'
Browse files Browse the repository at this point in the history
Edit .gitlab-ci-correaa.yml

See merge request correaa/boost-multi!1367
  • Loading branch information
correaa committed Mar 6, 2025
2 parents cae3233 + fc992b8 commit 015103c
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .gitlab-ci-correaa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,9 @@ nvhpc-22.7:
script:
- apt-get update && apt-get install --no-install-recommends -y cmake make libboost-timer-dev libboost-serialization-dev
- /opt/nvidia/hpc_sdk/Linux_x86_64/2022/compilers/bin/nvc++ --version
- wget --no-verbose -O cmake-install.sh https://github.com/Kitware/CMake/releases/download/v3.30.0-rc4/cmake-3.30.0-rc4-linux-`arch`.sh # https://cmake.org/files/v3.18/cmake-3.18.0-rc1-Linux-`arch`.sh --no-verbose
- sh cmake-install.sh --skip-license --prefix=/usr
- cmake --version
- mkdir build && cd build
- CXX=/opt/nvidia/hpc_sdk/Linux_x86_64/2022/compilers/bin/nvc++ cmake .. # TODO(correaa) add -DCMAKE_BUILD_TYPE=Release
- cmake --build . --parallel 2 || cmake --build . --verbose
Expand All @@ -588,6 +591,41 @@ nvhpc-24.11 c++20 par:
- OMPI_ALLOW_RUN_AS_ROOT=1 OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 ctest --output-on-failure
needs: ["nvhpc"]

nvhpc-24.11:
stage: build
image: nvcr.io/nvidia/nvhpc:24.11-devel-cuda12.6-ubuntu24.04 # nvcr.io/nvidia/nvhpc:24.7-devel-cuda12.5-ubuntu24.04 # https://catalog.ngc.nvidia.com/orgs/nvidia/containers/nvhpc/tags
tags:
- non-shared
- large-disk-space
- x86_64
interruptible: true
script:
- apt-get update && apt-get install --no-install-recommends -y cmake make libboost-timer-dev libboost-serialization-dev libfftw3-dev pkg-config
- /opt/nvidia/hpc_sdk/Linux_x86_64/2024/compilers/bin/nvc++ --version
- mkdir build && cd build
- CXX=/opt/nvidia/hpc_sdk/Linux_x86_64/2024/compilers/bin/nvc++ cmake .. -DCMAKE_BUILD_TYPE=Release
- cmake --build . --parallel 2 || cmake --build . --verbose
- OMPI_ALLOW_RUN_AS_ROOT=1 OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 ctest --output-on-failure
needs: ["nvhpc"]

nvhpc-25.1:
stage: build
image: nvcr.io/nvidia/nvhpc:25.1-devel-cuda12.6-ubuntu24.04 # https://catalog.ngc.nvidia.com/orgs/nvidia/containers/nvhpc/tags
tags:
- non-shared
- large-disk-space
- x86_64
interruptible: true
script:
- apt-get update && apt-get install --no-install-recommends -y cmake make libboost-timer-dev libboost-serialization-dev libfftw3-dev pkg-config
- /opt/nvidia/hpc_sdk/Linux_x86_64/2025/compilers/bin/nvc++ --version
- mkdir build && cd build
- CXX=/opt/nvidia/hpc_sdk/Linux_x86_64/2025/compilers/bin/nvc++ cmake .. -DCMAKE_BUILD_TYPE=Release
- cmake --build . --parallel 2 || cmake --build . --verbose
- OMPI_ALLOW_RUN_AS_ROOT=1 OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 ctest --output-on-failure
needs: ["nvhpc"]


cuda:
stage: build
allow_failure: false
Expand Down

0 comments on commit 015103c

Please sign in to comment.