CFD Online Logo CFD Online URL
Home > Forums

Metis for OpenFOAM 2.1.0

Register Blogs Members List Search Today's Posts Mark Forums Read

Rate this Entry

Metis for OpenFOAM 2.1.0

Posted June 9, 2012 at 10:03 by sunliming

Originally Posted by AlmostSurelyRob View Post
Yes, you need to download metis from this site

and GKLib. GKLib was a bit more tricky to find but I have found it for example here:
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
DMALLOCINC = -I../libmetis/
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
wmake libso
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. :-)
Posted in Uncategorized
Views 1849 Comments 0 Edit Tags Email Blog Entry
« Prev     Main     Next »
Total Comments 0



All times are GMT -4. The time now is 01:21.