Skip to content
 
 

Latest commit

 

History

48 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MetisMex

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.

Compile on Ubuntu


  1. Download MetisMex
git clone https://github.com/YingzhouLi/metismex.git
cd metismex
  1. 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 ../..
  1. Compile MetisMex.
matlab -nojvm -r "make;quit"
  1. Test MetisMex
cd test
matlab &
>> test
>> test_sparse

Compile on Mac


  1. Download MetisMex
git clone https://github.com/YingzhouLi/metismex.git
cd metismex
  1. Install the latest version of metis.

a. Superuser or Root

brew install metis

b. User

cd external/metis
make config
make
cd ../..
  1. Compile MetisMex.
matlab -nojvm -r "make;quit"
  1. Test MetisMex
cd test
matlab &
>> test
>> test_sparse

Install on Ubuntu


  1. Download MetisMex
git clone https://github.com/YingzhouLi/metismex.git
cd metismex
  1. 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 ../..
  1. Install MetisMex.
matlab -nojvm -r "make(1);quit"

Install on Mac


  1. Download MetisMex
git clone https://github.com/YingzhouLi/metismex.git
cd metismex
  1. Install the latest version of metis.

a. Superuser or Root

brew install metis

b. User

cd external/metis
make config
make
cd ../..
  1. Install MetisMex.
git clone https://github.com/YingzhouLi/metismex.git
cd metismex
matlab -nojvm -r "make(1);quit"

Uninstall on Ubuntu and Mac


  1. Download MetisMex.
git clone https://github.com/YingzhouLi/metismex.git
cd metismex
  1. Uninstall MetisMex
matlab -nojvm -r "make(-1);quit"

Acknowledgments


Many thanks to David Gleich and Robert Bridson. Yingzhou Li implements this repository after carefully exploring their previous work metismex and metismex.c.

About

Mex files for METIS

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages