- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am beginer user in Fortran, so perhaps my problem could look silly, but I got stuck and I need a help.
I have a code in Fortran 90 in which I have used the function SGESV from Lapack Library.
However, the software (Ansys CFX) I intend to use the Fortran Code together does not work with the Fortran 90,
only with Fortran 77. So I translated the code writen in Fortran 90 to Fortran 77, but I still didn't find
the function SGESV neither the Lapack Library in Fortran 77.
Does this function/library exists in Fortran 77?
Glad,
Luiz Zubeldia
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Lapack and BLAS are neither integral parts of Fortran, nor do all Fortran compiler vendors supply Lapack and BLAS libraries. With Intel Fortran, you can link the MKL libraries (try the /Qmkl compiler option first) to pull in the SGESV routine.
You are mistaken in your statements that Ansys CFX can link only to F77 code, etc. Note that libraries contain object code. Whether the object code was obtained by compiling F77, F90, C or assembler code is not material, as long as the Lapack/BLAS API-s are adhered to. Likewise, the MKL routines can be called from Fortran 77, 90, 95, 2003,..., C, C#, Visual Basic, assembler, Python, etc.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page