@@ -84,17 +84,16 @@ jobs:
8484 # solver: +strumpack
8585 # cuda: ~cuda
8686
87- # test-libceed gives wrong results
88- # - arch: arm
89- # compiler: gcc
90- # mpi: mpich
91- # math-libs: armpl-gcc
92- # shared: +shared
93- # int: +int64
94- # openmp: +openmp
95- # eigensolver: +arpack
96- # solver: +strumpack
97- # cuda: ~cuda
87+ - arch : arm
88+ compiler : gcc
89+ mpi : mpich
90+ math-libs : armpl-gcc
91+ shared : +shared
92+ int : +int64
93+ openmp : +openmp
94+ eigensolver : +arpack
95+ solver : +strumpack
96+ cuda : ~cuda
9897
9998 # Fails building libxsmm with ifx error None not found
10099 # - arch: x86
@@ -155,17 +154,16 @@ jobs:
155154 # solver: +mumps
156155 # cuda: ~cuda
157156
158- # test-libceed gives wrong results
159- # - arch: arm
160- # compiler: llvm
161- # mpi: mpich
162- # math-libs: openblas
163- # shared: +shared
164- # int: ~int64
165- # openmp: +openmp
166- # eigensolver: +arpack
167- # solver: +superlu-dist
168- # cuda: ~cuda
157+ - arch : arm
158+ compiler : llvm
159+ mpi : mpich
160+ math-libs : openblas
161+ shared : +shared
162+ int : ~int64
163+ openmp : +openmp
164+ eigensolver : +arpack
165+ solver : +superlu-dist
166+ cuda : ~cuda
169167
170168 runs-on : ${{ matrix.arch == 'x86' && 'palace_ubuntu-latest_16-core' || 'ubuntu-24.04-arm' }}
171169 steps :
@@ -228,7 +226,7 @@ jobs:
228226 mpi:
229227 require: ${{ matrix.mpi }}
230228 blas:
231- require: ${{ matrix.math-libs }}
229+ require: ${{ matrix.math-libs }} threads=openmp
232230 c:
233231 require: [${{ matrix.compiler }}]
234232 cxx:
@@ -259,9 +257,18 @@ jobs:
259257 - name : Overwrite builtin Palace package
260258 if : needs.filter.outputs.test == 'true'
261259 run : |
260+ # Bug with OpenMP and libceed
261+ # PR https://github.com/spack/spack-packages/pull/2361
262+ cd "$(spack location --repo builtin)"
263+ git remote add sbozzolo https://github.com/Sbozzolo/spack-packages.git
264+ git fetch sbozzolo libceed_openmp
265+ git reset --hard sbozzolo/libceed_openmp
266+ cd -
267+
262268 cp -r spack_repo/local/packages/palace "$(spack location --repo builtin)/packages"
263269 cp extern/patch/mfem/* "$(spack location --repo builtin)/packages/palace"
264270
271+
265272 - name : Remove Android NDK # it confuses the Intel compiler
266273 if : needs.filter.outputs.test == 'true' && matrix.compiler == 'intel-oneapi-compilers'
267274 run : sudo rm -rf /usr/local/lib/android/
@@ -350,14 +357,14 @@ jobs:
350357 palace-unit-tests --skip-benchmarks
351358 mpirun -np 2 $(which palace-unit-tests) --skip-benchmarks
352359
353- - uses : julia-actions/cache@v2
354- if : needs.filter.outputs.test == 'true'
355-
356360 - uses : julia-actions/setup-julia@v2
357361 if : needs.filter.outputs.test == 'true'
358362 with :
359363 version : ' 1'
360364
365+ - uses : julia-actions/cache@v2
366+ if : needs.filter.outputs.test == 'true'
367+
361368 - name : Run Integration Tests
362369 if : needs.filter.outputs.test == 'true'
363370 run : |
0 commit comments