LNK1104: cannot open file 'libiomp5mt.lib'

Am trying to use MKL library in pvf64-shell-175. First I had to point it to mkl_intel_lp64.lib which wasn’t hard. Next it can’t find “libiomp5mt.lib”.

I found Intel documentation (Release_Notes_F_2015_W_EN_update1.pdf) that says “The static form of the Intel® OpenMP* library, libiomp5mt.lib, is no longer provided, and the /Qopenmp - link:static command line option is no longer supported. Please replace all references to libiomp5mt.lib with libiomp5md.lib, the DLL import library.”

Anyone had this problem and if so how did you solve it?

Otherwise suggestions appreciated.

This Intel tool looks useful.


Note that the tool is careful to separate PGI OpenMP from Intel OpenMP,
and that the objects created using -fopenmp or -mp cannot mix
PGI with Intel OpenMP compiled codes.

In other words - the same OpenMP source can be compiled with ifort
or pgfortran (PVF) to create OpenMP executables, but that does not mean a PGI OpenMP object will dance/link properly with an ifort OpenMP executable. And if you choose either for OpenMP, you need to use the OpenMP runtime library that goes with it.

Our page on this, http://www.pgroup.com/support/faq.htm#mkl
is somewhat useful.