Metis for OpenFOAM 2.1.0
Posted June 9, 2012 at 11:03 by sunliming
Quote:
Yes, you need to download metis from this site
http://people.sc.fsu.edu/~jburkardt/c_src/metis/metis.html
and GKLib. GKLib was a bit more tricky to find but I have found it for example here:
http://code.google.com/p/graphlabapi...0a9d384317c3bf
You can checkout the whole repository if you have mercurial installed.
Now it's the question of compiling these things. Set up your include paths correctly. For GKLib I had to add
in the supplied Makefile. libmetis was the position of libmetis.
Metis compiled seamlessly in my case using script although you must add -fPIC to the gcc command.
Finally go to
change Make/option file to point to your metis library location and run
Let me know if you have any problems with that. I can send you the necessary files.
EDIT: ALSO! I removed the -I pointing to the dummy library. I guess that might be important. :-)
http://people.sc.fsu.edu/~jburkardt/c_src/metis/metis.html
and GKLib. GKLib was a bit more tricky to find but I have found it for example here:
http://code.google.com/p/graphlabapi...0a9d384317c3bf
You can checkout the whole repository if you have mercurial installed.
Now it's the question of compiling these things. Set up your include paths correctly. For GKLib I had to add
Code:
DMALLOCINC = -I../libmetis/
Metis compiled seamlessly in my case using script although you must add -fPIC to the gcc command.
Finally go to
Code:
$FOAM_SRC/parallel/decompose/metisDecomp
Code:
wmake libso
EDIT: ALSO! I removed the -I pointing to the dummy library. I guess that might be important. :-)
Total Comments 0