Linking against MKL
Posted: 17 May 2022, 21:04
Hello there,
I am trying to link my conda-forge installation against MKL, but with no success. I have installed my environment directly from the environment.yml file at the docs, with mkl and mkl-devel 2022.0.1. However, when running the command
i am unable to pin either numpy or tenpy to MKL. It just says that The tenpy config looks as follows:
I have also tried to set up an environment with intel Python and in that case I am able to link numpy to MKL. I also believe that tenpy pins to MKL, however there are compilation errors and version 7.2 is installed instead of 9.0.
Do you know of another way to try to pin them?
Thank you in advance.
I am trying to link my conda-forge installation against MKL, but with no success. I have installed my environment directly from the environment.yml file at the docs, with mkl and mkl-devel 2022.0.1. However, when running the command
Code: Select all
conda install "libblas=*=*mkl"
Code: Select all
# All requested packages already installed.
Code: Select all
>>> np.show_config()
blas_info:
libraries = ['cblas', 'blas', 'cblas', 'blas']
library_dirs = ['/home/juanjo/anaconda3/envs/tenpy-mkl/lib']
include_dirs = ['/home/juanjo/anaconda3/envs/tenpy-mkl/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/juanjo/anaconda3/envs/tenpy-mkl/lib']
include_dirs = ['/home/juanjo/anaconda3/envs/tenpy-mkl/include']
language = c
lapack_info:
libraries = ['lapack', 'blas', 'lapack', 'blas']
library_dirs = ['/home/juanjo/anaconda3/envs/tenpy-mkl/lib']
language = f77
lapack_opt_info:
libraries = ['lapack', 'blas', 'lapack', 'blas', 'cblas', 'blas', 'cblas', 'blas']
library_dirs = ['/home/juanjo/anaconda3/envs/tenpy-mkl/lib']
language = c
define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)]
include_dirs = ['/home/juanjo/anaconda3/envs/tenpy-mkl/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
Do you know of another way to try to pin them?
Thank you in advance.