Skip to content

Commit

Permalink
[WIP] Switch to OpenACC version of MPAS-A
Browse files Browse the repository at this point in the history
  • Loading branch information
gdicker1 committed Feb 13, 2024
1 parent 7e2b3f5 commit 0694a02
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Externals_CAM.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,11 @@ required = True
[mpas]
local_path = src/dynamics/mpas/dycore
protocol = git
repo_url = https://github.com/MPAS-Dev/MPAS-Model.git
# repo_url = https://github.com/MPAS-Dev/MPAS-Model.git
repo_url = https://github.com/gdicker1/MPAS-Model.git
sparse = ../.mpas_sparse_checkout
hash = ff76a231
# hash = ff76a231
branch = atmosphere/cam-develop-openacc-derecho-2
required = True

[hemco]
Expand Down
1 change: 1 addition & 0 deletions src/dynamics/mpas/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
CPPFLAGS := -D_MPI -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_CAM_DYCORE -DMPAS_NO_ESMF_INIT
$(info $$GPUFLAGS=[${GPUFLAGS}])
ifdef GPUFLAGS
CPPFLAGS += -DMPAS_OPENACC
FFLAGS += $(GPUFLAGS)
Expand Down

0 comments on commit 0694a02

Please sign in to comment.