@@ -39,20 +39,24 @@ jobs:
3939 is_cron :
4040 - ${{ github.event_name == 'cron' }}
4141 config :
42- - name : " CMake, PETSc unreleased"
42+ - name : " CMake, PETSc unreleased, ADIOS2 "
4343 os : ubuntu-24.04
4444 cmake_options : " -DBUILD_SHARED_LIBS=ON
4545 -DBOUT_ENABLE_METRIC_3D=ON
4646 -DBOUT_ENABLE_OPENMP=ON
4747 -DBOUT_USE_PETSC=ON
4848 -DBOUT_USE_SLEPC=ON
4949 -DBOUT_USE_SUNDIALS=ON
50+ -DBOUT_USE_HYPRE=OFF
51+ -DBOUT_USE_ADIOS2=ON
5052 -DBOUT_ENABLE_PYTHON=ON
53+ -DADIOS2_ROOT=/home/runner/local
5154 -DSUNDIALS_ROOT=/home/runner/local
5255 -DPETSC_DIR=/home/runner/local/petsc
5356 -DSLEPC_DIR=/home/runner/local/slepc"
5457 build_petsc : -petsc-main
5558 build_petsc_branch : main
59+ build_adios2 : true
5660 on_cron : true
5761
5862 - name : " Default options, Ubuntu 22.04"
@@ -71,18 +75,20 @@ jobs:
7175 -DBOUT_USE_PETSC=ON
7276 -DBOUT_USE_SLEPC=ON
7377 -DBOUT_USE_SUNDIALS=ON
78+ -DBOUT_USE_HYPRE=ON
7479 -DSUNDIALS_ROOT=/home/runner/local"
7580 on_cron : false
7681
7782 - name : " Debug, shared"
7883 os : ubuntu-latest
79- cmake_options : " -DCHECK=3
84+ cmake_options : " -DCHECK=4
8085 -DCMAKE_BUILD_TYPE=Debug
8186 -DBOUT_ENABLE_SIGNAL=ON
8287 -DBOUT_ENABLE_TRACK=ON
8388 -DBOUT_USE_PETSC=ON
8489 -DBOUT_USE_SLEPC=ON
8590 -DBOUT_USE_SUNDIALS=ON
91+ -DBOUT_USE_HYPRE=ON
8692 -DSUNDIALS_ROOT=/home/runner/local"
8793 on_cron : false
8894
94100 -DBOUT_USE_PETSC=ON
95101 -DBOUT_USE_SLEPC=ON
96102 -DBOUT_USE_SUNDIALS=ON
103+ -DBOUT_USE_HYPRE=ON
97104 -DBOUT_BUILD_DOCS=OFF
98105 -DSUNDIALS_ROOT=/home/runner/local"
99106 omp_num_threads : 2
@@ -107,6 +114,7 @@ jobs:
107114 -DBOUT_USE_PETSC=ON
108115 -DBOUT_USE_SLEPC=ON
109116 -DBOUT_USE_SUNDIALS=ON
117+ -DBOUT_USE_HYPRE=OFF
110118 -DBOUT_ENABLE_PYTHON=ON
111119 -DSUNDIALS_ROOT=/home/runner/local"
112120 omp_num_threads : 2
@@ -120,6 +128,7 @@ jobs:
120128 -DBOUT_USE_PETSC=ON
121129 -DBOUT_USE_SLEPC=ON
122130 -DBOUT_USE_SUNDIALS=ON
131+ -DBOUT_USE_HYPRE=OFF
123132 -DBOUT_ENABLE_PYTHON=ON
124133 -DSUNDIALS_ROOT=/home/runner/local
125134 -DPETSC_DIR=/home/runner/local/petsc
@@ -157,6 +166,7 @@ jobs:
157166 slepc-dev
158167 liblapack-dev
159168 libparpack2-dev
169+ libhypre-dev
160170
161171 - uses : actions/checkout@v5
162172 with :
@@ -183,13 +193,16 @@ jobs:
183193 - name : Build PETSc
184194 run : BUILD_PETSC=${{ matrix.config.build_petsc }} ./.build_petsc_for_ci.sh ${{ matrix.config.build_petsc_branch }}
185195
196+ - name : Build ADIOS2
197+ run : BUILD_ADIOS2=${{ matrix.config.build_adios2 }} ./.build_adios2_for_ci.sh
198+
186199 - name : Build BOUT++
187200 run : UNIT_ONLY=${{ matrix.config.unit_only }} ./.ci_with_cmake.sh ${{ matrix.config.cmake_options }}
188201
189202 Fedora :
190203 # This is its own job as it doesn't use most of the steps of the
191204 # standard_tests
192- timeout-minutes : 60
205+ timeout-minutes : 120
193206 runs-on : ubuntu-latest
194207 steps :
195208 - uses : actions/checkout@v5
@@ -200,3 +213,30 @@ jobs:
200213 shell : bash
201214 env :
202215 TRAVIS_BUILD_DIR : ${{ github.workspace }}
216+ CUDA :
217+ timeout-minutes : 60
218+ runs-on : ubuntu-latest
219+ container : ghcr.io/ggeorgakoudis/boutdev-cuda:latest
220+
221+ steps :
222+ - uses : actions/checkout@v4
223+ with :
224+ submodules : true
225+ - name : Build minimal CUDA 12.2 @ GCC9.4.0 @ Ubuntu 20.04
226+ run : |
227+ . /spack/share/spack/setup-env.sh
228+ spack env activate -p /spack-env
229+ git config --global --add safe.directory $GITHUB_WORKSPACE
230+ rm -rf build
231+ cmake -S $GITHUB_WORKSPACE -B build \
232+ -DCMAKE_C_COMPILER=gcc \
233+ -DCMAKE_CXX_COMPILER=g++ \
234+ -DBOUT_ENABLE_RAJA=on \
235+ -DBOUT_ENABLE_UMPIRE=on \
236+ -DBOUT_ENABLE_CUDA=on \
237+ -DCMAKE_CUDA_ARCHITECTURES=80 \
238+ -DCUDA_ARCH=compute_80,code=sm_80 \
239+ -DBOUT_ENABLE_WARNINGS=off \
240+ -DBOUT_USE_SYSTEM_FMT=on
241+ cd build
242+ make -j 4
0 commit comments