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

RuntimeError: Can't find MKL libraries #3

Open
WuShichao opened this issue Jun 4, 2019 · 1 comment
Open

RuntimeError: Can't find MKL libraries #3

WuShichao opened this issue Jun 4, 2019 · 1 comment

Comments

@WuShichao
Copy link

Hello, I use the docker version, but get this error, no MKL.

(pycbc-software) [pycbc@24f913201669 GW151226]$ ls
extract_independent_samples.sh gw151226_inference.ini run_pycbc_inference_gw151226.sh
(pycbc-software) [pycbc@24f913201669 GW151226]$ pwd
/home/pycbc/pycbc-inference-paper/run_files/GW151226
(pycbc-software) [pycbc@24f913201669 GW151226]$ bash run_pycbc_inference_gw151226.sh
1135136340
1135136356
1135136238
1135137262
/home/pycbc/pycbc-software/lib/python2.7/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
2019-06-03 16:42:42,073 Using seed 12
Traceback (most recent call last):
File "/home/pycbc/pycbc-software/bin/pycbc_inference", line 4, in
import('pkg_resources').run_script('PyCBC==1.12.3', 'pycbc_inference')
File "/home/pycbc/pycbc-software/lib/python2.7/site-packages/pkg_resources/init.py", line 654, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/pycbc/pycbc-software/lib/python2.7/site-packages/pkg_resources/init.py", line 1434, in run_script
exec(code, namespace, namespace)
File "/home/pycbc/pycbc-software/lib/python2.7/site-packages/PyCBC-1.12.3-py2.7-linux-x86_64.egg/EGG-INFO/scripts/pycbc_inference", line 195, in
ctx = scheme.from_cli(opts)
File "/home/pycbc/pycbc-software/lib/python2.7/site-packages/PyCBC-1.12.3-py2.7-linux-x86_64.egg/pycbc/scheme.py", line 262, in from_cli
ctx = MKLScheme()
File "/home/pycbc/pycbc-software/lib/python2.7/site-packages/PyCBC-1.12.3-py2.7-linux-x86_64.egg/pycbc/scheme.py", line 149, in init
raise RuntimeError("Can't find MKL libraries")
RuntimeError: Can't find MKL libraries
(pycbc-software) [pycbc@24f913201669 GW151226]$

@soumide1102
Copy link
Collaborator

Hi,
This says you don't have MKL libraries set up in your environment. Changing PROCESSING_SCHEME=mkl to PROCESSING_SCHEME=cpu in the run_pycbc_inference_gw151226.sh script should be the fix.

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