From: Wolfgang Bangerth --with-metis-include, --with-metis-libs
.
- Using METIS requires some editing though: in the METIS header
- Lib/proto.h
that is automatically included 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 removing each function
- signature which the compiler complains about. The ones most likely
- affected are srand48()
, drand48()
, and
- log2
. Since you have already compiled METIS and deal.II does
- not need these function declarations itself, just removing their
- declarations should not be a problem.
-