Skip to content

Commit 8bd92c2

Browse files
authored
Merge pull request #122 from GEOS-ESM/feature/mathomp4/add-openmp-support
Add OpenMP Support
2 parents 6d71a00 + 2aa3158 commit 8bd92c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ if (CRAY_POINTER)
5656
set_target_properties (${this} PROPERTIES COMPILE_FLAGS ${CRAY_POINTER})
5757
endif()
5858

59+
# Enable OpenMP
60+
target_link_libraries(${this} PRIVATE OpenMP::OpenMP_Fortran)
61+
5962
add_definitions (-DSPMD -DMAPL_MODE)
6063

6164
foreach(flag ${tmp})

0 commit comments

Comments
 (0)