Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

intel mkl openmp Multi-threading

Saurabh_Pradhan1
Beginner
377 Views
I have installed non-comercial version of composer_xe_2011 in a Intel Xeon CPU E5450 @ 3.00GHz Mechine.
this mechine has 8 core.
But i could not able to use all the core using openMP for a mkl function DSYEV.
I have set "export MKL_NUM_THREADS=4" and "export=OMP_NUM_THREADS=4"
I am compiling with the folloing option--
--
icc dssyev.c -Wl,--start-group /opt/intel/mkl/lib/intel64/libmkl_intel_lp64.a /opt/intel/mkl/lib/intel64/libmkl_sequential.a /opt/intel/mkl/lib/intel64/libmkl_core.a -Wl,--end-group -lpthread -openmp
--
I have also setup the variables path by
source /opt/intel/mkl/bin/intel64/mklvars_intel64.sh intel64

But nothing seems to work.
Please Help me.
0 Kudos
3 Replies
TimP
Honored Contributor III
377 Views
Your choice of libmkl_sequential.a library ensures that all MKL functions are serialized.
0 Kudos
Saurabh_Pradhan1
Beginner
377 Views
Thanks for your reply.
It realy solves my problem.
0 Kudos
Saurabh_Pradhan1
Beginner
377 Views
Thanks for your reply.
It really solves my pro0blem.
0 Kudos
Reply