<?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 solving systems of linear equations in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809035#M3677</link>
    <description>Did you consult &lt;A href="http://www.netlib.org/lapack95/lug95/node12.html"&gt;lapack95 documentation&lt;/A&gt; and the MKL_userguide in your installation?</description>
    <pubDate>Tue, 05 Jun 2012 10:31:28 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2012-06-05T10:31:28Z</dc:date>
    <item>
      <title>solving systems of linear equations</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809034#M3676</link>
      <description>I want to use some subroutines in LAPACK in Intel  Math Kernel Library for solving systems of linear equations. Such as subroutines getrf, getrs. How should I do? I am using FORTRAN 95 under Microsoft Visual Studio. &lt;BR /&gt;Thanks.</description>
      <pubDate>Tue, 05 Jun 2012 09:46:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809034#M3676</guid>
      <dc:creator>horst_haas_a_itp_fzk</dc:creator>
      <dc:date>2012-06-05T09:46:40Z</dc:date>
    </item>
    <item>
      <title>solving systems of linear equations</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809035#M3677</link>
      <description>Did you consult &lt;A href="http://www.netlib.org/lapack95/lug95/node12.html"&gt;lapack95 documentation&lt;/A&gt; and the MKL_userguide in your installation?</description>
      <pubDate>Tue, 05 Jun 2012 10:31:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809035#M3677</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2012-06-05T10:31:28Z</dc:date>
    </item>
    <item>
      <title>solving systems of linear equations</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809036#M3678</link>
      <description>Yes. I have read&lt;BR /&gt;&lt;BR /&gt;&lt;H1 class="topictitle1"&gt;Fortran95 Interface Conventions&lt;/H1&gt;&lt;P MSHELP="http://www.microsoft.com/MSHelp/"&gt;Fortran95 interface to LAPACK is implemented through wrappers that call respective FORTRAN77 routines. This interface uses such features of Fortran95 as assumed-shape arrays and optional arguments to provide simplified calls to LAPACK routines with fewer arguments. &lt;/P&gt;&lt;H3 MSHELP="http://www.microsoft.com/MSHelp/" class="NoteTipHead"&gt;&lt;IMG src="https://community.intel.com/../Resources/note.gif" alt="Note icon" /&gt;Note&lt;/H3&gt;&lt;P MSHELP="http://www.microsoft.com/MSHelp/" class="Note"&gt;For LAPACK, Intel MKL offers two types of Fortran95 interfaces: &lt;/P&gt;&lt;DIV MSHELP="http://www.microsoft.com/MSHelp/"&gt;&lt;UL type="disc"&gt;&lt;LI&gt;using mkl_lapack.fi only through &lt;SAMP class="tt"&gt;include mkl_lapack.fi&lt;/SAMP&gt; statement. Such interfaces allow you to make use of the original LAPACK routines with all their arguments &lt;/LI&gt;&lt;LI&gt;using lapack.f90 that includes improved interfaces. This file is used to generate the module files lapack95.mod and f95_precision.mod. The module files mkl95_lapack.mod and mkl95_precision.mod are also generated. See also section Fortran95 interfaces and wrappers to LAPACK and BLAS of &lt;EM&gt;Intel MKL User's Guide&lt;/EM&gt; for details. The module files are used to process the FORTRAN use clauses referencing the LAPACK interface: &lt;SAMP class="codeph"&gt;use lapack95&lt;/SAMP&gt; (or an equivalent &lt;SAMP class="codeph"&gt;use mkl95_lapack&lt;/SAMP&gt;) and &lt;SAMP class="codeph"&gt;use f95_precision&lt;/SAMP&gt; (or an equivalent &lt;SAMP class="codeph"&gt;use mkl95_precision&lt;/SAMP&gt;). &lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;And&lt;/P&gt;&lt;P&gt;&lt;B&gt;Fortran 95: &lt;/B&gt;&lt;/P&gt;&lt;DL class="dlsyntax"&gt;&lt;P class="dlsyntaxpara"&gt;call getrs( a, ipiv, b [, trans] [,info] )&lt;/P&gt;&lt;/DL&gt;&lt;DIV class="section" id="Description_4C5EEB6482A845DEBDAD53B82186E738"&gt;&lt;A name="Description_4C5EEB6482A845DEBDAD53B82186E738"&gt;&lt;!-- --&gt;&lt;/A&gt;&lt;H2&gt;Description&lt;/H2&gt;&lt;P&gt;This routine is declared in mkl_lapack.fi for FORTRAN 77 interface, in lapack.f90 for Fortran 95 interface, and in mkl_lapack.h for C interface.&lt;/P&gt;&lt;P&gt;Before calling this routine, you must call &lt;A href="https://community.intel.com/functn_getrf.html#functn_getrf" class="allformats"&gt;?getrf&lt;/A&gt; to compute the &lt;VAR class="varname"&gt;LU&lt;/VAR&gt; factorization of &lt;VAR class="varname"&gt;A&lt;/VAR&gt;.&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;Specific details for the routine getrs interface are as follows:&lt;/P&gt;&lt;DL&gt;&lt;DT class="dlterm"&gt;a &lt;/DT&gt;&lt;DD&gt;&lt;P&gt;Holds the matrix &lt;VAR class="varname"&gt;A&lt;/VAR&gt; of size (&lt;VAR class="varname"&gt;n&lt;/VAR&gt;,&lt;VAR class="varname"&gt; n&lt;/VAR&gt;).&lt;/P&gt;&lt;/DD&gt;&lt;DT class="dlterm"&gt;b &lt;/DT&gt;&lt;DD&gt;&lt;P&gt;Holds the matrix &lt;VAR class="varname"&gt;B&lt;/VAR&gt; of size (&lt;VAR class="varname"&gt;n&lt;/VAR&gt;,&lt;VAR class="varname"&gt; nrhs&lt;/VAR&gt;).&lt;/P&gt;&lt;/DD&gt;&lt;DT class="dlterm"&gt;ipiv &lt;/DT&gt;&lt;DD&gt;&lt;P&gt;Holds the vector of length &lt;VAR class="varname"&gt;n&lt;/VAR&gt;.&lt;/P&gt;&lt;/DD&gt;&lt;DT class="dlterm"&gt;trans &lt;/DT&gt;&lt;DD&gt;&lt;P&gt;Must be 'N', 'C', or 'T'. The default value is 'N'.&lt;/P&gt;&lt;/DD&gt;&lt;/DL&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;But it is still not clear to me what to do.&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;Thank you in advance for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2012 11:00:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809036#M3678</guid>
      <dc:creator>horst_haas_a_itp_fzk</dc:creator>
      <dc:date>2012-06-05T11:00:10Z</dc:date>
    </item>
    <item>
      <title>solving systems of linear equations</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809037#M3679</link>
      <description>There are two parts to understanding "what to do". The first is the linear algebra underlying the calculation. A permutation of a given matrix A can be factorized into the product of a lower triangular matrix L and an upper triangular matrix U. After the factorization is completed, the factors L and U and the permutation matrix (stored as a "pivot vector") are used as many times as needed to do forward elimination and backward substitution to obtain the solution to A.x = b with different vectors b.&lt;BR /&gt;&lt;BR /&gt;The second part is how to call the routines provided in Lapack-95 and MKL to perform the calculations just described. Here is an example.&lt;BR /&gt;&lt;BR /&gt;[fortran]program main
USE lapack95
implicit none
real a(3,3),b(3)
integer piv(3)
data a/2.5,-1.0,-1.0, &amp;amp;
      -1.0, 2.5,-1.0, &amp;amp;
      -1.0,-1.0, 2.5/
data b/1.0, 2.0, 3.0/      
!
call getrf(a,piv)
!
call getrs(a,piv,b)
write(*,*)b
end program main
[/fortran] Compile and run:&lt;BR /&gt;&lt;BR /&gt;[bash]x:&amp;gt; ifort /Qmkl xgetrs.f90 mkl_lapack95.lib
x:&amp;gt; xgetrs

   3.714287       4.000001       4.285715
[/bash]</description>
      <pubDate>Tue, 05 Jun 2012 11:51:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809037#M3679</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2012-06-05T11:51:53Z</dc:date>
    </item>
    <item>
      <title>solving systems of linear equations</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809038#M3680</link>
      <description>&lt;P&gt;I am using Microsoft Visual Studio. In the directories of my computer, I found lapack95.mod and mkl_lapack95.lib. How should I configure the Project Property Pages? &lt;BR /&gt;&lt;BR /&gt;I did &lt;BR /&gt;&lt;BR /&gt;Fortran &amp;gt; General &amp;gt; Additional Include Directories: set as the directory with lapack95.mod&lt;BR /&gt;Fortran &amp;gt; Libraries &amp;gt; Use Intel Math Kernel Library: set as Sequential (/Qmkl:sequential)&lt;BR /&gt;Linker &amp;gt; General &amp;gt; Additional Library Directories: set as the directory with mkl_lapack95.lib&lt;BR /&gt;&lt;BR /&gt;But I got followingerror messages when build:&lt;BR /&gt;&lt;BR /&gt;Error1 error LNK2019: unresolved external symbol _SGETRF_F95 referenced in function _MAIN__mkltest.obj&lt;BR /&gt;Error2 error LNK2019: unresolved external symbol _SGETRS1_F95 referenced in function _MAIN__mkltest.obj&lt;BR /&gt;Error3 fatal error LNK1120: 2 unresolved externalsDebug\mkltest.exe&lt;BR /&gt;&lt;BR /&gt;May I ask your help to solve this problem.&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2012 13:41:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809038#M3680</guid>
      <dc:creator>horst_haas_a_itp_fzk</dc:creator>
      <dc:date>2012-06-05T13:41:57Z</dc:date>
    </item>
    <item>
      <title>solving systems of linear equations</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809039#M3681</link>
      <description>You are almost there:&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;Linker &amp;gt; General &amp;gt; Additional Library Directories: set as the directory with mkl_lapack95.lib &lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;That only specifies the directory to search. You must also specify mkl_lapack95.lib as an additional library to use when linking. &lt;BR /&gt;&lt;BR /&gt;Linker &amp;gt; Command Line &amp;gt; Additional Options: mkl_lapack95.lib</description>
      <pubDate>Tue, 05 Jun 2012 15:13:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809039#M3681</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2012-06-05T15:13:39Z</dc:date>
    </item>
    <item>
      <title>solving systems of linear equations</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809040#M3682</link>
      <description>I would suggest instead of Command Line, adding mkl_lapack95.lib to Linker &amp;gt; Input &amp;gt; Additional Dependencies.</description>
      <pubDate>Tue, 05 Jun 2012 15:48:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809040#M3682</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-06-05T15:48:34Z</dc:date>
    </item>
    <item>
      <title>solving systems of linear equations</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809041#M3683</link>
      <description>Hello Steve,&lt;BR /&gt;I did what you told me, it still has trouble with following error messages&lt;BR /&gt;&lt;BR /&gt;Error1 error LNK2019: unresolved external symbol _XERBLA referenced in function _SGETRF_F95mkl_lapack95.lib(sgetrf.obj)&lt;BR /&gt;Error2 error LNK2001: unresolved external symbol _XERBLAmkl_lapack95.lib(sgetrs1.obj)&lt;BR /&gt;Error3 fatal error LNK1120: 1 unresolved externalsDebug\mkltest.exe&lt;BR /&gt;&lt;BR /&gt;I need your further help.&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 06 Jun 2012 09:16:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809041#M3683</guid>
      <dc:creator>horst_haas_a_itp_fzk</dc:creator>
      <dc:date>2012-06-06T09:16:21Z</dc:date>
    </item>
    <item>
      <title>solving systems of linear equations</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809042#M3684</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you could also ad both the *.mod and the *.lib file directly into the project (solution explorer -&amp;gt; project tree -&amp;gt; Source Files -&amp;gt; right click and Add existing item). This is not elegant but should work.&lt;BR /&gt;&lt;BR /&gt;If there are still link errors, your LAPACK routine requires maybe not only the mkl_lapack95.lib.&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Johannes</description>
      <pubDate>Wed, 06 Jun 2012 10:52:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809042#M3684</guid>
      <dc:creator>Johannes_Rieke</dc:creator>
      <dc:date>2012-06-06T10:52:53Z</dc:date>
    </item>
    <item>
      <title>solving systems of linear equations</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809043#M3685</link>
      <description>&lt;P&gt;It doesn't work. Compile is fine, but there are still link errors. It is hard to test every *.lib file in the folder one by one&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2012 14:26:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809043#M3685</guid>
      <dc:creator>horst_haas_a_itp_fzk</dc:creator>
      <dc:date>2012-06-06T14:26:00Z</dc:date>
    </item>
    <item>
      <title>solving systems of linear equations</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809044#M3686</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;maybe you should then stay at Steve's and mecej4's suggestions and set the properties right. I guess the routines in the mkl_lapack95.lib call other routines in e.g. mkl_blas95.lib and so on. Maybe it is enough to ad these libs also into the linker property settings (if you know, in which lib are which subroutines/ functions...).&lt;BR /&gt;&lt;BR /&gt;An example for the right property settings may be found in the some sample projects for visual studio in your installation folder (C:\Program Files (x86)\Intel\Composer XE 2011 SP1\mkl\tools\builder\MSVS_Projects\VS2010\.). These are C++ versions...&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Johannes</description>
      <pubDate>Wed, 06 Jun 2012 15:05:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809044#M3686</guid>
      <dc:creator>Johannes_Rieke</dc:creator>
      <dc:date>2012-06-06T15:05:34Z</dc:date>
    </item>
    <item>
      <title>solving systems of linear equations</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809045#M3687</link>
      <description>The entry _XERBLA is contained in mkl_rt.lib (and other similar libraries). It gets pulled in if the project settings contain a request to use MKL.&lt;BR /&gt;&lt;BR /&gt;This thread illustrates how a trivial example of compiling a program using a simple command becomes difficult to provide help for when the user uses a comprehensive IDE with numerous settings and we have not been told which settings have been used.</description>
      <pubDate>Wed, 06 Jun 2012 15:54:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809045#M3687</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2012-06-06T15:54:07Z</dc:date>
    </item>
    <item>
      <title>solving systems of linear equations</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809046#M3688</link>
      <description>Hi, &lt;BR /&gt;After adding all files of *.lib into Property Pages &amp;gt; Linker &amp;gt; Input &amp;gt; Additional Dependencies, I was able to make the executable.But it has then another problem when run.&lt;BR /&gt;&lt;BR /&gt;source file:&lt;BR /&gt;1 program main &lt;BR /&gt;2 USE lapack95 &lt;BR /&gt;3 implicit none &lt;BR /&gt;4 real a(3,3),b(3) &lt;BR /&gt;5integer piv(3) &lt;BR /&gt;6 data a/2.5,-1.0,-1.0, &amp;amp; &lt;BR /&gt;7 -1.0, 2.5,-1.0, &amp;amp; &lt;BR /&gt;8 -1.0,-1.0, 2.5/ &lt;BR /&gt;9 data b/1.0, 2.0, 3.0/ &lt;BR /&gt;10call getrf(a,piv)&lt;BR /&gt;11write(*,*) 'a='&lt;BR /&gt;12 write(*,*) a&lt;BR /&gt;13 write(*,*) 'b='&lt;BR /&gt;14 write(*,*) b&lt;BR /&gt;15write(*,*) 'piv='&lt;BR /&gt;16 write(*,*) piv&lt;BR /&gt;17 pause 'initial' &lt;BR /&gt;18 call getrs(a,piv,b)&lt;BR /&gt;19 write(*,*) b &lt;BR /&gt;20 end program main&lt;BR /&gt;&lt;BR /&gt;execution result: &lt;P&gt;a=&lt;BR /&gt; 2.500000 -0.4000000 -0.4000000 -1.000000 2.100000&lt;BR /&gt;-0.6666667 -1.000000 -1.400000 1.166667&lt;BR /&gt;b=&lt;BR /&gt; 1.000000 2.000000 3.000000&lt;BR /&gt;piv=&lt;BR /&gt; 1 2 3&lt;BR /&gt;initial&lt;/P&gt;&lt;P&gt;forrtl: severe (157): Program Exception - access violation&lt;BR /&gt;Image PC Routine Line Source&lt;BR /&gt;mkltest.exe 004AB546 Unknown Unknown Unknown&lt;BR /&gt;mkltest.exe 00401452 _MAIN__ 18 mkltest.f90&lt;BR /&gt;mkltest.exe 004AD903 Unknown Unknown Unknown&lt;BR /&gt;mkltest.exe 0044D3D7 Unknown Unknown Unknown&lt;BR /&gt;mkltest.exe 0044D2AF Unknown Unknown Unknown&lt;BR /&gt;kernel32.dll 7C817077 Unknown Unknown Unknown&lt;BR /&gt;&lt;BR /&gt;From above result (until line 17 pause 'initial'), it seems that call getrf works,the problem appears when call getrs. I could not fix the problem. Many thanks if you can help me.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2012 13:41:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809046#M3688</guid>
      <dc:creator>horst_haas_a_itp_fzk</dc:creator>
      <dc:date>2012-06-11T13:41:19Z</dc:date>
    </item>
    <item>
      <title>solving systems of linear equations</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809047#M3689</link>
      <description>What do you do when the program pauses? Why do you have the PAUSE statement? What happens if you relocate the PAUSE statement to just before the END statement?</description>
      <pubDate>Tue, 12 Jun 2012 02:23:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809047#M3689</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2012-06-12T02:23:21Z</dc:date>
    </item>
    <item>
      <title>solving systems of linear equations</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809048#M3690</link>
      <description>Yes, I put PAUSE statement in the code, see line 17. With this method I know that the code runs into the problem by calling getrs.</description>
      <pubDate>Tue, 12 Jun 2012 06:52:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809048#M3690</guid>
      <dc:creator>horst_haas_a_itp_fzk</dc:creator>
      <dc:date>2012-06-12T06:52:04Z</dc:date>
    </item>
    <item>
      <title>solving systems of linear equations</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809049#M3691</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I put the sample code from &lt;A rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=441185" class="basic" href="http://software.intel.com/en-us/profile/441185/"&gt;horst.haasitp.fzk.de&lt;/A&gt; in a VS project to test it. I will also use MKL routines for a current project and therefore have to be sure that it works fine.&lt;BR /&gt;&lt;BR /&gt;I modified the original code marginal and running in debug mode everything is fine, with and without the PAUSE and with single and double precision.&lt;BR /&gt;&lt;BR /&gt;here my source code:&lt;BR /&gt;[fortran]program MKL_test
! 
USE lapack95  
!
implicit none  
!
real(kind(1.d0))  ::  a(3,3),b(3)  
!real              ::  a(3,3),b(3) 
integer           ::  piv(3)  
!
!
a(1:3,1) = [ 2.5,-1.0,-1.0]
a(1:3,2) = [-1.0, 2.5,-1.0]
a(1:3,3) = [-1.0,-1.0, 2.5]

b        = [ 1.0, 2.0, 3.0]

call getrf(a,piv)

write(*,*) 'a='
write(*,*) a
write(*,*) 'b='
write(*,*) b
write(*,*) 'piv='
write(*,*) piv

!pause 'initial'  

call getrs(a,piv,b)

write(*,*) b 

end program MKL_test[/fortran] &lt;BR /&gt;And that is what I get as result:&lt;BR /&gt;&lt;BR /&gt;a=&lt;BR /&gt; 2.50000000000000 -0.400000000000000 -0.400000000000000&lt;BR /&gt; -1.00000000000000 2.10000000000000 -0.666666666666667&lt;BR /&gt; -1.00000000000000 -1.40000000000000 1.16666666666667&lt;BR /&gt;b=&lt;BR /&gt; 1.00000000000000 2.00000000000000 3.00000000000000&lt;BR /&gt;piv=&lt;BR /&gt; 1 2 3&lt;BR /&gt; 3.71428571428571 4.00000000000000 4.28571428571428&lt;BR /&gt;&lt;BR /&gt;However, in my installation everything seems to work fine.&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Johannes&lt;BR /&gt;&lt;BR /&gt;edit:&lt;BR /&gt;&lt;BR /&gt;linker settings: &lt;BR /&gt;/OUT:"Debug\MKL_test.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:\Program Files (x86)\Intel\Composer XE 2011 SP1\mkl\lib\ia32" /MANIFEST /MANIFESTFILE:"D:\Arbeitsverzeichnis_Jo\Fortran\MKL_test\Debug\MKL_test.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"D:\Arbeitsverzeichnis_Jo\Fortran\MKL_test\Debug\MKL_test.pdb" /SUBSYSTEM:CONSOLE /IMPLIB:"D:\Arbeitsverzeichnis_Jo\Fortran\MKL_test\Debug\MKL_test.lib" mkl_lapack95.lib&lt;BR /&gt;&lt;BR /&gt;fortran settings:&lt;BR /&gt;/nologo /debug:full /Od /I"C:\Program Files (x86)\Intel\Composer XE 2011 SP1\mkl\include\ia32" /warn:interfaces /module:"Debug\" /object:"Debug\" /Fd"Debug\vc100.pdb" /traceback /check:bounds /libs:static /threads /dbglibs /Qmkl:sequential /c&lt;BR /&gt;&lt;BR /&gt;all other settings are default</description>
      <pubDate>Tue, 12 Jun 2012 07:22:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809049#M3691</guid>
      <dc:creator>Johannes_Rieke</dc:creator>
      <dc:date>2012-06-12T07:22:35Z</dc:date>
    </item>
    <item>
      <title>solving systems of linear equations</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809050#M3692</link>
      <description>Hi, Johannes,&lt;BR /&gt;It looks like that you are also in Germany. Thank you very much for your help. &lt;BR /&gt;I found finally that I need both mkl_lapack95.lib and mkl_intel_c.lib and then I could get the correct result. If I input more *.lib files, it could run into the problem that I mentioned in earlier messages.&lt;BR /&gt;&lt;BR /&gt;Best regards</description>
      <pubDate>Tue, 12 Jun 2012 14:33:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809050#M3692</guid>
      <dc:creator>horst_haas_a_itp_fzk</dc:creator>
      <dc:date>2012-06-12T14:33:53Z</dc:date>
    </item>
    <item>
      <title>solving systems of linear equations</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809051#M3693</link>
      <description>When you specify "*.lib", in essence you declare that all you care about is that routine names be found, regardless of whether the library is compatible w.r.t. linkage with your compiled objects. If you say "use any ole library", you should not be surprised when you get "any ole results".</description>
      <pubDate>Wed, 13 Jun 2012 11:09:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809051#M3693</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2012-06-13T11:09:27Z</dc:date>
    </item>
    <item>
      <title>Hi</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809052#M3694</link>
      <description>&lt;DIV&gt;Hi&lt;/DIV&gt;

&lt;DIV&gt;I am new here. may I ask how I can install and use LAPACK or IS there any internal package in intel fortran parallel so I can use to solve dense linear system od equations?&lt;/DIV&gt;

&lt;DIV&gt;Best&lt;/DIV&gt;</description>
      <pubDate>Sun, 06 Aug 2017 09:30:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/solving-systems-of-linear-equations/m-p/809052#M3694</guid>
      <dc:creator>mehdi_m_</dc:creator>
      <dc:date>2017-08-06T09:30:20Z</dc:date>
    </item>
  </channel>
</rss>

