Daπid
2015-10-29 17:25:01 UTC
I have installed all the OpenBLAS versions availables at the Fedora repos,
that include openMP and pthreads versions. But Numpy installed by pip on a
virtualenv seems to only link to the serial version. Is there a way to
convince it to use the parallel one?
Here are my libraries:
(py27)[***@SQUIDS lib64]$ ls libopenblas*
libopenblas64.a libopenblaso64.so.0 libopenblasp64.so.0
libopenblas64-r0.2.14.so libopenblaso.a libopenblasp.a
libopenblas64.so libopenblaso-r0.2.14.so
libopenblasp-r0.2.14.so
libopenblas64.so.0 libopenblaso.so libopenblasp.so
libopenblas.a libopenblaso.so.0 libopenblasp.so.0
libopenblaso64.a libopenblasp64.a libopenblas-r0.2.14.so
libopenblaso64-r0.2.14.so libopenblasp64-r0.2.14.so libopenblas.so
libopenblaso64.so libopenblasp64.so libopenblas.so.0
And importing numpy shows that the serial is the only one open:
(py27)[***@SQUIDS lib64]$ lsof libopenbl*
lsof: WARNING: can't stat() tracefs file system /sys/kernel/debug/tracing
Output information may be incomplete.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
ipython 2355 david mem REG 8,2 32088056 2372346
libopenblas-r0.2.14.so
This is the output of np.show_config():
lapack_opt_info:
libraries = ['openblas']
library_dirs = ['/usr/lib64']
define_macros = [('HAVE_CBLAS', None)]
language = c
blas_opt_info:
libraries = ['openblas']
library_dirs = ['/usr/lib64']
define_macros = [('HAVE_CBLAS', None)]
language = c
openblas_info:
libraries = ['openblas']
library_dirs = ['/usr/lib64']
define_macros = [('HAVE_CBLAS', None)]
language = c
openblas_lapack_info:
libraries = ['openblas']
library_dirs = ['/usr/lib64']
define_macros = [('HAVE_CBLAS', None)]
language = c
blas_mkl_info:
NOT AVAILABLE
Thanks,
/David.
that include openMP and pthreads versions. But Numpy installed by pip on a
virtualenv seems to only link to the serial version. Is there a way to
convince it to use the parallel one?
Here are my libraries:
(py27)[***@SQUIDS lib64]$ ls libopenblas*
libopenblas64.a libopenblaso64.so.0 libopenblasp64.so.0
libopenblas64-r0.2.14.so libopenblaso.a libopenblasp.a
libopenblas64.so libopenblaso-r0.2.14.so
libopenblasp-r0.2.14.so
libopenblas64.so.0 libopenblaso.so libopenblasp.so
libopenblas.a libopenblaso.so.0 libopenblasp.so.0
libopenblaso64.a libopenblasp64.a libopenblas-r0.2.14.so
libopenblaso64-r0.2.14.so libopenblasp64-r0.2.14.so libopenblas.so
libopenblaso64.so libopenblasp64.so libopenblas.so.0
And importing numpy shows that the serial is the only one open:
(py27)[***@SQUIDS lib64]$ lsof libopenbl*
lsof: WARNING: can't stat() tracefs file system /sys/kernel/debug/tracing
Output information may be incomplete.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
ipython 2355 david mem REG 8,2 32088056 2372346
libopenblas-r0.2.14.so
This is the output of np.show_config():
lapack_opt_info:
libraries = ['openblas']
library_dirs = ['/usr/lib64']
define_macros = [('HAVE_CBLAS', None)]
language = c
blas_opt_info:
libraries = ['openblas']
library_dirs = ['/usr/lib64']
define_macros = [('HAVE_CBLAS', None)]
language = c
openblas_info:
libraries = ['openblas']
library_dirs = ['/usr/lib64']
define_macros = [('HAVE_CBLAS', None)]
language = c
openblas_lapack_info:
libraries = ['openblas']
library_dirs = ['/usr/lib64']
define_macros = [('HAVE_CBLAS', None)]
language = c
blas_mkl_info:
NOT AVAILABLE
Thanks,
/David.