topic dsygv not working as expected in IntelĀ® Fortran Compiler
https://community.intel.com/t5/Intel-Fortran-Compiler/dsygv-not-working-as-expected/m-p/1066773#M118651
<P>I have a fortran program which use dsygv routine to get Eigen values for a generalized Eigen value problem. the problem is related to structural dynamics. I have the structure modeled in 3rd party software (sacs) and have all the results. I prepared the 2 matrices A and B in fortran and used dsygv to get the Eigen values - I am getting the first two Eigen values as negative and there after the eig(3) is matching eig(1) of software, eig(4) of fortran is matching eig(2) of software, eig(5)of fortran match eig(3) of software and so on. the matrices were generated inside fortran as result of calculations. I took them out in excel, fed them to Mathcad and the Eigen values generated in Mathcad match very well with software output - so why is there a discrepancy in fortran o/p. please see the attachment showing comparison. results.txt is fortran o/p</P>Sun, 26 Mar 2017 12:45:00 GMTrajith_r_2017-03-26T12:45:00Zdsygv not working as expected
https://community.intel.com/t5/Intel-Fortran-Compiler/dsygv-not-working-as-expected/m-p/1066773#M118651
<P>I have a fortran program which use dsygv routine to get Eigen values for a generalized Eigen value problem. the problem is related to structural dynamics. I have the structure modeled in 3rd party software (sacs) and have all the results. I prepared the 2 matrices A and B in fortran and used dsygv to get the Eigen values - I am getting the first two Eigen values as negative and there after the eig(3) is matching eig(1) of software, eig(4) of fortran is matching eig(2) of software, eig(5)of fortran match eig(3) of software and so on. the matrices were generated inside fortran as result of calculations. I took them out in excel, fed them to Mathcad and the Eigen values generated in Mathcad match very well with software output - so why is there a discrepancy in fortran o/p. please see the attachment showing comparison. results.txt is fortran o/p</P>Sun, 26 Mar 2017 12:45:00 GMThttps://community.intel.com/t5/Intel-Fortran-Compiler/dsygv-not-working-as-expected/m-p/1066773#M118651rajith_r_2017-03-26T12:45:00ZUnless the documentation of a
https://community.intel.com/t5/Intel-Fortran-Compiler/dsygv-not-working-as-expected/m-p/1066774#M118652
<P>Unless the documentation of a routine such as DSYGV states that a vector result follows a certain ordering convention, you should not expect any specific order, and it is up to you, after the DSYGV call has been completed, to sort the returned eigenvalues in whatever order you want. </P>
<P>I looked at the image that you attached, which contains numbers strewn all over the place. I have to admit that it conveyed no useful information to me.</P>
<P>The MKL forum is probably a better home for this thread.</P>Mon, 27 Mar 2017 14:15:00 GMThttps://community.intel.com/t5/Intel-Fortran-Compiler/dsygv-not-working-as-expected/m-p/1066774#M118652mecej42017-03-27T14:15:00Z