From: Timo Heister Date: Mon, 6 Feb 2023 20:07:49 +0000 (-0500) Subject: fix SEACAS support X-Git-Tag: v9.4.2-r1~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07c9c225eb399526749fb410cd8a87c101fe1145;p=candi.git fix SEACAS support - netcdf support in trilinos needs some help to find correct paths - SEACAS depends on netcdf --- diff --git a/deal.II-toolchain/packages/trilinos.package b/deal.II-toolchain/packages/trilinos.package index 2e06700..1484712 100644 --- a/deal.II-toolchain/packages/trilinos.package +++ b/deal.II-toolchain/packages/trilinos.package @@ -200,6 +200,17 @@ if [ ! -z "${SUPERLU_DIR}" ]; then -D HAVE_SUPERLUDIST_ENUM_NAMESPACE:BOOL=ON" fi +# support netCDF and SEACAS (if netCDF is available) +if [ ! -z "${NETCDF_DIR}" ]; then + cecho ${INFO} "trilinos: configuration with netCDF and SEACAS" + + CONFOPTS="${CONFOPTS} \ + -D Trilinos_ENABLE_SEACAS=ON \ + -D TPL_ENABLE_Netcdf=ON \ + -D Netcdf_LIBRARY_DIRS=${NETCDF_DIR}/lib/ \ + -D Netcdf_INCLUDE_DIRS=${NETCDF_DIR}/include/" +fi + ######################################################################### # General Trilinos configuration @@ -228,7 +239,6 @@ CONFOPTS="\ -D TPL_ENABLE_Boost:BOOL=OFF \ -D Trilinos_ENABLE_Belos:BOOL=ON \ -D Trilinos_ENABLE_Amesos2:BOOL=ON \ - -D Trilinos_ENABLE_SEACAS:BOOL=ON \ -D TPL_ENABLE_Matio=OFF \ -D CMAKE_BUILD_TYPE:STRING=RELEASE \ -D CMAKE_VERBOSE_MAKEFILE:BOOL=OFF \