File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -14,3 +14,12 @@ mo_fluxes_broadband_kernels.o
1414
1515$(RRTMGP_OBJS): %.o: %.F90
1616 $(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -fno-openmp $<
17+
18+ ifeq ($(COMP_NAME),mpassi)
19+ # mpas seaice files that can't compile with optimization using gnu
20+ MPASSI_NOOPT_OBJS =\
21+ ice_shortwave.o
22+
23+ $(MPASSI_NOOPT_OBJS): %.o : %.F90
24+ $(FC) -c $(FPPFLAGS) $(INCLDIR) $(INCS) $(FREEFLAGS) $(FFLAGS) $(FFLAGS_NOOPT) $<
25+ endif
Original file line number Diff line number Diff line change @@ -174,6 +174,12 @@ ifeq ($(DEBUG),FALSE)
174174 $(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) $(OPENACC_GPU_FLAGS) $<
175175 $(CLUBB_OBJS): %.o: %.F90
176176 $(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) $(OPENACC_GPU_FLAGS) $<
177+
178+ ifeq ($(COMP_NAME),mpaso)
179+ # mpas ocean files need gpuflags
180+ FFLAGS +=$(GPUFLAGS)
181+ endif
182+
177183else
178184 $(REDUCED_ERRORCHKS_IN_DEBUG): %.o: %.F90
179185 $(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -Mnobounds -Ktrap=none -Knoieee $<
You can’t perform that action at this time.
0 commit comments