<?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 VisualStudio08/Pardiso Beginner Question in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VisualStudio08-Pardiso-Beginner-Question/m-p/794838#M2570</link>
    <description>First of all thanks, I got the example program working by linking to the above mentioned files.&lt;BR /&gt;However, the solution of some sample equation systems doesn't quite work correct, I think I may have some of the iparm() values wrong. I entered a system with a banded matrix A and a RHS b, where b contains only of zeros. I would expect the solution to contain only zeros itself, however, the solution vector consists only of NaN's (but I don't receive errors).&lt;BR /&gt;&lt;BR /&gt;Here's my set of parameters:&lt;BR /&gt;&lt;BR /&gt; do i = 1, 64&lt;BR /&gt; pt(i) = 0&lt;BR /&gt; iparm(i) = 0&lt;BR /&gt; end do&lt;BR /&gt; do i = 1, NumNP !(=number of unknowns)&lt;BR /&gt; x(i) = 0&lt;BR /&gt; end do&lt;BR /&gt; iparm(1) = 1 ! no solver default&lt;BR /&gt; iparm(2) = 0 ! fill-in reordering NOT from METIS&lt;BR /&gt; iparm(3) = 1 ! numbers of processors&lt;BR /&gt; iparm(4) = 0 ! no iterative-direct algorithm&lt;BR /&gt; iparm(5) = 0 ! no user fill-in reducing permutation&lt;BR /&gt; iparm(6) = 0 ! =0 solution on the first n compoments of x&lt;BR /&gt; iparm(7) = 0 ! not in use&lt;BR /&gt; iparm(8) = 9 ! numbers of iterative refinement steps&lt;BR /&gt; iparm(9) = 0 ! not in use&lt;BR /&gt; iparm(10) = 13 ! perturbe the pivot elements with 1E-13&lt;BR /&gt; iparm(11) = 1 ! use nonsymmetric permutation and scaling MPS&lt;BR /&gt; iparm(12) = 0 ! not in use&lt;BR /&gt; iparm(13) = 0 ! maximum weighted matching algorithm is switched-off (default for symmetric). Try &lt;BR /&gt; iparm(14) = 0 ! Output: number of perturbed pivots&lt;BR /&gt; iparm(15) = 0 ! not in use&lt;BR /&gt; iparm(16) = 0 ! not in use&lt;BR /&gt; iparm(17) = 0 ! not in use&lt;BR /&gt; iparm(18) = -1 ! Output: number of nonzeros in the factor LU&lt;BR /&gt; iparm(19) = -1 ! Output: Mflops for LU factorization&lt;BR /&gt; iparm(20) = 0 ! Output: Numbers of CG Iterations&lt;BR /&gt; iparm(27)=1 !matrix struktur test&lt;BR /&gt; iparm(33)=1 !determinante berechnen&lt;BR /&gt; iparm(51) = 1&lt;BR /&gt; iparm(52) = 4 !!!size&lt;BR /&gt; &lt;BR /&gt; maxfct=1&lt;BR /&gt; mnum=1&lt;BR /&gt; nrhs=1&lt;BR /&gt; error = 0 ! initialize error flag&lt;BR /&gt; msglvl = 1 ! print statistical information&lt;BR /&gt; mtype = -2 ! symmetric matrix&lt;BR /&gt; phase=13 ! complete&lt;BR /&gt;&lt;BR /&gt;Is this a problem with PARDISO, or could it be with FORTRAN datatypes? x is of type REAL(DP).</description>
    <pubDate>Mon, 28 Feb 2011 10:08:55 GMT</pubDate>
    <dc:creator>mamey4</dc:creator>
    <dc:date>2011-02-28T10:08:55Z</dc:date>
    <item>
      <title>VisualStudio08/Pardiso Beginner Question</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VisualStudio08-Pardiso-Beginner-Question/m-p/794834#M2566</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm a beginner to Visual Studio and Pardiso, and &amp;gt;I'm trying to get the coding example C-6 of the MKL Reference Manual working in a Visual Studio 2008 Fortran project. I copied the code, set the include directory to ...\\mkl\\include\\ and the lib directory to mkl\\em64t\\lib. Then I added mkl_core_dll.lib as an additional dependency to the project.&lt;BR /&gt;Now, when I try to build the project, the pardiso-call in the source code can't be executed, I'm getting a linker error LNK2019 about an "unresolved symbol _PARDISO". I'm using Intel Fortran 11.0 Compiler.&lt;BR /&gt;Do you know how I can make this work? Thanks in advance for your comments.&lt;BR /&gt;&lt;BR /&gt;Martin&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Feb 2011 11:18:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VisualStudio08-Pardiso-Beginner-Question/m-p/794834#M2566</guid>
      <dc:creator>mamey4</dc:creator>
      <dc:date>2011-02-24T11:18:19Z</dc:date>
    </item>
    <item>
      <title>VisualStudio08/Pardiso Beginner Question</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VisualStudio08-Pardiso-Beginner-Question/m-p/794835#M2567</link>
      <description>Martin,&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;you have to link with&lt;/SPAN&gt;mkl_intel_lp64_dll.lib mkl_intel_thread_dll.lib mkl_core_dll.lib libiomp5md.lib.&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;but actually, I have anothersuggestionfor beginner user - I would recomend you to start with the PARDISO examples which are ready to use. You can find "C" and "Fortran" examples in the &lt;MKL_INSTALL_DIR&gt;\examples\solvers directory ( version of MKL 10.3.2).&lt;/MKL_INSTALL_DIR&gt;&lt;/DIV&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Feb 2011 13:09:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VisualStudio08-Pardiso-Beginner-Question/m-p/794835#M2567</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2011-02-24T13:09:43Z</dc:date>
    </item>
    <item>
      <title>VisualStudio08/Pardiso Beginner Question</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VisualStudio08-Pardiso-Beginner-Question/m-p/794836#M2568</link>
      <description>From the leading underscore in _PARDISO I suspect that you may be mixing 32 and 64 bit objects and/or libraries in your project. The symbol should be simply PARDISO in a 64-bit build.&lt;BR /&gt;&lt;BR /&gt;Cleaning and rebuilding may get rid of the 32-bit objects.</description>
      <pubDate>Thu, 24 Feb 2011 13:39:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VisualStudio08-Pardiso-Beginner-Question/m-p/794836#M2568</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-02-24T13:39:22Z</dc:date>
    </item>
    <item>
      <title>VisualStudio08/Pardiso Beginner Question</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VisualStudio08-Pardiso-Beginner-Question/m-p/794837#M2569</link>
      <description>&lt;DIV id="tiny_quote"&gt;
                &lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=9662" class="basic" href="https://community.intel.com/en-us/profile/9662/"&gt;mecej4&lt;/A&gt;&lt;/DIV&gt;
                &lt;DIV style="background-color: #e5e5e5; padding: 5px; border: 1px inset; margin-left: 2px; margin-right: 2px;"&gt;&lt;I&gt;From the leading underscore in _PARDISO I suspect that you may be mixing 32 and 64 bit objects and/or libraries in your project. The symbol should be simply PARDISO in a 64-bit build.&lt;BR /&gt;&lt;BR /&gt;Cleaning and rebuilding may get rid of the 32-bit objects.&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;If the project has been designated as X64</description>
      <pubDate>Thu, 24 Feb 2011 14:06:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VisualStudio08-Pardiso-Beginner-Question/m-p/794837#M2569</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2011-02-24T14:06:23Z</dc:date>
    </item>
    <item>
      <title>VisualStudio08/Pardiso Beginner Question</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VisualStudio08-Pardiso-Beginner-Question/m-p/794838#M2570</link>
      <description>First of all thanks, I got the example program working by linking to the above mentioned files.&lt;BR /&gt;However, the solution of some sample equation systems doesn't quite work correct, I think I may have some of the iparm() values wrong. I entered a system with a banded matrix A and a RHS b, where b contains only of zeros. I would expect the solution to contain only zeros itself, however, the solution vector consists only of NaN's (but I don't receive errors).&lt;BR /&gt;&lt;BR /&gt;Here's my set of parameters:&lt;BR /&gt;&lt;BR /&gt; do i = 1, 64&lt;BR /&gt; pt(i) = 0&lt;BR /&gt; iparm(i) = 0&lt;BR /&gt; end do&lt;BR /&gt; do i = 1, NumNP !(=number of unknowns)&lt;BR /&gt; x(i) = 0&lt;BR /&gt; end do&lt;BR /&gt; iparm(1) = 1 ! no solver default&lt;BR /&gt; iparm(2) = 0 ! fill-in reordering NOT from METIS&lt;BR /&gt; iparm(3) = 1 ! numbers of processors&lt;BR /&gt; iparm(4) = 0 ! no iterative-direct algorithm&lt;BR /&gt; iparm(5) = 0 ! no user fill-in reducing permutation&lt;BR /&gt; iparm(6) = 0 ! =0 solution on the first n compoments of x&lt;BR /&gt; iparm(7) = 0 ! not in use&lt;BR /&gt; iparm(8) = 9 ! numbers of iterative refinement steps&lt;BR /&gt; iparm(9) = 0 ! not in use&lt;BR /&gt; iparm(10) = 13 ! perturbe the pivot elements with 1E-13&lt;BR /&gt; iparm(11) = 1 ! use nonsymmetric permutation and scaling MPS&lt;BR /&gt; iparm(12) = 0 ! not in use&lt;BR /&gt; iparm(13) = 0 ! maximum weighted matching algorithm is switched-off (default for symmetric). Try &lt;BR /&gt; iparm(14) = 0 ! Output: number of perturbed pivots&lt;BR /&gt; iparm(15) = 0 ! not in use&lt;BR /&gt; iparm(16) = 0 ! not in use&lt;BR /&gt; iparm(17) = 0 ! not in use&lt;BR /&gt; iparm(18) = -1 ! Output: number of nonzeros in the factor LU&lt;BR /&gt; iparm(19) = -1 ! Output: Mflops for LU factorization&lt;BR /&gt; iparm(20) = 0 ! Output: Numbers of CG Iterations&lt;BR /&gt; iparm(27)=1 !matrix struktur test&lt;BR /&gt; iparm(33)=1 !determinante berechnen&lt;BR /&gt; iparm(51) = 1&lt;BR /&gt; iparm(52) = 4 !!!size&lt;BR /&gt; &lt;BR /&gt; maxfct=1&lt;BR /&gt; mnum=1&lt;BR /&gt; nrhs=1&lt;BR /&gt; error = 0 ! initialize error flag&lt;BR /&gt; msglvl = 1 ! print statistical information&lt;BR /&gt; mtype = -2 ! symmetric matrix&lt;BR /&gt; phase=13 ! complete&lt;BR /&gt;&lt;BR /&gt;Is this a problem with PARDISO, or could it be with FORTRAN datatypes? x is of type REAL(DP).</description>
      <pubDate>Mon, 28 Feb 2011 10:08:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VisualStudio08-Pardiso-Beginner-Question/m-p/794838#M2570</guid>
      <dc:creator>mamey4</dc:creator>
      <dc:date>2011-02-28T10:08:55Z</dc:date>
    </item>
    <item>
      <title>VisualStudio08/Pardiso Beginner Question</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VisualStudio08-Pardiso-Beginner-Question/m-p/794839#M2571</link>
      <description>&lt;P&gt;Hi, Martin!&lt;/P&gt;&lt;P&gt;First of all your example looks something strange because it uses some iparm() values that are not supported by Intel MKL now. For example iparm(33), iparm(51) and iparm(52) are used in PARDISO 4.1 from University Basel. But iparm(27) is used for matrix checking in Intel MKL. So could you clarify what kind of PARDISO you are trying to use? &lt;BR /&gt;Also you mentioned that RHS vector b is set to zero in your example but in your sources above vector x (solution vector?) is set to zero. Could you provide us with the way how PARDISO is called in your program? &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2011 11:33:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VisualStudio08-Pardiso-Beginner-Question/m-p/794839#M2571</guid>
      <dc:creator>Sergey_P_Intel2</dc:creator>
      <dc:date>2011-02-28T11:33:41Z</dc:date>
    </item>
    <item>
      <title>VisualStudio08/Pardiso Beginner Question</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VisualStudio08-Pardiso-Beginner-Question/m-p/794840#M2572</link>
      <description>I used an example from the University Basel as a basis for my program, so the mentioned iparm() values could be fragments from that original file. I am trying to use the PARDISO included in the Intel MKL, that came with my Intel FORTRAN Compiler 11.&lt;BR /&gt;The part of the code that I sent you only contained the initialization of the iparm() values, the initialization of the soluition vector x, and that of the other input parameters needed for the PARDISO function call. The call looks like this:&lt;BR /&gt;&lt;BR /&gt;CALL pardiso (pt, maxfct, mnum, mtype, phase, NumNP, myvalues, myia, myja, idum, nrhs, iparm, msglvl, B2, x, error)&lt;BR /&gt;&lt;BR /&gt;myvalues, myja and myia contain the matrix in the sparse matrix format described in the MKL reference manual. B2 is the RHS of the system of equations, and I set the value of all B2 entries to zero, expecting to get a solution x where all the values contained are zero as well.</description>
      <pubDate>Mon, 28 Feb 2011 12:21:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VisualStudio08-Pardiso-Beginner-Question/m-p/794840#M2572</guid>
      <dc:creator>mamey4</dc:creator>
      <dc:date>2011-02-28T12:21:47Z</dc:date>
    </item>
    <item>
      <title>VisualStudio08/Pardiso Beginner Question</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VisualStudio08-Pardiso-Beginner-Question/m-p/794841#M2573</link>
      <description>I used an example from the University Basel as a basis for my program, so the mentioned iparm() values could be fragments from that original file. I am trying to use the PARDISO included in the Intel MKL, that came with my Intel FORTRAN Compiler 11.&lt;BR /&gt;The part of the code that I sent you only contained the initialization of the iparm() values, the initialization of the soluition vector x, and that of the other input parameters needed for the PARDISO function call. The call looks like this:&lt;BR /&gt;&lt;BR /&gt;CALL pardiso (pt, maxfct, mnum, mtype, phase, NumNP, myvalues, myia, myja, idum, nrhs, iparm, msglvl, B2, x, error)&lt;BR /&gt;&lt;BR /&gt;myvalues, myja and myia contain the matrix in the sparse matrix format described in the MKL reference manual. B2 is the RHS of the system of equations, and I set the value of all B2 entries to zero, expecting to get a solution x where all the values contained are zero as well.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Feb 2011 12:32:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VisualStudio08-Pardiso-Beginner-Question/m-p/794841#M2573</guid>
      <dc:creator>mamey4</dc:creator>
      <dc:date>2011-02-28T12:32:10Z</dc:date>
    </item>
    <item>
      <title>VisualStudio08/Pardiso Beginner Question</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VisualStudio08-Pardiso-Beginner-Question/m-p/794842#M2574</link>
      <description>Martin,&lt;DIV&gt;I checked how it works with our examples (pardiso_unsym_c.c) with setting all b&lt;I&gt; == 0.0;&lt;/I&gt;&lt;/DIV&gt;&lt;DIV&gt;This is the output:&lt;/DIV&gt;&lt;DIV&gt;================ PARDISO: solving a real nonsymmetric system ================&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;DIV style="font-family: verdana, sans-serif; padding: 0px; margin: 0px;" id="_mcePaste"&gt;&lt;DIV style="font-family: verdana, sans-serif; padding: 0px; margin: 0px;" id="_mcePaste"&gt;The local (internal) PARDISO version is             : 103000115&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV style="font-family: verdana, sans-serif; padding: 0px; margin: 0px;" id="_mcePaste"&gt;&lt;BR style="font-family: verdana, sans-serif; padding: 0px; margin: 0px;" /&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;..........................................&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;Solve completed ...&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;The solution of the system is:&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;x [0] = 0.000000&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;x [1] = 0.000000&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;x [2] = 0.000000&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;x [3] = 0.000000&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;x [4] = -0.000000&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;iparm[63] = 103000115&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Press any key to continue . . .&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;As you can see this is the version 10.3.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Win32.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 28 Feb 2011 13:22:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VisualStudio08-Pardiso-Beginner-Question/m-p/794842#M2574</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2011-02-28T13:22:02Z</dc:date>
    </item>
    <item>
      <title>VisualStudio08/Pardiso Beginner Question</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VisualStudio08-Pardiso-Beginner-Question/m-p/794843#M2575</link>
      <description>I found the problem now - I used the wrong FORTRAN variable types for the input parameters of the pardiso call; when I stick to ones in the the example, it works.&lt;BR /&gt;Thanks anyway for taking the time to take a look at this :-)</description>
      <pubDate>Mon, 28 Feb 2011 14:06:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VisualStudio08-Pardiso-Beginner-Question/m-p/794843#M2575</guid>
      <dc:creator>mamey4</dc:creator>
      <dc:date>2011-02-28T14:06:29Z</dc:date>
    </item>
  </channel>
</rss>

