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