Skip to content

Commit c3757fb

Browse files
committed
CI: More tweaks to Hypre build options.
1 parent ca20e41 commit c3757fb

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/linux.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,15 +460,22 @@ jobs:
460460
wget https://github.com/hypre-space/hypre/archive/v2.33.0.tar.gz
461461
tar xf v2.33.0.tar.gz && cd hypre-2.33.0
462462
463+
# Set Hypre backend
463464
if [[ "${{ matrix.config.backend }}" == "cuda" ]]; then
464465
BACKEND="CUDA"
465466
else
466467
BACKEND="OPENMP"
467468
fi
468-
# Install
469+
470+
# Default Hypre build options are exposed below to know which Hypre features are enabled/disabled.
471+
# See the full list of options here: https://hypre.readthedocs.io/en/latest/ch-misc.html#build-system-options
469472
cmake -S src -B bld \
470473
-DCMAKE_C_COMPILER=mpicc \
474+
-DCMAKE_CXX_COMPILER=mpicxx \
471475
-DCMAKE_INSTALL_PREFIX="${PARFLOW_DEP_DIR}" \
476+
-DHYPRE_ENABLE_MPI="ON" \
477+
-DHYPRE_ENABLE_HYPRE_LAPACK="OFF" \
478+
-DHYPRE_ENABLE_HYPRE_BLAS="OFF" \
472479
-DHYPRE_ENABLE_${BACKEND}="ON"
473480
cmake --build bld --parallel 4
474481
cmake --install bld

0 commit comments

Comments
 (0)