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

Please help - new user

klopf
Beginner
519 Views

Hello =)

Where can I find documentation for really new users of MKL? I'm running 64-bit Intel Fortran with IMSL and MKL on Vista, but haven't been able to get either of the libraries to work. All of the instructions that come with the libraries assume that you already pretty much know what you're doing =/ Are there any resources that give command-by-command instructions for running the examples? I've tried a number of different commands (ifort, make, nmake) and used the .bat files to change the environmental settings, but none of the examples will run. If somebody could please tell me how to run one of the example files, I could figure things out from there. I'm pretty sure that the installation went ok; all of the directories are there and there weren't any errors.

Thanks,

Eve

0 Kudos
2 Replies
TimP
Honored Contributor III
519 Views
As I'm not sitting in front of a 64-bit Windows installation, in spite of the days I've spent on that recently, here's an example (Livermore Kernels)for 32-bit on my 2.001Ghz laptop (using the 11.0 compiler, where the ifort setup includes the MKL path):
cl -c -DCLOCK_RATE=2001000000 -Dforttime_=FORTTIME f90_msrdtsc.c
ifort -O3 -assume:protect_parens -Qopenmp -QxP llnt.f kblas.f f90_msrdtsc.obj mkl_c_dll.lib
As I recall, the name of the combined mkl_lp64_dll/mkl_core_dll/mkl_thread_dll script is slightly different in the 64-bit installation. I've gone over this in an earlier post, for an early MKL 10 installation. If you don't want the exact combination of 32-bit integers and threaded mkl, you must specify the 3 separate libraries instead of the combined script.
I've joined in past criticism about how the docs make it unnecessarily complicated.
I don't have access to IMSL or any examples of it.
I don't appear to have permission to make my file attachments visible on the forum.
0 Kudos
klopf
Beginner
519 Views
Hello Tim18,

Thanks for answering my post - I was able to get one of the example programs to link.

Thanks,
Eve


Quoting - tim18
As I'm not sitting in front of a 64-bit Windows installation, in spite of the days I've spent on that recently, here's an example (Livermore Kernels)for 32-bit on my 2.001Ghz laptop (using the 11.0 compiler, where the ifort setup includes the MKL path):
cl -c -DCLOCK_RATE=2001000000 -Dforttime_=FORTTIME f90_msrdtsc.c
ifort -O3 -assume:protect_parens -Qopenmp -QxP llnt.f kblas.f f90_msrdtsc.obj mkl_c_dll.lib
As I recall, the name of the combined mkl_lp64_dll/mkl_core_dll/mkl_thread_dll script is slightly different in the 64-bit installation. I've gone over this in an earlier post, for an early MKL 10 installation. If you don't want the exact combination of 32-bit integers and threaded mkl, you must specify the 3 separate libraries instead of the combined script.
I've joined in past criticism about how the docs make it unnecessarily complicated.
I don't have access to IMSL or any examples of it.
I don't appear to have permission to make my file attachments visible on the forum.

0 Kudos
Reply