CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
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

Quote:
Originally Posted by AlmostSurelyRob View Post
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
Code:
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
Code:
$FOAM_SRC/parallel/decompose/metisDecomp
change Make/option file to point to your metis library location and run
Code:
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 1681 Comments 0 Edit Tags Email Blog Entry
« Prev     Main     Next »
Total Comments 0

Comments

 

All times are GMT -4. The time now is 17:49.