Hi
I’m currently attempting to run some a series of Physical Optics Propagations in parallel, using pythonnet. They are pretty simple standalone codes which load in a lens file, carry out the propagation and output the coupling. I’ve been using multiprocessing/Pool and have an unusual issue when using too many cpus.
The computer I’m using has 16 cpus, but if I were to try and run more than 7 in parallel using Pool, I get a LicenseException (License is not valid for ZOSAPI use), though only for the 8th cpu.
I just wondered if you had any insight as to what could be causing this/different recommendations for running the API in parallel in Python.
Thanks!
Best answer by MichaelH
View original