We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.

Ansys Learning Forum Forums Discuss Simulation Photonics Error when running a topology optimization on a cluster (Linux) Reply To: Error when running a topology optimization on a cluster (Linux)

samupekkaojanen
Subscriber

We installed Lumerical v241 on the cluster. I am actually now running into the following error when running lumtest.py on the cluster with the new version:

Traceback (most recent call last):
  File "/home/ojanen4/lumtest.py", line 12, in
    fdtd = lumapi.FDTD()
  File "/home/opt/Lumerical/v241/api/python/lumapi.py", line 1541, in __init__
    super(FDTD, self).__init__('fdtd', filename, key, hide, serverArgs, remoteArgs, **kwargs)
  File "/home/opt/Lumerical/v241/api/python/lumapi.py", line 1196, in __init__
    handle = self.__open__(iapi, product, key, hide, serverArgs, remoteArgs)
  File "/home/opt/Lumerical/v241/api/python/lumapi.py", line 1415, in __open__
    raise LumApiError(error)
lumapi.LumApiError: 'Exception [::appOpened]: Session not found'

This occurs at line "fdtd = lumapi.FDTD()". This worked fine in the older version. What could be causing this?