Changes between Version 36 and Version 37 of WorkingGroups/TOP/TOP-UserQuickGuide
- Timestamp:
- 2018-03-14T00:31:13+01:00 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WorkingGroups/TOP/TOP-UserQuickGuide
v36 v37 300 300 Beside the 6 core files of MY_TRC module, let’s assume an external BGC model named “MYBGC” and constituted by a rather essential coding structure, likely few Fortran files. The new coupled configuration name is NEMO_MYBGC. 301 301 302 The best solution is to have all files (the modified MY_TRC routines and the BGC model ones) placed in a unique folder and to use the makenemo external readdressing of MY_SRC folder.302 The best solution is to have all files (the modified MY_TRC routines and the BGC model ones) placed in a unique folder with root <MYBGCPATH> and to use the makenemo external readdressing of MY_SRC folder. 303 303 304 304 The coupled configuration listed in '''cfg.txt''' will look like … … 323 323 The compilation of more articulated BGC model code & infrastructure, like in the case of BFM ([http://www.bfm-community.eu/publications/bfmnemomanual_r1.0_201508.pdf BFM-NEMO coupling manual]), requires some additional features. 324 324 325 As before, let’s assume a coupled configuration name NEMO_MYBGC, but in this case MYBGC model r epository has 3 different subfolders for biogeochemistry, named initialization, pelagic, and benthic, and a separate one named nemo_coupling that containsthe modified MY_SRC routines.325 As before, let’s assume a coupled configuration name NEMO_MYBGC, but in this case MYBGC model root becomes <MYBGCPATH> that contains 4 different subfolders for biogeochemistry, named initialization, pelagic, and benthic, and a separate one named nemo_coupling including the modified MY_SRC routines. 326 326 The latter folder containing the modified NEMO coupling interface will be still linked using the makenemo “-e” option. 327 327 … … 329 329 {{{ 330 330 bld::tool::fppkeys key_zdftke key_dynspg_ts key_iomput key_mpp_mpi key_top 331 331 332 src::MYBGC::initialization <MYBGCPATH>/initialization 332 333 src::MYBGC::pelagic <MYBGCPATH>/pelagic … … 343 344 The compilation will be performed as in the previous case with the following 344 345 {{{ 345 makenemo -n NEMO_MYBGC -m <arch_my_machine> -j 8 -e <MYBGCPATH> 346 makenemo -n NEMO_MYBGC -m <arch_my_machine> -j 8 -e <MYBGCPATH>/nemo_coupling 346 347 }}} 347 348