| 1 | 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | 
| 2 | 
THIS CODE IS NO LONGER SUPPORTED | 
| 3 | 
PLEASE USE THE NEW VERSION IN  | 
| 4 | 
MITgcm/pkg/bling | 
| 5 | 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | 
| 6 | 
 | 
| 7 | 
 | 
| 8 | 
 | 
| 9 | 
BLING package for MITgcm | 
| 10 | 
 | 
| 11 | 
This code is adapted from the Biogeochemistry with Light, Iron, Nutrients and Gases model (Galbraith et al., Biogeosciences, 2010) | 
| 12 | 
 | 
| 13 | 
More information, including the original code, can be accessed here https://sites.google.com/site/blingmodel/ | 
| 14 | 
 | 
| 15 | 
 | 
| 16 | 
Compiling BLING in forward mode requires modifications to the following files in the gchem package: | 
| 17 | 
pkg/gchem/GCHEM.h | 
| 18 | 
pkg/gchem/gchem_forcing_sep.F | 
| 19 | 
pkg/gchem/gchem_init_vari.F | 
| 20 | 
pkg/gchem/gchem_readparms.F | 
| 21 | 
 | 
| 22 | 
The modified files can be obtained here: | 
| 23 | 
MITgcm_contrib/verification_other/global_oce_biogeo_bling/code/ | 
| 24 | 
 | 
| 25 | 
Compiling BLING in adjoint mode requires additional modifications to  | 
| 26 | 
pkg/autodiff/checkpoint_lev?_directives.h   | 
| 27 | 
model/src/forward_step.F | 
| 28 | 
model/src/the_main_loop.F | 
| 29 | 
model/src/main_do_loop.F | 
| 30 | 
 | 
| 31 | 
The modified files can be obtained here: | 
| 32 | 
MITgcm_contrib/verification_other/global_oce_biogeo_bling/code_ad/ | 
| 33 | 
 | 
| 34 | 
 | 
| 35 | 
For questions or to report issues, please contact  | 
| 36 | 
averdy@ucsd.edu or mmazloff@ucsd.edu | 
| 37 | 
 | 
| 38 | 
 | 
| 39 | 
This material is based upon work supported by NASA under Grant Number NNX12AQ27G. | 
| 40 | 
 | 
| 41 | 
On 29 Feb. 2016 this package updated to BLING version 2.  | 
| 42 | 
This work is now supported by NSF Award PLR-1425989 (SOCCOM). | 
| 43 | 
This package can be used with the forward setup: | 
| 44 | 
MITgcm_contrib/verification_other/global_oce_biogeo_bling | 
| 45 | 
but that adjoint setup not yet brought up to date so not consistent with latest MITgcm version | 
| 46 | 
 | 
| 47 | 
 |