Ansys Learning Forum › Forums › Discuss Simulation › Photonics › Lumerical Python API with newest Linux version 8.6 › Reply To: Lumerical Python API with newest Linux version 8.6
@Minkyu,
Does the new operating system have all the required libraries to run Ansys Lumerical?
  > Installing on a shared filesystem on Linux – Ansys Optics
Did you update your environment to the new install path?
  > How to run Lumerical API (Python) scripts in Linux – Ansys OpticsÂ
How are you running the script? Directly from the Terminal/CLI or using a job scheduler? Or from the CAD/GUI >> Script file editor window with Python Integration = "active" as shown in the image?Â
Running the 1 liner script, "lumapi.FDTD(filename="test.fsp")" will simply open and close the FDTD CAD window.Â
Try the script below on your new system and see if it runs and a new simulation, "testapi.fsp" is created.Â
import lumapi
fdtd = lumapi.FDTD()
fdtd.addfdtd()
fdtd.addring()
fdtd.addmesh()
fdtd.save("testapi.fsp")
Â