Re: [CMake] Compiling Fortran on IBMs XL

2017-06-08 Thread Bill Hoffman
On 6/8/2017 5:13 AM, Matthias Redies wrote: I believe my Error was discussed in: http://public.kitware.com/pipermail/cmake/2015-January/059522.html and solved here: http://public.kitware.com/pipermail/cmake/2015-January/059547.html

Re: [CMake] Compiling Fortran on IBMs XL

2017-06-08 Thread Matthias Redies
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 07.06.2017 17:02, Matthias

[CMake] Compiling Fortran on IBMs XL

2017-06-07 Thread Matthias Redies
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