13.07.2015 Views

Intel(R) - Computational and Systems Biology at MIT

Intel(R) - Computational and Systems Biology at MIT

Intel(R) - Computational and Systems Biology at MIT

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4 <strong>Intel</strong>® M<strong>at</strong>h Kernel Library User’s Guide1. Go to the Tool Settings tab of the C/C++ Build property page. All the settingsyou need to specify are on this page. Names of the particular settings dependupon the compiler integr<strong>at</strong>ion <strong>and</strong> therefore are not given below.2. If the compiler integr<strong>at</strong>ion supports include p<strong>at</strong>h options, set the <strong>Intel</strong> MKL includep<strong>at</strong>h, for example, the default value is /opt/intel/mkl/10.0.xxx/include.3. If the compiler integr<strong>at</strong>ion supports library p<strong>at</strong>h options, set a p<strong>at</strong>h to the <strong>Intel</strong>MKL libraries, depending upon the target architecture, for example, with thedefault install<strong>at</strong>ion, /opt/intel/mkl/10.0.xxx/lib/em64t.4. Specify names of the <strong>Intel</strong> MKL libraries to link with your applic<strong>at</strong>ion, for example,mkl_lapack <strong>and</strong> mkl_ia32 (As compilers typically require library names r<strong>at</strong>herthan library file names, the “lib” prefix <strong>and</strong> “a” extension are omitted). Seesection “Selecting Libraries to Link” in chapter 5 on the choice of the libraries.Customizing the Library Using the Configur<strong>at</strong>ion File<strong>Intel</strong> MKL configur<strong>at</strong>ion file provides the possibility to redefine names of dynamic libraries.You may cre<strong>at</strong>e a configur<strong>at</strong>ion file with the mkl.cfg name to assign values to a number ofvariables. Below is an example of the configur<strong>at</strong>ion file containing all possible variableswith their default values:Example 4-1 <strong>Intel</strong>® MKL configur<strong>at</strong>ion file//// Default values for mkl.cfg file//// SO names for IA-32 architectureMKL_X87so = mkl_def.soMKL_SSE2so = mkl_p4.soMKL_SSE3so = mkl_p4p.soMKL_VML_X87so = mkl_vml_def.soMKL_VML_SSE2so = mkl_vml_p4.soMKL_VML_SSE3so = mkl_vml_p4p.so// SO names for <strong>Intel</strong>(R) 64 architectureMKL_EM64TDEFso = mkl_def.soMKL_EM64TSSE3so = mkl_p4n.soMKL_VML_EM64TDEFso = mkl_vml_def.soMKL_VML_EM64TSSE3so = mkl_vml_p4n.so4-4

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!