<?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 Unresolved Externals in RELEASE but not DEBUG version in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-Externals-in-RELEASE-but-not-DEBUG-version/m-p/825189#M5083</link>
    <description>&lt;P&gt;Wow ! Thanks ! I really appreciate your quick response and willingness to wade through the build logs.&lt;/P&gt;&lt;P&gt;Using mk_intel_&lt;STRONG&gt;s&lt;/STRONG&gt;.lib (in place of mkl_intel_&lt;STRONG&gt;c&lt;/STRONG&gt;.lib) resulted in successful compilation, linking, and execution.&lt;/P&gt;&lt;P&gt;I don't know if I would have ever resolved this.&lt;/P&gt;&lt;P&gt;It was (un)fortunate the DEBUG version worked with mkl_intel_&lt;STRONG&gt;c&lt;/STRONG&gt;.lib.&lt;/P&gt;</description>
    <pubDate>Wed, 11 May 2011 21:02:21 GMT</pubDate>
    <dc:creator>Jim_Vickroy</dc:creator>
    <dc:date>2011-05-11T21:02:21Z</dc:date>
    <item>
      <title>Unresolved Externals in RELEASE but not DEBUG version</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-Externals-in-RELEASE-but-not-DEBUG-version/m-p/825185#M5079</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I can successfully compile/link/execute a Visual Fortran (XE 12.0.3.175 [IA-32]) DEBUG version of an application using the MKL under MS Visual Studio 2008. However, when attempting to build a RELEASE version of the application, link errors pertaining to the MKL occur. For example:&lt;PRE&gt;[bash]error LNK2019: unresolved external symbol _SGETRF@24 referenced in ...[/bash]&lt;/PRE&gt; I have repeatedly checked to ensure the properties settings&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;[bash]Project &amp;gt; Properties &amp;gt; Configuration Properties &amp;gt; Linker &amp;gt; General &amp;gt; Additional Library Directories
Project &amp;gt; Properties &amp;gt; Configuration Properties &amp;gt; Linker &amp;gt; Input &amp;gt; Additional Dependencies.[/bash]&lt;/PRE&gt; are identical for both DEBUG and RELEASE as per the Help information in&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;[bash]Configuring Intel Visual Fortran to Link with Intel MKL
[/bash]&lt;/PRE&gt; I would appreciate guidance on how to locate/fix my mistakes.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-- jv&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2011 14:55:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-Externals-in-RELEASE-but-not-DEBUG-version/m-p/825185#M5079</guid>
      <dc:creator>Jim_Vickroy</dc:creator>
      <dc:date>2011-05-11T14:55:07Z</dc:date>
    </item>
    <item>
      <title>Unresolved Externals in RELEASE but not DEBUG version</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-Externals-in-RELEASE-but-not-DEBUG-version/m-p/825186#M5080</link>
      <description>The unsatisfied external name, _SGETRF@24, indicates that the STDCALL convention was in effect when the routine containing the call to SGETRF was compiled. This convention &lt;I&gt;is not the default&lt;/I&gt; for Intel Fortran and was chosen either by specifying the option in your project settings or as a command-line option, or using directives in your sources.&lt;BR /&gt;&lt;BR /&gt;Please check your project settings, clean and rebuild. If you still get the same message, attach the build-log to your reply.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 May 2011 15:15:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-Externals-in-RELEASE-but-not-DEBUG-version/m-p/825186#M5080</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-05-11T15:15:04Z</dc:date>
    </item>
    <item>
      <title>Unresolved Externals in RELEASE but not DEBUG version</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-Externals-in-RELEASE-but-not-DEBUG-version/m-p/825187#M5081</link>
      <description>&lt;P&gt;Thanks for the helpful feedback. I now have a better understanding of the error. &lt;/P&gt;&lt;P&gt;My intention is to use the CVF call interface because of a dependency on an external library.&lt;/P&gt;&lt;P&gt;I am a novice user of the Visual Studio tool so I probably have made a mistake in its use regarding RELEASE and DEBUG builds. So far, I can not find the mistake.&lt;/P&gt;&lt;P&gt;As suggested, I have repeatedly performed a &lt;EM&gt;clean&lt;/EM&gt; operation prior to a &lt;EM&gt;rebuild&lt;/EM&gt;; the link error persists.&lt;/P&gt;&lt;P&gt;I have included the logs from the &lt;EM&gt;two&lt;/EM&gt; stages of the RELEASE build; in Visual Studio parlance the &lt;EM&gt;Solution&lt;/EM&gt; comprises a Library &lt;EM&gt;Project&lt;/EM&gt; and an executable &lt;EM&gt;Project&lt;/EM&gt; that uses the library. Note, this library is not the external dependency mentioned in the first paragraph above. Also note, the MKL dependencies are in my project library (not in the external dependency library).&lt;/P&gt;&lt;P&gt;Here is the build log for the library project:&lt;/P&gt;&lt;PRE&gt;[bash]Build Log 
 	 	 Build started: Project: SUVI Thematic Maps Lib, Configuration: Release|Win32 
 Output 
 	 	Compiling with Intel Visual Fortran Compiler XE 12.0.3.175 [IA-32]...
ifort /nologo /I&amp;amp;quotC:Program FilesIntelComposerXE-2011mklinclude" /iface:cvf /module:&amp;amp;quotRelease\" /object:&amp;amp;quotRelease\" /Fd&amp;amp;quotReleasevc90.pdb" /libs:static /threads /c /libs:dll cfitsio.lib /MD /fpp /extfpp:cfortran.h,fitsio.h /Qvc9 /Qlocation,link,&amp;amp;quotc:Program FilesMicrosoft Visual Studio 9.0VC\bin" &amp;amp;quotC:Documents and Settingsjim.vickroyMy DocumentsVisual Studio 2008ProjectsSUVI Thematic MapsSUVI Thematic Maps Libsource filestesting.f90"
ifort /nologo /I&amp;amp;quotC:Program FilesIntelComposerXE-2011mklinclude" /iface:cvf /module:&amp;amp;quotRelease\" /object:&amp;amp;quotRelease\" /Fd&amp;amp;quotReleasevc90.pdb" /libs:static /threads /c /libs:dll cfitsio.lib /MD /fpp /extfpp:cfortran.h,fitsio.h /iface:cvf /Qvc9 /Qlocation,link,&amp;amp;quotc:Program FilesMicrosoft Visual Studio 9.0VC\bin" &amp;amp;quotC:Documents and Settingsjim.vickroyMy DocumentsVisual Studio 2008ProjectsSUVI Thematic MapsSUVI Thematic Maps Libsource filesarithmetic.f90"
ifort /nologo /I&amp;amp;quotC:Program FilesIntelComposerXE-2011mklinclude" /iface:cvf /module:&amp;amp;quotRelease\" /object:&amp;amp;quotRelease\" /Fd&amp;amp;quotReleasevc90.pdb" /libs:static /threads /c /libs:dll cfitsio.lib /MD /fpp /extfpp:cfortran.h,fitsio.h /Qvc9 /Qlocation,link,&amp;amp;quotc:Program FilesMicrosoft Visual Studio 9.0VC\bin" &amp;amp;quotC:Documents and Settingsjim.vickroyMy DocumentsVisual Studio 2008ProjectsSUVI Thematic MapsSUVI Thematic Maps Libsource filesglobals.f90"
ifort /nologo /I&amp;amp;quotC:Program FilesIntelComposerXE-2011mklinclude" /iface:cvf /module:&amp;amp;quotRelease\" /object:&amp;amp;quotRelease\" /Fd&amp;amp;quotReleasevc90.pdb" /libs:static /threads /c /libs:dll cfitsio.lib /MD /fpp /extfpp:cfortran.h,fitsio.h /Qvc9 /Qlocation,link,&amp;amp;quotc:Program FilesMicrosoft Visual Studio 9.0VC\bin" &amp;amp;quotC:Documents and Settingsjim.vickroyMy DocumentsVisual Studio 2008ProjectsSUVI Thematic MapsSUVI Thematic Maps Libsource filesutils.f90"
ifort /nologo /I&amp;amp;quotC:Program FilesIntelComposerXE-2011mklinclude" /iface:cvf /module:&amp;amp;quotRelease\" /object:&amp;amp;quotRelease\" /Fd&amp;amp;quotReleasevc90.pdb" /libs:static /threads /c /libs:dll cfitsio.lib /MD /fpp /extfpp:cfortran.h,fitsio.h /Qvc9 /Qlocation,link,&amp;amp;quotc:Program FilesMicrosoft Visual Studio 9.0VC\bin" &amp;amp;quotC:Documents and Settingsjim.vickroyMy DocumentsVisual Studio 2008ProjectsSUVI Thematic MapsSUVI Thematic Maps Libsource filesdate_time.f90"
ifort /nologo /I&amp;amp;quotC:Program FilesIntelComposerXE-2011mklinclude" /iface:cvf /module:&amp;amp;quotRelease\" /object:&amp;amp;quotRelease\" /Fd&amp;amp;quotReleasevc90.pdb" /libs:static /threads /c /libs:dll cfitsio.lib /MD /fpp /extfpp:cfortran.h,fitsio.h /Qvc9 /Qlocation,link,&amp;amp;quotc:Program FilesMicrosoft Visual Studio 9.0VC\bin" &amp;amp;quotC:Documents and Settingsjim.vickroyMy DocumentsVisual Studio 2008ProjectsSUVI Thematic MapsSUVI Thematic Maps Libsource filescfitsio.f90"
ifort /nologo /I&amp;amp;quotC:Program FilesIntelComposerXE-2011mklinclude" /iface:cvf /module:&amp;amp;quotRelease\" /object:&amp;amp;quotRelease\" /Fd&amp;amp;quotReleasevc90.pdb" /libs:static /threads /c /libs:dll cfitsio.lib /MD /fpp /extfpp:cfortran.h,fitsio.h /Qvc9 /Qlocation,link,&amp;amp;quotc:Program FilesMicrosoft Visual Studio 9.0VC\bin" &amp;amp;quotC:Documents and Settingsjim.vickroyMy DocumentsVisual Studio 2008ProjectsSUVI Thematic MapsSUVI Thematic Maps Libsource filesfiles.f90"
ifort /nologo /I&amp;amp;quotC:Program FilesIntelComposerXE-2011mklinclude" /iface:cvf /module:&amp;amp;quotRelease\" /object:&amp;amp;quotRelease\" /Fd&amp;amp;quotReleasevc90.pdb" /libs:static /threads /c /libs:dll cfitsio.lib /MD /fpp /extfpp:cfortran.h,fitsio.h /Qvc9 /Qlocation,link,&amp;amp;quotc:Program FilesMicrosoft Visual Studio 9.0VC\bin" &amp;amp;quotC:Documents and Settingsjim.vickroyMy DocumentsVisual Studio 2008ProjectsSUVI Thematic MapsSUVI Thematic Maps Libsource fileslogging.f90"
ifort /nologo /I&amp;amp;quotC:Program FilesIntelComposerXE-2011mklinclude" /iface:cvf /module:&amp;amp;quotRelease\" /object:&amp;amp;quotRelease\" /Fd&amp;amp;quotReleasevc90.pdb" /libs:static /threads /c /libs:dll cfitsio.lib /MD /fpp /extfpp:cfortran.h,fitsio.h /Qvc9 /Qlocation,link,&amp;amp;quotc:Program FilesMicrosoft Visual Studio 9.0VC\bin" &amp;amp;quotC:Documents and Settingsjim.vickroyMy DocumentsVisual Studio 2008ProjectsSUVI Thematic MapsSUVI Thematic Maps Libsource filescomposite_products.f90"
ifort /nologo /I&amp;amp;quotC:Program FilesIntelComposerXE-2011mklinclude" /iface:cvf /module:&amp;amp;quotRelease\" /object:&amp;amp;quotRelease\" /Fd&amp;amp;quotReleasevc90.pdb" /libs:static /threads /c /libs:dll cfitsio.lib /MD /fpp /extfpp:cfortran.h,fitsio.h /Qvc9 /Qlocation,link,&amp;amp;quotc:Program FilesMicrosoft Visual Studio 9.0VC\bin" &amp;amp;quotC:Documents and Settingsjim.vickroyMy DocumentsVisual Studio 2008ProjectsSUVI Thematic MapsSUVI Thematic Maps Libsource filesconfiguration.f90"
ifort /nologo /I&amp;amp;quotC:Program FilesIntelComposerXE-2011mklinclude" /iface:cvf /module:&amp;amp;quotRelease\" /object:&amp;amp;quotRelease\" /Fd&amp;amp;quotReleasevc90.pdb" /libs:static /threads /c /libs:dll cfitsio.lib /MD /fpp /extfpp:cfortran.h,fitsio.h /Qvc9 /Qlocation,link,&amp;amp;quotc:Program FilesMicrosoft Visual Studio 9.0VC\bin" &amp;amp;quotC:Documents and Settingsjim.vickroyMy DocumentsVisual Studio 2008ProjectsSUVI Thematic MapsSUVI Thematic Maps Libsource filesprobability.f90"
ifort /nologo /I&amp;amp;quotC:Program FilesIntelComposerXE-2011mklinclude" /iface:cvf /module:&amp;amp;quotRelease\" /object:&amp;amp;quotRelease\" /Fd&amp;amp;quotReleasevc90.pdb" /libs:static /threads /c /libs:dll cfitsio.lib /MD /fpp /extfpp:cfortran.h,fitsio.h /iface:cvf /Qvc9 /Qlocation,link,&amp;amp;quotc:Program FilesMicrosoft Visual Studio 9.0VC\bin" &amp;amp;quotC:Documents and Settingsjim.vickroyMy DocumentsVisual Studio 2008ProjectsSUVI Thematic MapsSUVI Thematic Maps Libsource filestheme_products.f90"
Creating library...
Lib /OUT:&amp;amp;quotRelease/SUVI Thematic Maps Lib.lib" /NOLOGO &amp;amp;quotReleasetesting.obj" &amp;amp;quotReleasearithmetic.obj" &amp;amp;quotReleaseglobals.obj" &amp;amp;quotReleaseutils.obj" &amp;amp;quotReleasedate_time.obj" &amp;amp;quotReleasecfitsio.obj" &amp;amp;quotReleasefiles.obj" &amp;amp;quotReleaselogging.obj" &amp;amp;quotReleasecomposite_products.obj" &amp;amp;quotReleaseconfiguration.obj" &amp;amp;quotReleaseprobability.obj" &amp;amp;quotReleasetheme_products.obj"
xilib: executing 'lib'


SUVI Thematic Maps Lib - 0 error(s), 0 warning(s)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[/bash]&lt;/PRE&gt; &lt;P&gt;Here is the build log for the executable project:&lt;/P&gt;&lt;P&gt;Build Log &lt;BR /&gt; 	 	 Build started: Project: SUVI Thematic Maps Demo, Configuration: Release|Win32 &lt;BR /&gt; Output &lt;BR /&gt; 	 	Compiling with Intel Visual Fortran Compiler XE 12.0.3.175 [IA-32]...&lt;BR /&gt;ifort /nologo /I&amp;amp;quotC:\Documents and Settings\jim.vickroy\My Documents\Visual Studio 2008\Projects\SUVI Thematic Maps\SUVI Thematic Maps Lib\Release" /iface:cvf /module:&amp;amp;quotRelease\" /object:&amp;amp;quotRelease\" /Fd&amp;amp;quotRelease\vc90.pdb" /libs:static /threads /c /libs:dll cfitsio.lib /MD /fpp /extfpp:cfortran.h,fitsio.h /Qvc9 /Qlocation,link,&amp;amp;quotc:\Program Files\Microsoft Visual Studio 9.0\VC\\bin" &amp;amp;quotC:\Documents and Settings\jim.vickroy\My Documents\Visual Studio 2008\Projects\SUVI Thematic Maps\SUVI Thematic Maps Demo\source files\demo.f90"&lt;BR /&gt;Linking...&lt;BR /&gt;Link /OUT:&amp;amp;quotRelease\SUVI Thematic Maps Demo.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:&amp;amp;quotC:\Documents and Settings\jim.vickroy\My Documents\Libraries" /LIBPATH:&amp;amp;quotC:\Program Files\Intel\ComposerXE-2011\mkl\lib\ia32" /MANIFEST /MANIFESTFILE:&amp;amp;quotC:\Documents and Settings\jim.vickroy\My Documents\Visual Studio 2008\Projects\SUVI Thematic Maps\SUVI Thematic Maps Demo\Release\SUVI Thematic Maps Demo.exe.intermediate.manifest" /MANIFESTUAC:&amp;amp;quotlevel='asInvoker' uiAccess='false'" /SUBSYSTEM:CONSOLE /IMPLIB:&amp;amp;quotC:\Documents and Settings\jim.vickroy\My Documents\Visual Studio 2008\Projects\SUVI Thematic Maps\SUVI Thematic Maps Demo\Release\SUVI Thematic Maps Demo.lib" cfitsio.lib mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib &amp;amp;quotRelease\demo.obj" &amp;amp;quotC:\Documents and Settings\jim.vickroy\My Documents\Visual Studio 2008\Projects\SUVI Thematic Maps\SUVI Thematic Maps Lib\Release\SUVI Thematic Maps Lib.lib"&lt;BR /&gt;Link: executing 'link'&lt;BR /&gt;SUVI Thematic Maps Lib.lib(probability.obj) : error LNK2019: unresolved external symbol _SGETRF@24 referenced in function _COVARIANCE_MATRIX_COMPONENT_mp_COVARIANCE_MATRIX_INVERT&lt;BR /&gt;SUVI Thematic Maps Lib.lib(probability.obj) : error LNK2019: unresolved external symbol _SGETRI@28 referenced in function _COVARIANCE_MATRIX_COMPONENT_mp_COVARIANCE_MATRIX_INVERT&lt;BR /&gt;Release\SUVI Thematic Maps Demo.exe : fatal error LNK1120: 2 unresolved externals&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SUVI Thematic Maps Demo - 3 error(s), 0 warning(s)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2011 18:58:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-Externals-in-RELEASE-but-not-DEBUG-version/m-p/825187#M5081</guid>
      <dc:creator>Jim_Vickroy</dc:creator>
      <dc:date>2011-05-11T18:58:03Z</dc:date>
    </item>
    <item>
      <title>Unresolved Externals in RELEASE but not DEBUG version</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-Externals-in-RELEASE-but-not-DEBUG-version/m-p/825188#M5082</link>
      <description>If a routine that calls MKL was compiled with /iface:CVF, you must use mkl_intel_&lt;B&gt;s&lt;/B&gt;.lib rather than mkl_intel_&lt;B&gt;c&lt;/B&gt;.lib to link your application. See if that is enough to build the application.&lt;BR /&gt;&lt;BR /&gt;If you mix objects compiled with /iface:cvf and those compiled without that option, you have to be extra careful since /iface:cvf does not give you fine enough control. You may need to use !DEC$ directives.</description>
      <pubDate>Wed, 11 May 2011 20:25:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-Externals-in-RELEASE-but-not-DEBUG-version/m-p/825188#M5082</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-05-11T20:25:35Z</dc:date>
    </item>
    <item>
      <title>Unresolved Externals in RELEASE but not DEBUG version</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-Externals-in-RELEASE-but-not-DEBUG-version/m-p/825189#M5083</link>
      <description>&lt;P&gt;Wow ! Thanks ! I really appreciate your quick response and willingness to wade through the build logs.&lt;/P&gt;&lt;P&gt;Using mk_intel_&lt;STRONG&gt;s&lt;/STRONG&gt;.lib (in place of mkl_intel_&lt;STRONG&gt;c&lt;/STRONG&gt;.lib) resulted in successful compilation, linking, and execution.&lt;/P&gt;&lt;P&gt;I don't know if I would have ever resolved this.&lt;/P&gt;&lt;P&gt;It was (un)fortunate the DEBUG version worked with mkl_intel_&lt;STRONG&gt;c&lt;/STRONG&gt;.lib.&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2011 21:02:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-Externals-in-RELEASE-but-not-DEBUG-version/m-p/825189#M5083</guid>
      <dc:creator>Jim_Vickroy</dc:creator>
      <dc:date>2011-05-11T21:02:21Z</dc:date>
    </item>
  </channel>
</rss>

