CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Parallel oodles

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 27, 2006, 18:36
Default Hi, I am new to OpenF
  #1
New Member
 
sriharsha kandala
Join Date: Mar 2009
Posts: 10
Rep Power: 17
sriharsha is on a distinguished road
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.
sriharsha is offline   Reply With Quote

Old   January 1, 2007, 09:06
Default Any reason why there is a spac
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
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.
mattijs is offline   Reply With Quote

Old   January 1, 2007, 14:39
Default Hi, Thanks for the repl
  #3
New Member
 
sriharsha kandala
Join Date: Mar 2009
Posts: 10
Rep Power: 17
sriharsha is on a distinguished road
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
sriharsha is offline   Reply With Quote

Old   January 1, 2007, 16:11
Default Post your case here if possibl
  #4
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
Post your case here if possible. Just the directory layout and dictionaries. No points, faces etc.
msrinath80 is offline   Reply With Quote

Old   January 1, 2007, 17:19
Default Hi, The directory struc
  #5
New Member
 
sriharsha kandala
Join Date: Mar 2009
Posts: 10
Rep Power: 17
sriharsha is on a distinguished road
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

********************************
sriharsha is offline   Reply With Quote

Old   January 1, 2007, 17:43
Default Alright, list out the contents
  #6
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
Alright, list out the contents of the 'p' file.
msrinath80 is offline   Reply With Quote

Old   January 2, 2007, 16:55
Default Hi, I am able to fix t
  #7
New Member
 
sriharsha kandala
Join Date: Mar 2009
Posts: 10
Rep Power: 17
sriharsha is on a distinguished road
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
sriharsha is offline   Reply With Quote

Old   January 3, 2007, 10:31
Default Check http://www.cfd-online.co
  #8
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
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?
msrinath80 is offline   Reply With Quote

Old   January 3, 2007, 12:29
Default Hi, Yes i am using lam
  #9
New Member
 
sriharsha kandala
Join Date: Mar 2009
Posts: 10
Rep Power: 17
sriharsha is on a distinguished road
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.
sriharsha is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Coefficienct in the oodles loneboard OpenFOAM Running, Solving & CFD 4 March 12, 2009 22:18
A question on DES oodles ivan_cozza OpenFOAM Running, Solving & CFD 2 November 17, 2008 10:33
Oodles and more r2d2 OpenFOAM Running, Solving & CFD 10 September 23, 2007 02:54
Parallel oodles sriharsha OpenFOAM Running, Solving & CFD 0 December 27, 2006 18:25
Parallel oodles sriharsha OpenFOAM Running, Solving & CFD 0 December 27, 2006 18:21


All times are GMT -4. The time now is 18:38.