1
------------------------------------------------------------------------------
2
Building METIS requires CMake 2.8, found at http://www.cmake.org/, as
3
well as GNU make. Assumming CMake and GNU make are installed, two
4
commands should suffice to build metis:
12
METIS is primarily configured by passing options to make config. For
15
$ make config shared=1 cc=gcc-4.2
17
would configure metis to be built as a shared library using GCC 4.2.
19
Common configuration options are:
20
cc=[compiler] - The C compiler to use [default is determined by CMake]
21
shared=1 - Build a shared library instead of a static one
23
prefix=[PATH] - Set the installation prefix [/usr/local/ by default]
25
Advanced debugging related options:
26
gdb=1 - Build with support for GDB [off by default]
27
debug=1 - Enable debugging support [off by default]
28
assert=1 - Enable asserts [off by default]
29
assert2=1 - Enable very expensive asserts [off by default]
31
METIS' index and real data type size can be configured by editing
41
The default installation prefix is /usr/local. To pick an installation
42
prefix for METIS pass prefix=[path] to make config. For example,
44
$ make config prefix=~/myroot/
46
will cause METIS to be installed in ~/myroot/ when make install is run.
52
Removes all files installed by 'make install'.
55
Removes all object files but retains the configuration options.
58
Performs clean and completely removes the build directory.
60
------------------------------------------------------------------------------