- Install CMake and MPIC++
- Download and extract the ParMETIS shared object
wget http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/parmetis-4.0.3.tar.gz
gunzip parmetis-4.0.3.tar.gz
tar -x parmetis-4.0.3.tar
cd parmetis-4.0.3
-
Edit the file metis/include/metis.h and specify the width (32 or 64 bits) of the elementary data type used in ParMetis (and METIS). This is controled by the IDXTYPEWIDTH constant.
-
Make and Install
make config shared=1
make install
- Python Support
pip3 install metis
- Add environment variables to BashRC and Source.
export METIS_DLL=/usr/local/lib/libparmetis.so
export METIS_IDXTYPEWIDTH=64
export METIS_REALTYPEWIDTH=64