CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Parallel Simulation Data Write Failure (https://www.cfd-online.com/Forums/openfoam-post-processing/150943-parallel-simulation-data-write-failure.html)

kamakura117 April 1, 2015 10:38

Parallel Simulation Data Write Failure
 
After decompose a geometry with "scotch", using "decomposePar", running the simulation with "mpiexec -n 6 interFoam -parallel", then using "reconstructPar" I get the following error:

Code:

wrong token type - expected Scalar, found on line 29397 the punctuation token ','

file: /home/jesse/NotSynced/VOFCriticality/fill/processor5/74/omega at line 29397.

    From function operator>>(Istream&, Scalar&)
    in file lnInclude/Scalar.C at line 93.

FOAM exiting

When I look into the field file, I notice that a value in the field data has been replaced with a ",". It looks like there was a write problem when running the simulation. On my laptop, I have the same issues. This only occurs when I perform mutlicore simulations.

I am using 2.3.1; however, this occurs with 2.3.0 as well.

My decomposeParDict file is:

Code:

FoamFile
{
    version    2.0;
    format      ascii;
    class      dictionary;
    location    "system";
    object      decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

numberOfSubdomains 6; //number of cpus you'll use

method scotch; //method of decomposition

simpleCoeffs
{
n ( 2 2 2 );
delta 0.001;
}

hierarchicalCoeffs
{
n ( 1 1 1 );
delta 0.001;
order xyz;
}

scotchCoeffs
{
processorWeights
(
1
1
1
1
1
1
);
}

manualCoeffs
{
    dataFile        "";
}

distributed    no;

roots          ( );


kamakura117 April 3, 2015 12:09

Has anyone run into this issue at all? I'm wondering if it might be necessary that I use a server with ECC RAM or something, or if there is another trick to protect the writing.

I attempted to use the compression open, but it does not alleviate my issues.

Any help would be appreciated.

Thanks.

kamakura117 April 16, 2015 15:24

In the event anyone has this kind of problem, I solved it by recompiling MPI and OpenFOAM. It seems likes something funny happened in the libraries. Luckily, it does not appear to be a hardware issue.


All times are GMT -4. The time now is 09:07.