Re: [Rdkit-discuss] multiThreads OptimizeMoleculeConf with constraint?

2019-03-29 Thread Paolo Tosco
Hi Rafal, There is no C++-level function to do that, but you can use Python multiprocessing to achieve the same result with only a small efficiency loss, due to the larger overhead of starting multiple processes as compared to multiple threads: from multiprocessing import Pool from

[Rdkit-discuss] multiThreads OptimizeMoleculeConf with constraint?

2019-03-28 Thread Rafal Roszak
Hello all, Is it possible to optimize multiple conformation with constraint using more that one thread (core)? I have following code: Chem.rdDistGeom.EmbedMultipleConfs(mol, numConfs=100, numThreads=10) ffps = ChemicalForceFields.MMFFGetMoleculeProperties(mol) ff =