Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

IMSL 5 and MKL

g_f_thomas
Beginner
662 Views
This is cross posted from the MKL forum which seems to be as exciting as a morgue:

IMSL 5, part of IVF 8 Pro, uses MKL for SMP. It ships with mkl_c.lib and mkl_c_dll.lib but not mkl_s.lib and mkl_s_dll.lib. It's documentation mentions almost nothing about MKL. Do you have any details on the relation between IMSL 5 and MKL?

Thanks,
Gerry T.
0 Kudos
3 Replies
g_f_thomas
Beginner
662 Views
As suspected: IMSL 5 supports the cdecl calling convention only and MKL is a prequisite for SMP.

The IMSL 5 README_intel32.txt, page 2 mentions

'Static (DLL) Compiler Options:
/c /o3 /w /fpe:3 /nologo (/Z1)'

Does this relate specifically to the IMSL 5 lib(s) or is it a requirement on any program that links to it?

Thanks,
Gerry T.
0 Kudos
Steven_L_Intel1
Employee
662 Views
That's /Zl,not /Z1. I think that they're trying to say here that these are the options that the IMSL libraries were built with and therefore any options you use must be compatible. The only one of relevance is /fpe:3 - if you compile with /fpe:0, then IMSL may not behave correctly. The rest of the options specified don't matter regarding how you build your code.
I'll get you an answer on the MKL: issue soon.
0 Kudos
g_f_thomas
Beginner
662 Views
Thanks, that's how I read it.

/fpe:3, couldn't be better.

Ciao,
Gerry T.
0 Kudos
Reply