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 and un-tar into $HOME:

cd $HOME
tar -zxf metis-4.0.tar.gz

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

Then run


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