Troubleshooting FAVE extract - JoFrhwld/FAVE GitHub Wiki
Windows
libiomp5md.dll or mk2iomp5md.dll error
If you're using the Enthought Python distribution, it already comes with numpy. You may get an error like this when one of the FAVE-extract scripts try to import numpy:
OMP: Error #15: Initializing mk2iomp5md.dll, but found libiomp5md.dll already initialized.
This error is explained in more detail here. (You may also get an error like this even if you're not using Enthought.) To fix this issue:
- Download the
rename_mkl.py
script provided in the link. - Move it to your
Lib\site-packages
directory in your Python installation folder. For example, this might beC:\Python27\Lib\site-packages
if you're using Python 2.7. - Open a command prompt and navigate to the directory where you moved
rename_mkl.py
to. - Run the script on your
numpy
directory with the-r
(recursive) flag, with this command:
python rename_mkl.py numpy/* -r