<?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 Matrix Inversion Using Intel MKL in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Matrix-Inversion-Using-Intel-MKL/m-p/768808#M438</link>
    <description>&lt;DIV id="tiny_quote"&gt;
                &lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=531346" class="basic" href="https://community.intel.com/en-us/profile/531346/"&gt;Debanjan Mukherjee&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;I&gt;I must add - the above program with the corresponding library linking worked perfectly fine in 32 bit environment Ubuntu.&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;Then why did you link the ilp64 libraries, when the lp64 libraries are the ones for 32-bit (default) integers? Did you check whether your chosen copy of the USE .mod files wants 32- or 64-bit integers?&lt;BR /&gt;</description>
    <pubDate>Fri, 19 Aug 2011 02:25:14 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2011-08-19T02:25:14Z</dc:date>
    <item>
      <title>Matrix Inversion Using Intel MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Matrix-Inversion-Using-Intel-MKL/m-p/768806#M436</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to write a simple matrix inversion routine in Ubuntu 64 bit. I modified one of the MKL example codes as follows:&lt;BR /&gt;&lt;BR /&gt;program inversion&lt;BR /&gt;&lt;BR /&gt; use mkl95_lapack, only: getrf, getri&lt;BR /&gt;&lt;BR /&gt; implicit none&lt;BR /&gt; &lt;BR /&gt; integer:: I, N&lt;BR /&gt; integer, dimension(:), allocatable:: IPIV&lt;BR /&gt; double precision, dimension(:,:), allocatable:: A, AA&lt;BR /&gt; &lt;BR /&gt; N = 3&lt;BR /&gt; &lt;BR /&gt; allocate( IPIV(N) )&lt;BR /&gt; allocate( A(N,N), AA(N,N) )&lt;BR /&gt; &lt;BR /&gt; AA(1,1) = 1.0d0; AA(1,2) = 3.0d0; AA(1,3) = 1.0d0&lt;BR /&gt; AA(2,1) = 1.0d0; AA(2,2) = 1.0d0; AA(2,3) = 2.0d0&lt;BR /&gt; AA(3,1) = 2.0d0; AA(3,2) = 3.0d0; AA(3,3) = 4.0d0&lt;BR /&gt;&lt;BR /&gt; A = AA&lt;BR /&gt;&lt;BR /&gt; write(*,*) 'The Matrix A is:'&lt;BR /&gt; do I = 1,N&lt;BR /&gt;  write(*,*) AA(I,:)&lt;BR /&gt; end do&lt;BR /&gt;&lt;BR /&gt; write(*,*) 'The First Step is to Factorise A'&lt;BR /&gt; call getrf( A, IPIV )&lt;BR /&gt;&lt;BR /&gt; write(*,*) 'The Inverted Matrix is:'&lt;BR /&gt; do I = 1,N&lt;BR /&gt;  write(*,*) A(I,:)&lt;BR /&gt; end do&lt;BR /&gt;&lt;BR /&gt; write(*,*) 'The Second Step is to Invert A'&lt;BR /&gt; call getri( A, IPIV )&lt;BR /&gt;&lt;BR /&gt; write(*,*) 'The Inverted Matrix is:'&lt;BR /&gt; do I = 1,N&lt;BR /&gt;  write(*,*) A(I,:)&lt;BR /&gt; end do&lt;BR /&gt;&lt;BR /&gt;end program inversion&lt;BR /&gt;&lt;BR /&gt;I keep getting an error message saying: error #6285: There is no matching specific subroutine for this generic subroutine call. [GETRI]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I am pretty new to using MKL templates for applications, and I was wondering if someone could throw some pointers as to what is happening. My link-line during compilation is as follows:&lt;BR /&gt;&lt;BR /&gt;ifort inversion.f90 -I/opt/intel/mkl/include/intel64/ilp64 -L/opt/intel/mkl/lib/intel64/ -lmkl_lapack95_ilp64 -lmkl_blas95_ilp64 -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -o inversion.out&lt;BR /&gt;&lt;BR /&gt;Any help or tips would be great for this newbie !! :)&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Aug 2011 23:42:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Matrix-Inversion-Using-Intel-MKL/m-p/768806#M436</guid>
      <dc:creator>Debanjan_Mukherjee</dc:creator>
      <dc:date>2011-08-18T23:42:09Z</dc:date>
    </item>
    <item>
      <title>Matrix Inversion Using Intel MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Matrix-Inversion-Using-Intel-MKL/m-p/768807#M437</link>
      <description>I must add - the above program with the corresponding library linking worked perfectly fine in 32 bit environment Ubuntu.</description>
      <pubDate>Thu, 18 Aug 2011 23:56:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Matrix-Inversion-Using-Intel-MKL/m-p/768807#M437</guid>
      <dc:creator>Debanjan_Mukherjee</dc:creator>
      <dc:date>2011-08-18T23:56:22Z</dc:date>
    </item>
    <item>
      <title>Matrix Inversion Using Intel MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Matrix-Inversion-Using-Intel-MKL/m-p/768808#M438</link>
      <description>&lt;DIV id="tiny_quote"&gt;
                &lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=531346" class="basic" href="https://community.intel.com/en-us/profile/531346/"&gt;Debanjan Mukherjee&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;I&gt;I must add - the above program with the corresponding library linking worked perfectly fine in 32 bit environment Ubuntu.&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;Then why did you link the ilp64 libraries, when the lp64 libraries are the ones for 32-bit (default) integers? Did you check whether your chosen copy of the USE .mod files wants 32- or 64-bit integers?&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Aug 2011 02:25:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Matrix-Inversion-Using-Intel-MKL/m-p/768808#M438</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2011-08-19T02:25:14Z</dc:date>
    </item>
    <item>
      <title>Matrix Inversion Using Intel MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Matrix-Inversion-Using-Intel-MKL/m-p/768809#M439</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As Tim suggest, the LP64 libraries should be the choice. The following post may help to provide some clarification on the difference: &lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=83366"&gt;http://software.intel.com/en-us/forums/showthread.php?t=83366&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chao&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2011 03:38:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Matrix-Inversion-Using-Intel-MKL/m-p/768809#M439</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2011-08-19T03:38:27Z</dc:date>
    </item>
    <item>
      <title>Matrix Inversion Using Intel MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Matrix-Inversion-Using-Intel-MKL/m-p/768810#M440</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Many thanks. I used the LP64 libraries and it worked. In reponse to the message on using ILP64 - I was actually confused since I had initially written and run the code in Ubuntu 32 bit machine, and then had to include it in a job to be run in a 64 bit machine - hence I ended up wrongly linking ILP64.&lt;BR /&gt;&lt;BR /&gt;Many thanks again</description>
      <pubDate>Fri, 19 Aug 2011 17:48:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Matrix-Inversion-Using-Intel-MKL/m-p/768810#M440</guid>
      <dc:creator>Debanjan_Mukherjee</dc:creator>
      <dc:date>2011-08-19T17:48:43Z</dc:date>
    </item>
  </channel>
</rss>

