<?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: program crashed during calling Pardiso() with intel fortran in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/program-crashed-during-calling-Pardiso-with-intel-fortran-11-1/m-p/867269#M8100</link>
    <description>&lt;P&gt;Joey,&lt;BR /&gt;Do you have any updates on the issue you encountered?&lt;BR /&gt;Can you please send us a reproducible test case?&lt;BR /&gt;This tread is the private, so you don't care about privacy&lt;BR /&gt;--Gennady&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jul 2009 15:32:31 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2009-07-13T15:32:31Z</dc:date>
    <item>
      <title>program crashed during calling Pardiso() with intel fortran 11.1.035 on win32 with VS2005</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/program-crashed-during-calling-Pardiso-with-intel-fortran-11-1/m-p/867267#M8098</link>
      <description>&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN style="line-height: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;!C       -Prep. for PARDISO&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;PT=0&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;MAXFCT=1&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;MNUM=1&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;MMTYPE=13&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;IPARM(1)=0&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;IPARM(3)=omp_get_max_threads()&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;IPARM(3)=1&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;MSGLVL=0&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;!C	  -Compute the PML parameters and build the PML matrix&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;CALL BUILD_PML(N1,N2,DN1,DN2)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;C	  -Build the source term&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;Q_VEC=0&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;CALL SOURCE_VEC(F,DN1,DN2,Q_VEC)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;CALL STIFF_MAT(F,DN1,DN2,NOE,NNZ,IA,JA,A_PARD)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;!C       -Try PARDISO&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;PHASE=12&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;CALL PARDISO(PT,MAXFCT,MNUM,MMTYPE,PHASE,NOE,A_PARD,IA,JA,&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;&amp;amp;               PERM,NRHS,IPARM,MSGLVL,DDUM,DDUM,ERROR)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;!C       -Solve&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;DO SRC_INDEX=1,LS&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;Q_VEC1=Q_VEC(:,SRC_INDEX)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;PHASE=33&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;NRHS=1&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;CALL PARDISO(PT,MAXFCT,MNUM,MMTYPE,PHASE,NOE,A_PARD,IA,JA,&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;&amp;amp;                  PERM,NRHS,IPARM,MSGLVL,Q_VEC1,S_VEC1,ERROR)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;S_VEC(:,SRC_INDEX)=S_VEC1&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;ENDDO&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;WRITE(*,*) '*********************************'&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;WRITE(14,*) '*********************************'&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: normal;"&gt;WRITE(17,*) LS&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;DIV&gt;I have a fortran code goes like above for calling pardiso() in with intel fortran 11.1.035&lt;/DIV&gt;
&lt;DIV&gt;In x64 machine with 8GB memory, it goes ok. But for a 32bit machine with 2GB memory, it always has problems.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;PROBLEM 1:&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;I have case which has LS=30 (line 26). When I debug it, the SRC_INDEX can go up to 13, then crashed by give me some error information:&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;*** Error in PARDISO ( sequence_ido,parameters) error_num= 2&lt;/DIV&gt;
&lt;DIV&gt;*** Input check: max_fac_store_new 2327064 _old 1 are incompatible&lt;/DIV&gt;
&lt;DIV&gt;*** Input parameters: inconsistent error= 2 max_fac_store_in: 2327064&lt;/DIV&gt;
&lt;DIV&gt;    matrix_number_in : 811400488 matrix_type_in  : 11161568&lt;/DIV&gt;
&lt;DIV&gt;    ido_in      : 33 neqns_in     : 12444&lt;/DIV&gt;
&lt;DIV&gt;    ia(neqns_in+1)-1 : 60444 nb_in      : 1&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;PT value:&lt;/DIV&gt;
&lt;DIV&gt; *******************************************&lt;BR /&gt; 1     2384432           0   825434024           0           0&lt;BR /&gt; 0   843382848           0           0           0   832962624&lt;BR /&gt; 825434096   825533704           0           0     2385440           0&lt;BR /&gt; 0           0           0           0           0           0&lt;BR /&gt; 0           0           0           0           0           0&lt;BR /&gt; 0           0           0           0           0           0&lt;BR /&gt; 0           0           0           0           0           0&lt;BR /&gt; 0           0           0           0           0           0&lt;BR /&gt; 0           0           0           0           0           0&lt;BR /&gt; 0           0           0           0           0           0&lt;BR /&gt; 0           0           0           0&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;PROBLEM 2:&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I have a case with LS=1, then the program crashed at line 36 by giving me these information:&lt;/DIV&gt;
&lt;DIV&gt;forrtl: severe (8): internal consistency check failure, file for_put.c, line 898&lt;BR /&gt;Image              PC        Routine            Line        Source&lt;BR /&gt;program.exe        0066EE0A  Unknown               Unknown  Unknown&lt;BR /&gt;program.exe        0066AB08  Unknown               Unknown  Unknown&lt;BR /&gt;program.exe        005C15C0  Unknown               Unknown  Unknown&lt;BR /&gt;program.exe        005D6E9B  Unknown               Unknown  Unknown&lt;BR /&gt;program.exe        005BA1DB  Unknown               Unknown  Unknown&lt;BR /&gt;program.exe        005B8A39  Unknown               Unknown  Unknown&lt;BR /&gt;program.exe        00429A52  _MAIN__ 36 mycode.for&lt;BR /&gt;program.exe        00A1E233  Unknown               Unknown  Unknown&lt;BR /&gt;program.exe        0060DE03  Unknown               Unknown  Unknown&lt;BR /&gt;program.exe        0060DBCD  Unknown               Unknown  Unknown&lt;BR /&gt;kernel32.dll       7C817067  Unknown               Unknown  Unknown&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;BR /&gt;PT value:&lt;/DIV&gt;
&lt;DIV&gt;*******************************************&lt;BR /&gt; 1     2289104           0   818806664           0           0&lt;BR /&gt; 0   831324224           0           0           0   820904000&lt;BR /&gt; 2293656   818806800           0           0   818806736           0&lt;BR /&gt; 0           0           0           0           0           0&lt;BR /&gt; 0           0           0           0           0           0&lt;BR /&gt; 0           0           0           0           0           0&lt;BR /&gt; 0           0           0           0           0           0&lt;BR /&gt; 0           0           0           0           0           0&lt;BR /&gt; 0           0           0           0           0           0&lt;BR /&gt; 0           0           0           0           0           0&lt;BR /&gt; 0           0           0           0&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;In release mode, case 2 can finish without error. But I am not sure the results is correct or not.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Libraries I used:&lt;/DIV&gt;
&lt;DIV&gt;libguide.lib&lt;BR /&gt;mkl_core.lib&lt;BR /&gt;mkl_intel_s.lib&lt;BR /&gt;mkl_intel_thread.lib&lt;BR /&gt;mkl_solver.lib&lt;/DIV&gt;</description>
      <pubDate>Tue, 30 Jun 2009 22:04:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/program-crashed-during-calling-Pardiso-with-intel-fortran-11-1/m-p/867267#M8098</guid>
      <dc:creator>joey_hylton</dc:creator>
      <dc:date>2009-06-30T22:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: program crashed during calling Pardiso() with intel fortran</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/program-crashed-during-calling-Pardiso-with-intel-fortran-11-1/m-p/867268#M8099</link>
      <description>&lt;DIV style="margin:0px;"&gt;Hello joey_hilton,&lt;BR /&gt;&lt;BR /&gt;I see that you supposes using CVF calling convention (mkl_intel_s.lib). What compiler options were used to compile your fortran code?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;-Vladimir&lt;BR /&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 06 Jul 2009 14:23:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/program-crashed-during-calling-Pardiso-with-intel-fortran-11-1/m-p/867268#M8099</guid>
      <dc:creator>Vladimir_Lunev</dc:creator>
      <dc:date>2009-07-06T14:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: program crashed during calling Pardiso() with intel fortran</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/program-crashed-during-calling-Pardiso-with-intel-fortran-11-1/m-p/867269#M8100</link>
      <description>&lt;P&gt;Joey,&lt;BR /&gt;Do you have any updates on the issue you encountered?&lt;BR /&gt;Can you please send us a reproducible test case?&lt;BR /&gt;This tread is the private, so you don't care about privacy&lt;BR /&gt;--Gennady&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2009 15:32:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/program-crashed-during-calling-Pardiso-with-intel-fortran-11-1/m-p/867269#M8100</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-07-13T15:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: program crashed during calling Pardiso() with intel fortran</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/program-crashed-during-calling-Pardiso-with-intel-fortran-11-1/m-p/867270#M8101</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/334681"&gt;Gennady Fedorov (Intel)&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;EM&gt;
&lt;P&gt;Joey,&lt;BR /&gt;Do you have any updates on the issue you encountered?&lt;BR /&gt;Can you please send us a reproducible test case?&lt;BR /&gt;This tread is the private, so you don't care about privacy&lt;BR /&gt;--Gennady&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Gennady and Vladimir,
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Sorry for the late reply. I solved this problem by changing the link libraries as #4 in Gennady's suggestions, and following this in the userguide:&lt;/DIV&gt;
&lt;DIV&gt;10.(For 32-bit)Static linking of myprog.f, sequential version of an iterative sparse solver, and&lt;BR /&gt;sequential Intel MKL supporting cdecl interface:&lt;BR /&gt;ifort myprog.f mkl_solver_sequential.lib mkl_intel_c.libmkl_sequential.lib mkl_core.lib&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 16 Jul 2009 17:04:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/program-crashed-during-calling-Pardiso-with-intel-fortran-11-1/m-p/867270#M8101</guid>
      <dc:creator>joey_hylton</dc:creator>
      <dc:date>2009-07-16T17:04:52Z</dc:date>
    </item>
  </channel>
</rss>

