- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am new to MKL and using Intel Fortran with Visual Studio. I just updated oneAPI base toolkit to enable MKL. In Visual Studio I enabled the parallel option for MKL. When I try to build the example gesv.f90 I get the following errors:
Linking...
1>Source1.obj : error LNK2019: unresolved external symbol SGESV_F95 referenced in function MAIN__
1>Source1.obj : error LNK2019: unresolved external symbol SGESV1_F95 referenced in function MAIN__
Any guidance would be appreciated.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The linking failed because you did not tell the linker to use the BLAS95 and Lapack95 libraries.
It is best to use the MKL Link Line Advisor, and select BLAS95 and LAPACK95 as appropriate.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The linking failed because you did not tell the linker to use the BLAS95 and Lapack95 libraries.
It is best to use the MKL Link Line Advisor, and select BLAS95 and LAPACK95 as appropriate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Mecej4! I had assumed that enabling MKL in MSVS would handle things automatically.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rittard,
Thanks for accepting the solution. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.
Best Regards,
Shanmukh.SS
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page