Hi all, 

After looking through old threads I came across [1], which discusses the effect 
LAPACK-level parallelization has on preformance. For the user that started that 
thread, they saw improvements by changing their environmental variables. This I 
understand, what is confusing me is how you figure out which library a Kwant 
distribution is linked to. 

E.g. without setting these independently and observing what effect each has on 
performance, how can I tell which of the following environmental variables need 
to be changed?
OPENBLAS_NUM_THREADS
OMP_NUM_THREADS
MKL_DYNAMIC
MKL_NUM_THREADS

I used conda to install Kwant on my M1 Macbook air. Where should I be looking 
in the root directory of my Kwant distribution for this information? Or is 
there another way to check this? 

Thanks,
Joe

Reply via email to