-
Notifications
You must be signed in to change notification settings - Fork 360
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'rljacob/cime5.1/update-acme-mach' into maint-cime5.1 (PR …
…#806) Update several ACME machine files with changes through ACME v1alpha.9 All the Depends.intel* files And mira, cetus, titan, melvin compilers and config. Add compiler entries for mesabi and itasca Also remove all the old env_mach_specific.* files to remove clutter. * rljacob/cime5.1/update-acme-mach: Update Depends.intel files for acme Add intel entries for mesabi and itasca for acme Update melvin machine settings for acme Update cetus/mira for acme Update titan for acme machines Remove old env_mach_specific files from acme
- Loading branch information
Showing
32 changed files
with
214 additions
and
1,197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,61 @@ | ||
# These routines have problems with stacksize when omp is invoked add -qsmallstack to resolve | ||
SSOBJS = mo_sethet.o mo_drydep.o time_management.o | ||
|
||
$(SSOBJS): %.o: %.F90 | ||
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -qsmallstack $< | ||
|
||
QSMPFLAGS:= | ||
ifeq ($(compile_threaded), true) | ||
QSMPFLAGS += -qsmp=noauto:noomp | ||
endif | ||
shr_reprosum_mod.o: shr_reprosum_mod.F90 | ||
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) $(QSMPFLAGS) $< | ||
|
||
mo_sethet.o: mo_sethet.F90 | ||
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) $(QSMPFLAGS) $< | ||
mo_drydep.o: mo_drydep.F90 | ||
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) $(QSMPFLAGS) $< | ||
time_management.o: time_management.F90 | ||
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -qsmp=noauto:noomp $< | ||
# These routines benefit from -qnostrict without violating the bfb test | ||
PERFOBJS=\ | ||
prim_advection_mod_base.o \ | ||
vertremap_mod_base.o \ | ||
edge_mod_base.o \ | ||
derivative_mod_base.o \ | ||
bndry_mod_base.o \ | ||
prim_advance_mod.o \ | ||
uwshcu.o \ | ||
wetdep.o | ||
|
||
|
||
ifeq ($(DEBUG),FALSE) | ||
$(PERFOBJS): %.o: %.F90 | ||
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -qnostrict $< | ||
endif | ||
|
||
### These files take long time to compile with default optimization flags. | ||
### Reducing optimization gives <1min build-times and little impact on model run time. | ||
### begin | ||
## atm files taking more than a minute to compile | ||
# this takes 9 mins to compile at default -O3 level | ||
buffer.o: buffer.F90 | ||
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -O0 $< | ||
|
||
## lnd files taking more than a minute to compile | ||
# this takes 4 mins to compile with -O3 -qsmp=omp | ||
BiogeophysRestMod.o: BiogeophysRestMod.F90 | ||
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -O0 -qsmp=noopt $< | ||
|
||
# this takes 17 mins to compile with -O3 -qsmp=omp | ||
CNrestMod.o: CNrestMod.F90 | ||
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -O0 -qsmp=noopt $< | ||
|
||
# this takes 4 mins to compile with -qsmp=omp | ||
clmtypeInitMod.o: clmtypeInitMod.F90 | ||
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -qsmp=noopt $< | ||
|
||
# this takes 2 mins to compile with -qsmp=omp | ||
clmtype.o: clmtype.F90 | ||
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -qsmp=noopt $< | ||
|
||
# disable inlining (some issues with pure functions therein) | ||
advance_xm_wpxp_module.o: advance_xm_wpxp_module.F90 | ||
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -Q! $< | ||
advance_wp2_wp3_module.o: advance_wp2_wp3_module.F90 | ||
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -Q! $< | ||
### end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
|
||
derivative_mod.o: derivative_mod.F90 | ||
$(FC) -c $(FPPFLAGS) $(INCLDIR) $(INCS) $(FREEFLAGS) $(FFLAGS_NOOPT) -O1 $< | ||
#derivative_mod_base.o: derivative_mod_base.F90 | ||
# $(FC) -c $(FPPFLAGS) $(INCLDIR) $(INCS) $(FREEFLAGS) $(FFLAGS_NOOPT) -O1 $< | ||
|
||
shr_ncread_mod.o: shr_ncread_mod.F90 | ||
$(FC) -c $(FPPFLAGS) $(INCLDIR) $(INCS) $(FREEFLAGS) $(FFLAGS_NOOPT) $< |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
|
||
derivative_mod.o: derivative_mod.F90 | ||
$(FC) -c $(FPPFLAGS) $(INCLDIR) $(INCS) $(FREEFLAGS) $(FFLAGS_NOOPT) -O1 $< | ||
#derivative_mod_base.o: derivative_mod_base.F90 | ||
# $(FC) -c $(FPPFLAGS) $(INCLDIR) $(INCS) $(FREEFLAGS) $(FFLAGS_NOOPT) -O1 $< | ||
|
||
shr_ncread_mod.o: shr_ncread_mod.F90 | ||
$(FC) -c $(FPPFLAGS) $(INCLDIR) $(INCS) $(FREEFLAGS) $(FFLAGS_NOOPT) $< |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.