Skip to content

Troubleshooting FAVE extract

scjs edited this page Mar 25, 2015 · 3 revisions

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:

  1. Download the rename_mkl.py script provided in the link.
  2. Move it to your Lib\site-packages directory in your Python installation folder. For example, this might be C:\Python27\Lib\site-packages if you're using Python 2.7.
  3. Open a command prompt and navigate to the directory where you moved rename_mkl.py to.
  4. Run the script on your numpy directory with the -r (recursive) flag, with this command:

python rename_mkl.py numpy/* -r

Clone this wiki locally