Pages

Showing posts with label fftw3 library. Show all posts
Showing posts with label fftw3 library. Show all posts

Intel MKL Libraries (Some Notes)



Most of the clusters architectures are Intel based. The Intel compiler (Ifort) is present in such machines. The Intel MKL library, which stands for Math Kernal Library is a numeical library which is highly useful for Scientists and Engineers.


How to check the Intel architecture (32 bit or 64 bit processor))?

move to $MKL_ROOT/lib/
$MKL_ROOT is usually /opt/lib/intel/MKL/

If you see ia32_lin directory, it is a 32 bit
If you see intel64_lin directory, it is a 64-bit.

IA-32 or compatible
<mkl directory>/lib/ia32_lin
Intel® 64 or compatible
<mkl directory>/lib/intel64_lin

What is the path of the library library files? 

To see just type

which ifort (or the compiler name)

Now the path will be displayed.

/clusterName/intel/Compiler/mkl/..../ifort

Here,

/clusterName/intel/Compiler/mkl/ is mostly set as $MKL_ROOT directory.

so echo $MKL_ROOT will display the path to that directory.

It is very much important to connect these libraries when necessary (while compiling codes)

Intel MKL library also has its ion FFTW3 library which resides inside the */mkl/fftw/ directroy.

This directory contains fftw3.f which is necessary for compiling codes like VASP.

The vasp also needs library files such as libfftw3xf_lintel.a. By default, these are are not compiled. These library files (uncompiled) are present inside /fftw/interfaces/ directory. If you want libfftw3xf_intel.a, you need to go to /mkl/interfaces/fftw3xf/ directory and then need to make using the makefile present there.




You may be interested in these posts

Error in image file conversion: convert-im6.q16: not authorized `test.eps' @ error/constitute.c/WriteImage/1037.

This error is because of the vulnerability. This allows remote execution of code using image formats. So, some Linux distributions by defaul...