]> https://gitweb.dealii.org/ - candi.git/commitdiff
Issue #16 : this fix closes issue #16; addionally Amesos2 is now compiling
authorUwe Köcher <koecher@hsu-hamburg.de>
Thu, 10 Sep 2015 08:56:38 +0000 (10:56 +0200)
committerUwe Köcher <koecher@hsu-hamburg.de>
Thu, 10 Sep 2015 08:56:38 +0000 (10:56 +0200)
deal.II/packages/trilinos.package
deal.II/patches/Amesos_Superludist.cpp.patch [deleted file]

index 4d6b4645cfa9ac28bc0a8e11b0b0e7cd8b6da392..dc9730cef3309b9d8c43c6e4d2605094d5f6fa7b 100644 (file)
@@ -14,12 +14,13 @@ CONFOPTS="${TRILINOS_CONFOPTS} \
           -D Trilinos_ENABLE_Stratimikos:BOOL=ON \
           -D Trilinos_ENABLE_Belos:BOOL=ON \
           -D Trilinos_ENABLE_MueLu:BOOL=ON \
-          -D Trilinos_ENABLE_Amesos2:BOOL=OFF \
+          -D Trilinos_ENABLE_Amesos2:BOOL=ON \
           -D TPL_ENABLE_ParMETIS:BOOL=${ParMETIS} \
           -D TPL_ParMETIS_LIBRARIES:FILEPATH=${INSTALL_PATH}/lib/libparmetis.so \
           -D TPL_ENABLE_SuperLUDist:BOOL=${SuperLUDist} \
           -D TPL_SuperLUDist_LIBRARIES:FILEPATH=${INSTALL_PATH}/lib/libsuperlu_dist.so \
           -D SuperLUDist_INCLUDE_DIRS:PATH=${INSTALL_PATH}/include/superlu \
+          -D HAVE_SUPERLUDIST_LUSTRUCTINIT_2ARG:BOOL=ON \
           -D CMAKE_BUILD_TYPE:STRING=RELEASE \
           -D CMAKE_CXX_FLAGS:STRING=-fPIC -g -O3 \
           -D CMAKE_C_FLAGS:STRING=-fPIC -g -O3 \
@@ -30,12 +31,6 @@ CONFOPTS="${TRILINOS_CONFOPTS} \
           -D TPL_ENABLE_MPI:BOOL=ON \
           -D BUILD_SHARED_LIBS:BOOL=ON"
 
-package_specific_setup() {
-    # Apply patch to let Trilinos/Amesos work with SuperLU_Dist v4.1
-    cd ${UNPACK_PATH}/${EXTRACTSTO}/packages/amesos/src
-    patch --forward Amesos_Superludist.cpp < ${ORIG_DIR}/${PROJECT}/patches/Amesos_Superludist.cpp.patch || true
-}
-
 package_specific_register () {
     export TRILINOS_DIR=${INSTALL_PATH}
 }
diff --git a/deal.II/patches/Amesos_Superludist.cpp.patch b/deal.II/patches/Amesos_Superludist.cpp.patch
deleted file mode 100644 (file)
index cd27da7..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-444a445
-> #define HAVE_SUPERLUDIST_LUSTRUCTINIT_2ARG

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.