<?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: error compiling mkl example :undefined reference to GetInte in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/error-compiling-mkl-example-undefined-reference-to/m-p/878042#M9208</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/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;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
I suppose libmkl_gf and libmkl_intel conflict with each other; just one of those two should be used. The link advisor on the right hand side of the forum page recommends only-lmkl_intel. Doesn't cblas also require its own library or common_func.c?&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;thx for the reply&lt;BR /&gt;i later found out that it might not be a linking error&lt;BR /&gt;those "functions" or "macros" that caused the problem are declared in mkl_example.h&lt;BR /&gt;but i dont think it's implemented anywhere since it's just examples, not part of the mkl library&lt;BR /&gt;</description>
    <pubDate>Wed, 17 Jun 2009 19:31:37 GMT</pubDate>
    <dc:creator>liunsteingmail_com</dc:creator>
    <dc:date>2009-06-17T19:31:37Z</dc:date>
    <item>
      <title>error compiling mkl example :undefined reference to GetIntegerParameters</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/error-compiling-mkl-example-undefined-reference-to/m-p/878040#M9206</link>
      <description>~/Desktop  $  gcc -o test cblas_zgbmvx.c -Wl,-rpath=/opt/intel/mkl/10.1.3.027/lib/32 -L/opt/intel/mkl/10.1.3.027/lib/32 -lmkl_gf -liomp5 -lmkl_intel -lmkl_intel_thread -lmkl_core -lpthread -lm&lt;BR /&gt;/tmp/ccETbui0.o: In function `main':&lt;BR /&gt;cblas_zgbmvx.c:(.text+0xc9): undefined reference to `GetIntegerParameters'&lt;BR /&gt;cblas_zgbmvx.c:(.text+0x103): undefined reference to `GetIntegerParameters'&lt;BR /&gt;cblas_zgbmvx.c:(.text+0x13d): undefined reference to `GetScalarsZ'&lt;BR /&gt;cblas_zgbmvx.c:(.text+0x177): undefined reference to `GetCblasCharParameters'&lt;BR /&gt;cblas_zgbmvx.c:(.text+0x322): undefined reference to `GetVectorZ'&lt;BR /&gt;cblas_zgbmvx.c:(.text+0x36e): undefined reference to `GetVectorZ'&lt;BR /&gt;cblas_zgbmvx.c:(.text+0x3f4): undefined reference to `GetBandArrayZ'&lt;BR /&gt;cblas_zgbmvx.c:(.text+0x492): undefined reference to `PrintParameters'&lt;BR /&gt;cblas_zgbmvx.c:(.text+0x4a6): undefined reference to `PrintParameters'&lt;BR /&gt;cblas_zgbmvx.c:(.text+0x4d8): undefined reference to `PrintVectorZ'&lt;BR /&gt;cblas_zgbmvx.c:(.text+0x50a): undefined reference to `PrintVectorZ'&lt;BR /&gt;cblas_zgbmvx.c:(.text+0x568): undefined reference to `PrintBandArrayZ'&lt;BR /&gt;cblas_zgbmvx.c:(.text+0x643): undefined reference to `PrintVectorZ'&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;&lt;BR /&gt;what should i do ?&lt;BR /&gt;thx&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jun 2009 18:52:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/error-compiling-mkl-example-undefined-reference-to/m-p/878040#M9206</guid>
      <dc:creator>liunsteingmail_com</dc:creator>
      <dc:date>2009-06-17T18:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: error compiling mkl example :undefined reference to GetInte</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/error-compiling-mkl-example-undefined-reference-to/m-p/878041#M9207</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/430573"&gt;liunsteingmail.com&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;~/Desktop  $  gcc -o test cblas_zgbmvx.c -Wl,-rpath=/opt/intel/mkl/10.1.3.027/lib/32 -L/opt/intel/mkl/10.1.3.027/lib/32 -lmkl_gf -liomp5 -lmkl_intel -lmkl_intel_thread -lmkl_core -lpthread -lm&lt;BR /&gt;/tmp/ccETbui0.o: In function `main':&lt;BR /&gt;cblas_zgbmvx.c:(.text+0xc9): undefined reference to `GetIntegerParameters'&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
I suppose libmkl_gf and libmkl_intel conflict with each other; just one of those two should be used. The link advisor on the right hand side of the forum page recommends only-lmkl_intel. Doesn't cblas also require its own library or common_func.c?&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jun 2009 19:21:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/error-compiling-mkl-example-undefined-reference-to/m-p/878041#M9207</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-06-17T19:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: error compiling mkl example :undefined reference to GetInte</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/error-compiling-mkl-example-undefined-reference-to/m-p/878042#M9208</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/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;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
I suppose libmkl_gf and libmkl_intel conflict with each other; just one of those two should be used. The link advisor on the right hand side of the forum page recommends only-lmkl_intel. Doesn't cblas also require its own library or common_func.c?&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;thx for the reply&lt;BR /&gt;i later found out that it might not be a linking error&lt;BR /&gt;those "functions" or "macros" that caused the problem are declared in mkl_example.h&lt;BR /&gt;but i dont think it's implemented anywhere since it's just examples, not part of the mkl library&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jun 2009 19:31:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/error-compiling-mkl-example-undefined-reference-to/m-p/878042#M9208</guid>
      <dc:creator>liunsteingmail_com</dc:creator>
      <dc:date>2009-06-17T19:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: error compiling mkl example :undefined reference to GetInte</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/error-compiling-mkl-example-undefined-reference-to/m-p/878043#M9209</link>
      <description>&lt;DIV style="margin:0px;"&gt;Yes one more source file need to be compiled - common_func.c.&lt;BR /&gt;The other way is to use the provided makefile in the directory examples/cblas to build and run the examples.&lt;BR /&gt;This command&lt;BR /&gt;&amp;gt;make so32 compiler=gnu function=cblas_zgbmv&lt;BR /&gt;will compile the required sources by gnu compiler, link the correct MKL libraries and run cblas_zgbmv example.&lt;BR /&gt;-Vladimir&lt;BR /&gt;&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jun 2009 19:52:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/error-compiling-mkl-example-undefined-reference-to/m-p/878043#M9209</guid>
      <dc:creator>Vladimir_Lunev</dc:creator>
      <dc:date>2009-06-17T19:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: error compiling mkl example :undefined reference to GetInte</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/error-compiling-mkl-example-undefined-reference-to/m-p/878044#M9210</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/19672"&gt;Vladimir Lunev (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;Yes one more source file need to be compiled - common_func.c.&lt;BR /&gt;The other way is to use the provided makefile in the directory examples/cblas to build and run the examples.&lt;BR /&gt;This command&lt;BR /&gt;&amp;gt;make so32 compiler=gnu function=cblas_zgbmv&lt;BR /&gt;will compile the required sources by gnu compiler, link the correct MKL libraries and run cblas_zgbmv example.&lt;BR /&gt;-Vladimir&lt;BR /&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
thx man ! &lt;BR /&gt;i've tried to use make but passed the wrong arguments: make &lt;STRONG&gt;lib32&lt;/STRONG&gt; function=common_func compiler=gnu&lt;BR /&gt;but now it works !&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Jun 2009 07:49:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/error-compiling-mkl-example-undefined-reference-to/m-p/878044#M9210</guid>
      <dc:creator>liunsteingmail_com</dc:creator>
      <dc:date>2009-06-18T07:49:31Z</dc:date>
    </item>
    <item>
      <title>OK I am getting this error:</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/error-compiling-mkl-example-undefined-reference-to/m-p/878045#M9211</link>
      <description>OK I am getting this error:
for the make file:

Dgemm_mkl:
        gcc -c -o Dgemm.o cblas_dgemmx.c
        gcc -L  -o Dgemm Dgemm.o

I get:

[sahar@kw2227 myMKLtests]$ make
gcc -c -o Dgemm.o cblas_dgemmx.c
gcc -o Dgemm Dgemm.o
Dgemm.o: In function `main':
cblas_dgemmx.c:(.text+0xb8): undefined reference to `GetIntegerParameters'
cblas_dgemmx.c:(.text+0xed): undefined reference to `GetScalarsD'
cblas_dgemmx.c:(.text+0x129): undefined reference to `GetCblasCharParameters'
cblas_dgemmx.c:(.text+0x2cc): undefined reference to `GetArrayD'
cblas_dgemmx.c:(.text+0x31f): undefined reference to `GetArrayD'
cblas_dgemmx.c:(.text+0x36c): undefined reference to `GetArrayD'
cblas_dgemmx.c:(.text+0x3f5): undefined reference to `PrintParameters'
cblas_dgemmx.c:(.text+0x409): undefined reference to `PrintParameters'
cblas_dgemmx.c:(.text+0x44b): undefined reference to `PrintArrayD'
cblas_dgemmx.c:(.text+0x48d): undefined reference to `PrintArrayD'
cblas_dgemmx.c:(.text+0x4c9): undefined reference to `PrintArrayD'
cblas_dgemmx.c:(.text+0x527): undefined reference to `cblas_dgemm'
cblas_dgemmx.c:(.text+0x575): undefined reference to `PrintArrayD'
collect2: ld returned 1 exit status
make: *** [Dgemm_mkl] Error 1

if it wasn't a linking problem then what is it??</description>
      <pubDate>Tue, 18 Sep 2012 12:41:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/error-compiling-mkl-example-undefined-reference-to/m-p/878045#M9211</guid>
      <dc:creator>Sahar_A_</dc:creator>
      <dc:date>2012-09-18T12:41:06Z</dc:date>
    </item>
    <item>
      <title>these references like</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/error-compiling-mkl-example-undefined-reference-to/m-p/878046#M9212</link>
      <description>these references like 'GetIntegerParameters' and others are defined into common_func.c file.</description>
      <pubDate>Tue, 18 Sep 2012 14:20:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/error-compiling-mkl-example-undefined-reference-to/m-p/878046#M9212</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2012-09-18T14:20:16Z</dc:date>
    </item>
  </channel>
</rss>

