Open jmborr opened 5 years ago
Try putting pool.restart(force=True)
before using the pool or after defining the pool variable. This should allow you to close the pool but reset the recycled pathos pool object between uses.
yes, I noticed you had that line in incoheren2.py :smile:
after calculating the coherent scattering with, say, 4 cores. I try the calculation of another coherent scattering with 8 cores. too. Then I get the error that the pool is not open.