CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

Compiling 14 decompositionMethods with OpenMPI

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 14, 2007, 15:40
Default Compiling decompositionMethods
  #1
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
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"
{
#define OMPI_SKIP_MPICXX
# 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, 18:04
Default Thanks. I guess this is becaus
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
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, 11:35
Default Sorry for adding here. I have
  #3
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
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

Reply


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 Off
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 15: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 19:12
Compilation of decompositionMethods with debug flags fabianpk OpenFOAM Bugs 0 July 4, 2007 08:35


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