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.

Language-specific Usage Options 7As a result, the required library <strong>and</strong> a respective .mod file will be built <strong>and</strong> installed in thest<strong>and</strong>ard c<strong>at</strong>alog of the release.The .mod files can also be obtained from files of interfaces using the compiler comm<strong>and</strong>ifort -c mkl_lapack.f90 or ifort -c mkl_blas.f90.These files are in the include directory.If you do not have administr<strong>at</strong>or rights, then do the following:1. Copy the entire directory (mkl/10.0.xxx/interfaces/blas95 ormkl/10.0.xxx/interfaces/lapack95) into a user-defined directory 2. Copy the corresponding file (mkl_blas.f90 or mkl_lapack.f90) frommkl/10.0.xxx/include into the user-defined directory /blas95 or/lapack95 respectively3. Run one of the above make comm<strong>and</strong>s in /blas95 or/lapack95 with an additional variable, for instance:make PLAT=lnx32 INTERFACE=mkl_blas.f90 libmake PLAT=lnx32 INTERFACE=mkl_lapack.f90 libNow the required library <strong>and</strong> the .mod file will be built <strong>and</strong> installed in the/blas95 or /lapack95 directory, respectively.By default, the ifort compiler is assumed. You may change it with an additional parameterof make: FC=.For instance,make PLAT=lnx64 FC= libThere is also a way to use the interfaces without building the libraries.To delete the library from the building directory, use the following comm<strong>and</strong>s:make PLAT=lnx32 cleanmake PLAT=lnx32e cleanmake PLAT=lnx64 clean- for IA-32 architecture- for <strong>Intel</strong>® 64 architecture- for IA-64 architecture.Compiler-dependent Functions <strong>and</strong> Fortran 90 ModulesCompiler-dependent functions arise whenever the compiler places into the object codefunction calls th<strong>at</strong> are resolved in its run-time library (RTL). Linking of such code withoutthe appropri<strong>at</strong>e RTL will result in undefined symbols. MKL has been designed to minimizeRTL dependencies.Where the dependencies do arise, supporting RTL is shipped with <strong>Intel</strong> MKL. The onlyexample of such RTLs, except those th<strong>at</strong> are relevant to the <strong>Intel</strong> MKL cluster software, arelibguide <strong>and</strong> libiomp, which are the libraries for the OpenMP* code compiled with an<strong>Intel</strong>® compiler. libguide <strong>and</strong> libiomp support the threaded code in <strong>Intel</strong> MKL.7-3

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

Saved successfully!

Ooh no, something went wrong!