]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Document a catch with METIS.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 22 Mar 2004 17:36:53 +0000 (17:36 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 22 Mar 2004 17:36:53 +0000 (17:36 +0000)
git-svn-id: https://svn.dealii.org/trunk@8840 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/readme.html

index dcf50dbdfc8f1564a19799340ddf421151c25e6a..520a0d15333bb1143a65854a6bbfcfd6d881d628 100644 (file)
       METIS version 4.0.1, and newer versions should presumable work as well.
       </p>
       
+      <p>
+      Using METIS requires some editing though: in the METIS header
+      <code>Lib/proto.h</code> that is automatically include from METIS's main
+      header <code>Lib/metis.h</code>, a number of functions from the C
+      standard lib are declared with signatures that differ from the ones in
+      the system headers (that alone is a good reason not to ever declare
+      system functions yourself, but oh well...) in that they do not have
+      exception specifications that are given in the system headers. With some
+      compilers, you will then get compilation errors on one or two deal.II
+      files. It is easy to work around this by first compiling METIS, then
+      trying to compile deal.II, and then simply remove each function
+      signature which the compiler complains about. The ones most likely
+      affected are <code>srand48()</code>, <code>drand48()</code>, and
+      <code>log2</code>. Since you have already compile METIS and deal.II does
+      not need these function declarations itself, just removing their
+      declarations should not be a problem.
+      </p>
+
 
       <li>
       <p>

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.