CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Error when running in parallel (https://www.cfd-online.com/Forums/openfoam/69456-error-when-running-parallel.html)

vishwa October 23, 2009 08:33

Error when running in parallel
 
Hi,
I have been running pisoFoam on a case for a like a week or so and have not encountered any problem. Since yesterday, the simualtion stops after like 20 mins into the run giving the following error

Quote:

4] #0 Foam::error::printStack(Foam::Ostream&) in "/home/vishwa/vishwa/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libOpenFOAM.so"
[4] #1 Foam::sigSegv::sigSegvHandler(int) in "/home/vishwa/vishwa/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libOpenFOAM.so"
[4] #2 __restore_rt at sigaction.c:0
[node160:27364] *** Process received signal ***
[node160:27364] Signal: Segmentation fault (11)
[node160:27364] Signal code: (-6)
[node160:27364] Failing at address: 0xfd000006ae4
[node160:27364] [ 0] /lib64/libc.so.6 [0x3996030280]
[node160:27364] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3996030215]
[node160:27364] [ 2] /lib64/libc.so.6 [0x3996030280]
[node160:27364] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 4 with PID 27364 on node node160 exited on signal 11 (Segmentation fault).
I tried to restart the simulation with the data that had already been saved before this error occurred.. The result was the same..it ran for like 20 mins and stopped with the same error.

Have no clue what to do. Any help please..

Regards,
Vishwa

vishwa October 23, 2009 08:42

here is the controlDict that I am using

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application pisoFoam;

startFrom latestTime;

startTime 0;

stopAt endTime;

endTime 954e-04;

deltaT 2e-06;

writeControl timeStep;

writeInterval 400;

purgeWrite 0;

writeFormat binary;//ascii;

writePrecision 6;

writeCompression compressed;

timeFormat general;

timePrecision 6;

runTimeModifiable yes;

adjustTimeStep yes;

maxCo 0.5;

maxDeltaT 1e-04;
functions
{
/*probes1
{
type surfaces;
functionObjectLibs ("libsampling.so");
//enabled true;
outputControl timeStep;
outputInterval 50;
surfaceFormat vtk;
interpolationScheme cellPointFace;

fields
(
U
p

);


surfaces
(
midplane
{
type plane;
basePoint (0 -0.086 0.00046);
normalVector (0 0 1);
}
);

}*/
fieldAverage1
{
type fieldAverage;
functionObjectLibs ("libfieldFunctionObjects.so");
//cleanRestart true;
enabled true;
outputControl outputTime;
fields
(
U
{
mean on;
prime2Mean on;
base time;
}

p
{
mean on;
prime2Mean on;
base time;
}
);
}

}


/*functions
{
probes
{
type probes;
functionObjectLibs ("libsampling.so");
enabled true;
outputControl timeStep;
outputInterval 1;
probeLocations
(
( 0.0254 0.0253 0 )
( 0.0508 0.0253 0 )
( 0.0762 0.0253 0 )
( 0.1016 0.0253 0 )
( 0.127 0.0253 0 )
( 0.1524 0.0253 0 )
( 0.1778 0.0253 0 )
);

fields
(
p
);
}

fieldAverage1
{
type fieldAverage;
functionObjectLibs ("libfieldFunctionObjects.so");
enabled true;
outputControl outputTime;
fields
(
U
{
mean on;
prime2Mean on;
base time;
}

p
{
mean on;
prime2Mean on;
base time;
}
);
}
*/
}


// ************************************************** *********************** //


All times are GMT -4. The time now is 21:16.