Skip to content

Commit 8b92b0b

Browse files
author
G. Dylan Dickerson
committed
Pass on OpenACC GPU flags to MPAS-A
1 parent 6a80dcc commit 8b92b0b

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
@@ -565,11 +565,11 @@ ifdef MPAS_LIBDIR
565565
.PHONY: libmpas
566566
# The CASEROOT, COMPILER and MACH are added so that the Depends file could be visible to
567567
# the MPAS dycore.
568-
# The GPUFLAGS is added so that the GPU flags defined in ccs_config_cesm could also be
568+
# The OPENACC_GPU_FLAGS is added so that the GPU flags defined in ccs_config_cesm could also be
569569
# used to build the MPAS dycore if needed.
570570
libmpas: cam_abortutils.o physconst.o
571571
$(MAKE) -C $(MPAS_LIBDIR) CC="$(CC)" FC="$(FC)" PIODEF="$(PIODEF)" \
572-
FFLAGS='$(FREEFLAGS) $(FFLAGS)' GPUFLAGS='$(GPUFLAGS)' \
572+
FFLAGS='$(FREEFLAGS) $(FFLAGS)' OPENACC_GPU_FLAGS='$(OPENACC_GPU_FLAGS)' \
573573
CASEROOT='$(CASEROOT)' COMPILER='$(COMPILER)' MACH='$(MACH)' \
574574
FCINCLUDES='$(INCLDIR) $(INCS) -I$(ABS_INSTALL_SHAREDPATH)/include -I$(ABS_ESMF_PATH)/include'
575575

0 commit comments

Comments
 (0)