SOURCE=https://trilinos.org/oldsite/download/files/
VERSION=11.14.3
CHECKSUM=b6e5d6b71f6e554de220aeda51794ffb
+
+ #Note: For Trilinos v11 we need to force SuperLUDist=OFF,
+ # since only the deprecated SuperLUDist v3.3 together with an Amesos patch
+ # (and not the current SuperLUDist v4.x with the same Amesos patch)
+ # is working.
+ #Note: This issue is resolved by setting
+ # -D HAVE_SUPERLUDIST_LUSTRUCTINIT_2ARG
+ # for Trilinos v12; this is neglegted by Trilinos v11 since it is unknown.
+ SuperLUDist=OFF
else
cecho ${BAD} "Unknown Trilinos version ${TRILINOS_MAJOR_VERSION} forced, please use AUTO|12|11."
-D Trilinos_VERBOSE_CONFIGURE:BOOL=FALSE \
-D BUILD_SHARED_LIBS:BOOL=ON"
-package_specific_setup() {
- # Apply Amesos patch for Trilinos v11
- if [ ${TRILINOS_MAJOR_VERSION} = "11" ] && [ ! -z "${SuperLUDist}" ] && [ ${SuperLUDist} = "ON" ]; then
- # Apply patch to let Trilinos/Amesos work with SuperLUDist
- cd ${UNPACK_PATH}/${EXTRACTSTO}/packages/amesos/src
- patch --forward Amesos_Superludist.cpp < ${ORIG_DIR}/${PROJECT}/patches/Trilinos-v11-Amesos_Superludist.cpp.patch || true
- fi
-}
-
package_specific_register () {
export TRILINOS_DIR=${INSTALL_PATH}
}