Ansys Learning Forum › Forums › Discuss Simulation › Photonics › 2D inverse design grating coupler › Reply To: 2D inverse design grating coupler
December 10, 2024 at 11:20 pm
Lito
Ansys Employee
@rahul.sanghvi,
To run Python API will require a GUI connection and a GUI license. >>Python API overview – Ansys Optics
If you do not have a GUI connection (headless Linux system);Â
- Consult with your IT/cluster admins to:Â
- Install or configure the MPI - used to run FDTD simulations (.fsp) with Lumerical 2024 releases >>Running simulations with MPI on Linux – Ansys OpticsÂ
- Configure your environment for Lumerical API >>How to run Lumerical API scripts from terminal in Linux – Ansys OpticsÂ
- And run with virtual display >>Running CAD jobs on headless Linux systems – Ansys Optics<<
- Where on the newer versions you simply set QT_QPA_PLATFORM=OFFSCREEN and run the API (.py) script.Â
Hope this helps.Â
Lito