<?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: Pardiso on Mac OS Leopard in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-on-Mac-OS-Leopard/m-p/882411#M9699</link>
    <description>&lt;FONT face="Arial" size="2"&gt;Do you mean you're using MKL 10.0(.014)? (Check mklsupport.txt in the doc directory). Your problem may have to do with some problems with 10.0 on 32-bit systems with Leopard. If that is your problem, you could try Update 3 which fixed that problem.&lt;BR /&gt;-Todd&lt;BR /&gt;&lt;/FONT&gt;</description>
    <pubDate>Tue, 27 May 2008 22:51:09 GMT</pubDate>
    <dc:creator>Todd_R_Intel</dc:creator>
    <dc:date>2008-05-27T22:51:09Z</dc:date>
    <item>
      <title>Pardiso on Mac OS Leopard</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-on-Mac-OS-Leopard/m-p/882410#M9698</link>
      <description>Hello,
&lt;BR /&gt;  I'm in the process of porting something from Visual Studio to XCode on the Mac. I have a piece of Pardiso code (below) that works fine on Windows but is crashing (EXC_BAD_ACCESS) on the _second_ time through the solve code (the second call to pardiso in the second round). The results from the first call are fine. As per a previous post, I changed the reporting (iMsgLvl) to zero; that didn't help. I've checked that the first round gives a valid answer. I don't re-initialize the PT data and I don't do any memory frees (problems I fixed to get it working under Windows).
&lt;BR /&gt;
&lt;BR /&gt;Any help would be appreciated... :)
&lt;BR /&gt;
&lt;BR /&gt;XCode: version 3
&lt;BR /&gt;Compiler: gcc 4.0.1
&lt;BR /&gt;Intel libraries: 10.1.014, 32 bit
&lt;BR /&gt;
&lt;BR /&gt;WINbool
&lt;BR /&gt;FITTools_LS::Solve_sparse(const WINbool in_bPrintProgress)
&lt;BR /&gt;{
&lt;BR /&gt;    static WINbool s_bInit = FALSE;
&lt;BR /&gt;    static void *s_aPt[64];
&lt;BR /&gt;    static int s_aiParams[64];
&lt;BR /&gt;    int iMaxFct = 1, iMNum = 1, iMType = 11, iPhase = 11, iMsgLvl = 0, iErr = 0, iDummy = 0;
&lt;BR /&gt;    double dDummy = 0.0;
&lt;BR /&gt;
&lt;BR /&gt;    if ( s_bInit == FALSE ) {
&lt;BR /&gt;        for ( int i = 0; i             s_aPt&lt;I&gt; = 0;
&lt;BR /&gt;            s_aiParams&lt;I&gt; = 0;
&lt;BR /&gt;        }
&lt;BR /&gt;        s_bInit = TRUE;
&lt;BR /&gt;        s_aiParams[0] = 0;
&lt;BR /&gt;        s_aiParams[2] = omp_get_max_threads();
&lt;BR /&gt;    }
&lt;BR /&gt;
&lt;BR /&gt;    iPhase = 11;
&lt;BR /&gt;    pardiso_( s_aPt, &amp;amp;iMaxFct, &amp;amp;iMNum,  &amp;amp;iMType, &amp;amp;iPhase,
&lt;BR /&gt;              &amp;amp;m_iNDesired, &amp;amp;m_adDesiredData[0], &amp;amp;m_aiRowIndex[0], &amp;amp;m_aiColIndex[0], &amp;amp;iDummy, &amp;amp;m_iNDimension,
&lt;BR /&gt;              s_aiParams, &amp;amp;iMsgLvl, &amp;amp;dDummy, &amp;amp;dDummy, &amp;amp;iErr );
&lt;BR /&gt;
&lt;BR /&gt;    if ( iErr != 0 ) {
&lt;BR /&gt;        TRACE("Error in Symbolic Factorization %d %d
", iErr, s_aiParams[20]);
&lt;BR /&gt;        return FALSE;
&lt;BR /&gt;    }
&lt;BR /&gt;    if ( in_bPrintProgress ) {
&lt;BR /&gt;        TRACE("Reordering complete
");
&lt;BR /&gt;        TRACE("Number of non-zero factors %d
", s_aiParams[17] );
&lt;BR /&gt;        TRACE("Number of factorizations %d
", s_aiParams[18] );
&lt;BR /&gt;    }
&lt;BR /&gt;
&lt;BR /&gt;// Dies here second time through
&lt;BR /&gt;    iPhase = 22;
&lt;BR /&gt;    pardiso_( s_aPt, &amp;amp;iMaxFct, &amp;amp;iMNum,  &amp;amp;iMType, &amp;amp;iPhase,
&lt;BR /&gt;              &amp;amp;m_iNDesired, &amp;amp;m_adDesiredData[0], &amp;amp;m_aiRowIndex[0], &amp;amp;m_aiColIndex[0], &amp;amp;iDummy, &amp;amp;m_iNDimension,
&lt;BR /&gt;              s_aiParams, &amp;amp;iMsgLvl, &amp;amp;dDummy, &amp;amp;dDummy, &amp;amp;iErr );
&lt;BR /&gt;
&lt;BR /&gt;    if ( iErr != 0 ) {
&lt;BR /&gt;        TRACE("Error in Numerical Factorization %d
", iErr);
&lt;BR /&gt;        return FALSE;
&lt;BR /&gt;    }
&lt;BR /&gt;
&lt;BR /&gt;    if ( in_bPrintProgress ) {
&lt;BR /&gt;        TRACE("Factorization complete
");
&lt;BR /&gt;    }
&lt;BR /&gt;
&lt;BR /&gt;    iPhase = 33;
&lt;BR /&gt;    pardiso_( s_aPt, &amp;amp;iMaxFct, &amp;amp;iMNum,  &amp;amp;iMType, &amp;amp;iPhase,
&lt;BR /&gt;              &amp;amp;m_iNDesired, &amp;amp;m_adDesiredData[0], &amp;amp;m_aiRowIndex[0], &amp;amp;m_aiColIndex[0], NULL, &amp;amp;m_iNDimension,
&lt;BR /&gt;              s_aiParams, &amp;amp;iMsgLvl, &amp;amp;m_adRhsData[0], &amp;amp;m_adSolutionData[0], &amp;amp;iErr );
&lt;BR /&gt;
&lt;BR /&gt;    if ( in_bPrintProgress ) {
&lt;BR /&gt;        if ( iErr == 0 ) {
&lt;BR /&gt;            TRACE("Time %f Iterations %d
", dDiff, s_aiParams[20]);
&lt;BR /&gt;        }
&lt;BR /&gt;    }
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;    if ( iErr == 0 ) {
&lt;BR /&gt;        return TRUE;
&lt;BR /&gt;    }
&lt;BR /&gt;
&lt;BR /&gt;    TRACE("Failed: time %f iterations %d  Error", dDiff, iErr );
&lt;BR /&gt;    switch ( -iErr ) {
&lt;BR /&gt;    case 1 : TRACE("Large fluctuations in residual
"); break;
&lt;BR /&gt;    case 2 : TRACE("Slow convergence
"); break;
&lt;BR /&gt;    case 3 : TRACE("Stopping criteria not reached
"); break;
&lt;BR /&gt;    case 4 : TRACE("Perturbed pivots caused iterative refinement
"); break;
&lt;BR /&gt;    case 5 : TRACE("Try again with iparam[3] = 0
"); break;
&lt;BR /&gt;    }
&lt;BR /&gt;
&lt;BR /&gt;    return FALSE;
&lt;BR /&gt;}
&lt;BR /&gt;
&lt;BR /&gt;&lt;/I&gt;&lt;/I&gt;</description>
      <pubDate>Tue, 27 May 2008 22:03:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-on-Mac-OS-Leopard/m-p/882410#M9698</guid>
      <dc:creator>cindygr</dc:creator>
      <dc:date>2008-05-27T22:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Pardiso on Mac OS Leopard</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-on-Mac-OS-Leopard/m-p/882411#M9699</link>
      <description>&lt;FONT face="Arial" size="2"&gt;Do you mean you're using MKL 10.0(.014)? (Check mklsupport.txt in the doc directory). Your problem may have to do with some problems with 10.0 on 32-bit systems with Leopard. If that is your problem, you could try Update 3 which fixed that problem.&lt;BR /&gt;-Todd&lt;BR /&gt;&lt;/FONT&gt;</description>
      <pubDate>Tue, 27 May 2008 22:51:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-on-Mac-OS-Leopard/m-p/882411#M9699</guid>
      <dc:creator>Todd_R_Intel</dc:creator>
      <dc:date>2008-05-27T22:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Pardiso on Mac OS Leopard</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-on-Mac-OS-Leopard/m-p/882412#M9700</link>
      <description>Looks like I am running the latest version:

Package ID: m_mkl_p_10.0.3.020
Package Contents: Intel Math Kernel Library 10.0 Update 3 for Mac OS* X


according to mklsupport.txt. Sigh.

--Cindy</description>
      <pubDate>Wed, 28 May 2008 15:11:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-on-Mac-OS-Leopard/m-p/882412#M9700</guid>
      <dc:creator>cindygr</dc:creator>
      <dc:date>2008-05-28T15:11:19Z</dc:date>
    </item>
  </channel>
</rss>

