<?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 Access violation exception in Pardiso call in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Access-violation-exception-in-Pardiso-call/m-p/791940#M2285</link>
    <description>Hi,&lt;BR /&gt;I'm constantly getting an access violation error when I try to call Pardiso in a Visual Studio 2008 project. The basic structure of the code is:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;integer value_count ivar, idum&lt;BR /&gt;real*8, allocatable :: myvalues(:)&lt;BR /&gt;integer, allocatable :: myia(:), myja(:)&lt;BR /&gt;INTEGER*4 pt(64)&lt;BR /&gt;INTEGER iparm(64)&lt;BR /&gt;!real*8, allocatable :: B2(:), x(:)&lt;BR /&gt;REAL(DP), allocatable :: B2(:), x(:)&lt;BR /&gt;INTEGER maxfct, mnum, mtype, phase, n, nrhs, error, msglvl&lt;BR /&gt;&lt;BR /&gt;ALLOCATE(myvalues(value_count))&lt;BR /&gt;ALLOCATE(myja(value_count))&lt;BR /&gt;ALLOCATE(myia(mat_size+1))&lt;BR /&gt;ALLOCATE(x(mat_size))&lt;BR /&gt;&lt;BR /&gt;do ivar = 1, 64&lt;BR /&gt; iparm(ivar) = 0&lt;BR /&gt; pt(ivar) = 0&lt;BR /&gt;end do&lt;BR /&gt;&lt;BR /&gt;do ivar = 1, mat_size&lt;BR /&gt; !fill myvalues, myja, myia&lt;BR /&gt; ...&lt;BR /&gt; x(ivar) = 0&lt;BR /&gt;end do&lt;BR /&gt;&lt;BR /&gt;iparm(1) = 1&lt;BR /&gt;iparm(2) = 0&lt;BR /&gt;iparm(3) = 1&lt;BR /&gt;iparm(4) = 0&lt;BR /&gt;iparm(5) = 0&lt;BR /&gt;iparm(6) = 0&lt;BR /&gt;iparm(7) = 0&lt;BR /&gt;iparm(8) = 9&lt;BR /&gt;iparm(9) = 0&lt;BR /&gt;iparm(10) = 13&lt;BR /&gt;iparm(11) = 1&lt;BR /&gt;iparm(12) = 0&lt;BR /&gt;iparm(13) = 0&lt;BR /&gt;iparm(14) = 0&lt;BR /&gt;iparm(15) = 0&lt;BR /&gt;iparm(16) = 0&lt;BR /&gt;iparm(17) = 0&lt;BR /&gt;iparm(18) = -1&lt;BR /&gt;iparm(19) = -1&lt;BR /&gt;iparm(20) = 0&lt;BR /&gt;iparm(27) = 1&lt;BR /&gt;&lt;BR /&gt;maxfct=1&lt;BR /&gt;mnum=1&lt;BR /&gt;nrhs=1&lt;BR /&gt;error = 0&lt;BR /&gt;msglvl = 1&lt;BR /&gt;mtype = -2&lt;BR /&gt;phase=13&lt;BR /&gt;&lt;BR /&gt;!B is an input parameter of the function with type REAL(DP)&lt;BR /&gt;B2 = B&lt;BR /&gt;CALL pardiso (pt, maxfct, mnum, mtype, phase, mat_size, myvalues, myia, myja, idum, nrhs, iparm, msglvl, B2, x, error)&lt;BR /&gt; &lt;BR /&gt;phase=-1&lt;BR /&gt;&lt;BR /&gt;CALL pardiso (pt, maxfct, mnum, mtype, phase, mat_size, myvalues, myia, myja, idum, nrhs, iparm, msglvl, B2, x, error)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I'm working under IA32 architecture, linking and compiling works fine, only the memory error is bugging.&lt;BR /&gt;Does anybody have an idea?</description>
    <pubDate>Tue, 01 Mar 2011 07:31:57 GMT</pubDate>
    <dc:creator>mamey4</dc:creator>
    <dc:date>2011-03-01T07:31:57Z</dc:date>
    <item>
      <title>Access violation exception in Pardiso call</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Access-violation-exception-in-Pardiso-call/m-p/791940#M2285</link>
      <description>Hi,&lt;BR /&gt;I'm constantly getting an access violation error when I try to call Pardiso in a Visual Studio 2008 project. The basic structure of the code is:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;integer value_count ivar, idum&lt;BR /&gt;real*8, allocatable :: myvalues(:)&lt;BR /&gt;integer, allocatable :: myia(:), myja(:)&lt;BR /&gt;INTEGER*4 pt(64)&lt;BR /&gt;INTEGER iparm(64)&lt;BR /&gt;!real*8, allocatable :: B2(:), x(:)&lt;BR /&gt;REAL(DP), allocatable :: B2(:), x(:)&lt;BR /&gt;INTEGER maxfct, mnum, mtype, phase, n, nrhs, error, msglvl&lt;BR /&gt;&lt;BR /&gt;ALLOCATE(myvalues(value_count))&lt;BR /&gt;ALLOCATE(myja(value_count))&lt;BR /&gt;ALLOCATE(myia(mat_size+1))&lt;BR /&gt;ALLOCATE(x(mat_size))&lt;BR /&gt;&lt;BR /&gt;do ivar = 1, 64&lt;BR /&gt; iparm(ivar) = 0&lt;BR /&gt; pt(ivar) = 0&lt;BR /&gt;end do&lt;BR /&gt;&lt;BR /&gt;do ivar = 1, mat_size&lt;BR /&gt; !fill myvalues, myja, myia&lt;BR /&gt; ...&lt;BR /&gt; x(ivar) = 0&lt;BR /&gt;end do&lt;BR /&gt;&lt;BR /&gt;iparm(1) = 1&lt;BR /&gt;iparm(2) = 0&lt;BR /&gt;iparm(3) = 1&lt;BR /&gt;iparm(4) = 0&lt;BR /&gt;iparm(5) = 0&lt;BR /&gt;iparm(6) = 0&lt;BR /&gt;iparm(7) = 0&lt;BR /&gt;iparm(8) = 9&lt;BR /&gt;iparm(9) = 0&lt;BR /&gt;iparm(10) = 13&lt;BR /&gt;iparm(11) = 1&lt;BR /&gt;iparm(12) = 0&lt;BR /&gt;iparm(13) = 0&lt;BR /&gt;iparm(14) = 0&lt;BR /&gt;iparm(15) = 0&lt;BR /&gt;iparm(16) = 0&lt;BR /&gt;iparm(17) = 0&lt;BR /&gt;iparm(18) = -1&lt;BR /&gt;iparm(19) = -1&lt;BR /&gt;iparm(20) = 0&lt;BR /&gt;iparm(27) = 1&lt;BR /&gt;&lt;BR /&gt;maxfct=1&lt;BR /&gt;mnum=1&lt;BR /&gt;nrhs=1&lt;BR /&gt;error = 0&lt;BR /&gt;msglvl = 1&lt;BR /&gt;mtype = -2&lt;BR /&gt;phase=13&lt;BR /&gt;&lt;BR /&gt;!B is an input parameter of the function with type REAL(DP)&lt;BR /&gt;B2 = B&lt;BR /&gt;CALL pardiso (pt, maxfct, mnum, mtype, phase, mat_size, myvalues, myia, myja, idum, nrhs, iparm, msglvl, B2, x, error)&lt;BR /&gt; &lt;BR /&gt;phase=-1&lt;BR /&gt;&lt;BR /&gt;CALL pardiso (pt, maxfct, mnum, mtype, phase, mat_size, myvalues, myia, myja, idum, nrhs, iparm, msglvl, B2, x, error)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I'm working under IA32 architecture, linking and compiling works fine, only the memory error is bugging.&lt;BR /&gt;Does anybody have an idea?</description>
      <pubDate>Tue, 01 Mar 2011 07:31:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Access-violation-exception-in-Pardiso-call/m-p/791940#M2285</guid>
      <dc:creator>mamey4</dc:creator>
      <dc:date>2011-03-01T07:31:57Z</dc:date>
    </item>
    <item>
      <title>Access violation exception in Pardiso call</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Access-violation-exception-in-Pardiso-call/m-p/791941#M2286</link>
      <description>Hi,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Have you also allocated B2 and X arrays? If yes, could you please attach the example (at least the function code) to this thread? It'll make issue resolution quicker.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Konstantin&lt;/DIV&gt;</description>
      <pubDate>Tue, 01 Mar 2011 07:45:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Access-violation-exception-in-Pardiso-call/m-p/791941#M2286</guid>
      <dc:creator>Konstantin_A_Intel</dc:creator>
      <dc:date>2011-03-01T07:45:03Z</dc:date>
    </item>
    <item>
      <title>Access violation exception in Pardiso call</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Access-violation-exception-in-Pardiso-call/m-p/791942#M2287</link>
      <description>Aargh, yeah, I forgot the B2 allocation. Thanks :-)</description>
      <pubDate>Tue, 01 Mar 2011 08:10:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Access-violation-exception-in-Pardiso-call/m-p/791942#M2287</guid>
      <dc:creator>mamey4</dc:creator>
      <dc:date>2011-03-01T08:10:42Z</dc:date>
    </item>
  </channel>
</rss>

