sfigato |
February 7, 2013 03:05 |
Error during Parallel Running
Hi Foamers,
I would like to run in parallel my test case. I am using simpleFoam solver. So, This is my dict file:
Quote:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
numberOfSubdomains 4;
method scotch;
simpleCoeffs
{
n ( 2 2 1 );
delta 0.001;
}
hierarchicalCoeffs
{
n ( 1 1 1 );
delta 0.001;
order xyz;
}
metisCoeffs
{
processorWeights ( 1 1 1 1 );
}
manualCoeffs
{
dataFile "";
}
distributed no;
roots ( );
// ************************************************** *********************** //
|
After run the decomposePar utility..I got thi error:
Quote:
--> FOAM FATAL ERROR:
You are trying to use scotch but do not have the scotchDecomp library loaded.
This message is from the dummy scotchDecomp stub library instead.
Please install scotch and make sure that libscotch.so is in your LD_LIBRARY_PATH.
The scotchDecomp library can then be built in $FOAM_SRC/parallel/decompose/decompositionMethods/scotchDecomp
From function labelList scotchDecomp::decompose(const pointField&, const scalarField&)
in file dummyScotchDecomp.C at line 113.
|
Then, I switched scotch with simple and the decomposition works fine. Nevertheless, when I run my mpirun I got this error:
Quote:
Trying to use the dummy Pstream library.
This dummy library cannot be used in parallel mode
From function UPstream::init(int& argc, char**& argv)
in file UPstream.C at line 37.
FOAM exiting
|
Can anyone help me, please?
I deepen the problems. During the building of scotch and dummy, I do not have mpi.h and scotch.h!
My OpenFOAM version is 2.1.x anyone knows if there is an unsolved bug about parallel computation?
Regards
Marco
|