Intel oneMKL LAPACK95 with Gfortran
On Linux, the Intel oneMKL LAPACK95 library can also be used with Gfortran. Build and install LAPACK95 with Intel MKL Lapack95 project.
An example CMakeLists.txt
, using the FindLAPACK.cmake
under cmake/
of Netlib
LAPACK95
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
find_package(LAPACK COMPONENTS LAPACK95 REQUIRED)
add_executable(myexe myprogram.f90)
target_link_libraries(myexe PRIVATE LAPACK::LAPACK95)