-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1606 from ACME-Climate/sarats/machinefiles/summit…
…dev (# 1606 Added Summitdev configuration files for IBM and PGI compilers. Added specific machine configuration and modules info for both compilers in config_machines.xml. Added appropriate compiler options for IBM and PGI specific to Summitdev in config_compilers.xml. Incorporates fix for proper loading of lmod modules. Added batch queue, LSF info specific to Summitdev in config_batch.xml. Commented out option " a {{ poe }}" from generic lsf section in config_batch.xml. This should be moved to a specific machine section as needed. [BFB] P2-23
- Loading branch information
Showing
5 changed files
with
221 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# File copied from Depends.mira which also uses IBM compilers. | ||
# | ||
## 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) $< | ||
|
||
# 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 $< | ||
#Model crashes if these files are compiled with O3(default) optimizations | ||
seasalt_model.o: seasalt_model.F90 | ||
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -O2 $< | ||
linoz_data.o: linoz_data.F90 | ||
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -O2 $< | ||
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
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