summarylogtreecommitdiffstats
path: root/test_optdepends.sh
diff options
context:
space:
mode:
authorMartin Diehl2024-01-28 10:46:25 +0100
committerMartin Diehl2024-01-28 21:52:24 +0100
commitf9ce761212ef7959fb2932c2a3b1cef407a614f4 (patch)
treed0d386cdd50a0bb6681ec058e29471fc49920c97 /test_optdepends.sh
parent26ce718b2981ae1ca523e81c277c4fa00f8570d2 (diff)
downloadaur-f9ce761212ef7959fb2932c2a3b1cef407a614f4.tar.gz
cleaning dependencies
- boost is not used by PETSc directly (only needed for third party packages) - mpy4py is strongly recommended for mpi4py - libyaml is available as a system package and used by PETSc - gsl is available as a system package and used by PETSc - netcdf is available as a system package and used by PETSc - libjpeg-turbo is available as a system package and used by PETSc - zfp is available as a system package and used by PETSc - HDF5 and netCDF have zlib support, PETSc requires that and hence, zlib. - bison is only used for building packages, not need for PETSc to find it - cmake is only used for building packages, not need for PETSc to find it - don't depend on trilinos but on trilinos-ml to enable building individual packages from trilinos - new optional dependencies: kokkos and zoltan
Diffstat (limited to 'test_optdepends.sh')
-rw-r--r--test_optdepends.sh16
1 files changed, 13 insertions, 3 deletions
diff --git a/test_optdepends.sh b/test_optdepends.sh
index 0139aac8359b..5b51cbc6881b 100644
--- a/test_optdepends.sh
+++ b/test_optdepends.sh
@@ -14,6 +14,11 @@ if [ -f "/usr/lib/pkgconfig/fftw3.pc" ]; then
CONFOPTS="${CONFOPTS} --with-fftw=1"
fi
+# Kokkos
+if [ -f "/usr/lib/libkokkoscore.so" ]; then
+ CONFOPTS="${CONFOPTS} --with-kokkos=1"
+fi
+
# HYPRE
if [ -f "/usr/lib/libHYPRE.so" ]; then
CONFOPTS="${CONFOPTS} --with-hypre-lib=/usr/lib/libHYPRE.so --with-hypre-include=/usr/include/hypre"
@@ -50,7 +55,7 @@ if [ -f /usr/include/scotch.h ]; then
SCOTCH_LIBS="${SCOTCH_LIBS},libbz2.so"
fi
SCOTCH_LIBS="[${SCOTCH_LIBS}]"
- CONFOPTS="${CONFOPTS} --with-ptscotch=1 --with-ptscotch-lib=${SCOTCH_LIBS} --with-ptscotch-include=${SCOTCH_DIR}"
+ CONFOPTS="${CONFOPTS} --with-ptscotch=1"
fi
# SuperLU_DIST
@@ -63,11 +68,16 @@ if [ -f "/usr/lib/libtriangle.so" ]; then
CONFOPTS="${CONFOPTS} --with-triangle=1"
fi
-# Trilinos (ML)
+# ML (Trilinos)
if [ -f "/usr/lib/libml.so" ]; then
CONFOPTS="${CONFOPTS} --with-ml=1"
- # Add boost support (may be useful for trilinos)
+ # Add boost support
CONFOPTS="${CONFOPTS} --with-boost=1"
fi
+# Zoltan
+if [ -f "/usr/lib/lizoltan.so" ]; then
+ CONFOPTS="${CONFOPTS} --with-zoltan=1"
+fi
+
echo "${CONFOPTS}"