<?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: How to use dgeevx? in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-use-dgeevx/m-p/900910#M11213</link>
    <description>&lt;P&gt;Dear T. Yamanobe,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I'vetried dgeevx routine with your parameters and it has been completed with no seg.faults.&lt;/P&gt;
&lt;P&gt;One of the issues could be the arrays location in memory - I encountered seg.faultswhenlarge arrays were put on stack. Do you observe the issue on thesmall sizes around n=10 too?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Michael.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Apr 2008 12:49:57 GMT</pubDate>
    <dc:creator>Michael_C_Intel4</dc:creator>
    <dc:date>2008-04-30T12:49:57Z</dc:date>
    <item>
      <title>How to use dgeevx?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-use-dgeevx/m-p/900908#M11211</link>
      <description>&lt;P&gt;Dear all, &lt;/P&gt;
&lt;P&gt;I am a beginer of LAPACK routines. Now I am trying to use dgeevx for computing the eigenvalues and left and right eigenvectors of a real nonsymmetric matrix on Linux. I set the parameters for dgeevx as follows:&lt;/P&gt;
&lt;P&gt;balanc='B'&lt;/P&gt;
&lt;P&gt;jobvl='V'&lt;/P&gt;
&lt;P&gt;jobvr='V'&lt;/P&gt;
&lt;P&gt;sense='B'&lt;/P&gt;
&lt;P&gt;Moreover, I set the other parameters like lda, ldvl, ldvr, lwork following the description of the Math Kernel Library Reference Manual. The size of the matrix is 500*500.&lt;/P&gt;
&lt;P&gt;If I run the program, my computer returns the following error:&lt;/P&gt;
&lt;P&gt;-------------&lt;/P&gt;
&lt;P&gt;forrtl: severe (174): SIGSEGV, segmentation fault occurred&lt;BR /&gt;Image PC Routine Line Source &lt;/P&gt;
&lt;P&gt;Stack trace terminated abnormally.&lt;BR /&gt;-------------&lt;/P&gt;
&lt;P&gt;What is the reason of this error? How to fix this error?&lt;/P&gt;
&lt;P&gt;When I try to compute just eigenvalues of the matrix, the program returns the correct ones.&lt;/P&gt;
&lt;P&gt;That is, I set the paramters as follows:&lt;/P&gt;
&lt;P&gt;balanc='B'&lt;/P&gt;
&lt;P&gt;jobvl='V'&lt;/P&gt;
&lt;P&gt;jobvr='V'&lt;/P&gt;
&lt;P&gt;sense='E'&lt;/P&gt;
&lt;P&gt;The computer does not return any error messages.&lt;/P&gt;
&lt;P&gt;One other question:&lt;/P&gt;
&lt;P&gt;When I set the parameters like this, I can get the values in vl or vr variables. What are these values in these variables? Are these correct eigenvectors? Since the driver routine dgeevx calculates both left and right eigenvectors if sense is 'E' or 'B', Iwould like to know whatare thevalues that Igetin vr and vl.&lt;/P&gt;
&lt;P&gt;In summary, I wouldlike to knowthe correct way touse dgeevx to calculate eigenvalues and their eigenvectors.&lt;/P&gt;
&lt;P&gt;I am using Math Kernel Library 9.1.023.&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;T. Yamanobe&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2008 05:30:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-use-dgeevx/m-p/900908#M11211</guid>
      <dc:creator>yamanobe</dc:creator>
      <dc:date>2008-04-22T05:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to use dgeevx?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-use-dgeevx/m-p/900909#M11212</link>
      <description>&lt;P&gt;Dear T. Yamanobe,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;did you try analogous routine dgeev with a little bit different interface to solve the problem?&lt;/P&gt;
&lt;P&gt;vl(i) and vr(i) (i-th columns of vl, vr) should keep areal left/right eigenvector for the corresponding real eigenvalue wr(i) in case wi(i) = 0, that is &lt;/P&gt;
&lt;P&gt;vl(i)**T*A = wr(i)*vl(i)**T, and A*vr(i) = wr(i)*vr(i)&lt;/P&gt;
&lt;P&gt;If wi(i) != 0, that is, there's a complex conjugate pair ofeigenvalues ( wr(i), wi(i) ), ( wr(i+1), wi(i+1) ), thentheir respective left/right eigenvectors (u/v) are&lt;/P&gt;
&lt;P&gt;u(i) = vl(i) + i*vl(i+1), u(i)**T*A = ( wr(i)+i*wi(i) )*u(i)**T&lt;/P&gt;
&lt;P&gt;u(i+1) = vl(i)- i*vl(i+1), u(i+1)**T*A = ( wr(i)-i*wi(i) )*u(i+1)**T&lt;/P&gt;
&lt;P&gt;v(i) = vr(i) + i*vr(i+1), A*v(i) = ( wr(i)+i*wi(i) )*v(i)&lt;/P&gt;
&lt;P&gt;v(i+1) = vr(i)- i*vr(i+1), A*v(i+1) = ( wr(i)-i*wi(i) )*v(i+1)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Michael.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2008 12:21:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-use-dgeevx/m-p/900909#M11212</guid>
      <dc:creator>Michael_C_Intel4</dc:creator>
      <dc:date>2008-04-30T12:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to use dgeevx?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-use-dgeevx/m-p/900910#M11213</link>
      <description>&lt;P&gt;Dear T. Yamanobe,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I'vetried dgeevx routine with your parameters and it has been completed with no seg.faults.&lt;/P&gt;
&lt;P&gt;One of the issues could be the arrays location in memory - I encountered seg.faultswhenlarge arrays were put on stack. Do you observe the issue on thesmall sizes around n=10 too?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Michael.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2008 12:49:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-use-dgeevx/m-p/900910#M11213</guid>
      <dc:creator>Michael_C_Intel4</dc:creator>
      <dc:date>2008-04-30T12:49:57Z</dc:date>
    </item>
  </channel>
</rss>

