Parmetis on OSX-10.3.x
November 13th, 2008
Building ParMetis
This will work on 10.4.x and 10.5.x for PPC and Intel I expect. Though I have not tried it. This was done using OpenMPI
tar -xzvf ParMetis-3.1.tar.gz cd ParMetis-3.1
Edit Makefile.in make sure CC and LD are set to mpicc. Set set INCDIR and LIBDIR to nothing.
make
This make will fail with ‘cant find malloc.h’, malloc.h is in /usr/include/sys/. Re-open Makefile.in and set INCDIR = -I/usr/include/sys/
make
For those with impatience
tar -xzvf ParMetis-3.1.tar.gz cd ParMetis-3.1 CC = mpicc LD = mpicc INCDIR = LIBDIR = make INCDIR = -I /usr/include/sys make

