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

The number of processors shall I use

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

Like Tree1Likes
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Display Modes
Old   October 9, 2012, 07:33
Question The number of processors shall I use
  #1
Senior Member
 
Anna Tian's Avatar
 
Meimei Wang
Join Date: Jul 2012
Posts: 494
Rep Power: 7
Anna Tian is on a distinguished road
Hi,

I run my .def by parallel processors of the company. May I ask how to decide the number of processors shall I use to speed up my simulation?

Thanks!
__________________
Best regards,
Meimei
Anna Tian is offline   Reply With Quote

Old   October 9, 2012, 09:49
Default
  #2
Senior Member
 
Join Date: Jul 2011
Location: Berlin, Germany
Posts: 120
Rep Power: 6
monkey1 is on a distinguished road
Hi Anna,

when using CFX the recommendations I got from the CFX support for the number of CPU's are:
1 CPU for approximately 250.000 Cells. So if your mesh consists of e.g. 1.000.000 Cells then you would use (at least) 4 CPU's.
This is what Ansys told me about optimum repartition and scaling. Although I usually use 8 CPU's for 1 Mio. Cells.
monkey1 is offline   Reply With Quote

Old   October 9, 2012, 14:48
Default
  #3
Senior Member
 
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 486
Rep Power: 10
evcelica is on a distinguished road
It also depends on your HPC licences, If you have HPC packs you are going to use the licence whether you run 2, 4 or 8 processors, so you might as well use 8. Two HPC pack licences would do 32 processors, so choosing 9 would be a pretty bad idea. Its different for standard HPC licences though, they are per core.

It also depends on your CPU and memory channels, 4 cores per processor seems to be where my computer tops out (Sandy Bridge E). Using more yields no gain at all and would be a waste of expensive HPC licences.
evcelica is offline   Reply With Quote

Old   August 1, 2013, 11:47
Question
  #4
Senior Member
 
Anna Tian's Avatar
 
Meimei Wang
Join Date: Jul 2012
Posts: 494
Rep Power: 7
Anna Tian is on a distinguished road
Quote:
Originally Posted by monkey1 View Post
Hi Anna,

when using CFX the recommendations I got from the CFX support for the number of CPU's are:
1 CPU for approximately 250.000 Cells. So if your mesh consists of e.g. 1.000.000 Cells then you would use (at least) 4 CPU's.
This is what Ansys told me about optimum repartition and scaling. Although I usually use 8 CPU's for 1 Mio. Cells.
Where did you find these recommendations? I didn't find them in the CFX tutorial. In order to acceleration the simulation ,shouldn't we use more processors than you proposed?
__________________
Best regards,
Meimei
Anna Tian is offline   Reply With Quote

Old   August 1, 2013, 18:08
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,931
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
Usually the amount of processors you use is limited by the number of licenses you have, and how you are sharing them with other people using the system at the time. If you paid for the license then you might as well use them. It is pretty rare that adding a parallel license slows the simulation down (but is possible in extreme cases).

So I would not worry about the guidelines, and just use as many processors as you can practically use.
D.B likes this.
ghorrocks is online now   Reply With Quote

Old   August 3, 2013, 09:25
Question
  #6
Senior Member
 
Anna Tian's Avatar
 
Meimei Wang
Join Date: Jul 2012
Posts: 494
Rep Power: 7
Anna Tian is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Usually the amount of processors you use is limited by the number of licenses you have, and how you are sharing them with other people using the system at the time. If you paid for the license then you might as well use them. It is pretty rare that adding a parallel license slows the simulation down (but is possible in extreme cases).

So I would not worry about the guidelines, and just use as many processors as you can practically use.
I'm using the license of university. So the license number is not a contraint. But i have limited number of processors. I have quite a lot of jobs to run. So I need to set a reasonable number of processor to each job to not only accelerate the single simulation but also run as much job at the same time as possible. So I need a good way to relate the number of processors to be used to the grids number (just don't waste any processors).
__________________
Best regards,
Meimei
Anna Tian is offline   Reply With Quote

Old   August 4, 2013, 07:07
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,931
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
If you have 5 big simulations to run and you have 5 machines to run it on, you will find running 5 separate serial simulations is faster and more reliable than running the simulations 5-way parallel one after the other. Of course this assumes the machines are big enough to run the simulation by themselves and lots of other issues.

But the point of this comment is that running in parallel results in speed and reliability losses. It produces results for a single solution more quickly, but if you have lots of simulations to run it might be faster and more reliable to run serial (or multi-processor with a low processor count).
ghorrocks is online now   Reply With Quote

Old   August 5, 2013, 02:32
Default
  #8
Senior Member
 
Join Date: Jul 2011
Location: Berlin, Germany
Posts: 120
Rep Power: 6
monkey1 is on a distinguished road
AnnaTian:
"Where did you find these recommendations? I didn't find them in the CFX tutorial. In order to acceleration the simulation ,shouldn't we use more processors than you proposed? "

These Informations were shared during ANSYS Training courses. In the Documentation you will not fid them, although there are some ppt Sheets available somewhere showing the scaling abilities of CFX.
monkey1 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
Number of cells in mesh don't match with size of cellLevel colinB OpenFOAM Native Meshers: snappyHexMesh and Others 11 January 13, 2015 12:47
How to let the mesh motion solver just solve a small region near a moving boundary? zhajingjing OpenFOAM 8 April 7, 2014 11:10
Layers:problem with curvature giulio.topazio OpenFOAM Native Meshers: snappyHexMesh and Others 10 August 22, 2012 09:03
snappyHexMesh aborting Tobi OpenFOAM Native Meshers: snappyHexMesh and Others 0 November 10, 2010 04:23
Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15


All times are GMT -4. The time now is 19:44.