<?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: New comer's question! in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/New-comer-s-question/m-p/941291#M14531</link>
    <description>Add libguide to the list of linked libraries.  This should be called out in examples provided with MKL.</description>
    <pubDate>Sat, 11 Mar 2006 21:52:24 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2006-03-11T21:52:24Z</dc:date>
    <item>
      <title>New comer's question!</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/New-comer-s-question/m-p/941290#M14530</link>
      <description>I am a new comer to the MKL.&lt;BR /&gt;&lt;BR /&gt;My IDE is VC++.net, and MKL is 8.0.1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here is my test code, and the following is the linkage error. I don't know what to do with them.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#include &lt;BR /&gt;&lt;BR /&gt;#include "mkl.h"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;extern "C" void sgemm(char *transa,char *transb,int *m,int *n,int *k,float *alpha,float *a,int *lda,float *b,int *ldb,float *beta,float *c,int *ldc);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;void main()&lt;BR /&gt;&lt;BR /&gt;{&lt;BR /&gt;&lt;BR /&gt;float alpha = 1.0f;&lt;BR /&gt;&lt;BR /&gt;float beta = 1.0f;&lt;BR /&gt;&lt;BR /&gt;char transa = 'n';&lt;BR /&gt;&lt;BR /&gt;char transb = 'n';&lt;BR /&gt;&lt;BR /&gt;int m = 3;&lt;BR /&gt;&lt;BR /&gt;int n = 3;&lt;BR /&gt;&lt;BR /&gt;int k = 3;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;float *a = new float[9];&lt;BR /&gt;&lt;BR /&gt;float *b = new float[9];&lt;BR /&gt;&lt;BR /&gt;float *c = new float[9];&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;for ( int i = 0; i 9; ++i ){&lt;BR /&gt;&lt;BR /&gt;a&lt;I&gt; = 1.0f;&lt;BR /&gt;&lt;BR /&gt;b&lt;I&gt; = 2.0f;&lt;BR /&gt;&lt;BR /&gt;c&lt;I&gt; = 0.0f;&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;sgemm( &amp;amp;transa, &amp;amp;transb, &amp;amp;m, &amp;amp;n, &amp;amp;k, α, a, &amp;amp;m, b, &amp;amp;n, β, c, &amp;amp;n );&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Error 1 error LNK2019: unresolved external symbol ___kmpc_global_thread_num referenced in function _mkl_blas_p4_sgemm mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 2 error LNK2001: unresolved external symbol ___kmpc_global_thread_num mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 3 error LNK2001: unresolved external symbol ___kmpc_global_thread_num mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 4 error LNK2001: unresolved external symbol ___kmpc_global_thread_num mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 5 error LNK2019: unresolved external symbol _omp_in_parallel referenced in function _mkl_blas_p4_sgemm mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 6 error LNK2001: unresolved external symbol _omp_in_parallel mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 7 error LNK2001: unresolved external symbol _omp_in_parallel mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 8 error LNK2001: unresolved external symbol _omp_in_parallel mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 9 error LNK2019: unresolved external symbol _omp_get_max_threads referenced in function _mkl_blas_p4_sgemm mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 10 error LNK2001: unresolved external symbol _omp_get_max_threads mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 11 error LNK2001: unresolved external symbol _omp_get_max_threads mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 12 error LNK2001: unresolved external symbol _omp_get_max_threads mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 13 error LNK2019: unresolved external symbol ___kmpc_ok_to_fork referenced in function _mkl_blas_p4_sgemm mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 14 error LNK2001: unresolved external symbol ___kmpc_ok_to_fork mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 15 error LNK2001: unresolved external symbol ___kmpc_ok_to_fork mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 16 error LNK2001: unresolved external symbol ___kmpc_ok_to_fork mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 17 error LNK2019: unresolved external symbol ___kmpc_fork_call referenced in function _mkl_blas_p4_sgemm mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 18 error LNK2001: unresolved external symbol ___kmpc_fork_call mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 19 error LNK2001: unresolved external symbol ___kmpc_fork_call mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 20 error LNK2001: unresolved external symbol ___kmpc_fork_call mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 21 error LNK2019: unresolved external symbol ___kmpc_serialized_parallel referenced in function _mkl_blas_p4_sgemm mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 22 error LNK2001: unresolved external symbol ___kmpc_serialized_parallel mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 23 error LNK2001: unresolved external symbol ___kmpc_serialized_parallel mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 24 error LNK2001: unresolved external symbol ___kmpc_serialized_parallel mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 25 error LNK2019: unresolved external symbol ___kmpc_end_serialized_parall
el referenced in function _mkl_blas_p4_sgemm mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 26 error LNK2001: unresolved external symbol ___kmpc_end_serialized_parallel mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 27 error LNK2001: unresolved external symbol ___kmpc_end_serialized_parallel mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 28 error LNK2001: unresolved external symbol ___kmpc_end_serialized_parallel mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 29 error LNK2019: unresolved external symbol ___kmpc_for_static_init_4 referenced in function ___mkl_blas_p4_sgemm_276__par_loop0 mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 30 error LNK2001: unresolved external symbol ___kmpc_for_static_init_4 mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 31 error LNK2001: unresolved external symbol ___kmpc_for_static_init_4 mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 32 error LNK2001: unresolved external symbol ___kmpc_for_static_init_4 mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 33 error LNK2019: unresolved external symbol ___kmpc_for_static_fini referenced in function ___mkl_blas_p4_sgemm_276__par_loop0 mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 34 error LNK2001: unresolved external symbol ___kmpc_for_static_fini mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 35 error LNK2001: unresolved external symbol ___kmpc_for_static_fini mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 36 error LNK2001: unresolved external symbol ___kmpc_for_static_fini mkl_ia32.lib&lt;BR /&gt;&lt;BR /&gt;Error 37 fatal error LNK1120: 9 unresolved externals D:CLangTests&amp;#8;lasDebug&amp;#8;las.exe&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;</description>
      <pubDate>Sat, 11 Mar 2006 19:57:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/New-comer-s-question/m-p/941290#M14530</guid>
      <dc:creator>fanhanqi</dc:creator>
      <dc:date>2006-03-11T19:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: New comer's question!</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/New-comer-s-question/m-p/941291#M14531</link>
      <description>Add libguide to the list of linked libraries.  This should be called out in examples provided with MKL.</description>
      <pubDate>Sat, 11 Mar 2006 21:52:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/New-comer-s-question/m-p/941291#M14531</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2006-03-11T21:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: New comer's question!</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/New-comer-s-question/m-p/941292#M14532</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;I'm having a similar problem. Added libguide.lib, but now it complains about missing libirc. Any tips?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 27 May 2006 13:16:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/New-comer-s-question/m-p/941292#M14532</guid>
      <dc:creator>ilyaeck</dc:creator>
      <dc:date>2006-05-27T13:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: New comer's question!</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/New-comer-s-question/m-p/941293#M14533</link>
      <description>&lt;DIV&gt;You are trying to use statical version of libguide. Statical libguide have dependences from libirc. You can resolve linkage problems by two ways:&lt;/DIV&gt;&lt;DIV&gt;1) use libirc library at linkage stage of your project&lt;/DIV&gt;&lt;DIV&gt;2) use dinamical version of libguide - link libguide40.lib instead libguide.lib&lt;/DIV&gt;</description>
      <pubDate>Sun, 28 May 2006 13:21:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/New-comer-s-question/m-p/941293#M14533</guid>
      <dc:creator>Andrey_G_Intel2</dc:creator>
      <dc:date>2006-05-28T13:21:58Z</dc:date>
    </item>
  </channel>
</rss>

