Linking MKL issue in window 11

How do I use this algorithm? What does that parameter do?
Post Reply
Posts: 1
Joined: 25 Aug 2022, 21:35

Linking MKL issue in window 11

Post by mzubair199 »


I have installed TeNPy successfully on my laptop via conda install --channel=conda-forge physics-tenpy . But tenpy is not compiling with mkl (see the attachment). I also have tried it by using the instructions of the section Quick-setup of a development environment with conda but the similar message like not compiled is returned when I run tenpy.show_config(). Please help me out to resolve it.

Many thanks!
Screenshot 2022-08-26 141728.jpg
Screenshot 2022-08-26 141728.jpg (102.21 KiB) Viewed 229 times
User avatar
Site Admin
Posts: 357
Joined: 21 Jul 2018, 12:52
Location: TU Munich

Re: Linking MKL issue in window 11

Post by Johannes »

Looks like it's installed correctly, even if HAVE_MKL was not set on compile time. It's able to load the compiled parts, so no need to worry, all good!

If TeNPy is compiled without HAVE_MKL, it falls back to the BLAS functioncs of numpy and scipy, and as fas as I know, numpy+scipy on Windows actually always use MKL when installed with conda. So actually, I'm pretty sure you're using MKL under the hood, even if not compiled with HAVE_MKL.
Post Reply