Dear all,
When I checked if I installed openblas well, I used the following script
from
https://stackoverflow.com/questions/11443302/compiling-numpy-with-openblas-integration
script:
#!/usr/bin/env python
import numpy
from numpy.distutils.system_info import get_info
import sys
import timeit
print("version: %s" % numpy.__version__)
print("maxint: %i\n" % sys.maxsize)
info = get_info('blas_opt')
print('BLAS info:')
for kk, vv in info.items():
print(' * ' + kk + ' ' + str(vv))
setup = "import numpy; x = numpy.random.random((1000, 1000))"
count = 10
t = timeit.Timer("numpy.dot(x, x.T)", setup=setup)
print("\ndot: %f sec" % (t.timeit(count) / count))
And when I typed the following command,
OMP_NUM_THREADS=1 python build/test_numpy.py
The output is:
BLAS info:
* libraries ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'iomp5',
'pthread']
* library_dirs ['/home/dellblack/anaconda3/lib']
* define_macros [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
* include_dirs ['/home/dellblack/anaconda3/include']
dot: 0.040585 sec
It is not same as what the author did. So I am not sure if I installed openblas
well. If not, what should I do then?
And the reason why I chose to use Anaconda is because Python 3.6 is always
installed in usr/local/lib when I use pip or apt-get.,
In that folder, Python 3.6 cannot be set to be default python version since
it's not in usr/lib.
Thank you all.
--
You received this message because you are subscribed to the Google Groups "PyFR
Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send an email to [email protected].
Visit this group at https://groups.google.com/group/pyfrmailinglist.
For more options, visit https://groups.google.com/d/optout.