@@ -19,16 +19,16 @@ jobs:
19
19
CXXFLAGS : " -Werror"
20
20
CMAKE_GENERATOR : Ninja
21
21
steps :
22
- - uses : actions/checkout@v3
23
- - uses : actions/setup-python@v4
22
+ - uses : actions/checkout@v4
23
+ - uses : actions/setup-python@v5
24
24
name : Install Python
25
25
with :
26
26
python-version : ' 3.x'
27
27
- name : install dependencies
28
28
run : |
29
29
.github/workflows/dependencies/nvcc11-3.sh
30
30
- name : CCache Cache
31
- uses : actions/cache@v3
31
+ uses : actions/cache@v4
32
32
with :
33
33
path : ~/.cache/ccache
34
34
key : ccache-${{ github.workflow }}-${{ github.job }}-git-${{ github.sha }}
73
73
-DWarpX_PSATD=ON \
74
74
-DAMReX_CUDA_ERROR_CROSS_EXECUTION_SPACE_CALL=ON \
75
75
-DAMReX_CUDA_ERROR_CAPTURE_THIS=ON
76
- cmake --build build_sp -j 2
76
+ cmake --build build_sp -j 4
77
77
78
78
python3 -m pip install --upgrade pip
79
79
python3 -m pip install --upgrade build packaging setuptools wheel
@@ -92,12 +92,12 @@ jobs:
92
92
runs-on : ubuntu-20.04
93
93
if : github.event.pull_request.draft == false
94
94
steps :
95
- - uses : actions/checkout@v3
95
+ - uses : actions/checkout@v4
96
96
- name : install dependencies
97
97
run : |
98
98
.github/workflows/dependencies/nvcc11-8.sh
99
99
- name : CCache Cache
100
- uses : actions/cache@v3
100
+ uses : actions/cache@v4
101
101
with :
102
102
path : ~/.cache/ccache
103
103
key : ccache-${{ github.workflow }}-${{ github.job }}-git-${{ github.sha }}
@@ -116,24 +116,24 @@ jobs:
116
116
117
117
git clone https://github.com/AMReX-Codes/amrex.git ../amrex
118
118
cd ../amrex && git checkout --detach 296ed40e16ae1877640f5b78e9162dbd4ba1c279 && cd -
119
- make COMP=gcc QED=FALSE USE_MPI=TRUE USE_GPU=TRUE USE_OMP=FALSE USE_PSATD=TRUE USE_CCACHE=TRUE -j 2
119
+ make COMP=gcc QED=FALSE USE_MPI=TRUE USE_GPU=TRUE USE_OMP=FALSE USE_PSATD=TRUE USE_CCACHE=TRUE -j 4
120
120
121
121
ccache -s
122
122
du -hs ~/.cache/ccache
123
123
124
- build_nvhpc21-11 -nvcc :
125
- name : NVHPC@21.11 NVCC/NVC++ Release [tests]
124
+ build_nvhpc24-1 -nvcc :
125
+ name : NVHPC@24.1 NVCC/NVC++ Release [tests]
126
126
runs-on : ubuntu-20.04
127
127
if : github.event.pull_request.draft == false
128
128
# env:
129
129
# # For NVHPC, Ninja is slower than the default:
130
130
# CMAKE_GENERATOR: Ninja
131
131
steps :
132
- - uses : actions/checkout@v3
132
+ - uses : actions/checkout@v4
133
133
- name : Dependencies
134
134
run : .github/workflows/dependencies/nvhpc.sh
135
135
- name : CCache Cache
136
- uses : actions/cache@v3
136
+ uses : actions/cache@v4
137
137
with :
138
138
path : ~/.cache/ccache
139
139
key : ccache-${{ github.workflow }}-${{ github.job }}-git-${{ github.sha }}
@@ -147,7 +147,7 @@ jobs:
147
147
ccache -z
148
148
149
149
source /etc/profile.d/modules.sh
150
- module load /opt/nvidia/hpc_sdk/modulefiles/nvhpc/21.11
150
+ module load /opt/nvidia/hpc_sdk/modulefiles/nvhpc/24.1
151
151
which nvcc || echo "nvcc not in PATH!"
152
152
which nvc++ || echo "nvc++ not in PATH!"
153
153
which nvc || echo "nvc not in PATH!"
@@ -165,13 +165,13 @@ jobs:
165
165
-DCMAKE_VERBOSE_MAKEFILE=ON \
166
166
-DWarpX_COMPUTE=CUDA \
167
167
-DWarpX_EB=ON \
168
- -DWarpX_PYTHON=ON \
168
+ -DWarpX_PYTHON=OFF \
169
169
-DAMReX_CUDA_ARCH=8.0 \
170
170
-DWarpX_OPENPMD=ON \
171
171
-DWarpX_PSATD=ON \
172
172
-DAMReX_CUDA_ERROR_CROSS_EXECUTION_SPACE_CALL=ON \
173
173
-DAMReX_CUDA_ERROR_CAPTURE_THIS=ON
174
- cmake --build build -j 2
174
+ cmake --build build -j 4
175
175
176
176
# work-around for mpi4py 3.1.1 build system issue with using
177
177
# a GNU-built Python executable with non-GNU Python modules
@@ -197,7 +197,7 @@ jobs:
197
197
PR_NUMBER : ${{ github.event.number }}
198
198
run : |
199
199
echo $PR_NUMBER > pr_number.txt
200
- - uses : actions/upload-artifact@v3
200
+ - uses : actions/upload-artifact@v4
201
201
with :
202
202
name : pr_number
203
203
path : pr_number.txt
0 commit comments