]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Mention problems with petsc.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 23 Aug 2007 22:02:28 +0000 (22:02 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 23 Aug 2007 22:02:28 +0000 (22:02 +0000)
git-svn-id: https://svn.dealii.org/trunk@15029 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/faq.html

index 48c8aaa358502813cfdd36b3694a2a2ae7fa71f7..68767939f9560b1298968afc88e32616c48cd71a 100644 (file)
@@ -27,6 +27,7 @@
   <li> <a href="#nodata">I tried to install <acronym>deal.II</acronym>
        on system X and it does not work.</a>
   <li> <a href="#compiler">How do I change the compiler?</a>
+  <li> <a href="#petsc">I am having trouble linking with PETSc!</a>
   <li> <a href="#gfortran">I cannot link with BLAS or LAPACK even if the
        libraries exist</a>
   <li> <a href="#windows">Can I use <acronym>deal.II</acronym> on a
   </p>
   </dd>
 
-
-  <a name="compiler"></a>
-  <dt>How do I change the compiler?</dt>
+  
+  <dt><a name="compiler">
+  How do I change the compiler?
+  </a></dt>
 
   <dd>
   <p>
   section</a> in the <a href="http:readme.html">readme file</a>.
   </p>
 
-
   </dd>
 
   
+  <dt><a name="petsc">
+  I am having trouble linking with PETSc!
+  </a></dt>
+
+  <dd>
+  <p>
+  Let's put it this way: the configuration of PETSc is really
+  non-trivial, and it isn't made much easier by the 
+  documentation (or lack thereof) that the library's developers
+  provide and the constant incompatible changes they make to
+  everything. We've got the interface to PETSc working pretty well on
+  many platforms, but there are cases where PETSc requires linking
+  with other libraries that the deal.II Makefiles are unaware of.
+  </p>
+
+  <p>
+  If you get linker errors about undefined symbols, try to figure out
+  which library these functions reside in. If you can't manage to get
+  this going yourself, feel free to send email to the mailing list.
+  </p>
+
+  <p>
+  In general, try to get things going first by configuring PETSc with
+  options <code>--with-shared=0 --with-mpi=0
+  --with-clanguage=C++</code> and then configuring
+  <acronym>deal.II</acronym> with the option
+  <code>--disable-shared</code>.
+  </p>
+
+
   <dt><a name="gfortran">
   I cannot link with BLAS or LAPACK even if the libraries exist
   </a></dt>

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.