The guidelines shows the process on changing the multithreading setting in the Multiphysics CAD/GUI (Finite Element IDE) for the CHARGE, HEAT, DGTD, FEEM and MQW solvers.
Important
- The solvers; CHARGE, HEAT, DGTD, FEEM and MQW, do not behave like FDTD.
- It depends on the system to distribute the processing to your computer's resources.
- Using multi core machines may not provide the same performance as FDTD.
- Running these simulation tools in a cluster works best if you are running parametric sweeps.
- These solvers only use 1 MPI process and will try to utilize all available threads in your machine.
- The multi threading options can be changed from within the solver's properties.
Setting the thread count
- To change the thread count, open your simulation select and edit the simulation object
-
Go to the "Advanced" tab and on the " multithreading" drop down option, choose " set thread count" and specify the number of threads to use when running the simulation.
-
By default the Multiphysics (FE IDE) will try to use all available threads on your local computer ("let solver choose").
-
Click OK to save and apply your changes.
- Run your simulation using the new multithreading settings.
Setting multithreading from the command line
If you want to run the simulation directly from the command line without the CAD/GUI, you can use the threading argument "-t #".
Windows: CHARGE simulation using 8 threads
cd [location of simulation file]
"C:\Program Files\Lumerical\[[verpath]]\bin\device-engine.exe" -t 8 "simulationfile.ldev"
Linux: HEAT simulation using 4 threads
cd [location of simulation file]
/opt/lumerical/[[verpath]]/bin/thermal-engine -t 4 "simulationfile.ldev"