CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   MPI slower than serial (https://www.cfd-online.com/Forums/openfoam-solving/163168-mpi-slower-than-serial.html)

LucaFen November 24, 2015 06:08

MPI slower than serial
 
Hi guys,
i'm trying to run my first parallel job on OpenFoam (but it's not my first time in parallel programming so i know the basic concepts).
I'm working on a duct so i'm pretty sure that the best choice to reduce communications between processors is to divide the duct in parts along the flow direction. Therefore in the decomposeParDict i choose the simple algorithm with (4 1 1) coefficients (i'm working on a quad-core computer).

The first problem is that the during the simulation one processor is faster than the others and waits for its neighbours only in the write times.

But the serious problem is that the serial simulation is faster than the parallel one.
I tried to run renumberMesh and got a little improvement but it's still slower than the serial.

I'm working with more than 600k cells.

Any guess about the reason why this happens?







I just missed a flag!! [SOLVED]


All times are GMT -4. The time now is 06:08.