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/)
-   -   Dam Break Tutorial - 2.3.11 Running in parallel (https://www.cfd-online.com/Forums/openfoam-solving/96105-dam-break-tutorial-2-3-11-running-parallel.html)

vitors January 12, 2012 09:21

Dam Break Tutorial - 2.3.11 Running in parallel
 
Hello all,

I tried to extend the damBreak parallel tutorial to run it in two quad-core machines.

I have the same directories in both machines, ssh working without password.

I've set the decomposeParDict to 7 slaves.

The decomposePar command seems to work fine.

When I run the simulation (mpirun -np 8 --hostfile machines interFoam -parallel)
I got the message: "--> FOAM FATAL ERROR : Cannot find file "points" in directory "constant/polyMesh"

I've read some posts about it, but all of them were about the reconstruction. I've got it when trying to run the simulation...

Any suggestions?

Thanks in advance.

|matthias| January 17, 2012 06:38

Hello vitors,

have you looked for the points in the constant/polyMesh directory? In case they don t exist, you should run blockMesh first, then decomposePar and finally mpirun...

Greetings, matthias

vitors January 17, 2012 06:46

Quote:

Originally Posted by |matthias| (Post 339704)
Hello vitors,

have you looked for the points in the constant/polyMesh directory? In case they don t exist, you should run blockMesh first, then decomposePar and finally mpirun...

Greetings, matthias

Hi Matthias. I checked it and the files are there. But I could solve and (as usual when we are begginers) the problem was in decompositionParDict file. The roots were incorrect. I was using the case directory and when changed to the upper directory the simulation ran.

Thanks for your reply,

Vitor

Bodo1993 August 2, 2019 19:22

Error Running the Dambreak Tutorial
 
Hello All,



I am new to openFoam. I am facing some issues on running in parallel.



The first attempt was in trying to run the dambreak tutorial. got the below error:

--------------------------------------------------------------------------------------------------------------
Primary job terminated normally, but 1 process returned a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------------------------------------------
The way I ran the solver is by typing in the terminal:

mpirun -np 4 interFoam -parallel




The second attempt is when I tried to ran lockExchange tutorial in twoLiquidMixingFoam solver. I got the below error:

--------------------------------------------------------------------------------------------------------------
There are not enough slots available in the system to satisfy the 8 slots
that were requested by the application:
twoLiquidMixingFoam

Either request fewer slots for your application, or make more slots available
for use.

--------------------------------------------------------------------------------------------------------------

The way I run the tutorials is by typing in the terminal:

mpirun -np 8 twoLiquidMixingFoam -parallel


I am running the tutorials on a university machine that has 12 cores.



I would much appreciate your assistance to resolve the above issues.



Thanks in advance.


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