|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 18 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Simon Arne
Join Date: May 2012
Posts: 42
Rep Power: 14 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
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
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#4 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 ![]() ![]() |
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. |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
parallel running - error while loading shared libraries: | seami | OpenFOAM Installation | 1 | December 9, 2011 04:39 |
problem with running in parallel | dhruv | OpenFOAM | 3 | November 25, 2011 05:06 |
running in parallel, at time t>0 | bunni | OpenFOAM | 1 | October 21, 2010 09:34 |
A Strange Problem in making Parallel (Ansys/CFX 12) | a.sarami | CFX | 13 | October 7, 2010 01:33 |
Issue with running in parallel on multiple nodes | daveatstyacht | OpenFOAM | 7 | August 31, 2010 17:16 |