<?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 external symbol when building for intel 64 system in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-external-symbol-when-building-for-intel-64-system/m-p/799502#M2938</link>
    <description>I see something amiss with the name decoration. With LP64 as the target, the name should be SGEMV_F95 (without a leading underscore). The decoration _SGEMV_F95 is appropriate for IA32 targets. Make sure that the compiler and linker options target the same model (IA32 or LP64).&lt;BR /&gt;&lt;BR /&gt;A similar observation applies to other unsatisfied externals.&lt;BR /&gt;</description>
    <pubDate>Sun, 26 Jun 2011 16:33:23 GMT</pubDate>
    <dc:creator>mecej4</dc:creator>
    <dc:date>2011-06-26T16:33:23Z</dc:date>
    <item>
      <title>Unresolved external symbol when building for intel 64 system</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-external-symbol-when-building-for-intel-64-system/m-p/799495#M2931</link>
      <description>hi everyone!&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;i'm trying to build a small programm to evaluate the performance of the BLAS function GEMV on a multi core system, but when i try to build the program i get the following errors:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;"&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Error	1	 error LNK2019: unresolved external symbol _SGEMV_F95 referenced in function _MAIN__	Parallel_test.obj	&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;Error	1	 error LNK2019: unresolved external symbol _SGEMV_F95 referenced in function _MAIN__	Parallel_test.obj&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;My link line looks like this:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;"&gt;/OUT:"Debug\\Parallel_test.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:\\Program Files (x86)\\Intel\\ComposerXE-2011\\mkl\\lib\\intel64" /MANIFEST /MANIFESTFILE:"C:\\Users\\Maria Mair\\Documents\\Visual Studio 2010\\Projects\\Parallel_test\\Parallel_test\\Debug\\Parallel_test.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:\\Users\\Maria Mair\\Documents\\Visual Studio 2010\\Projects\\Parallel_test\\Parallel_test\\Debug\\Parallel_test.pdb" /SUBSYSTEM:CONSOLE /STACK:104858000 /IMPLIB:"C:\\Users\\Maria Mair\\Documents\\Visual Studio 2010\\Projects\\Parallel_test\\Parallel_test\\Debug\\Parallel_test.lib" mkl_intel_lp64.lib mkl_intel_thread.lib mkl_blas95_lp64.lib mkl_core.lib&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I've included the libraries suggested by the link line advisor and if i change the libraries to the ones needed for a 32-bit system the program builds and runs without a problem but only a single core is used (BLAS level 2 functions are only multi-threaded for intel 64 bit systems?).&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Any suggestions what i need to change or add?&lt;/DIV&gt;</description>
      <pubDate>Fri, 24 Jun 2011 18:01:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-external-symbol-when-building-for-intel-64-system/m-p/799495#M2931</guid>
      <dc:creator>gregor_seitlinger</dc:creator>
      <dc:date>2011-06-24T18:01:30Z</dc:date>
    </item>
    <item>
      <title>Unresolved external symbol when building for intel 64 system</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-external-symbol-when-building-for-intel-64-system/m-p/799496#M2932</link>
      <description>Ok, could you please clarify, when you addmkl_blas95_lp64.lib, then all linking problems has dissapered, right?&lt;DIV&gt;Regarding using only one thread - all&lt;SAMP&gt;?gemv routines are threaded.&lt;/SAMP&gt;&lt;/DIV&gt;&lt;DIV&gt;what is the size of matrix you are running?&lt;/DIV&gt;&lt;DIV&gt;&lt;SAMP&gt;&lt;BR /&gt;&lt;/SAMP&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 24 Jun 2011 18:46:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-external-symbol-when-building-for-intel-64-system/m-p/799496#M2932</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2011-06-24T18:46:02Z</dc:date>
    </item>
    <item>
      <title>Unresolved external symbol when building for intel 64 system</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-external-symbol-when-building-for-intel-64-system/m-p/799497#M2933</link>
      <description>Unfortunately no. When i try to build with the libraries listed in my link list i get the mentioned errors. Only when i build the identical program for a 32-bit system do I not get any errors.&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Regarding the multi-threading of BLAS level 2 functions - the IMKL documentation says:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P style="padding-left: 20pt;" class="Bullet"&gt;-Level1 and Level2 BLAS functions:&lt;/P&gt;&lt;P style="padding-left: 20pt;" class="BulletSubDash"&gt;-Level1 BLAS:*axpy, *copy, *swap, ddot/sdot, drot/srot&lt;/P&gt;&lt;P style="padding-left: 20pt;" class="BulletSubDash"&gt;-Level2 BLAS:*gemv, *trmv, dsyr/ssyr, dsyr2/ssyr2, dsymv/ssymv&lt;/P&gt;&lt;P style="padding-left: 20pt;" class="BulletStepPara"&gt;Note that these functions are threaded only for:&lt;/P&gt;&lt;P style="padding-left: 20pt;" class="BulletSubDash"&gt;-Intel 64 architecture&lt;/P&gt;&lt;P style="padding-left: 20pt;" class="BulletSubDash"&gt;-Intel Core2 Duo and Intel Core i7 processors&lt;/P&gt;&lt;P class="BulletSubDash"&gt;thats why I assumed that GEMV only using one processor when build with the ia32 libraries was normal.&lt;/P&gt;&lt;P class="BulletSubDash"&gt;&lt;/P&gt;&lt;P class="BulletSubDash"&gt;The matrix i'm using is 1000x1000.&lt;/P&gt;&lt;P class="BulletSubDash"&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 24 Jun 2011 19:17:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-external-symbol-when-building-for-intel-64-system/m-p/799497#M2933</guid>
      <dc:creator>gregor_seitlinger</dc:creator>
      <dc:date>2011-06-24T19:17:23Z</dc:date>
    </item>
    <item>
      <title>Unresolved external symbol when building for intel 64 system</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-external-symbol-when-building-for-intel-64-system/m-p/799498#M2934</link>
      <description>Hi Gregor,&lt;BR /&gt;&lt;BR /&gt;MKL SGEMV is multithreaded for IA32 architecturs too. For level-2 BLAS, 1000x1000 may not be large enough to see the benefits from parallelism. On my dual-core system, I do not see a speedup for a 1000x1000 matrix neither. However, if I increase my problem size (say 2000x2000), I start seeing the benefits from multi-threading. &lt;BR /&gt;&lt;BR /&gt;Are you using the latest MKL?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Efe</description>
      <pubDate>Fri, 24 Jun 2011 20:20:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-external-symbol-when-building-for-intel-64-system/m-p/799498#M2934</guid>
      <dc:creator>Murat_G_Intel</dc:creator>
      <dc:date>2011-06-24T20:20:02Z</dc:date>
    </item>
    <item>
      <title>Unresolved external symbol when building for intel 64 system</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-external-symbol-when-building-for-intel-64-system/m-p/799499#M2935</link>
      <description>As a remark, GEMV is memory bound. You would especially see the benefits of multi-threading on multi-socket systems (again for large problems).</description>
      <pubDate>Sat, 25 Jun 2011 01:31:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-external-symbol-when-building-for-intel-64-system/m-p/799499#M2935</guid>
      <dc:creator>Murat_G_Intel</dc:creator>
      <dc:date>2011-06-25T01:31:47Z</dc:date>
    </item>
    <item>
      <title>Unresolved external symbol when building for intel 64 system</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-external-symbol-when-building-for-intel-64-system/m-p/799500#M2936</link>
      <description>Thanks for the quick replies.&lt;DIV&gt;Right now I'm not as much concerned with the performance increase I can get from the parallelism as with actually getting the program to build.&lt;/DIV&gt;&lt;DIV&gt;I think my problem migth have something to do with the libraries and modules needed for the BLAS routines. Last night I tryed to added the function mkl_set_num_threads() to force the use of all four cores of my sytem, which resulted in another error, so now I'm up to this:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;DIV id="_mcePaste"&gt;Error&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;1&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt; error LNK2019: unresolved external symbol _SGEMV_F95 referenced in function _MAIN__&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;Parallel_test.obj&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Error&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;2&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt; error LNK2019: unresolved external symbol _mkl_serv_mkl_set_num_threads referenced in function _MKL_SET_NUM_THREADS&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;mkl_intel_c.lib(_thrd_mkl_set_num_threads_f.obj)&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Error&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;3&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt; fatal error LNK1120: 2 unresolved externals&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;Debug\Parallel_test.exe&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;My Linker input looks like this:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;mkl_blas95_lp64.lib mkl_intel_lp64.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I'm using Visual Fortran Compiler XE 12.0 Update 4 &amp;amp; Intel Math Kernel Library 10.3 Update 4&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 25 Jun 2011 08:38:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-external-symbol-when-building-for-intel-64-system/m-p/799500#M2936</guid>
      <dc:creator>gregor_seitlinger</dc:creator>
      <dc:date>2011-06-25T08:38:15Z</dc:date>
    </item>
    <item>
      <title>Unresolved external symbol when building for intel 64 system</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-external-symbol-when-building-for-intel-64-system/m-p/799501#M2937</link>
      <description>hmm, intersting. I checked on my side - all works fine. Please check would you able to build ..\mkl\examples\blas95 examples for intel64? see the examples of using into makefile.</description>
      <pubDate>Sun, 26 Jun 2011 08:21:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-external-symbol-when-building-for-intel-64-system/m-p/799501#M2937</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2011-06-26T08:21:27Z</dc:date>
    </item>
    <item>
      <title>Unresolved external symbol when building for intel 64 system</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-external-symbol-when-building-for-intel-64-system/m-p/799502#M2938</link>
      <description>I see something amiss with the name decoration. With LP64 as the target, the name should be SGEMV_F95 (without a leading underscore). The decoration _SGEMV_F95 is appropriate for IA32 targets. Make sure that the compiler and linker options target the same model (IA32 or LP64).&lt;BR /&gt;&lt;BR /&gt;A similar observation applies to other unsatisfied externals.&lt;BR /&gt;</description>
      <pubDate>Sun, 26 Jun 2011 16:33:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-external-symbol-when-building-for-intel-64-system/m-p/799502#M2938</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-06-26T16:33:23Z</dc:date>
    </item>
    <item>
      <title>Unresolved external symbol when building for intel 64 system</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-external-symbol-when-building-for-intel-64-system/m-p/799503#M2939</link>
      <description>Thank you for pointing this out to me! Compiler and linker were targeting different models.&lt;BR /&gt;Problem solved, program builds and runs.&lt;BR /&gt;Thank you again!!!</description>
      <pubDate>Mon, 27 Jun 2011 09:12:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unresolved-external-symbol-when-building-for-intel-64-system/m-p/799503#M2939</guid>
      <dc:creator>gregor_seitlinger</dc:creator>
      <dc:date>2011-06-27T09:12:57Z</dc:date>
    </item>
  </channel>
</rss>

