CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

Parallel Process

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

LinkBack Thread Tools Search this Thread Display Modes
Old   September 20, 2018, 12:55
Default Parallel Process
New Member
Join Date: Mar 2014
Posts: 7
Rep Power: 11
jxs832 is on a distinguished road

I am currently running a 3D transient simulation using rhoCentralFoam in parallel. My current computer has 4 cores, at 4.8GHz (overclocked), and 16 GB of ram (it only uses about 8GB during the run). I am running this in parallel and it takes about 100 hours or more to converge.

I recently got the money to build a little cluster, and I have seen some success in creating a cluster out of raspberry pis or similar boards. My question is what would be the better solution for my case. With the funds I have available I can make the following system:

- 34 nodes each with 2.1 GHz quadcore and 2 GB of RAM
- 76 nodes each with 1.6 GHZ quadcore and 1 GB of RAM

I am not sure how the computational time would scale with number of cores and clock times.

I should mention that I am using the scotch option in my decompose file, so theoretically each core is handling the same amount of nodes. Eventually, I want to increase my simulation to have a few million nodes.
jxs832 is offline   Reply With Quote

Old   September 20, 2018, 17:14
Default Depends
Peter Brady
Join Date: Apr 2014
Location: Sydney, NSW, Australia
Posts: 54
Rep Power: 11
pbrady2013 is on a distinguished road

In my experience there is really no right answer in this case as scale out results depend not only on your hardware - don't forget the network interconnects are just as important as the CPUs - but also the compiler optimisations and mesh/solver.

My personal preference is clock speed over count but I've no solid evidence to back that up, just intuition.

Ideally, you'd define the type of problems that you want to run and the test on some sample hardware before really scaling out. Then, to really squeeze performance, you'd want to custom compile your main compiler, followed by your MPI implementation and possibly look at your network stack and kernel.

pbrady2013 is offline   Reply With Quote

Old   September 21, 2018, 03:59
Senior Member
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 11
RobertHB is on a distinguished road
Originally Posted by jxs832 View Post
I am not sure how the computational time would scale with number of cores and clock times.
Here is a scalability study of OpenFoam.
If you liked my answer to your question, please consider leaving a "Like" in return
RobertHB is offline   Reply With Quote


clock speed, mpirun, parallel, processors, ram

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
MPI error in parallel application usv001 OpenFOAM Programming & Development 2 September 14, 2017 11:30
Explicitly filtered LES saeedi Main CFD Forum 16 October 14, 2015 11:58
simpleFoam in parallel issue plucas OpenFOAM Running, Solving & CFD 3 July 17, 2013 11:30
problem in using parallel process in fluent 14 aydinkabir88 FLUENT 1 July 10, 2013 02:00
parallel process Jane FLUENT 1 May 11, 2004 13:23

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