|
[Sponsors] |
June 29, 2011, 02:08 |
decomposePar error with parMetis
|
#1 |
Member
Tony
Join Date: Jun 2010
Posts: 54
Rep Power: 16 |
Hi all,
Im trying to run decomposePar on my Ubuntu Natty machine with openfoam171. I get the following error when trying to do this: Code:
--> FOAM FATAL ERROR: You are trying to use parMetis but do not have the parMetisDecomp library loaded. This message is from the dummy parMetisDecomp stub library instead. Please install parMetis and make sure that libparMetis.so is in your LD_LIBRARY_PATH. The parMetisDecomp library can then be built in $FOAM_SRC/decompositionMethods/parMetisDecomp From function labelList parMetisDecomp::decompose(const labelList&, const pointField&, const scalarField&) in file dummyParMetisDecomp.C at line 138. FOAM exiting Thanks! Last edited by tonyuprm; June 29, 2011 at 11:44. |
|
June 30, 2011, 11:34 |
|
#2 |
New Member
Oli
Join Date: Apr 2009
Posts: 27
Rep Power: 17 |
Can you post your decomposeParDict?
|
|
July 1, 2011, 00:49 |
|
#3 |
Member
Tony
Join Date: Jun 2010
Posts: 54
Rep Power: 16 |
Here it is,
Thanks! Code:
/*-------------------------------*- C++ -*---------------------------------*\ | ========= | | \\ / OpenFOAM | | \\ / | | \\ / The Open Source CFD Toolbox | | \\/ http://www.OpenFOAM.org | \*-------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; note "mesh decomposition control dictionary"; location "system"; object decomposeParDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // numberOfSubdomains 6; method parMetis; preservePatches (recycle_1 recycle_2); simpleCoeffs { n (4 1 1); delta 0.001; } hierarchicalCoeffs { n (4 1 1); delta 0.001; order xyz; } metisCoeffs { processorWeights ( 1 1 1 1 1 1 ); } scotchCoeffs { processorWeights ( 1 1 1 1 ); // writeGraph true; // strategy "b"; } manualCoeffs { dataFile "decompositionData"; } //// Is the case distributed distributed no; //// Per slave (so nProcs-1 entries) the directory above the case. //roots //( // "/tmp" // "/tmp" //); // ************************************************************************* // |
|
July 1, 2011, 04:24 |
|
#4 |
New Member
Joel Lehikoinen
Join Date: Jun 2011
Posts: 26
Rep Power: 15 |
You could try changing the method to something else, say "simple" or "hiearchical" for example. Also, I believe that your number of subdomains should equal the product of the elements of n; i.e. in your case the number of subdomains should be set to 4.
|
|
July 1, 2011, 05:59 |
|
#5 |
New Member
Oli
Join Date: Apr 2009
Posts: 27
Rep Power: 17 |
I think you have to use parMetis when doing a snappyHexMesh in parallell (?).
For running a simulation i would use metis or hierachical, as joel mentioned before |
|
July 1, 2011, 11:24 |
|
#6 |
Member
Tony
Join Date: Jun 2010
Posts: 54
Rep Power: 16 |
Hi all,
Thanks for your replies. Thats what I want to do, run snappyHexMesh in parallel. It wont run with metis or scotch. Other options work fine when decomposing, but parMetis is the one Im interested in right now. Im open to suggestions for running snappyHexMesh in parallel. Thanks, Tony |
|
July 4, 2011, 08:27 |
|
#7 |
New Member
Silvan Brändli
Join Date: Aug 2009
Posts: 27
Rep Power: 17 |
Did you follow the instructions from the error message? ( see whether libparMetis.so is present on your system and correctly linked in LD_LIBRARY_PATH )
|
|
July 5, 2011, 16:49 |
|
#8 |
Member
Tony
Join Date: Jun 2010
Posts: 54
Rep Power: 16 |
Hi Silvan,
Thanks for your reply. The library is in that location, specifically in "/opt/openfoam171/lib/linux64GccDPOpt/dummy". Thanks, Tony |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
GPL license compatible with ParMetis | guillaume | OpenFOAM | 3 | August 8, 2018 05:48 |
ParMETIS | Rob Kunz | Main CFD Forum | 2 | November 20, 2008 17:20 |
ParMetis for parallel decomposing | bastil | OpenFOAM Running, Solving & CFD | 0 | May 12, 2008 10:54 |
BuildingLinking of ParMETIS and metis50pre2 | mwild | OpenFOAM Bugs | 1 | January 28, 2008 17:05 |
BuildingLinking of ParMETIS and metis50pre2 | mwild | OpenFOAM Installation | 0 | January 28, 2008 05:55 |