Skip to content

Commit b6786b3

Browse files
authored
Merge pull request #4821 from gdicker1/mpasa-oacc-flags
Correct variable name, actually use OpenACC build flags in MPAS-A
2 parents aadcea4 + 8b92b0b commit b6786b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CIME/Tools/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -573,11 +573,11 @@ ifdef MPAS_LIBDIR
573573
.PHONY: libmpas
574574
# The CASEROOT, COMPILER and MACH are added so that the Depends file could be visible to
575575
# the MPAS dycore.
576-
# The GPUFLAGS is added so that the GPU flags defined in ccs_config_cesm could also be
576+
# The OPENACC_GPU_FLAGS is added so that the GPU flags defined in ccs_config_cesm could also be
577577
# used to build the MPAS dycore if needed.
578578
libmpas: cam_abortutils.o physconst.o
579579
$(MAKE) -C $(MPAS_LIBDIR) CC="$(CC)" FC="$(FC)" PIODEF="$(PIODEF)" \
580-
FFLAGS='$(FREEFLAGS) $(FFLAGS)' GPUFLAGS='$(GPUFLAGS)' \
580+
FFLAGS='$(FREEFLAGS) $(FFLAGS)' OPENACC_GPU_FLAGS='$(OPENACC_GPU_FLAGS)' \
581581
CASEROOT='$(CASEROOT)' COMPILER='$(COMPILER)' MACH='$(MACH)' \
582582
FCINCLUDES='$(INCLDIR) $(INCS) -I$(ABS_INSTALL_SHAREDPATH)/include -I$(ABS_ESMF_PATH)/include'
583583

0 commit comments

Comments
 (0)