VlachosGroup / AIMSim

A Python toolbox to work with molecular similarity
https://vlachosgroup.github.io/AIMSim/README.html
MIT License
33 stars 4 forks source link

add support for automatic configuration of multiprocessing #137

Closed JacksonBurns closed 2 years ago

JacksonBurns commented 3 years ago

In the same way that the fingerprint can be determined automatically using molSim, add a feature which would allow the user to specify n_workers = auto. This would then evaluate the number of molecules and the number of possible processes to be made and then allocate multiple processes only if it would actually result in a performance boost (i.e. the overhead associated with multiprocessing would be minimized).