Skip to main content
Solved

How to set max cores by default for ray trace in NSC


Luca.cellerino

Hi dears,
I would like to know how to set the maximum number of cores for the ray trace in NSC. My workstation has 32 cores, but to be able to work with other applications during the calculation I considered it sufficient to launch the ray trace using a maximum of 25 cores, unfortunately at the first launch of the calculation the SW sets the maximum number of cores available and if I forget to change this value I have to stop the simulation and change it.

Thanks a lot to everyone.

Best answer by Kevin Scales

Hi Luca,

As far as I can determine, there’s no way to set this. The default is to auto-detect the number available, or go to the System Explorer and turn off the multi-threading entirely, which is not recommended. I think you’ll have to make a habit of checking and changing, because I don’t see a way around this.

View original
Did this topic help you find an answer to your question?

3 replies

Kevin Scales
En-Lightened
Forum|alt.badge.img+1
  • En-Lightened
  • 185 replies
  • Answer
  • August 26, 2022

Hi Luca,

As far as I can determine, there’s no way to set this. The default is to auto-detect the number available, or go to the System Explorer and turn off the multi-threading entirely, which is not recommended. I think you’ll have to make a habit of checking and changing, because I don’t see a way around this.


Luca.cellerino

Hi,
I installed the Ansys version of OpticStudio and I noticed that, even if I set the maximum number of cores to use in the first simulation, every time I launch a new simulation, the ray trace startup mask shows me again the maximum cores of the system. Is this a bug?

 

Thanks


Amy Entin
  • Infrared
  • 7 replies
  • July 17, 2024

I find I’m having the opposite problem… despite having plenty of cores available, it only seems to use 1-2, so the ray tracing has become unbearably slow. I am mostly working from the API, which as far as I know doesn’t let you change the number of cores used. Did you end up finding an overarching setting that controls this?


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings