File tree Expand file tree Collapse file tree 3 files changed +33
-33
lines changed Expand file tree Collapse file tree 3 files changed +33
-33
lines changed Original file line number Diff line number Diff line change @@ -73,17 +73,17 @@ jobs:
7373 cmake --build build -j 2
7474
7575 # Build libamrex and all tests with NVHPC (recent supported)
76- tests-nvhpc21-9 -nvcc :
77- name : NVHPC@21.9 NVCC/NVC++ C++17 Release [tests]
76+ tests-nvhpc21-11 -nvcc :
77+ name : NVHPC@21.11 NVCC/NVC++ C++17 Release [tests]
7878 runs-on : ubuntu-20.04
7979 steps :
8080 - uses : actions/checkout@v2
8181 - name : Dependencies
82- run : .github/workflows/dependencies/dependencies_nvhpc21-9 .sh
82+ run : .github/workflows/dependencies/dependencies_nvhpc21-11 .sh
8383 - name : Build & Install
8484 run : |
8585 source /etc/profile.d/modules.sh
86- module load /opt/nvidia/hpc_sdk/modulefiles/nvhpc/21.9
86+ module load /opt/nvidia/hpc_sdk/modulefiles/nvhpc/21.11
8787
8888 which nvcc || echo "nvcc not in PATH!"
8989 which nvc++ || echo "nvc++ not in PATH!"
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ #
3+ # Copyright 2021-2022 The AMReX Community
4+ #
5+ # Author: Axel Huebl
6+ # License: BSD-3-Clause-LBNL
7+
8+ set -eu -o pipefail
9+
10+ sudo apt-get -qqq update
11+ sudo apt-get install -y \
12+ build-essential \
13+ ca-certificates \
14+ cmake \
15+ environment-modules \
16+ gnupg \
17+ pkg-config \
18+ wget
19+
20+ echo ' deb [trusted=yes] https://developer.download.nvidia.com/hpc-sdk/ubuntu/amd64 /' | \
21+ sudo tee /etc/apt/sources.list.d/nvhpc.list
22+ sudo apt-get update -y
23+ sudo apt-get install -y --no-install-recommends nvhpc-21-11
24+
25+ # things should reside in /opt/nvidia/hpc_sdk now
26+
27+ # activation via:
28+ # source /etc/profile.d/modules.sh
29+ # module load /opt/nvidia/hpc_sdk/modulefiles/nvhpc/21.11
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments