Skip to content

Commit 5ffbf38

Browse files
authored
Merge pull request #5616 from 7schroet/develop
Fix Intel OpenMP flag
2 parents d5a5c7d + 3c9858c commit 5ffbf38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/fc.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ if (${F_COMPILER} STREQUAL "INTEL" OR CMAKE_Fortran_COMPILER_ID MATCHES "Intel")
128128
endif ()
129129
set(FCOMMON_OPT "${FCOMMON_OPT} -recursive -fp-model=consistent")
130130
if (USE_OPENMP)
131-
set(OpenMP_Fortran_FLAGS "-openmp" CACHE STRING "OpenMP Fortran compiler flags")
131+
set(OpenMP_Fortran_FLAGS "-qopenmp" CACHE STRING "OpenMP Fortran compiler flags")
132132
endif ()
133133
endif ()
134134

0 commit comments

Comments
 (0)