From e8764441a73cc76ecc0e340adac1dca58e65f7d7 Mon Sep 17 00:00:00 2001
From: bangerth PETSC_DIR
and PETSC_ARCH
to a path to PETSc and denoting the architecture for which PETSc is
- compiled. If these environment variables are set, then
+ compiled (a string you can choose however you like, it is simply
+ intended to identify one of possibly several different PETSc
+ installations). If these environment variables are set, then
deal.II will pick them up during
configuration, and store them. It will then also recognize that
PETSc shall be used, and enable the wrapper classes.
@@ -129,6 +131,20 @@
+ By default, PETSc is compiled in "debug mode". You can switch this to + "optimized mode" by adding the command line parameter +
+ + --with-debugging=0 ++ to the call of
./config/configure.py
above. In some cases,
+ this has made linear solvers run up to 30% faster. As with choosing
+ between deal.II's debug and optimized modes, you
+ should only use optimized PETSc builds once you have tested that your
+ program runs well in debug mode.
+
+