sqlite3.ProgrammingError
sometimes occurs with parallelization
#108
Labels
sqlite3.ProgrammingError
sometimes occurs with parallelization
#108
When using multiple cores with
joblib
, sometimes the following error is raised:The code continues to run after the error is raised and it does not affect the results. However it's annoying since it doesn't look good (and I'm not sure but maybe is capable of causing something critical). It seems random as to whether this error appears or not.
It seems the
sqlalchemy
library is called indirectly through themendeleev
library imported intoatoMEC
. This only performs some initialization of theAtom
object andjoblib
is supposed to work in a self-contained way, i.e. multiple threads should only be used during the diagonalization and then the code should return to single threading. So I'm not sure whyjoblib
is interfering withsqalchemy
. Either way it would be good to prevent this error from happening, or at the very least tell atoMEC just to ignore this error (I'm not sure how to do this since I don't know when exactly the error is induced).@DanielKotik any ideas?
The text was updated successfully, but these errors were encountered: