From 2f1c025c31f4d931739401c0db8c80ffd3314546 Mon Sep 17 00:00:00 2001
From: maier
You can override the autodetection by manually specifying
+
-DDEAL_II_WITH_MUMPS=OFF|ON
.
You need to install p4est before deal.II. To do so, you can
- download it
- from here, copy it to
- a fresh directory into which you should also copy
- the p4est-setup.sh script (the one
- from this link, not one you may have gotten from the p4est webpage). Then
- call the script as follows:
-
-
+ download it from here.
+ You can either choose to manually compile and install p4est (as
+ explained in documentation of p4est), or alternatively use
+ a script that will automatically compile
+ and install a debug and optimized version of p4est.
+
+
- ./p4est-setup.sh p4est-x-y-z.tar.gz /path/to/installation
-
-
+ If you want to use the script, copy the tarball to a fresh directory + together with the p4est-setup.sh script + (the one from this link, not one you may have gotten from the p4est + webpage). Then call the script as follows: +
+ + ./p4est-setup.sh p4est-x-y-z.tar.gz /path/to/installation +where
p4est-x-y-z.tar.gz
is the name of the p4est
distribution file, and /path/to/installation
is a
directory into which you want to install p4est.
- After this, you need to configure deal.II
- using a line like
-
-
- Obviously, you can also add additional flags to
-
+ In both cases, you can configure deal.II using a
+ line like
+
cmake -DP4EST_DIR=/path/to/installation -DDEAL_II_WITH_P4EST=ON -DDEAL_II_WITH_MPI=ON <...>
-
- cmake
as described in the general ReadMe file.
+
+ if the p4est library isn't picked up automatically. Obviously, you
+ can also add additional flags to cmake
as described in
+ the general ReadMe file.