<?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: What is the type of variable pt required by pardiso in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/What-is-the-type-of-variable-pt-required-by-pardiso/m-p/1223983#M30258</link>
    <description>&lt;P&gt;As you can see from the examples in the folder&lt;STRONG&gt; ...\mkl\examples\solverf&lt;/STRONG&gt;, or in the include file &lt;STRONG&gt;mkl_pardiso.fi,&lt;/STRONG&gt; the type of pt is&amp;nbsp;&lt;STRONG&gt;MKL_PARDISO_HANDLE&lt;/STRONG&gt; . Since this is not an intrinsic type, you will need a definition for it in the subprogram that calls Pardiso (for example, by inserting&amp;nbsp;&lt;STRONG&gt;USE mkl_pardiso&lt;/STRONG&gt;).&lt;/P&gt;</description>
    <pubDate>Thu, 29 Oct 2020 23:54:03 GMT</pubDate>
    <dc:creator>mecej4</dc:creator>
    <dc:date>2020-10-29T23:54:03Z</dc:date>
    <item>
      <title>What is the type of variable pt required by pardiso</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/What-is-the-type-of-variable-pt-required-by-pardiso/m-p/1223969#M30257</link>
      <description>&lt;P&gt;I am attempting to invert a matrix using pardiso in intel MKL, Fortran. (ifort 2017)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="fortran"&gt;subroutine test

use vars
use vars_parallel
use lapack95, only:  DGBSV_F95
implicit none
include 'mkl.fi'
integer ii,im,in,ip,ix,iy,ik,ir,ic,ixr,ixc,ipr,ipc,ikr,ikc,iter,niter,i,j,n,kl,ku,ldab, ipiv, ldb
integer is,l_success,l_ss,info,i1,i2,ndiag,IROWB,irow,icol,icount,nband
integer maxfct,mnum,mtype,phase,nrhs,iparm(1:64),msglvl,error,irow_previous
integer*8 pt(1:64)




!Band storage: One diagonal + kl lowers + ku uppers
kl=5+2
ku=5+2
n=nx*np
ldab=2*kl+ku+1
nband=kl+ku+1
pt=0


ia(n+1)=icount+1
maxfct=1
mnum=1
mtype=1
nrhs=1
msglvl=0 
call pardisoinit(pt, mtype, iparm)
call pardiso_d(pt,maxfct,mnum,mtype,phase,n,Apimp,ia,ja,perm,nrhs,iparm,msglvl,Bimp,xsol,error)


end&lt;/LI-CODE&gt;
&lt;P&gt;The compiler complains about the variable "pt". It says "The type of the actual argument differs from the type of the dummy argument".&lt;/P&gt;
&lt;P&gt;According to the documentation, pt is an integer array on 32-bit systems and an integer*8 on 64-bit systems. My system is 64-bit. I have also tried declaring pt as an integer (rather than integer*8).&lt;/P&gt;
&lt;P&gt;How can I find out what type ot shoudl really be?&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 23:07:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/What-is-the-type-of-variable-pt-required-by-pardiso/m-p/1223969#M30257</guid>
      <dc:creator>mark10</dc:creator>
      <dc:date>2020-10-29T23:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: What is the type of variable pt required by pardiso</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/What-is-the-type-of-variable-pt-required-by-pardiso/m-p/1223983#M30258</link>
      <description>&lt;P&gt;As you can see from the examples in the folder&lt;STRONG&gt; ...\mkl\examples\solverf&lt;/STRONG&gt;, or in the include file &lt;STRONG&gt;mkl_pardiso.fi,&lt;/STRONG&gt; the type of pt is&amp;nbsp;&lt;STRONG&gt;MKL_PARDISO_HANDLE&lt;/STRONG&gt; . Since this is not an intrinsic type, you will need a definition for it in the subprogram that calls Pardiso (for example, by inserting&amp;nbsp;&lt;STRONG&gt;USE mkl_pardiso&lt;/STRONG&gt;).&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 23:54:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/What-is-the-type-of-variable-pt-required-by-pardiso/m-p/1223983#M30258</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2020-10-29T23:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: What is the type of variable pt required by pardiso</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/What-is-the-type-of-variable-pt-required-by-pardiso/m-p/1224281#M30263</link>
      <description>&lt;P&gt;Thanks for the speedy reply, Mecej, problem solved. Now I'll sift through the runtime errors...&lt;/P&gt;</description>
      <pubDate>Sat, 31 Oct 2020 01:44:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/What-is-the-type-of-variable-pt-required-by-pardiso/m-p/1224281#M30263</guid>
      <dc:creator>mark10</dc:creator>
      <dc:date>2020-10-31T01:44:22Z</dc:date>
    </item>
  </channel>
</rss>

