2014年10月30日 星期四

How to run perfomance on Intel GPGPU(MIC) under linux

How to run perfomance on  Intel GPGPU(MIC) under linux

Please setup MPSS service first
http://lisoulin.blogspot.tw/2014/10/how-to-stress-intel-gpgpumic-under-linux.html

 A.Install Linpack
1.Dowload  linpack package from Intel website
https://software.intel.com/en-us/articles/intel-math-kernel-library-linpack-download
2.Copy l_lpk_p_11.2.0.003 to SLES OS
3.Unzip package
#tar zxvf  l_lpk_p_11.2.0.003.tgz

B.Install Intel® C++ Composer XE 2013
1.Dowload  Composer XE package from Intel website
https://software.intel.com/en-us/articles/redistributable-libraries-for-the-intel-c-and-fortran-composer-xe-2013-sp1-for-linux
2.Copy l_ccompxe_2013_sp1.4.211_redist to SLES OS
3.Unzip package
#tar zxvf  l_ccompxe_2013_sp1.4.211_redist.tgz
4.Install composer xe package
#cd l_ccompxe_2013_sp1.4.211_redist
#./install.sh
accept

C.Install micperf
1.Install micperf rpm
#cd /mpss-3.4.1/perf
#rpm -ivh *.rpm
2.Setup micperf
#cd /usr/src/micperf/micp-3.4.1
#./setup.py install

D.Setting environment
#export PYTHONPATH=/usr/src/micperf/micp-3.4.1
#echo $PYTHONPATH
#export MKLROOT=/linpack_11.2.0
#echo $MKLROOT
#source /root/bin/compileravars.sh intel64

E.Running Linpack
Running linpack with default parameter
#micprun -k linpack

The deafualt parameter will be
micprun -k linpack -p '--matrix_size 36864 --num_rep 3--lead_dim 36928'
The performance result is GFlops

Try to run linpack with different parameter to find out best GFlops value
#micprun -k linpack -p '--matrix_size 10000 --num_rep 3 --lead_dim 10000'

沒有留言:

張貼留言