Skip to content

Commit

Permalink
[WIP] Enable OpenACC builds by bringing in GPUFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
gdicker1 committed Feb 13, 2024
1 parent 0b13571 commit 7e2b3f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/dynamics/mpas/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
CPPFLAGS := -D_MPI -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_CAM_DYCORE -DMPAS_NO_ESMF_INIT
ifdef GPUFLAGS
CPPFLAGS += -DMPAS_OPENACC
FFLAGS += $(GPUFLAGS)
endif
ifdef PIODEF
CPPFLAGS += $(PIODEF)
endif
Expand Down

0 comments on commit 7e2b3f5

Please sign in to comment.