You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an issue where Python crashes when using QuTiP-QOC. We noticed the crash today on one Windows laptop and were able to reproduce on another Windows laptop. I set up a conda environment as follows (using Miniforge due to RIKEN licensing stuff, but I think that shouldn't matter)
The notebook kernel crashes with the error message
OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.
OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://www.intel.com/software/products/support/.
The fix in the top answer of this stackexchange post solves the problem, but there should not be a crash in the first place...
Note: everything seems to work if I try the same on Linux (WSL). I'll try to debug if I can find time, but perhaps this error is familiar to someone?
The text was updated successfully, but these errors were encountered:
There is an issue where Python crashes when using QuTiP-QOC. We noticed the crash today on one Windows laptop and were able to reproduce on another Windows laptop. I set up a conda environment as follows (using Miniforge due to RIKEN licensing stuff, but I think that shouldn't matter)
Then I run the following code (simplified from the tutorial notebook in qutip/qutip-tutorials#112)
The notebook kernel crashes with the error message
The fix in the top answer of this stackexchange post solves the problem, but there should not be a crash in the first place...
Note: everything seems to work if I try the same on Linux (WSL). I'll try to debug if I can find time, but perhaps this error is familiar to someone?
The text was updated successfully, but these errors were encountered: