wiki:InstallMetis

Note: 5.0 pre-release2 was supposed to include support for 64-bit machines so we originally went wild and installed that. We've calmed down now, and discovered memory allocation bugs in version 5.

Download the latest stable version from http://glaros.dtc.umn.edu/gkhome/metis/metis/download and un-tar into $HOME:

cd $HOME
wget http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/metis-4.0.tar.gz
tar -zxf metis-4.0.tar.gz

Edit the file Makefile.in, changing the line CC = cc to CC = gcc.

Then run

make

If you need to use Deal.II

Next, we need to edit $HOME/metis-4.0/Lib/proto.h to stop errors when compiling Deal.II. Remove the following function declaration lines (which conflict with functions in system headers):

double drand48();
void srand48(long);
int log2(int);
Last modified 12 years ago Last modified on Feb 27, 2009, 10:49:48 AM