<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problems linking with mkl95 libraries in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913834#M12380</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/334681"&gt;Gennady Fedorov (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;&lt;BR /&gt;ACAR,&lt;BR /&gt;what is your linking line? Please look at the mkl's userguide how to link with Interface libraries.&lt;BR /&gt;--Gennady&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Thanks Gennady. I had previously looked at the thread you suggested and tested out one of the examples provided with the compiler and did manage to get it working. Applied the same operations to my application without success. I have been studying the mkl userguide rather intensively but unless I'm missing a crutial point then I have done all it suggests. I am compiling and linking from within the vs developer environment and so the linker options are being set by the project properties dialog. The command line is:&lt;BR /&gt;&lt;BR /&gt;/OUT:"Debug/EFESYS.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:Program FilesIntelCompiler11.1&amp;#0;51mklia32lib" /NODEFAULTLIB:"dfconsol.lib" /MANIFEST /MANIFESTFILE:"C:RMAProgramsEFE_V1.1EFEDebugEFESYS.exe.intermediate.manifest" /DEBUG /PDB:"Debug/EFESYS.pdb" /SUBSYSTEM:WINDOWS /ENTRY:"WinMainCRTStartup" kernel32.lib mkl_solver.lib mkl_intel_c_dll.lib mkl_core_dll.lib mkl_blas95.lib mkl_lapack95.lib&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;ACAR&lt;BR /&gt;</description>
    <pubDate>Tue, 12 Jan 2010 00:04:30 GMT</pubDate>
    <dc:creator>acar</dc:creator>
    <dc:date>2010-01-12T00:04:30Z</dc:date>
    <item>
      <title>Problems linking with mkl95 libraries</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913824#M12370</link>
      <description>Hi, I would like to use the f95 interfaces to the lapack linear algebra routines. I have successfully got the sparse solver pardiso to run but cannot seem to do so with the routine getrf. &lt;BR /&gt;&lt;BR /&gt;In the subroutine that calls getrf I have the two use statements mkl95_precision and mkl95_lapack.&lt;BR /&gt;&lt;BR /&gt;I have made the suggested mofifications to the project properties but get the following linker error message:&lt;BR /&gt;&lt;BR /&gt;error LNK2019: unresolved external symbol &lt;A href="mailto:_DGETRF_MKL95@12"&gt;_DGETRF_MKL95@12&lt;/A&gt; ...&lt;BR /&gt;&lt;BR /&gt;Any advice on solving this would be much appreceated.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;ACAR</description>
      <pubDate>Mon, 11 Jan 2010 13:30:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913824#M12370</guid>
      <dc:creator>acar</dc:creator>
      <dc:date>2010-01-11T13:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problems linking with mkl95 libraries</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913825#M12371</link>
      <description>&lt;DIV style="margin: 0px; height: auto;"&gt;&lt;/DIV&gt;
Guessing that you are using an ifort compatible version of MKL, it seems wrong to expect support for /iface:cvf or the like. Beyond that, I can't guess what properties you have set.&lt;BR /&gt;If you are using CVF, you would probably have to rebuilt the blas95/lapack95 libraries with it.&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Jan 2010 13:43:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913825#M12371</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2010-01-11T13:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problems linking with mkl95 libraries</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913826#M12372</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/367365"&gt;tim18&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Guessing that you are using an ifort compatible version of MKL, it seems wrong to expect support for /iface:cvf or the like. Beyond that, I can't guess what properties you have set.&lt;BR /&gt;If you are using CVF, you would probably have to rebuilt the blas95/lapack95 libraries with it.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Just purchased latest IVF which has MKL bundled with it - so I hope I'm in the right place for support. I haven't rebuilt the libraries as it is the native compiler that I'm using. &lt;BR /&gt;&lt;BR /&gt;I've just tried to simplify matters by opening up a new project and adding one of the intel example files for lapack95 - gbsv.f90. I've added ...mklincludeia32 to the fortran&amp;gt;general&amp;gt;additional include directories list. I've switched fortran&amp;gt;preprocessor&amp;gt;preprocess source file to yes. I've added ...mklia32lib to linker&amp;gt;general&amp;gt;additional library directories. I've added mkl_intel_c.lib, mkl_intel_thread.lib, mkl_core.lib and libiomp5md.lib to linker&amp;gt;input&amp;gt;additional dependencies. I get the same problem:&lt;BR /&gt;&lt;BR /&gt;error lnk2019 unresolved external symbol _sgbsv_mkl95 ...&lt;BR /&gt;&lt;BR /&gt;Any help would be appreceated.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;ACAR&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Jan 2010 14:38:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913826#M12372</guid>
      <dc:creator>acar</dc:creator>
      <dc:date>2010-01-11T14:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problems linking with mkl95 libraries</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913827#M12373</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
MKL has its own forum section where the MKL experts hang out - I'll move this there.&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Jan 2010 15:21:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913827#M12373</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-01-11T15:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problems linking with mkl95 libraries</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913828#M12374</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Besides assuring that you didn't set /iface:cvf (e.g. by some conversion of a CVF project), you will need the lapack95 library in your dependencies. Most questions about MKL are dealt with on that forum.&lt;BR /&gt;2nd attempt to post reply&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Jan 2010 15:22:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913828#M12374</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2010-01-11T15:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problems linking with mkl95 libraries</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913829#M12375</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/367365"&gt;tim18&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Besides assuring that you didn't set /iface:cvf (e.g. by some conversion of a CVF project), you will need the lapack95 library in your dependencies. Most questions about MKL are dealt with on that forum.&lt;BR /&gt;2nd attempt to post reply&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Okay problem solved for the new project by explicitly adding mkl_lapck95.lib to the linker&amp;gt;general&amp;gt;additional dependencies list as suggested by tim18 - many thanks tim. Also now recognise that there is another forum for mkl issues. For my actual application, which was a conversion from cvf, iface was set to cvf. I have now switched it to stdcall, added mkl_lapack95.lib to the additional dependencies (as above) and although the original linker error has now been resolved I am getting a large number of linker errors lnk2001 and lnk2019 which are refering to routines which pass character variables to a routine which uses character(*)::text in the declaration, i.e. the string length is variable. e.g:&lt;BR /&gt;&lt;BR /&gt;program main&lt;BR /&gt;&lt;BR /&gt;real(8)::rval&lt;BR /&gt;integer::ival&lt;BR /&gt;character(20)::boris(2)&lt;BR /&gt;integer::jval&lt;BR /&gt;&lt;BR /&gt;rval=10d0&lt;BR /&gt;ival=1&lt;BR /&gt;boris(1)='a good chap'&lt;BR /&gt;boris(2)='a bad chap'&lt;BR /&gt;jval=2&lt;BR /&gt;&lt;BR /&gt;call sub(rval,ival,boris(1),boris(2),jval)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;end program main&lt;BR /&gt;&lt;BR /&gt;subroutine sub(rval,ival,boris1,boris2,jval)&lt;BR /&gt;&lt;BR /&gt;real(8)::rval&lt;BR /&gt;integer::ival&lt;BR /&gt;character(*)::boris1&lt;BR /&gt;character(*)::boris2&lt;BR /&gt;integer::jval&lt;BR /&gt;&lt;BR /&gt;end subroutine sub&lt;BR /&gt;&lt;BR /&gt;Maybe I was doing something illegal or irregular in cvf but this sort of setup worked fine.&lt;BR /&gt;&lt;BR /&gt;I'd be grateful for any advice on this matter - which maybe that I simply need to fix the length of character strings and/or explicitly pass the length.&lt;BR /&gt;&lt;BR /&gt;Many thanks,&lt;BR /&gt;&lt;BR /&gt;ACAR</description>
      <pubDate>Mon, 11 Jan 2010 17:50:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913829#M12375</guid>
      <dc:creator>acar</dc:creator>
      <dc:date>2010-01-11T17:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problems linking with mkl95 libraries</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913830#M12376</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/452502"&gt;acar&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;Okay problem solved for the new project by explicitly adding mkl_lapck95.lib to the linker&amp;gt;general&amp;gt;additional dependencies list as suggested by tim18 - many thanks tim. Also now recognise that there is another forum for mkl issues. For my actual application, which was a conversion from cvf, iface was set to cvf. I have now switched it to stdcall, added mkl_lapack95.lib to the additional dependencies (as above) and although the original linker error has now been resolved I am getting a large number of linker errors lnk2001 and lnk2019 which are refering to routines which pass character variables to a routine which uses character(*)::text in the declaration, i.e. the string length is variable. e.g:&lt;BR /&gt;&lt;BR /&gt;program main&lt;BR /&gt;&lt;BR /&gt;real(8)::rval&lt;BR /&gt;integer::ival&lt;BR /&gt;character(20)::boris(2)&lt;BR /&gt;integer::jval&lt;BR /&gt;&lt;BR /&gt;rval=10d0&lt;BR /&gt;ival=1&lt;BR /&gt;boris(1)='a good chap'&lt;BR /&gt;boris(2)='a bad chap'&lt;BR /&gt;jval=2&lt;BR /&gt;&lt;BR /&gt;call sub(rval,ival,boris(1),boris(2),jval)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;end program main&lt;BR /&gt;&lt;BR /&gt;subroutine sub(rval,ival,boris1,boris2,jval)&lt;BR /&gt;&lt;BR /&gt;real(8)::rval&lt;BR /&gt;integer::ival&lt;BR /&gt;character(*)::boris1&lt;BR /&gt;character(*)::boris2&lt;BR /&gt;integer::jval&lt;BR /&gt;&lt;BR /&gt;end subroutine sub&lt;BR /&gt;&lt;BR /&gt;Maybe I was doing something illegal or irregular in cvf but this sort of setup worked fine.&lt;BR /&gt;&lt;BR /&gt;I'd be grateful for any advice on this matter - which maybe that I simply need to fix the length of character strings and/or explicitly pass the length.&lt;BR /&gt;&lt;BR /&gt;Many thanks,&lt;BR /&gt;&lt;BR /&gt;ACAR&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Why are you using iface:stdcall? That's the actual cause of your problems with character string dummy arguments. Is it to be compatible with routines from another existing library you'd created with CVF?&lt;BR /&gt;&lt;BR /&gt;Also, which version of IVF are you using? &lt;BR /&gt;&lt;BR /&gt; thanks --&lt;BR /&gt;&lt;BR /&gt; - Lorri</description>
      <pubDate>Mon, 11 Jan 2010 18:24:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913830#M12376</guid>
      <dc:creator>Lorri_M_Intel</dc:creator>
      <dc:date>2010-01-11T18:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problems linking with mkl95 libraries</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913831#M12377</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/452502"&gt;acar&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/367365"&gt;tim18&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Guessing that you are using an ifort compatible version of MKL, it seems wrong to expect support for /iface:cvf or the like. Beyond that, I can't guess what properties you have set.&lt;BR /&gt;If you are using CVF, you would probably have to rebuilt the blas95/lapack95 libraries with it.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Just purchased latest IVF which has MKL bundled with it - so I hope I'm in the right place for support. I haven't rebuilt the libraries as it is the native compiler that I'm using. &lt;BR /&gt;&lt;BR /&gt;I've just tried to simplify matters by opening up a new project and adding one of the intel example files for lapack95 - gbsv.f90. I've added ...mklincludeia32 to the fortran&amp;gt;general&amp;gt;additional include directories list. I've switched fortran&amp;gt;preprocessor&amp;gt;preprocess source file to yes. I've added ...mklia32lib to linker&amp;gt;general&amp;gt;additional library directories. I've added mkl_intel_c.lib, mkl_intel_thread.lib, mkl_core.lib and libiomp5md.lib to linker&amp;gt;input&amp;gt;additional dependencies. I get the same problem:&lt;BR /&gt;&lt;BR /&gt;error lnk2019 unresolved external symbol _sgbsv_mkl95 ...&lt;BR /&gt;&lt;BR /&gt;Any help would be appreceated.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;ACAR&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;ACAR,&lt;BR /&gt;please look at the &lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=70693"&gt;topic&lt;/A&gt;. You can find there the mvsc project attached. may be it will usefull for you.&lt;BR /&gt;--Gennady&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Jan 2010 20:10:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913831#M12377</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-01-11T20:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problems linking with mkl95 libraries</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913832#M12378</link>
      <description>&lt;DIV style="margin: 0px;"&gt;
&lt;DIV style="width: 100%; margin-top: 5px;" id="quote_reply"&gt;
&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/452502"&gt;acar&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color: #e5e5e5; padding: 5px; border: 1px; border-style: inset; margin-left: 2px; margin-right: 2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin: 0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;Okay problem solved for the new project by explicitly adding mkl_lapck95.lib to the linker&amp;gt;general&amp;gt;additional dependencies list as suggested by tim18 - many thanks tim. Also now recognise that there is another forum for mkl issues. For my actual application, which was a conversion from cvf, iface was set to cvf. &lt;STRONG&gt;I have now switched it to stdcall, added mkl_lapack95.lib to the additional dependencies (as above) and although the original linker error has now been resolved I am getting a large number of linker errors lnk2001 and lnk2019 which are refering to routines which pass character variables to a routine which uses character(*)::text in the declaration, i.e. the string length is variable. e.g:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style: normal;"&gt;&lt;I&gt;&lt;BR /&gt;&lt;/I&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
ACAR,&lt;BR /&gt;what is your linking line? Please look at the mkl's userguide how to link with Interface libraries.&lt;BR /&gt;--Gennady&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Jan 2010 20:15:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913832#M12378</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-01-11T20:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problems linking with mkl95 libraries</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913833#M12379</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/335394"&gt;Lorri Menard (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;Why are you using iface:stdcall? That's the actual cause of your problems with character string dummy arguments. Is it to be compatible with routines from another existing library you'd created with CVF?&lt;BR /&gt;&lt;BR /&gt;Also, which version of IVF are you using? &lt;BR /&gt;&lt;BR /&gt; thanks --&lt;BR /&gt;&lt;BR /&gt; - Lorri&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Lorri,&lt;BR /&gt;&lt;BR /&gt;My application was a conversion from cvf to the latest version of ivf. It converted reasonably well with only a few modifications required to get going again. Since then, however, I have needed to replace some imsl linear algebra calls with equivalent mkl routines and hence the current issues. Another respondent to my post suggested I check the iface option and indeed it was set to cvf presumably from when I ran the original conversion. I tried default which produced 1000s of linker errors and didn't seem to solve the mkl link error so I opted for stdcall which produced rather less errors. &lt;BR /&gt;&lt;BR /&gt;Thanks for your interest and any assistance would be helpful.&lt;BR /&gt;&lt;BR /&gt;ACAR</description>
      <pubDate>Mon, 11 Jan 2010 23:49:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913833#M12379</guid>
      <dc:creator>acar</dc:creator>
      <dc:date>2010-01-11T23:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problems linking with mkl95 libraries</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913834#M12380</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/334681"&gt;Gennady Fedorov (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;&lt;BR /&gt;ACAR,&lt;BR /&gt;what is your linking line? Please look at the mkl's userguide how to link with Interface libraries.&lt;BR /&gt;--Gennady&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Thanks Gennady. I had previously looked at the thread you suggested and tested out one of the examples provided with the compiler and did manage to get it working. Applied the same operations to my application without success. I have been studying the mkl userguide rather intensively but unless I'm missing a crutial point then I have done all it suggests. I am compiling and linking from within the vs developer environment and so the linker options are being set by the project properties dialog. The command line is:&lt;BR /&gt;&lt;BR /&gt;/OUT:"Debug/EFESYS.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:Program FilesIntelCompiler11.1&amp;#0;51mklia32lib" /NODEFAULTLIB:"dfconsol.lib" /MANIFEST /MANIFESTFILE:"C:RMAProgramsEFE_V1.1EFEDebugEFESYS.exe.intermediate.manifest" /DEBUG /PDB:"Debug/EFESYS.pdb" /SUBSYSTEM:WINDOWS /ENTRY:"WinMainCRTStartup" kernel32.lib mkl_solver.lib mkl_intel_c_dll.lib mkl_core_dll.lib mkl_blas95.lib mkl_lapack95.lib&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;ACAR&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Jan 2010 00:04:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913834#M12380</guid>
      <dc:creator>acar</dc:creator>
      <dc:date>2010-01-12T00:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problems linking with mkl95 libraries</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913835#M12381</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/452502"&gt;acar&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;Thanks Gennady. I had previously looked at the thread you suggested and tested out one of the examples provided with the compiler and did manage to get it working. Applied the same operations to my application without success. I have been studying the mkl userguide rather intensively but unless I'm missing a crutial point then I have done all it suggests. I am compiling and linking from within the vs developer environment and so the linker options are being set by the project properties dialog. The command line is:&lt;BR /&gt;&lt;BR /&gt;/OUT:"Debug/EFESYS.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:Program FilesIntelCompiler11.1&amp;#0;51mklia32lib" /NODEFAULTLIB:"dfconsol.lib" /MANIFEST /MANIFESTFILE:"C:RMAProgramsEFE_V1.1EFEDebugEFESYS.exe.intermediate.manifest" /DEBUG /PDB:"Debug/EFESYS.pdb" /SUBSYSTEM:WINDOWS /ENTRY:"WinMainCRTStartup" kernel32.lib mkl_solver.lib mkl_intel_c_dll.lib mkl_core_dll.lib mkl_blas95.lib mkl_lapack95.lib&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;ACAR&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;ACAR,&lt;BR /&gt;for using the stdcall interface, link with mkl_intel_s.lib. The dynamic counterparts of these interface libraries are mkl_intel_c_dll.lib and mkl_intel_s_dll.lib. &lt;BR /&gt;--Gennady&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Jan 2010 07:39:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913835#M12381</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-01-12T07:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problems linking with mkl95 libraries</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913836#M12382</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/452502"&gt;acar&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; &lt;BR /&gt;Thanks Gennady. I had previously looked at the thread you suggested and tested out one of the examples provided with the compiler and did manage to get it working. Applied the same operations to my application without success. I have been studying the mkl userguide rather intensively but unless I'm missing a crutial point then I have done all it suggests. I am compiling and linking from within the vs developer environment and so the linker options are being set by the project properties dialog. The command line is:&lt;BR /&gt;&lt;BR /&gt;/OUT:"Debug/EFESYS.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:Program FilesIntelCompiler11.1&amp;#0;51mklia32lib" /NODEFAULTLIB:"dfconsol.lib" /MANIFEST /MANIFESTFILE:"C:RMAProgramsEFE_V1.1EFEDebugEFESYS.exe.intermediate.manifest" /DEBUG /PDB:"Debug/EFESYS.pdb" /SUBSYSTEM:WINDOWS /ENTRY:"WinMainCRTStartup" kernel32.lib mkl_solver.lib mkl_intel_c_dll.lib mkl_core_dll.lib mkl_blas95.lib mkl_lapack95.lib&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;ACAR&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hello ACAR,&lt;BR /&gt;&lt;BR /&gt;The threading layer library has been missed in your latest link line. It should be mkl_intel_thread.lib for threaded implementation or mkl_sequential.lib for sequential implementation of MKL routines. Finally the link line should be like that:&lt;BR /&gt;&lt;BR /&gt;mkl_lapack95.lib mkl_intel_c_dll.lib mkl_intel_thread_dll.lib mkl_core_dll.lib libiomp5md.lib for threaded implementation&lt;BR /&gt;&lt;BR /&gt;and like that:&lt;BR /&gt;&lt;BR /&gt;mkl_lapack95.lib mkl_intel_c_dll.lib mkl_sequential_dll.lib mkl_core_dll.lib for sequential implementation.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Art&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Jan 2010 07:58:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913836#M12382</guid>
      <dc:creator>Artem_V_Intel</dc:creator>
      <dc:date>2010-01-12T07:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problems linking with mkl95 libraries</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913837#M12383</link>
      <description>&lt;P&gt;Hi Gennady,&lt;/P&gt;
&lt;P&gt;I have been out of action for a few days hence the delay in responding. I am still having problems with linking in the libraries. I downloaded the example file 70693, changed the paths in project settingsto reflect the that my ivf release is slightly later than the one this project was written for and the project compiled and linked. However if I changed iface to cvf it failed to link with lnk2019 unresolved external symbol &lt;A href="mailto:_sgesv_mkl95@16"&gt;_sgesv_mkl95@16&lt;/A&gt;. So this is mirroring the problem I have with my project which was originally a cvf project and brings up errors as described if I change iface.&lt;/P&gt;
&lt;P&gt;I really need to solve this problem and would be grateful for any help/advice that you or anyone else is able to give....&lt;/P&gt;
&lt;P&gt;Many thanks for everyones' time.&lt;/P&gt;
&lt;P&gt;ACAR.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2010 15:01:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913837#M12383</guid>
      <dc:creator>acar</dc:creator>
      <dc:date>2010-01-16T15:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problems linking with mkl95 libraries</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913838#M12384</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I have managed to get the project to compile and link with the default calling convention and the following link line:&lt;/P&gt;
&lt;P&gt;/OUT:"Debug/EFESYS.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:\Program Files\Intel\Compiler\11.1\051\mkl\ia32\lib" /NODEFAULTLIB:"dfconsol.lib" /MANIFEST /MANIFESTFILE:"C:\RMA\Programs\EFE_V1.1\EFE\Debug\EFESYS.exe.intermediate.manifest" /DEBUG /PDB:"Debug/EFESYS.pdb" /SUBSYSTEM:WINDOWS /ENTRY:"WinMainCRTStartup" mkl_lapack95.lib mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib&lt;/P&gt;
&lt;P&gt;Thanks for your help.&lt;/P&gt;
&lt;P&gt;ACAR&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2010 18:48:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-linking-with-mkl95-libraries/m-p/913838#M12384</guid>
      <dc:creator>acar</dc:creator>
      <dc:date>2010-01-17T18:48:29Z</dc:date>
    </item>
  </channel>
</rss>

