If you type conda search pymc3 --info
, the following information appears:
pymc3 3.11.2 pyhd8ed1ab_0
-------------------------
file name : pymc3-3.11.2-pyhd8ed1ab_0.tar.bz2
name : pymc3
version : 3.11.2
build : pyhd8ed1ab_0
build number: 0
size : 616 KB
license : Apache-2.0
subdir : noarch
url : https://conda.anaconda.org/conda-forge/noarch/pymc3-3.11.2-pyhd8ed1ab_0.tar.bz2
md5 : 0c8fda4ca867ec8c8dc5ed63ee8efbeb
timestamp : 2021-03-15 13:09:55 UTC
dependencies:
- arviz >=0.11.0
- cachetools >=4.2.1
- dill
- fastprogress >=0.2.0
- mkl-service
- numpy >=1.15.0
- pandas >=0.24.0
- patsy >=0.5.1
- python >=3.7
- scipy >=1.2.0
- semver
- theano-pymc 1.1.2
- typing-extensions >=3.7.4
I assume that you have the most recent version for every package. Next, check the output for:
import numpy as np
np.show_config()
For me, the output is:
blas_info:
libraries = ['cblas', 'blas', 'cblas', 'blas']
library_dirs = ['/home/rosgori/anaconda3/lib']
include_dirs = ['/home/rosgori/anaconda3/include']
language = c
define_macros = [('HAVE_CBLAS', None)]
blas_opt_info:
define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)]
libraries = ['cblas', 'blas', 'cblas', 'blas']
library_dirs = ['/home/rosgori/anaconda3/lib']
include_dirs = ['/home/rosgori/anaconda3/include']
language = c
lapack_info:
libraries = ['lapack', 'blas', 'lapack', 'blas']
library_dirs = ['/home/rosgori/anaconda3/lib']
language = f77
lapack_opt_info:
libraries = ['lapack', 'blas', 'lapack', 'blas', 'cblas', 'blas', 'cblas', 'blas']
library_dirs = ['/home/rosgori/anaconda3/lib']
language = c
define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)]
include_dirs = ['/home/rosgori/anaconda3/include']
Supported SIMD extensions in this NumPy install:
baseline = SSE,SSE2,SSE3
found = SSSE3,SSE41,POPCNT,SSE42,AVX,F16C,FMA3,AVX2
not found = AVX512F,AVX512CD,AVX512_KNL,AVX512_KNM,AVX512_SKX,AVX512_CLX,AVX512_CNL,AVX512_ICL
From here, you have to install the library you want. I have in my environment
$ conda list mkl
# packages in environment at /home/rosgori/anaconda3:
#
# Name Version Build Channel
mkl 2020.4 h726a3e6_304 conda-forge
mkl-service 2.3.0 py38h1e0a361_2 conda-forge
$ conda list blas
# packages in environment at /home/rosgori/anaconda3:
#
# Name Version Build Channel
blas 2.110 openblas conda-forge
blas-devel 3.9.0 10_openblas conda-forge
libblas 3.9.0 10_openblas conda-forge
libcblas 3.9.0 10_openblas conda-forge
libopenblas 0.3.17 pthreads_h8fe5266_1 conda-forge
openblas 0.3.17 pthreads_h4748800_1 conda-forge
It really helps to be in the conda-forge channel.