]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Mention PETSc's optimized mode.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 17 Mar 2013 16:02:54 +0000 (16:02 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 17 Mar 2013 16:02:54 +0000 (16:02 +0000)
git-svn-id: https://svn.dealii.org/trunk@28922 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/external-libs/petsc.html

index c9e8708c9f56b6ae6129207820c2435db3d4aa31..ab786ce663ffc66ca4c42c6375ca8c30b016703f 100644 (file)
@@ -5,7 +5,7 @@
     <title>The deal.II Readme on interfacing to PETSc</title>
     <link href="../screen.css" rel="StyleSheet">
     <meta name="author" content="the deal.II authors <authors @ dealii.org>">
-    <meta name="copyright" content="Copyright (C) 2008, 2009, 2010, 2011, 2012 by the deal.II authors">
+    <meta name="copyright" content="Copyright (C) 2008, 2009, 2010, 2011, 2012, 2013 by the deal.II authors">
     <meta name="date" content="$Date$">
     <meta name="svn_id" content="$Id$">
     <meta name="keywords" content="deal.II">
@@ -47,7 +47,9 @@
       PETSc usually requires you to set the
       environment variables <code>PETSC_DIR</code> and <code>PETSC_ARCH</code>
       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
       <acronym>deal.II</acronym> will pick them up during
       configuration, and store them. It will then also recognize that
       PETSc shall be used, and enable the wrapper classes.
       </pre>
     </p>
 
+    <p>
+      By default, PETSc is compiled in "debug mode". You can switch this to
+      "optimized mode" by adding the command line parameter
+      <pre>
+
+       --with-debugging=0
+      </pre>
+      to the call of <code>./config/configure.py</code> above. In some cases,
+      this has made linear solvers run up to 30% faster. As with choosing
+      between <acronym>deal.II</acronym>'s debug and optimized modes, you
+      should only use optimized PETSc builds once you have tested that your
+      program runs well in debug mode.
+    </p>
+
     <hr>
 
     <address>

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.