Hello,
I am trying to force CMAKE to include a specific static lapack library,
set through the environment variable $LAPACK_LIB:
> ls $LAPACK_LIB
libblas_extra.a libcblas.a liblapack.a liblapacke.a libtmglib.a
> echo $LAPACK_LIB
/bgsys/local/lapack/3.7.0/lib
This is how I am trying to do
I found that by setting:
set(CMAKE_EXE_LINKER_FLAGS "-qmkshrobj")
I can include this fix for older verison.
set(CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS "-qmkshrobj")
Didn't actually have any effect on the linker flags.
Kind regards
Matthias Redies
On 0
Hello,
I am trying to compile my program using this CMake script:
https://pastebin.com/zgJhbFhj
with ifort or gfortran my script works fine, but with IBMs XL Fortran I
get an error:
> make
-- A library with BLAS API found.
-- A library with LAPACK API found.
-- MKLROOT:
-- IBM
-- DEBUG Flag -