We have been toying with the Python API for FDTD Solutions for some time now and while it works fine with a node-locked license (trial version) we are not sure on how to make it works with our floating license model.
If we try to open directly FDTD…
… We get the following traceback:
Traceback (most recent call last): File "<ipython-input-6-d4416a60cab5>", line 1, in <module> lumapi.open('fdtd') File "C:\Program Files\Lumerical\FDTD\api\python\lumapi.py", line 190, in open raise LumApiError("Failed to launch application")
Our guess is that it is related to the variable url in the function open (lines 161-162 in lumapy.pi). In the case if trying to open FDTD Solutions we get:
elif product == "fdtd": url = b"fdtd://localhost?server=true"
So maybe it consider a localhost license or something.
Is there a way to specify an ip address for the floating license server or call the FlexNet manager to access a license?
Windows 10 Pro 1803
FDTD Solutions 8.20.1731
Python 3.6.1 64bits
FlexNet License Manager 11.14.0