Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6980 Discussions

Get the version of the installed Math Kernel Library

pod69
Beginner
232 Views
Hello,

Does someone know how to get the version of the library? I am not working with it and have no experience with it. But eg for the fortran compiler i can use the command ifort -v or for the fftw library i can use a c code
main() {extern const char fftw_version[];
printf("%s", fftw_version);
}

to get the version and I need something like that for the Math Kernel Library.

thx pod69
0 Kudos
1 Reply
Dmitry_B_Intel
Employee
232 Views

Hi,

I used the following code:

#include
#include "mkl.h"
int main()
{
char v[1000];
DftiGetValue(0,DFTI_VERSION,v);
printf("%s ",v);
return 0;
}

Dima.

0 Kudos
Reply