<?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: Starting with mkl in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Starting-with-mkl/m-p/854510#M6839</link>
    <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;thanks again! I've read this in the userguide but i am not really sure what to do. i am using mkl 10.0.5.025 and ifort 10.1.018. may someone explain me with more details?&lt;/P&gt;</description>
    <pubDate>Tue, 04 Nov 2008 18:16:33 GMT</pubDate>
    <dc:creator>renepreto</dc:creator>
    <dc:date>2008-11-04T18:16:33Z</dc:date>
    <item>
      <title>Starting with mkl</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Starting-with-mkl/m-p/854506#M6835</link>
      <description>&lt;P&gt;Hi mkl users! I've just installed mkl under fedora 9 and I have some codes that i would like to run using mkl libraries, so I have to know how to do it properly. I have tried the following example:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Program Teste&lt;BR /&gt; &lt;BR /&gt; implicit none&lt;BR /&gt;&lt;BR /&gt; integer n,i,incx,incy&lt;BR /&gt; parameter (n=4, incx=1,incy=1)&lt;BR /&gt; real x(n), y(n), res, sdot&lt;BR /&gt; external sdot&lt;BR /&gt;&lt;BR /&gt; do i=1,n&lt;BR /&gt; x(i)=i&lt;BR /&gt; y(i)=2*i&lt;BR /&gt; enddo&lt;BR /&gt;&lt;BR /&gt; res=sdot(n,x,incx,y,incy)&lt;BR /&gt;&lt;BR /&gt; print*, 'sdot =',res&lt;BR /&gt; open (unit=1, file='resultado', status='unknown')&lt;BR /&gt;&lt;BR /&gt; write(1,*)res&lt;BR /&gt;&lt;BR /&gt; end&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;but when I try&lt;/P&gt;
&lt;P&gt;ifort -L/opt/intel/mkl/10.0.5.025/lib/em64t teste.for&lt;/P&gt;
&lt;P&gt;[rene@Rene Teste mkl]$ ifort -L/opt/intel/mkl/10.0.5.025/lib/em64t teste.for&lt;BR /&gt;/tmp/ifortF8bXCF.o: In function `MAIN__':&lt;BR /&gt;teste.for:(.text+0x96): undefined reference to `sdot_'&lt;/P&gt;
&lt;P&gt;I've heard that I schould try&lt;/P&gt;
&lt;P&gt;ifort -L/opt/intel/mkl/10.0.5.025/lib/em64t -l'librarie name' teste.for&lt;/P&gt;
&lt;P&gt;but how do I know what the librarie name? there is no sdot there? is there an easier way?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2008 20:05:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Starting-with-mkl/m-p/854506#M6835</guid>
      <dc:creator>renepreto</dc:creator>
      <dc:date>2008-11-03T20:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Starting with mkl</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Starting-with-mkl/m-p/854507#M6836</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-family: Arial;"&gt;&lt;SPAN style="font-size: small;"&gt;1.Hello, please try to use the following building command line: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: small;"&gt;&lt;SPAN style="font-family: Arial;"&gt;ifort -w test.f ${MKLROOT}/libmkl_intel_lp64.a -Wl,--start-group ${MKLROOT}/libmkl_intel_thread.a ${MKLROOT}/libmkl_core.a -Wl,--end-group -L${MKLROOT} -liomp5 -lpthread -o test.out&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial; mso-ansi-language: EN-GB;" lang="EN-GB"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-family: Arial; mso-ansi-language: EN-GB;" lang="EN-GB"&gt;&lt;SPAN style="font-size: small;"&gt;where for example MKLPATH=/opt/intel/mkl/10.0.5.025/lib/em64t&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-family: Arial; mso-ansi-language: EN-GB;" lang="EN-GB"&gt;&lt;SPAN style="font-size: small;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-family: Arial; mso-ansi-language: EN-GB;" lang="EN-GB"&gt;&lt;SPAN style="font-size: small;"&gt;2. more info about the MKL linking models, examples and so , you can find into userguide manual.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-family: Arial; mso-ansi-language: EN-GB;" lang="EN-GB"&gt;&lt;SPAN style="font-size: small;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-family: Arial; mso-ansi-language: EN-GB;" lang="EN-GB"&gt;&lt;SPAN style="font-size: small;"&gt;--Gennady&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2008 23:28:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Starting-with-mkl/m-p/854507#M6836</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2008-11-03T23:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Starting with mkl</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Starting-with-mkl/m-p/854508#M6837</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;Hey! thanks for the answer, but when I try to open the test.out it shows the following error&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;but if I try the command line without the -liomp5, everything is ok! what does this lib do? thanks, and i've got the userguide and reading it already!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2008 05:49:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Starting-with-mkl/m-p/854508#M6837</guid>
      <dc:creator>renepreto</dc:creator>
      <dc:date>2008-11-04T05:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Starting with mkl</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Starting-with-mkl/m-p/854509#M6838</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/406906"&gt;renepreto&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;P&gt;error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;but if I try the command line without the -liomp5, everything is ok! what does this lib do? thanks, and i've got the userguide and reading it already!&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;If you don't use any OpenMP threaded functions, or use the sequential stub library in place of the thread library, you don't require the OpenMP library. When you link against the OpenMP shared library, the LD_LIBRARY_PATH setting is required to find it at run time. Depending on your mkl version, there would be mklvars scripts to set the PATH variables, or (in the latest Intel compilers) it would be included in the corresponding compiler environment setting scripts.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2008 13:20:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Starting-with-mkl/m-p/854509#M6838</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-11-04T13:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Starting with mkl</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Starting-with-mkl/m-p/854510#M6839</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;thanks again! I've read this in the userguide but i am not really sure what to do. i am using mkl 10.0.5.025 and ifort 10.1.018. may someone explain me with more details?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2008 18:16:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Starting-with-mkl/m-p/854510#M6839</guid>
      <dc:creator>renepreto</dc:creator>
      <dc:date>2008-11-04T18:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Starting with mkl</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Starting-with-mkl/m-p/854511#M6840</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/406906"&gt;renepreto&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;P&gt;thanks again! I've read this in the userguide but i am not really sure what to do. i am using mkl 10.0.5.025 and ifort 10.1.018. may someone explain me with more details?&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Running both the ifortvars script in the Fortran installation, and the mklvars script in the MKL installation, will set all the PATH variables required by those products.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2008 00:10:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Starting-with-mkl/m-p/854511#M6840</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-11-05T00:10:06Z</dc:date>
    </item>
  </channel>
</rss>

