Skip to content

Commit

Permalink
Experimenting with NVHPC build configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
reuterbal committed Oct 4, 2023
1 parent d6a8d5e commit 23d2d5e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ jobs:
- arch: nvhpc/21.9
nvhpc_version: 21.9
io_library_flag: ''
build_flags: '--with-loki --with-atlas'
ctest_exclude_pattern: '-loki-c' # loki-c variant causes SIGFPE
build_flags: '--with-gpu --with-loki --with-cuda'
ctest_exclude_pattern: '-gpu-|-scc-|-loki-c|-cuda-' # GPU variants don't work on CPU runners, loki-c variant causes SIGFPE
- arch: nvhpc/21.9
nvhpc_version: 21.9
io_library_flag: ''
Expand All @@ -69,8 +69,8 @@ jobs:
- arch: nvhpc/23.5
nvhpc_version: 23.5
io_library_flag: ''
build_flags: '--with-loki --with-atlas'
ctest_exclude_pattern: '-loki-c' # loki-c variant causes SIGFPE
build_flags: '--with-gpu --with-loki --with-cuda'
ctest_exclude_pattern: '-gpu-|-scc-|-loki-c|-cuda-' # GPU variants don't work on CPU runners, loki-c variant causes SIGFPE
- arch: nvhpc/23.5
nvhpc_version: 23.5
io_library_flag: ''
Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:

# Run ctest
- name: Run CTest
if: ${{ !( contains(matrix.build_flags, '--single-precision') || contains(matrix.build_flags, '--with-cuda') || contains(matrix.build_flags, '--with-gpu') ) }}
if: ${{ !( contains(matrix.build_flags, '--single-precision') || (contains(matrix.build_flags, '--with-cuda') && contains(matrix.build_flags, '--with-atlas')) ) }}
working-directory: ./build
run: |
source env.sh
Expand Down

0 comments on commit 23d2d5e

Please sign in to comment.