Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BLING "spring cleaning" (MITgcm#778)
* BLING "spring cleaning" * clean up store directives and restructure a little for easier AD This change speeds up ADTHE_MAIN_LOOP in verification/global_oce_bio_bling by a factor of 7 (!), mainly because it fixes the extensive recomputations. Relative to the version prior to this PR the speed up is small. With this commit (on my laptop): User/System/Wall clock time: 51.93 sec / 0.30 sec / 52.59 sec Before: User/System/Wall clock time: 358.49 sec / 0.35 sec / 360.67 sec * clean up diagnostics, chl_sat * clean up diagnostics, chl_sat * adjust cpp-flags to reduce number of taf-not-necessary-warnings * make s/r bling_min_val visible to taf, adjust store directives - remove bling_write_pickup.f from bling_ad_diff.list because the call is not visible to taf anyway - remove bling_read_pickup.f from bling_ad_diff.list because there are flow directives (avoid another warning) * add chlsat_t parameters to namelist and set default values * remove double blank line * improve new chl_sat time-window - rename the 2 new params to "chlsat_locTimWindow(2)" (in decimal hour) - use "decimal hour" consistently (this fix inaccurate time-window criteria). - allow to be used without pkg/cal * bring back PR MITgcm#579 changes just to avoid un-used variables * minor adjustment * document improvements in pkg/bling --------- Co-authored-by: averdy <[email protected]> Co-authored-by: Jean-Michel Campin <[email protected]> Co-authored-by: mjlosch <[email protected]> Co-authored-by: Jean-Michel Campin <[email protected]>
- Loading branch information