CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

Compiling 14 decompositionMethods with OpenMPI

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

LinkBack Thread Tools Display Modes
Old   June 14, 2007, 14:40
Default Compiling decompositionMethods
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,045
Rep Power: 43
gschaider will become famous soon enoughgschaider will become famous soon enough
Compiling decompositionMethods in 1.4 with OpenMPI as the MPI-implementation wouldn't work (compiled the C++-bindings where it was not supposed to do so).

Inserting the #define shown below into metisDecomp/metisDecomp.C solved the problem:

extern "C"
# include "metis.h"
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   June 14, 2007, 17:04
Default Thanks. I guess this is becaus
Super Moderator
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 18
mattijs is on a distinguished road
Thanks. I guess this is because of the Metis and ParMetis (partially) sharing the same library files. I split off ParMetis from Metis into a separate library so the decompositionMethods library will compile without an MPI installation.
mattijs is offline   Reply With Quote

Old   July 5, 2008, 10:35
Default Sorry for adding here. I have
Senior Member
Join Date: Mar 2009
Posts: 502
Rep Power: 13
bastil is on a distinguished road
Sorry for adding here. I have some basic questions about that: As far as I understand OF comes with "metis" partitioning, this is serial one, right? And if you recompile it with OpenMPI you can use it in parallel, eg. do parallel decomposition? Or am I wrong? Thanks.
bastil is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with openmpi mighelone OpenFOAM Running, Solving & CFD 42 July 18, 2012 14:26
SnappyHexMesh in parallel openmpi wikstrom OpenFOAM Bugs 18 November 26, 2008 06:55
OpenMPI performance vega OpenFOAM Running, Solving & CFD 13 November 27, 2007 02:28
OpenFOAM 14 with OpenMPI 12 fhy OpenFOAM Installation 0 July 12, 2007 18:12
Compilation of decompositionMethods with debug flags fabianpk OpenFOAM Bugs 0 July 4, 2007 07:35

All times are GMT -4. The time now is 06:42.