<?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 hi,mecej4 in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso/m-p/969014#M16384</link>
    <description>&lt;P&gt;hi,mecej4&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Here is a simple example:&lt;/P&gt;
&lt;P&gt;INCLUDE 'mkl_pardiso.f90'&lt;BR /&gt;program Testpardiso&lt;BR /&gt;use mkl_pardiso&lt;BR /&gt;implicit none&lt;BR /&gt;TYPE(MKL_PARDISO_HANDLE)::pt(64)&lt;BR /&gt;integer::maxfct,mnum,mtype,phase,n,nrhs,error,msglvl,nnz,i&lt;BR /&gt;integer::error1&lt;BR /&gt;integer::iparm(64)&lt;BR /&gt;integer::perm(8)&lt;BR /&gt;integer::ia(9)&lt;BR /&gt;integer::ja(18)&lt;BR /&gt; complex(kind=8)::x(8)&lt;BR /&gt; complex(kind=8)::b(8)&lt;BR /&gt; complex(kind=8)::a(18)&lt;BR /&gt;integer::idum(1)&lt;BR /&gt;real(kind=8)::ddum(1)&lt;BR /&gt;!.............................................&lt;BR /&gt;Data ia /1,5,8,10,12,15,17,18,19/&lt;BR /&gt;Data ja /1,3,6,7,2,3,5,3,8,4,7,5,6,7,6,8,7,8/&lt;BR /&gt;Data a /7.0,1.0,2.0,7.0,-4.0,8.0,2.0,1.0,5.0,7.0,9.0,5.0,1.0,5.0,-1.0,5.0,11.0,5.0/&lt;BR /&gt;!.................................................................&lt;/P&gt;
&lt;P&gt;n=8 &lt;BR /&gt;nnz=18&lt;BR /&gt;nrhs=1 &lt;BR /&gt;maxfct=1 &lt;BR /&gt;mnum=1&lt;BR /&gt;error=0 &lt;BR /&gt;msglvl=1 &lt;BR /&gt;mtype=3&lt;BR /&gt;iparm(:)=0&lt;BR /&gt;do i =1,64&lt;BR /&gt; pt(i)%DUMMY=0 &lt;BR /&gt;end do&lt;BR /&gt;b(:)=1.0&lt;BR /&gt;iparm(1)=1 &lt;BR /&gt;iparm(2)=2 &lt;BR /&gt;iparm(4)=0 &lt;BR /&gt;iparm(5)=0&lt;BR /&gt;iparm(6)=0&lt;BR /&gt;iparm(8)=9 &lt;BR /&gt;iparm(10)=13 &lt;BR /&gt;iparm(11)=1 &lt;BR /&gt;iparm(13)=0 &lt;BR /&gt;iparm(14)=0 &lt;BR /&gt;iparm(18)=-1 &lt;BR /&gt;iparm(19)=-1&lt;BR /&gt;iparm(20)=0 &lt;BR /&gt;!...............................................................&lt;BR /&gt;phase=11&lt;BR /&gt;CALL pardiso(pt,maxfct,mnum,mtype,phase,n,a,ia,ja,idum,nrhs,iparm,msglvl,ddum,ddum,error)&lt;/P&gt;
&lt;P&gt;phase=22&lt;BR /&gt;CALL pardiso(pt,maxfct,mnum,mtype,phase,n,a,ia,ja,idum,nrhs,iparm,msglvl,ddum,ddum,error)&lt;BR /&gt;iparm(8)=2&lt;BR /&gt;phase=33&lt;BR /&gt;CALL pardiso(pt,maxfct,mnum,mtype,phase,n,a,ia,ja,idum,nrhs,iparm,msglvl,b,x,error)&lt;BR /&gt;phase=-1&lt;BR /&gt;CALL pardiso(pt,maxfct,mnum,mtype,phase,n,ddum,idum,idum,idum,nrhs,iparm,msglvl,ddum,ddum,error)&lt;/P&gt;
&lt;P&gt;stop&lt;BR /&gt;end&lt;/P&gt;
&lt;P&gt;...........................................................&lt;/P&gt;
&lt;P&gt;error #6633: The type of the actual argument differs from the type of the dummy argument. &amp;nbsp; &lt;A&gt; &lt;X&gt;[ B]&lt;/X&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;so I check the interface f90 and not find the define A,x,b &amp;nbsp;as complex,all of them only defined as real.&lt;/P&gt;
&lt;P&gt;so the &amp;nbsp;interface need to be rewrited &amp;nbsp;?&lt;/P&gt;
&lt;P&gt;thank you for your help&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Aug 2013 07:44:04 GMT</pubDate>
    <dc:creator>wang_j_1</dc:creator>
    <dc:date>2013-08-07T07:44:04Z</dc:date>
    <item>
      <title>pardiso</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso/m-p/969012#M16382</link>
      <description>&lt;P&gt;hi,all I want to use the pardiso to solve a complex and symmetrical matrix .But it display error:The type of the actual argument differs from the type of the dummy argument.But when the matrix is real ,it work. I can't understand why it happen.Then I check the 'mkl_pardiso.f90' file,and not find the complex statement.only real .So when the matrix is real,it work well. How can I fix it? Do I need to rewrite the mkl_pardiso.f90??? so i hope someone can point me to a good place or help me out! Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2013 17:43:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso/m-p/969012#M16382</guid>
      <dc:creator>wang_j_1</dc:creator>
      <dc:date>2013-08-05T17:43:46Z</dc:date>
    </item>
    <item>
      <title>In order to diagnose the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso/m-p/969013#M16383</link>
      <description>&lt;P&gt;In order to diagnose the problem we need from you the exact call to Pardiso, and the declarations of the arguments in the call. It would be nicer if you can post a complete example source code that gives the error &amp;nbsp;message stated above.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2013 19:31:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso/m-p/969013#M16383</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2013-08-05T19:31:19Z</dc:date>
    </item>
    <item>
      <title>hi,mecej4</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso/m-p/969014#M16384</link>
      <description>&lt;P&gt;hi,mecej4&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Here is a simple example:&lt;/P&gt;
&lt;P&gt;INCLUDE 'mkl_pardiso.f90'&lt;BR /&gt;program Testpardiso&lt;BR /&gt;use mkl_pardiso&lt;BR /&gt;implicit none&lt;BR /&gt;TYPE(MKL_PARDISO_HANDLE)::pt(64)&lt;BR /&gt;integer::maxfct,mnum,mtype,phase,n,nrhs,error,msglvl,nnz,i&lt;BR /&gt;integer::error1&lt;BR /&gt;integer::iparm(64)&lt;BR /&gt;integer::perm(8)&lt;BR /&gt;integer::ia(9)&lt;BR /&gt;integer::ja(18)&lt;BR /&gt; complex(kind=8)::x(8)&lt;BR /&gt; complex(kind=8)::b(8)&lt;BR /&gt; complex(kind=8)::a(18)&lt;BR /&gt;integer::idum(1)&lt;BR /&gt;real(kind=8)::ddum(1)&lt;BR /&gt;!.............................................&lt;BR /&gt;Data ia /1,5,8,10,12,15,17,18,19/&lt;BR /&gt;Data ja /1,3,6,7,2,3,5,3,8,4,7,5,6,7,6,8,7,8/&lt;BR /&gt;Data a /7.0,1.0,2.0,7.0,-4.0,8.0,2.0,1.0,5.0,7.0,9.0,5.0,1.0,5.0,-1.0,5.0,11.0,5.0/&lt;BR /&gt;!.................................................................&lt;/P&gt;
&lt;P&gt;n=8 &lt;BR /&gt;nnz=18&lt;BR /&gt;nrhs=1 &lt;BR /&gt;maxfct=1 &lt;BR /&gt;mnum=1&lt;BR /&gt;error=0 &lt;BR /&gt;msglvl=1 &lt;BR /&gt;mtype=3&lt;BR /&gt;iparm(:)=0&lt;BR /&gt;do i =1,64&lt;BR /&gt; pt(i)%DUMMY=0 &lt;BR /&gt;end do&lt;BR /&gt;b(:)=1.0&lt;BR /&gt;iparm(1)=1 &lt;BR /&gt;iparm(2)=2 &lt;BR /&gt;iparm(4)=0 &lt;BR /&gt;iparm(5)=0&lt;BR /&gt;iparm(6)=0&lt;BR /&gt;iparm(8)=9 &lt;BR /&gt;iparm(10)=13 &lt;BR /&gt;iparm(11)=1 &lt;BR /&gt;iparm(13)=0 &lt;BR /&gt;iparm(14)=0 &lt;BR /&gt;iparm(18)=-1 &lt;BR /&gt;iparm(19)=-1&lt;BR /&gt;iparm(20)=0 &lt;BR /&gt;!...............................................................&lt;BR /&gt;phase=11&lt;BR /&gt;CALL pardiso(pt,maxfct,mnum,mtype,phase,n,a,ia,ja,idum,nrhs,iparm,msglvl,ddum,ddum,error)&lt;/P&gt;
&lt;P&gt;phase=22&lt;BR /&gt;CALL pardiso(pt,maxfct,mnum,mtype,phase,n,a,ia,ja,idum,nrhs,iparm,msglvl,ddum,ddum,error)&lt;BR /&gt;iparm(8)=2&lt;BR /&gt;phase=33&lt;BR /&gt;CALL pardiso(pt,maxfct,mnum,mtype,phase,n,a,ia,ja,idum,nrhs,iparm,msglvl,b,x,error)&lt;BR /&gt;phase=-1&lt;BR /&gt;CALL pardiso(pt,maxfct,mnum,mtype,phase,n,ddum,idum,idum,idum,nrhs,iparm,msglvl,ddum,ddum,error)&lt;/P&gt;
&lt;P&gt;stop&lt;BR /&gt;end&lt;/P&gt;
&lt;P&gt;...........................................................&lt;/P&gt;
&lt;P&gt;error #6633: The type of the actual argument differs from the type of the dummy argument. &amp;nbsp; &lt;A&gt; &lt;X&gt;[ B]&lt;/X&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;so I check the interface f90 and not find the define A,x,b &amp;nbsp;as complex,all of them only defined as real.&lt;/P&gt;
&lt;P&gt;so the &amp;nbsp;interface need to be rewrited &amp;nbsp;?&lt;/P&gt;
&lt;P&gt;thank you for your help&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2013 07:44:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso/m-p/969014#M16384</guid>
      <dc:creator>wang_j_1</dc:creator>
      <dc:date>2013-08-07T07:44:04Z</dc:date>
    </item>
    <item>
      <title>hi mecej4!  </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso/m-p/969015#M16385</link>
      <description>&lt;P&gt;hi mecej4! &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; The code is the most simple . when A is defined as complex,code can't pass compile .The type of the actual argument differs from the type of the dummy argument. It can work after I rewrite the interface 'mkl_pardiso.f90' .As I said before,there was no complex statement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I use intel parallel studio XE 2011.It's so strange that the interface need to be rewrited by the user and there is only a &amp;nbsp;f90 example.Because it can't pass compile,I thick it dosen't matter anything else except the varibles statment. why it happen?&lt;/P&gt;
&lt;P&gt;Thank you for help&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2013 13:01:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso/m-p/969015#M16385</guid>
      <dc:creator>wang_j_1</dc:creator>
      <dc:date>2013-08-07T13:01:55Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;...it display error: The</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso/m-p/969016#M16386</link>
      <description>&amp;gt;&amp;gt;...it display error: The type of the actual argument differs from the type of the dummy argument...

I had a similar MKL error when I used an MKL function with a wrong calling convension. Please also provide more details for your development environment.</description>
      <pubDate>Wed, 07 Aug 2013 13:55:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso/m-p/969016#M16386</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-08-07T13:55:34Z</dc:date>
    </item>
    <item>
      <title>The argument DDUM should be</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso/m-p/969017#M16387</link>
      <description>&lt;P&gt;The argument DDUM should be COMPLEX(kind=8). Even arguments that end up not being referenced in the subroutine must be of the correct type, because the compiler has to be able to compile subprogram sources independently.. It would be helpful if the compiler stated which argument is of the wrong type, but that is a bit difficult to do when there is more than one module procedure that may be a potential match.&lt;/P&gt;
&lt;P&gt;Furthermore, you should make sure that argument arrays are sufficiently large (as large as the Pardiso documentation specifies).&lt;/P&gt;
&lt;P&gt;It is ill-advised to modify Intel-provided files such as&amp;nbsp;&lt;EM&gt;mkl_pardiso.f90&amp;nbsp;&lt;/EM&gt; without having established that the code in the file has an error. The adage &lt;STRONG&gt;If it ain't broke, don't fix it!&lt;/STRONG&gt; is quite apt here.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2013 03:39:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso/m-p/969017#M16387</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2013-08-08T03:39:00Z</dc:date>
    </item>
  </channel>
</rss>

