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