Quantcast
Channel: Intel® Many Integrated Core Architecture
Viewing all articles
Browse latest Browse all 1347

mkl

$
0
0

I wanted to use the mkl fortran subroutines (for example, mkl_?csrmm, mkl_?csrsv, ...). Just wanted to make sure I do things right

1) if I just run it on host. then I compile it as "ifort -openmp -mkl a.f90", then set env. variable MKL_NUM_THREADS. Is it enough? Or are there anything more to this?

2) if I want to run it on coprocessor in an offloaded region, then again compiles as in 1), and set env. variable MKL_MIC_ENABLE=1. Regarding the number of threads, does it pick up the MIC_OMP_NUM_THREADS variable value? Is there anything other than these?

thanks! 


Viewing all articles
Browse latest Browse all 1347

Trending Articles