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

Get the version of the installed Math Kernel Library

pod69
Beginner
137 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
137 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.

Reply