CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Parallel oodles (http://www.cfd-online.com/Forums/openfoam-solving/59872-parallel-oodles.html)

sriharsha December 27, 2006 18:36

Hi, I am new to OpenF
 
Hi,

I am new to OpenFoam and am trying to use the oodles solver in parallel( on a quad dual-core processor machine).However i get the following error which iam enclosing below. The serial version works fine though. Can i get some help on this issue.

Thanks

*********error message **********************


[1] [0]
[0]
[0] --> FOAM FATAL IO ERROR : cannot open file
[0]
[0] file: /home/kandsri/OpenFOAM/kandsri-1.3/tutorials/fluent_les/wall_m_cyl/processor0/10 /p at line 0.
[0]
[0] From function regIOobject::readStream(const word&)
[0] in file db/regIOobject/regIOobjectRead.C at line 68.
[0]
FOAM parallel run exiting
[0]

[1]
[1] --> FOAM FATAL IO ERROR : cannot open file
[1]
[1] file: /home/kandsri/OpenFOAM/kandsri-1.3/tutorials/fluent_les/wall_m_cyl/processor1/10 /p at line 0.
[1]
[1] -----------------------------------------------------------------------------
One of the processes started by mpirun has exited with a nonzero exit
code. This typically indicates that the process finished in error.
If your process did not finish in error, be sure to include a "return
0" or "exit(0)" in your C code before exiting the application.

PID 19108 failed on node n0 (216.47.154.153) with exit status 1.

mattijs January 1, 2007 09:06

Any reason why there is a spac
 
Any reason why there is a space between '10' and '/p'?

Are the files there? decomposePar will have decomposed the fields from the serial version. Check to which time directory.

sriharsha January 1, 2007 14:39

Hi, Thanks for the repl
 
Hi,
Thanks for the reply. There is no space between between 10 and /p. I have checked the file
10/p and it exists and i am able to read it.

The case name is wall_m_cyl and the directory structure is wall_m_cyl/10/p.
when i use decompose par it created folders processor0 and processor1 in wall_m_cyl/ directory which also contains folders for all time steps.

I am i doing something wrong here

msrinath80 January 1, 2007 16:11

Post your case here if possibl
 
Post your case here if possible. Just the directory layout and dictionaries. No points, faces etc.

sriharsha January 1, 2007 17:19

Hi, The directory struc
 
Hi,
The directory structure is as follows

case : wall_m_cyl
************************************
ls wall_m_cyl/

constant
processor0
processor1
system
0
0.1
...and other intermediate timesteps ...
10
*************************************
ls wall_m_cyl/10

B k nuSgs nuTilda p U

********************************

msrinath80 January 1, 2007 17:43

Alright, list out the contents
 
Alright, list out the contents of the 'p' file.

sriharsha January 2, 2007 16:55

Hi, I am able to fix t
 
Hi,
I am able to fix the issue with the /10/p file. Now when i try to run the code in parallel, i get the error "" No buffer space available". I use the command
export MPI_BUFFER_SIZE=400000000 to increase the buffer size to a point at which i do not see this error. But now my simulation gets stuck. I am attaching the output below. I would appreciate if i could get some help on this issue.( i have 695,000 cells in my domain and am using 4 processors)

Thank you


**********output***********************

mpirun -np 4 oodles /home/kandsri/OpenFOAM/kandsri-1.3/tutorials/fluent_les wall_m_cyl -parallel
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.3 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.3 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.3 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.3 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : oodles /home/kandsri/OpenFOAM/kandsri-1.3/tutorials/fluent_les wall_m_cyl -parallel
Exec : oodles /home/kandsri/OpenFOAM/kandsri-1.3/tutorials/fluent_les wall_m_cyl -parallel
Exec : oodles /home/kandsri/OpenFOAM/kandsri-1.3/tutorials/fluent_les wall_m_cyl -parallel
Exec : oodles /home/kandsri/OpenFOAM/kandsri-1.3/tutorials/fluent_les wall_m_cyl -parallel
[3] Date : Jan 02 2007
[3] Time : 14:56:45
[0] Date : Jan 02 2007
[0] Time : 14:56:45
[0] Host : leonardo.fdrc.iit.edu
[1] Date : Jan 02 2007
[1] Time : 14:56:45
[1] Host : leonardo.fdrc.iit.edu
[2] Date : Jan 02 2007
[2] Time : 14:56:45
[2] Host : leonardo.fdrc.iit.edu
[2] PID : 7450
[3] Host : leonardo.fdrc.iit.edu
[3] PID : 7451
[0] PID : 7448
[1] PID : 7449
[3] Root : /home/kandsri/OpenFOAM/kandsri-1.3/tutorials/fluent_les
[3] Case : wall_m_cyl
[3] Nprocs : 4
[1] Root : /home/kandsri/OpenFOAM/kandsri-1.3/tutorials/fluent_les
[1] Case : wall_m_cyl
[1] Nprocs : 4
[0] Root : /home/kandsri/OpenFOAM/kandsri-1.3/tutorials/fluent_les
[0] Case : wall_m_cyl
[2] Root : /home/kandsri/OpenFOAM/kandsri-1.3/tutorials/fluent_les
[2] Case : wall_m_cyl
[2] Nprocs : 4
[0] Nprocs : 4
[0] Slaves :
[0] 3
[0] (
[0] leonardo.fdrc.iit.edu.7449
[0] leonardo.fdrc.iit.edu.7450
[0] leonardo.fdrc.iit.edu.7451
[0] )
[0]
Create time

Create mesh, no clear-out for time = 10.02


Reading transportProperties

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Creating field Umean

Creating field R

Creating field Bmean

msrinath80 January 3, 2007 10:31

Check http://www.cfd-online.co
 
Check http://www.cfd-online.com/OpenFOAM_D...ges/1/107.html

Make sure you run lamwipe before a lamboot as Mattijs suggests in one of the posts. Also are you on a 64 bit machine? What does echo $WM_64 tell you? How much memory do you have on this machine? How many cells does checkMesh report?

sriharsha January 3, 2007 12:29

Hi, Yes i am using lam
 
Hi,
Yes i am using lamwipe before using lamboot. I am on a 64-bit machine. echo $WM_64 says "on".
My machine has 32 GB of memory. checkMesh reports
695000 hexahedral cells as expected.


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