Overview
When launching several instances of Lumerical CAD by the same user on the same machine in Linux this might generate the "licensing error: -4 License number of users already reached".
- This issue happens when you are running several Lumerical CAD instances on Linux and each CAD instance is taking 1 GUI license. e.g. 4 terminal session running 1 Lumerical CAD each and it has checkout a total of 4 Lumerical GUI licenses.
- In Linux, each Terminal window is a different 'display session'. When running/opening the Lumerical CAD/IDE on different terminal sessions, display session will check out 1 GUI license.
- The process shown on this page allows running multiple Lumerical GUI instances on a Linux machine utilizing only 1 GUI license.
Running Lumerical CAD/GUI in Linux
- Open Terminal
- Run the Lumerical CAD with the suffix “&”
/opt/lumerical/[[verpath]]/bin/fdtd-solutions & /opt/lumerical/[[verpath]]/bin/mode-solutions &
/opt/lumerical/[[verpath]]/bin/interconnect &
/opt/lumerical/[[verpath]]/bin/device &
- To open another Lumerical CAD instance, run another instance of the solver's CAD on the same terminal window with “&”.
- Otherwise, open the CAD/GUI from the Ansys Optics Launcher using the "New Project" button.
/opt/lumerical/v241/bin/launcher &
- From the Launcher, select "Solvers" on the left and click on "New Project" to the right of the 'Solver's Name' in the list. See image for details.