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

decomposePar won't break case for 8 cores

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 20, 2015, 16:48
Default decomposePar won't break case for 8 cores
  #1
Member
 
António Soares
Join Date: Mar 2015
Location: Lisbon, Portugal
Posts: 48
Rep Power: 11
Outbound is on a distinguished road
Hi everyone, I have an i7 processor with 8 cores (I can view them in Ubuntu System Manager) but when I configure the decomposeParDict file to distribute it over 8 cores I get an error message that says it' an uneven distribution of cores. Right now I have it running as follows:

Quote:
numberOfSubdomains 4;

method simple;

simpleCoeffs
{
n ( 2 2 1 );
delta 0.001;
}
If I try and put in 8 cores I configure it as such:

Quote:
numberOfSubdomains 8;

method simple;

simpleCoeffs
{
n ( 4 4 1 );
delta 0.001;
}
but when decomposing the case to run it I get the following error message:

Quote:
--> FOAM FATAL ERROR:
Wrong number of processor divisions in geomDecomp:
Number of domains : 8
Wanted decomposition : (4 4 1)

From function geomDecomp::geomDecomp(const dictionary& decompositionDict)
in file geomDecomp/geomDecomp.C at line 50.

FOAM exiting
I've also tried other distribution combinations such as 4 4 2 or 4 3 1 but to no avail.

Does anyone have any idea of what I might be doing wrong?

Thanks.
Outbound is offline   Reply With Quote

Old   May 20, 2015, 17:06
Default
  #2
Member
 
Jace
Join Date: Oct 2012
Posts: 77
Rep Power: 15
zhengzh5 is on a distinguished road
Quote:
Originally Posted by Outbound View Post
Hi everyone, I have an i7 processor with 8 cores (I can view them in Ubuntu System Manager) but when I configure the decomposeParDict file to distribute it over 8 cores I get an error message that says it' an uneven distribution of cores. Right now I have it running as follows:



If I try and put in 8 cores I configure it as such:



but when decomposing the case to run it I get the following error message:



I've also tried other distribution combinations such as 4 4 2 or 4 3 1 but to no avail.

Does anyone have any idea of what I might be doing wrong?

Thanks.
hey,

n (4 4 1) gives your 16 cores, not 8...(you basically tell OpenFOAM to decompose into 16 regions when you only have 8 cores in your disposal.)

you need to divide in as (2 2 2), or (2 4 1), etc...
zhengzh5 is offline   Reply With Quote

Old   May 20, 2015, 21:04
Default
  #3
Member
 
António Soares
Join Date: Mar 2015
Location: Lisbon, Portugal
Posts: 48
Rep Power: 11
Outbound is on a distinguished road
Thanks for the reply.

I guess I didn't understand the decomposition process.

I thought each digit meant the number of cores assigned to each direction (x y z) independently, I didn't really understand how the decomposition was accomplished by creating the mesh regions.

I'll try this again once the current simulation stops.

Once again, my thanks.
Outbound is offline   Reply With Quote

Reply

Tags
decomposepar, openmpi, parallel, parallel compressible, sonicfoam

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pressure instabilities with interDyMFoam for the floatingObject case nbadano OpenFOAM Running, Solving & CFD 15 October 15, 2021 06:35
[DesignModeler] DesignModeler Scripting: How to get Full Command Access ANT ANSYS Meshing & Geometry 53 February 16, 2020 15:13
How to delay releasing the water column in dam break case? Pirlu OpenFOAM Running, Solving & CFD 3 June 4, 2014 23:04
Error reading new case montag dp FLUENT 5 September 15, 2011 06:00
Turbulent Flat Plate Validation Case Jonas Larsson Main CFD Forum 0 April 2, 2004 10:25


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