Calculate eigenvalue eigenvector in fortran

  • Context: Comp Sci 
  • Thread starter Thread starter baha_tr
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the use of libraries for calculating eigenvalues and eigenvectors in Fortran, specifically in the context of Fortran 2023. Participants explore different libraries and address issues encountered during implementation.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants mention the availability of multiple libraries for eigenvalue computation, with LAPACK being suggested as a potential option.
  • One participant expresses a specific need to find the 4 states after the base state and indicates a preference for using LAPACK or the DSYEVX function.
  • There is a suggestion that calling a Fortran 77 library from Fortran 2023 should be straightforward, implying compatibility between versions.
  • A participant reports encountering an error message related to parameter entry when using the DSYEVX function.
  • Another participant claims to have resolved their problem, though the details of the solution are not provided.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best approach or library to use, and multiple competing views regarding library options and error handling remain evident throughout the discussion.

Contextual Notes

Limitations include the lack of specific details regarding the nature of the error encountered and the resolution provided by one participant, which is not elaborated upon.

baha_tr
Messages
4
Reaction score
1
Homework Statement
Hello, I used to use Fortran 70 before and now I started using Fortran 2023, but I think the library usage is a little different. I wonder how we connect the libraries in 2023, I would be happy if you can help me.
Relevant Equations
intel fortran 2023
I wonder how we connect the libraries in 2023
 
Physics news on Phys.org
There is no 'the' libraries, there are many many libraries, what do you want? You can use e.g. LAPACK to compute eigenvalues.
 
  • Like
Likes   Reactions: pbuk and FactChecker
I just need to find the 4 states after the base state, I think I will use lapack or dsyevx.
 
Calling a Fortran 77 library from Fortran 2023 should be straightforward. Calling it as you would if you wrote your program in Fortran 77 should work.
 
"Intel MKL ERROR: Parameter 9 was incorrect on entry to DSYEVX". I am getting error code like this
 
ı have solved my problem :))
 

Similar threads

  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
6K
  • · Replies 33 ·
2
Replies
33
Views
3K
Replies
5
Views
2K
Replies
4
Views
3K