<?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: MKL Matrix multiplication: undefined reference to `mkl_blas in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Matrix-multiplication-undefined-reference-to-mkl-blas-dgemv/m-p/862437#M7594</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/456864"&gt;bsukhwani&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;icc -o MatrixMul_MKL cblas_dgemmx.c -L$MKLPATH -I$MKLINCLUDE -W1, --start-group $MKLROOT/lib/em64t/libmkl_intel_lp64.a $MKLROOT/lib/em64t/libmkl_sequential.a $MKLROOT/lib/em64t/libmkl_core.a -W1, --end-group -lpthread&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
You have mis-spelled the -Wl directives.&lt;BR /&gt;</description>
    <pubDate>Mon, 14 Dec 2009 18:14:03 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2009-12-14T18:14:03Z</dc:date>
    <item>
      <title>MKL Matrix multiplication: undefined reference to `mkl_blas_dgemv'</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Matrix-multiplication-undefined-reference-to-mkl-blas-dgemv/m-p/862436#M7593</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to link to the MKL library (over a network). I can get MKL FFT to work but while calling a BLAS routine (Matrix Multiplication), &lt;BR /&gt;I get the following compile time error:&lt;BR /&gt;&lt;BR /&gt;/mkl/lib/em64t/libmkl_core.a(_def_xdgemm.o): In function `mkl_blas_def_xdgemm':&lt;BR /&gt;__tmp_xdgemm.c:(.text+0xb27): undefined reference to `mkl_blas_dgemv'&lt;BR /&gt;&lt;BR /&gt;I am using the example code that came with the MKL. The function call that leads to this error is 'cblas_dgemm'&lt;BR /&gt;&lt;BR /&gt;I am compiling using the following command:&lt;BR /&gt;&lt;BR /&gt;icc -o MatrixMul_MKL cblas_dgemmx.c -L$MKLPATH -I$MKLINCLUDE -W1, --start-group $MKLROOT/lib/em64t/libmkl_intel_lp64.a $MKLROOT/lib/em64t/libmkl_sequential.a $MKLROOT/lib/em64t/libmkl_core.a -W1, --end-group -lpthread&lt;BR /&gt;&lt;BR /&gt;Any help would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;-Bharat</description>
      <pubDate>Mon, 14 Dec 2009 17:43:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Matrix-multiplication-undefined-reference-to-mkl-blas-dgemv/m-p/862436#M7593</guid>
      <dc:creator>bsukhwani</dc:creator>
      <dc:date>2009-12-14T17:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: MKL Matrix multiplication: undefined reference to `mkl_blas</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Matrix-multiplication-undefined-reference-to-mkl-blas-dgemv/m-p/862437#M7594</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/456864"&gt;bsukhwani&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;icc -o MatrixMul_MKL cblas_dgemmx.c -L$MKLPATH -I$MKLINCLUDE -W1, --start-group $MKLROOT/lib/em64t/libmkl_intel_lp64.a $MKLROOT/lib/em64t/libmkl_sequential.a $MKLROOT/lib/em64t/libmkl_core.a -W1, --end-group -lpthread&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
You have mis-spelled the -Wl directives.&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Dec 2009 18:14:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Matrix-multiplication-undefined-reference-to-mkl-blas-dgemv/m-p/862437#M7594</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-12-14T18:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: MKL Matrix multiplication: undefined reference to `mkl_blas</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Matrix-multiplication-undefined-reference-to-mkl-blas-dgemv/m-p/862438#M7595</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;
You have mis-spelled the -Wl directives.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Hi Tim,&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply but that did not fix it. Still the same error.&lt;BR /&gt;&lt;BR /&gt;-Bharat&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Dec 2009 19:30:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Matrix-multiplication-undefined-reference-to-mkl-blas-dgemv/m-p/862438#M7595</guid>
      <dc:creator>bsukhwani</dc:creator>
      <dc:date>2009-12-14T19:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: MKL Matrix multiplication: undefined reference to `mkl_blas</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Matrix-multiplication-undefined-reference-to-mkl-blas-dgemv/m-p/862439#M7596</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/456864"&gt;bsukhwani&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="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; You have mis-spelled the -Wl directives.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Hi Tim,&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply but that did not fix it. Still the same error.&lt;BR /&gt;&lt;BR /&gt;-Bharat&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;then please check your if $MKLROOT provides the proper path to the MKL,&lt;BR /&gt;or &lt;BR /&gt;please try to build this example by using makefile &lt;BR /&gt;see $MKLROOT/examples/cblas/&lt;BR /&gt;examples of using:&lt;BR /&gt;make lib64 function=cblas_dgemmx+&lt;BR /&gt;&lt;BR /&gt;--Gennady&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Dec 2009 18:34:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Matrix-multiplication-undefined-reference-to-mkl-blas-dgemv/m-p/862439#M7596</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-12-15T18:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: MKL Matrix multiplication: undefined reference to `mkl_blas</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Matrix-multiplication-undefined-reference-to-mkl-blas-dgemv/m-p/862440#M7597</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/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;then please check your if $MKLROOT provides the proper path to the MKL,&lt;BR /&gt;or &lt;BR /&gt;please try to build this example by using makefile &lt;BR /&gt;see $MKLROOT/examples/cblas/&lt;BR /&gt;examples of using:&lt;BR /&gt;make lib64 function=cblas_dgemmx+&lt;BR /&gt;&lt;BR /&gt;--Gennady&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Great! Thanks!!&lt;BR /&gt;&lt;BR /&gt;The $MKLROOT was already providing the proper path to the MKL. Using the makefile did the trick. Now it compiles fine.&lt;BR /&gt;&lt;BR /&gt;This is what I used to make:&lt;BR /&gt; make libem64t function=cblas_dgemm&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;Bharat&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Dec 2009 20:49:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Matrix-multiplication-undefined-reference-to-mkl-blas-dgemv/m-p/862440#M7597</guid>
      <dc:creator>bsukhwani</dc:creator>
      <dc:date>2009-12-15T20:49:35Z</dc:date>
    </item>
  </channel>
</rss>

