- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using a Fortran 90 code that contains dgemm, dgemv and dgesvd functions.
When I compile the code these functions are not found and I was wondering how can I import these functions.
I've read something about LAPACK but I did not understand what steps are required to properly install it.
Thanks a lot for the support.
Nicola
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to read the manual and use the correct linking statements. It is a long slow tedious business, but the manuals are good. Asking these questions in a forum will illicit few responses as it is a tolerably simple question. PS you can spend hours solving these problems, best to keep a notebook of steps.
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The subprograms that you listed are present in the MKL library, which contains BLAS, Lapack and a lot of other packages.
There is a setting in the Visual Studio project menu to specify that the MKL library should be used when linking.
If building from the command line, try the /Qmkl compiler option. For more elaborate cases, consult the MKL Link Line Advisor (https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor) .

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