This page shows the process of installing the Ansys license manager and Lumerical products suite on a supported Linux platform and running the simulation job from the terminal without a graphical interface (GUI).
Important
- On non-graphical Linux systems, you can only run the simulation file.
- Lumerical script (.lsf) and API (.py) files cannot run without a graphical interface (GUI).
- Creating the simulation, running scripts, or viewing results will be done on a different machine with GUI access. e.g. on a local Windows Desktop
Requisites
- Root or sudo access
- Lumerical 2021 R1 and newer
- Ansys enterprise license manager 2021 R1 and newer if you are running your licenses on the same machine
Ansys license manager installation
See this guide for installing the enterprise edition of the Ansys license manager on Linux without a graphical interface (GUI).
Lumerical installation
- Install Lumerical using the default process with root access. For custom installations on Linux, see this article.
- Configure Lumerical to obtain the license from the 'localhost' if you have the Ansys license manager running on the same machine. Otherwise, set this to obtain the license from the Ansys license manager on your license server.
Running Lumerical simulations without the GUI
- Open Terminal
- Change the directory to the location of your simulation files.
- Run the simulation with MPI and the corresponding Lumerical engine executable.
Examples
- Running simulations with Open MPI or Intel MPI.
FDTD
/openmpi_install_path/bin/mpiexec -n 16 /opt/lumerical/[[verpath]]/bin/fdtd-engine-ompi-lcl -t 1 simulationfile.fsp
/intelmpi_install_path/bin/mpirun -n 32 /opt/lumerical/[[verpath]]/bin/fdtd-engine-impi-lcl -t 1 simulationfile.fsp
EME
/mpi_install_path/bin/mpirun -n 1 /opt/lumerical/[[verpath]]/bin/eme-engine -t 16 simulationfile.lms
CHARGE
/mpi_install_path/bin/mpirun -n 1 /opt/lumerical/[[verpath]]/bin/device-engine -t 32 simulationfile.ldev