Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29280 Discussions

Link error 1104: mkl_intel_c.lib can not be found

Anders_S_1
New Contributor III
2,355 Views

Hi,

I installed OneAPI on VS2022 and all was OK. Suddenly I got the 1104 error:  mkl_intel_c_lib

can  not be found. I use /Qmkl:static in the mpifort bat file. I tried to find the lib under intel/oneAPI/mkl/..., but I did not find it there.

What to do?

Best regards

Anders S

Labels (1)
0 Kudos
1 Solution
Anders_S_1
New Contributor III
2,197 Views

Hi,

I have erronously used the IA32 command line! When I correctly choose the Intel64 command line the error disappeared!

Best regards

Anders S

View solution in original post

0 Kudos
6 Replies
Steve_Lionel
Honored Contributor III
2,345 Views

MKL is in the oneAPI Base Toolkit. If you didn't install that, go do so, or you can install MKL separately.

0 Kudos
Anders_S_1
New Contributor III
2,338 Views

Hi Steve,

Thanks for a quick response!

I reinstalled MKL, but still I can't see the missing library (see attachment). Am I looking at the wrong place?

Best regards

Anders S

0 Kudos
mecej4
Honored Contributor III
2,309 Views

The library that you seek is part of the 32-bit MKL package. If you want that, you can download and install the 32-bit OneMKL package . Select "Windows" and "Online" and then look for the link titled "Intel oneAPI Base Toolkit for Windows (32 bit).

 

Anders_S_1
New Contributor III
2,304 Views

Hi Steve,

Rapid reply again, thanks!

Now everything is clear! You can't dismiss 32-bits even when you run 64-bits, can you?

Best regards

Anders S

0 Kudos
Steve_Lionel
Honored Contributor III
2,327 Views
0 Kudos
Anders_S_1
New Contributor III
2,198 Views

Hi,

I have erronously used the IA32 command line! When I correctly choose the Intel64 command line the error disappeared!

Best regards

Anders S

0 Kudos
Reply