From 4e1c43c6ddca4e4a9f98940853af1ccb608bcf91 Mon Sep 17 00:00:00 2001
From: Timo Heister <timo.heister@gmail.com>
Date: Tue, 16 Oct 2018 15:23:12 -0400
Subject: [PATCH] opensuse fixes

- missing python2
- missing g++ (devel_C_C++ only installs cpp)
- add documentation for mpi wrappers
- trilinos also wants libmetis to work (not sure why)
---
 deal.II-toolchain/packages/trilinos.package               | 2 +-
 deal.II-toolchain/platforms/supported/opensuse15.platform | 7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/deal.II-toolchain/packages/trilinos.package b/deal.II-toolchain/packages/trilinos.package
index 168cadc..53e73f3 100644
--- a/deal.II-toolchain/packages/trilinos.package
+++ b/deal.II-toolchain/packages/trilinos.package
@@ -113,7 +113,7 @@ if [ ! -z "${PARMETIS_DIR}" ]; then
         ${CONFOPTS} \
         ${TRILINOS_PARMETIS_CONFOPTS} \
         -D TPL_ENABLE_ParMETIS:BOOL=ON \
-        -D TPL_ParMETIS_LIBRARIES:FILEPATH=${PARMETIS_DIR}/lib/libparmetis.${LDSUFFIX} \
+        -D TPL_ParMETIS_LIBRARIES:FILEPATH='${PARMETIS_DIR}/lib/libparmetis.${LDSUFFIX};${PARMETIS_DIR}/lib/libmetis.${LDSUFFIX}' \
         -D TPL_ParMETIS_INCLUDE_DIRS:PATH=${PARMETIS_DIR}/include"
 fi
 
diff --git a/deal.II-toolchain/platforms/supported/opensuse15.platform b/deal.II-toolchain/platforms/supported/opensuse15.platform
index 8e1df35..cf9e25d 100644
--- a/deal.II-toolchain/platforms/supported/opensuse15.platform
+++ b/deal.II-toolchain/platforms/supported/opensuse15.platform
@@ -6,13 +6,18 @@
 # > su -c 'zypper -n install -t pattern devel_basis devel_C_C++'
 #
 # > su -c 'zypper -n install \
-#          gcc-fortran subversion git cmake \
+#          python gcc gcc-c++ gcc-fortran subversion git cmake \
 #          openmpi3 openmpi3-devel blas-devel lapack-devel'
 #
 # optional packages:
 # Modules doxygen graphviz graphviz-devel devel_qt4 splint
 #
 # Then reboot and run candi again.
+#
+# You need to specify the compilers, use the mpi-selector tool, or
+# source the mpi implementation before running candi using
+#
+# . /usr/lib64/mpi/gcc/openmpi3/bin/mpivars.sh
 ##
 
 #
-- 
2.39.5