-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'worleyph/machines/Titan_pgi_updates' into master (PR #1767
) Early on, it was determined that the PGI compiler required that the CPU target be specified to be istanbul (instead of the actual processor interlagos) in order for ACME (or CESM) to be reproducible with respect to changes in process or thread counts. Here this global specification of istanbul as the CPU target is removed and only applied to the files that require it. Based on experimentation, only CAM and MPASLI required the modified CPU target, and we eventually identified a small number of files within CAM for which this is required. We have not yet examined these files to determine why these files require it. We also have not yet looked at individual MPASLI files, and instead continue to apply the istanbul cpu target for builds of the entire GLC component. Other changes include removing the dependence on the version of pgi/17.5.0 installed in Dave Norton's directories, moving instead to the now official OLCF installation. Also fixed a typo in the module switch command for the PGI version used with PGIACC, and changed the 'pin' flag to 'pinned' for PGIACC, as 'pin' is no longer legal. [Non-BFB] (on Titan when using PGI compiler) Fixes #1620 Fixes #1610 (Note #1610 might need to be reopened, but this nominally addresses the primary issues.)
- Loading branch information
Showing
4 changed files
with
39 additions
and
24 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,11 +1,29 @@ | ||
# lowered optimization to speed-up compilation time | ||
dyn_comp.o: dyn_comp.F90 | ||
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS_NOOPT) $(FREEFLAGS) $< | ||
|
||
#uwshcu.o: uwshcu.F90 | ||
# $(FC) -c $(INCLDIR) $(INCS) $(FFLAGS_NOOPT) $(FREEFLAGS) $< | ||
# following need -target-cpu=istanbul for reproducibility | ||
interpolate_data.o: interpolate_data.F90 | ||
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -target-cpu=istanbul $< | ||
|
||
#mo_drydep.o: mo_drydep.F90 | ||
# $(FC) -c $(INCLDIR) $(INCS) $(FFLAGS_NOOPT) $(FREEFLAGS) $< | ||
tracer_data.o: tracer_data.F90 | ||
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -target-cpu=istanbul $< | ||
|
||
aero_model.o: aero_model.F90 | ||
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -target-cpu=istanbul $< | ||
|
||
modal_aero_deposition.o: modal_aero_deposition.F90 | ||
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -target-cpu=istanbul $< | ||
|
||
dust_sediment_mod.o: dust_sediment_mod.F90 | ||
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -target-cpu=istanbul $< | ||
|
||
mo_gas_phase_chemdr.o: mo_gas_phase_chemdr.F90 | ||
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -target-cpu=istanbul $< | ||
|
||
modal_aer_opt.o: modal_aer_opt.F90 | ||
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -target-cpu=istanbul $< | ||
|
||
zm_conv.o: zm_conv.F90 | ||
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -target-cpu=istanbul $< | ||
|
||
#micro_mg1_5.o: micro_mg1_5.F90 | ||
# $(FC) -c $(INCLDIR) $(INCS) $(FFLAGS_NOOPT) $(FREEFLAGS) $< |
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