CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

STAR-CCM+ can only run with half of the machine's cores

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 17, 2020, 22:20
Default STAR-CCM+ can only run with half of the machine's cores
  #1
New Member
 
Join Date: Sep 2020
Posts: 18
Rep Power: 5
SiemenDiemon is on a distinguished road
Hey everyone,

My colleagues and I have noticed that we're only able to run STAR-CCM+ in parallel with a maximum of half the number of cores there are on whatever machine we're using. So, for example, a machine with eight cores could only run STAR-CCM+ in parallel with four cores. Is there some way to change this?

Cheers
SiemenDiemon is offline   Reply With Quote

Old   September 18, 2020, 05:38
Default
  #2
New Member
 
Ana
Join Date: Sep 2020
Posts: 10
Rep Power: 5
Ana Herrero is on a distinguished road
I have the same question! any help??
Ana Herrero is offline   Reply With Quote

Old   September 18, 2020, 18:05
Default
  #3
cwl
Senior Member
 
Chaotic Water
Join Date: Jul 2012
Location: Elgrin Fau
Posts: 435
Rep Power: 17
cwl is on a distinguished road
Quote:
Originally Posted by SiemenDiemon View Post
Hey everyone,

My colleagues and I have noticed that we're only able to run STAR-CCM+ in parallel with a maximum of half the number of cores there are on whatever machine we're using
Cheers
Are you referring to launching Star-CCM+ itself - or to the performance?
cwl is offline   Reply With Quote

Old   September 20, 2020, 08:55
Default
  #4
Senior Member
 
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 566
Rep Power: 20
bluebase will become famous soon enough
Quote:
Originally Posted by SiemenDiemon View Post
Hey everyone,

My colleagues and I have noticed that we're only able to run STAR-CCM+ in parallel with a maximum of half the number of cores there are on whatever machine we're using. So, for example, a machine with eight cores could only run STAR-CCM+ in parallel with four cores. Is there some way to change this?

Cheers

Are you sure that you have 8 physical cores? Or do you have 8 virtual cores and only 4 physical cores. You might need to check the specs for your cpu.
bluebase is offline   Reply With Quote

Old   September 20, 2020, 21:05
Default
  #5
New Member
 
Join Date: Sep 2020
Posts: 18
Rep Power: 5
SiemenDiemon is on a distinguished road
Quote:
Originally Posted by cwl View Post
Are you referring to launching Star-CCM+ itself - or to the performance?
STAR-CCM+ launches and runs but tells me that I've assigned to many cores and defaults to running with some set number of cores (not sure what this is, maybe one). For example if I'm running a virtual machine with 16 cores and I try to run STAR-CCM+ with 10 cores, it will tell me that I've assigned 2 too many cores.
SiemenDiemon is offline   Reply With Quote

Old   September 20, 2020, 21:07
Default
  #6
New Member
 
Join Date: Sep 2020
Posts: 18
Rep Power: 5
SiemenDiemon is on a distinguished road
Quote:
Originally Posted by bluebase View Post
Are you sure that you have 8 physical cores? Or do you have 8 virtual cores and only 4 physical cores. You might need to check the specs for your cpu.
I'm running on AWS so can vary the number of virtual cores. I have 4 physical cores on my computer, though I don't see how this should matter. No matter how many cores I assign to my virtual instance, STAR-CCM+ still won't run with any more than half that number of cores. Weird.
SiemenDiemon is offline   Reply With Quote

Old   September 22, 2020, 09:00
Default
  #7
Senior Member
 
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 566
Rep Power: 20
bluebase will become famous soon enough
Quote:
Originally Posted by SiemenDiemon View Post
STAR-CCM+ launches and runs but tells me that I've assigned to many cores and defaults to running with some set number of cores (not sure what this is, maybe one). For example if I'm running a virtual machine with 16 cores and I try to run STAR-CCM+ with 10 cores, it will tell me that I've assigned 2 too many cores.
Could you include the error messages?
bluebase is offline   Reply With Quote

Old   September 23, 2020, 23:32
Default
  #8
New Member
 
Join Date: Sep 2020
Posts: 18
Rep Power: 5
SiemenDiemon is on a distinguished road
Quote:
Originally Posted by bluebase View Post
Could you include the error messages?
The important part of the error is this:

Starting STAR-CCM+ parallel server
************************************************** **********************************
Warning: The host machine [...] has been over-subscribed.
The host has 8 too many processes allocated to it.

Over-subscribing a host can severely affect performance.
************************************************** **********************************

This is from trying to run STAR-CCM+ with 16 cores on a virtual machine with 16 cores.
SiemenDiemon is offline   Reply With Quote

Old   October 4, 2020, 09:13
Default
  #9
New Member
 
Sebastian Guaqueta
Join Date: Feb 2020
Location: Bogotá, Colombia
Posts: 13
Rep Power: 6
Sebastian3232 is on a distinguished road
Star CCM+ comercial licence mode is per cores, maybe licence you are using is only able to use 4 cores and you need to pay for more capacity, check licence setting.
Sebastian3232 is offline   Reply With Quote

Old   October 6, 2020, 05:11
Default
  #10
Senior Member
 
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 566
Rep Power: 20
bluebase will become famous soon enough
Quote:
Originally Posted by SiemenDiemon View Post
Starting STAR-CCM+ parallel server
************************************************** **********************************
Warning: The host machine [...] has been over-subscribed.
The host has 8 too many processes allocated to it.

Over-subscribing a host can severely affect performance.
************************************************** **********************************
Well, i can confirm this behaviour in StarCCM 2020.1 (and up), It does not want to oversubsribe a host. 2019.1 does not complain obviously.

However, this is just a warning in my case. StarCCM will open anyway with the given number of workers.
I believe this is just a reminder for users, that you should only use the actual number of pyhsical cores per host. Using additional Hyperthreading (virtual) cores and alikes will not increase the performance. In most cases it will actually increase the run time.

So if you are sure, that you have more physical cores than StarCCM recoqnizes, then just go on.

In any case, i suggest to run a brief benchmark on your virtualized system to make sure. Run a simulation with 4,8,16 cores (or something like that) and see for yourself which number of workers result in the fastest simulation for that respective system. I believe, there is also a command-line option for benchmarking the number or cores - have a look in the manual.

Best,
Sebastian
bluebase is offline   Reply With Quote

Old   October 10, 2020, 05:57
Default
  #11
New Member
 
Join Date: Sep 2020
Posts: 18
Rep Power: 5
SiemenDiemon is on a distinguished road
Quote:
Originally Posted by bluebase View Post
Well, i can confirm this behaviour in StarCCM 2020.1 (and up), It does not want to oversubsribe a host. 2019.1 does not complain obviously.

However, this is just a warning in my case. StarCCM will open anyway with the given number of workers.
I believe this is just a reminder for users, that you should only use the actual number of pyhsical cores per host. Using additional Hyperthreading (virtual) cores and alikes will not increase the performance. In most cases it will actually increase the run time.

So if you are sure, that you have more physical cores than StarCCM recoqnizes, then just go on.

In any case, i suggest to run a brief benchmark on your virtualized system to make sure. Run a simulation with 4,8,16 cores (or something like that) and see for yourself which number of workers result in the fastest simulation for that respective system. I believe, there is also a command-line option for benchmarking the number or cores - have a look in the manual.

Best,
Sebastian
Thanks Sebastian! It's good to know that this is in fact just a warning and not a limitation, that's where most of my confusion was.

On your point about using additional cores, are you saying that while it's possible that a simulation may run faster on a system with 16 physical cores than on a system with 8 physical cores, running the simulation with 8 physical cores and 8 virtual cores might actually be slower than just running with 8 physical cores?

Cheers
SiemenDiemon is offline   Reply With Quote

Old   October 10, 2020, 15:31
Default
  #12
Senior Member
 
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 566
Rep Power: 20
bluebase will become famous soon enough
Quote:
Originally Posted by SiemenDiemon View Post
running the simulation with 8 physical cores and 8 virtual cores might actually be slower than just running with 8 physical cores?

Yes, i am pretty sure that is true for the majority of use cases in cfd.


But again, to be certain an easy benchmark can be used.
bluebase is offline   Reply With Quote

Old   October 12, 2020, 20:30
Default
  #13
Member
 
Guillaume Jolly
Join Date: Dec 2015
Posts: 64
Rep Power: 10
trampoCFD is on a distinguished road
Send a message via Skype™ to trampoCFD
Hi
I thought I'd clarify a few points:
1/ You cannot access physical and virtual cores at the same time.
Virtual cores is basicaly giving access to only a % of a physical core because of a VM or hyperthreading.
Through a VM, you will only ever have access to a virtual core, that's the whole idea of a VM.
2/Most cloud provider runs a VM with hyperthreading ON. That means that you get < 45% of the performance of a physical core per virtual core.
3/You might find that you get better performance running on 16 virtual cores, depending on your model.
4/STAR-CCM+ detects physical cores in its warning message.
5/trampoCFD.com runs on physical cores, we don't run through a VM. If you'd like to run your simulations fast, we can give you access to more than 150,000 cores that scale down to 10,000 cells per core.
That's sufficient for most users :-)
Please email me gui@trampocfd.com if you'd like to learn more.

Best regards,
gui@trampoCFD
trampoCFD is offline   Reply With Quote

Reply


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
how to open star ccm 6.04 version file in older versions pritam.edke Siemens 2 June 25, 2012 03:14
Fluent Vs Star CCM firda Main CFD Forum 3 February 26, 2011 02:51
star cd cannot run josh Siemens 6 October 16, 2006 14:14
Can fc5 run Star? lizhihua Siemens 8 May 24, 2006 09:41
How to run star design on unix AB Siemens 1 October 1, 2004 13:29


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