CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

Proper Load balancing in OF

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 18, 2011, 19:58
Default Proper Load balancing in OF
  #1
Senior Member
 
Tarak
Join Date: Aug 2010
Location: State College, PA
Posts: 105
Rep Power: 7
Tarak is on a distinguished road
Hii,

While decomposing my domain of 3.4 million cells into 64 processors, the cells do not get distributed evenly. While in some processors around 26000 cells are allocated, while for some around 70000. This makes it slower than that using 32 processors, and I assume this is due to this load impalance.

Can you please let me know a way to get around this, so that I can get almost equal number of cells in each processors.
Tarak is offline   Reply With Quote

Old   February 19, 2011, 04:33
Default
  #2
Member
 
Join Date: Dec 2009
Posts: 36
Rep Power: 7
FG_HSRM is on a distinguished road
Hi Tarak

Until now I have no idea, but you should post your decomposeDict.
FG_HSRM is offline   Reply With Quote

Old   February 19, 2011, 04:40
Default my decomposeParDict file
  #3
Senior Member
 
Tarak
Join Date: Aug 2010
Location: State College, PA
Posts: 105
Rep Power: 7
Tarak is on a distinguished road
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

numberOfSubdomains 64;

method simple;

simpleCoeffs
{
n ( 8 4 2 );
delta 0.001;
}

hierarchicalCoeffs
{
n ( 2 1 1 );
delta 0.001;
order xyz;
}

metisCoeffs
{
}

manualCoeffs
{
dataFile "";
}

distributed no;
roots ( );


// ************************************************** *********************** //
Tarak is offline   Reply With Quote

Old   February 19, 2011, 07:41
Default
  #4
Member
 
Join Date: Dec 2009
Posts: 36
Rep Power: 7
FG_HSRM is on a distinguished road
Quote:
Originally Posted by Tarak View Post
Hii,
...almost equal number of cells in each processors.
Try to replace simple by metis, everything else should be fine.
You also can try scotch, but than you have to add:
scotchCoeffs
{
processorWeights ()
}
A detailed description you can find in the UserGuide.
FG_HSRM is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Load balancing pre- and during computation madad2005 OpenFOAM 1 October 29, 2009 06:23
load balancing in parallel computation shyamdsundar Main CFD Forum 0 September 2, 2009 23:53
OpenFOAM and load balancing gallay OpenFOAM Installation 1 March 20, 2008 02:21
Hanging node grid + load balancing in parallel??? Phil FLUENT 0 February 15, 2008 09:38
Using load vector for parallel partitioning Kevala FLUENT 0 May 1, 2001 12:11


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