<?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 problem using mkl with XE2011 composer and visula studio 2008 IDE in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-using-mkl-with-XE2011-composer-and-visula-studio-2008/m-p/778548#M1255</link>
    <description>hi,&lt;BR /&gt;&lt;BR /&gt;I am having problems linking the MKL libraries to my project.&lt;BR /&gt;&lt;BR /&gt;Here is a sample code for matrix inversion &lt;BR /&gt;&lt;BR /&gt; program sample &lt;BR /&gt; use mkl95_lapack,only : getrf,getri &lt;BR /&gt; implicit none &lt;BR /&gt; integer, parameter :: N = 4 &lt;BR /&gt; integer :: i,j &lt;BR /&gt; real(8), dimension(N,N) :: A = (/ 5,7,6,5,7,10,8,7,6,8,10,9,5,7,9,10/) &lt;BR /&gt; integer, dimension(N) :: piv &lt;BR /&gt; integer :: info &lt;BR /&gt; call getrf( a, piv, info ) &lt;BR /&gt; call getri( a, piv, info ) &lt;BR /&gt; write(*,10)((a(i,j),j=1,N),i=1,N) &lt;BR /&gt; stop&lt;BR /&gt; 10 format(1x,4F12.6) &lt;BR /&gt; end program sample &lt;BR /&gt;&lt;BR /&gt;I tried to link the MKL by following:&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;Go to &lt;B class="uicontrol"&gt;Project&lt;/B&gt; &amp;gt; &lt;B class="uicontrol"&gt;Properties&lt;/B&gt; &amp;gt; &lt;B class="uicontrol"&gt;Libraries&lt;/B&gt; &amp;gt; &lt;B class="uicontrol"&gt;Use Intel 
Math Kernel Library&lt;/B&gt; and select &lt;B class="uicontrol"&gt;Parallel&lt;/B&gt;, &lt;B class="uicontrol"&gt;Sequential&lt;/B&gt;, or &lt;B class="uicontrol"&gt;Cluster&lt;/B&gt; as 
appropriate&lt;/P&gt;&lt;P&gt;but it did not work (unresolved reference external 
symbols _DGETRF_MKL95 and _DGETRF_MKL95 was obtained as response from 
the compiler).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is wrong? Is the code correct? &lt;/P&gt;&lt;P&gt;In
 general I do not really understand what to "use" or to "include" for 
correctly linking MKL subroutines (I am quite a beginner user). Could 
you please hel me with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;</description>
    <pubDate>Fri, 09 Dec 2011 17:57:36 GMT</pubDate>
    <dc:creator>morandi__antonio</dc:creator>
    <dc:date>2011-12-09T17:57:36Z</dc:date>
    <item>
      <title>problem using mkl with XE2011 composer and visula studio 2008 IDE</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-using-mkl-with-XE2011-composer-and-visula-studio-2008/m-p/778548#M1255</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;I am having problems linking the MKL libraries to my project.&lt;BR /&gt;&lt;BR /&gt;Here is a sample code for matrix inversion &lt;BR /&gt;&lt;BR /&gt; program sample &lt;BR /&gt; use mkl95_lapack,only : getrf,getri &lt;BR /&gt; implicit none &lt;BR /&gt; integer, parameter :: N = 4 &lt;BR /&gt; integer :: i,j &lt;BR /&gt; real(8), dimension(N,N) :: A = (/ 5,7,6,5,7,10,8,7,6,8,10,9,5,7,9,10/) &lt;BR /&gt; integer, dimension(N) :: piv &lt;BR /&gt; integer :: info &lt;BR /&gt; call getrf( a, piv, info ) &lt;BR /&gt; call getri( a, piv, info ) &lt;BR /&gt; write(*,10)((a(i,j),j=1,N),i=1,N) &lt;BR /&gt; stop&lt;BR /&gt; 10 format(1x,4F12.6) &lt;BR /&gt; end program sample &lt;BR /&gt;&lt;BR /&gt;I tried to link the MKL by following:&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;Go to &lt;B class="uicontrol"&gt;Project&lt;/B&gt; &amp;gt; &lt;B class="uicontrol"&gt;Properties&lt;/B&gt; &amp;gt; &lt;B class="uicontrol"&gt;Libraries&lt;/B&gt; &amp;gt; &lt;B class="uicontrol"&gt;Use Intel 
Math Kernel Library&lt;/B&gt; and select &lt;B class="uicontrol"&gt;Parallel&lt;/B&gt;, &lt;B class="uicontrol"&gt;Sequential&lt;/B&gt;, or &lt;B class="uicontrol"&gt;Cluster&lt;/B&gt; as 
appropriate&lt;/P&gt;&lt;P&gt;but it did not work (unresolved reference external 
symbols _DGETRF_MKL95 and _DGETRF_MKL95 was obtained as response from 
the compiler).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is wrong? Is the code correct? &lt;/P&gt;&lt;P&gt;In
 general I do not really understand what to "use" or to "include" for 
correctly linking MKL subroutines (I am quite a beginner user). Could 
you please hel me with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2011 17:57:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-using-mkl-with-XE2011-composer-and-visula-studio-2008/m-p/778548#M1255</guid>
      <dc:creator>morandi__antonio</dc:creator>
      <dc:date>2011-12-09T17:57:36Z</dc:date>
    </item>
    <item>
      <title>problem using mkl with XE2011 composer and visula studio 2008 I</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-using-mkl-with-XE2011-composer-and-visula-studio-2008/m-p/778549#M1256</link>
      <description>Your program compiled without errors, so there are probably no errors in your INCLUDE and USE statements.&lt;BR /&gt;&lt;BR /&gt;Add mkl_lapack95.lib (and, if needed, mkl_blas95.lib) to the list of additional libraries to search.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Dec 2011 18:33:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-using-mkl-with-XE2011-composer-and-visula-studio-2008/m-p/778549#M1256</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-12-09T18:33:53Z</dc:date>
    </item>
  </channel>
</rss>

