Merge pull request #233 from bast/radovan/xl-omp

adjust XL Fortran OMP flag; fixes #232
This commit is contained in:
Radovan Bast
2018-03-07 13:43:15 +01:00
committed by GitHub

View File

@ -61,7 +61,7 @@ if(ENABLE_OPENMP)
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -mp")
endif()
if(CMAKE_Fortran_COMPILER_ID MATCHES XL)
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -qsmp")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -qsmp=omp")
endif()
if(CMAKE_Fortran_COMPILER_ID MATCHES Cray)
# do nothing in this case