Skip to content

Commit

Permalink
Merge branch 'xylar/mpas-framework/fix-cray-cray-openmp' into next (PR
Browse files Browse the repository at this point in the history
…#6193)

Fix OpenMP support for MPAS standalone builds with cray-cray

A -fopenmp (rather than a -homp) flag seems to be needed for OpenMP on
Frontier.

For MPAS component standalone builds only -- does not impact E3SM

[BFB]
  • Loading branch information
jonbob committed Feb 7, 2024
2 parents e9f5018 + d6b1807 commit fd8d197
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/mpas-framework/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,8 @@ cray-cray:
"CFLAGS_DEBUG = -O0 -g" \
"CXXFLAGS_DEBUG = -O0 -g" \
"LDFLAGS_DEBUG = -O0 -g -Ktrap=divz,fp,inv,ovf" \
"FFLAGS_OMP = -h omp" \
"CFLAGS_OMP = -h omp" \
"FFLAGS_OMP = -homp -fopenmp" \
"CFLAGS_OMP = -homp -fopenmp" \
"PICFLAG = -f pic" \
"BUILD_TARGET = $(@)" \
"CORE = $(CORE)" \
Expand Down

0 comments on commit fd8d197

Please sign in to comment.