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

Strange behaviour while running in parallel

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

Like Tree2Likes
  • 2 Post By niklas

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 14, 2012, 10:52
Default Strange behaviour while running in parallel
  #1
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 18
samiam1000 is on a distinguished road
Dear Foamers,

something very strange happens when I run a process in parallel. I do have a server with 4 CPUs and I have made a test.

I tried to run my process with 1, 2, 3 and 4 processors.

What I noticed is that with 2 processors I get a good result (speaking about time). With 3, the result is almost the same than with 2.
And with 4 it is even worse.

That's very curious. I would like to understand why this happens and how I can solve this.

Thanks a lot for help,

Samuele
samiam1000 is offline   Reply With Quote

Old   September 18, 2012, 16:20
Default
  #2
Member
 
Simon Arne
Join Date: May 2012
Posts: 42
Rep Power: 13
simpomann is on a distinguished road
Hey there,

Have you checked the settings of your decomposePar -Dictionary?
You can define in which axis the mesh is splitted and how many times (or any variation of like 2*x, 3*y).
If you choose this badly, it may occur that the number of cells processed by each processor is not similiar and then I encountered processing speed disadvantages as well.
simpomann is offline   Reply With Quote

Old   September 18, 2012, 16:33
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

The other possibility is the one explained here: http://www.cfd-online.com/Forums/ope...tml#post230087 post #20

(FYI: I found out from here: http://www.cfd-online.com/Forums/blo...-parallel.html)

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   September 19, 2012, 15:23
Default
  #4
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29
niklas will become famous soon enoughniklas will become famous soon enough
that is pretty typical behaviour when the network is bad and the communication overhead becomes too large.
The bandwidth in the cpu, between the cores choke.
wyldckat and samiam1000 like this.
niklas is offline   Reply With Quote

Reply

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
parallel running - error while loading shared libraries: seami OpenFOAM Installation 1 December 9, 2011 05:39
problem with running in parallel dhruv OpenFOAM 3 November 25, 2011 06:06
running in parallel, at time t>0 bunni OpenFOAM 1 October 21, 2010 10:34
A Strange Problem in making Parallel (Ansys/CFX 12) a.sarami CFX 13 October 7, 2010 02:33
Issue with running in parallel on multiple nodes daveatstyacht OpenFOAM 7 August 31, 2010 18:16


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