From 051420ca19310ce3e4b5277be9727b4e2b9ce095 Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 22 Mar 2004 17:36:53 +0000 Subject: [PATCH] Document a catch with METIS. git-svn-id: https://svn.dealii.org/trunk@8840 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/doc/readme.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/deal.II/doc/readme.html b/deal.II/doc/readme.html index dcf50dbdfc..520a0d1533 100644 --- a/deal.II/doc/readme.html +++ b/deal.II/doc/readme.html @@ -744,6 +744,24 @@ METIS version 4.0.1, and newer versions should presumable work as well.

+

+ Using METIS requires some editing though: in the METIS header + Lib/proto.h that is automatically include from METIS's main + header Lib/metis.h, 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 srand48(), drand48(), and + log2. 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. +

+
  • -- 2.39.5