MetisMex is a Matlab interface to METIS. This code works with the latest stable version of Metis (5.1.0, 2013-03-30). And the source files are included under external folder.
The following instructions worked on Ubuntu (14.04 LTS) and OSX 10.10 with Matlab installed.
- Download MetisMex
git clone https://github.com/YingzhouLi/metismex.git
cd metismex
- Install the latest version of metis.
a. Superuser or Root
sudo apt-get install libmetis-dev
b. User
cd external/metis
make config
make
cd ../..
- Compile MetisMex.
matlab -nojvm -r "make;quit"
- Test MetisMex
cd test
matlab &
>> test
>> test_sparse
- Download MetisMex
git clone https://github.com/YingzhouLi/metismex.git
cd metismex
- Install the latest version of metis.
a. Superuser or Root
brew install metis
b. User
cd external/metis
make config
make
cd ../..
- Compile MetisMex.
matlab -nojvm -r "make;quit"
- Test MetisMex
cd test
matlab &
>> test
>> test_sparse
- Download MetisMex
git clone https://github.com/YingzhouLi/metismex.git
cd metismex
- Install the latest version of metis.
a. Superuser or Root
sudo apt-get install libmetis-dev
b. User
cd external/metis
make config
make
cd ../..
- Install MetisMex.
matlab -nojvm -r "make(1);quit"
- Download MetisMex
git clone https://github.com/YingzhouLi/metismex.git
cd metismex
- Install the latest version of metis.
a. Superuser or Root
brew install metis
b. User
cd external/metis
make config
make
cd ../..
- Install MetisMex.
git clone https://github.com/YingzhouLi/metismex.git
cd metismex
matlab -nojvm -r "make(1);quit"
- Download MetisMex.
git clone https://github.com/YingzhouLi/metismex.git
cd metismex
- Uninstall MetisMex
matlab -nojvm -r "make(-1);quit"
Many thanks to David Gleich and Robert Bridson. Yingzhou Li implements this repository after carefully exploring their previous work metismex and metismex.c.