Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Saurabh_Pradhan1
Beginner
75 Views

intel mkl openmp Multi-threading

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
Black Belt
75 Views

Your choice of libmkl_sequential.a library ensures that all MKL functions are serialized.
Saurabh_Pradhan1
Beginner
75 Views

Thanks for your reply.
It realy solves my problem.
Saurabh_Pradhan1
Beginner
75 Views

Thanks for your reply.
It really solves my pro0blem.
Reply