Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OMP: Error #8

Open
lior007 opened this issue Nov 6, 2024 · 1 comment
Open

OMP: Error #8

lior007 opened this issue Nov 6, 2024 · 1 comment

Comments

@lior007
Copy link

lior007 commented Nov 6, 2024

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/.

well? what to do?
I looked in the device manager to see if I have OpenMP installed.
I didn't find it there

@songkey
Copy link
Contributor

songkey commented Nov 7, 2024

It appears that this issue may be related to the Conda environment. I’m unable to reproduce it on my end, so pinpointing the exact cause is hard. However, here are two suggestions to try:

  1. Rebuild a new Conda environment with python==3.10.11 and test it.
  2. Refer to this solution: OMP Error 15: Initializing libiomp5md.dll but found libiomp5 already initialized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants