New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
WorkingGroups/TOP/TOP-UserQuickGuide (diff) – NEMO

Changes between Version 36 and Version 37 of WorkingGroups/TOP/TOP-UserQuickGuide


Ignore:
Timestamp:
2018-03-14T00:31:13+01:00 (7 years ago)
Author:
lovato
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WorkingGroups/TOP/TOP-UserQuickGuide

    v36 v37  
    300300Beside 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. 
    301301 
    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. 
     302The 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. 
    303303 
    304304The coupled configuration listed in '''cfg.txt''' will look like 
     
    323323The 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. 
    324324 
    325 As before, let’s assume a coupled configuration name NEMO_MYBGC, but in this case MYBGC model repository has 3 different subfolders for biogeochemistry, named initialization, pelagic, and benthic, and a separate one named nemo_coupling that contains the modified MY_SRC routines. 
     325As 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. 
    326326The latter folder containing the modified NEMO coupling interface will be still linked using the makenemo “-e” option. 
    327327 
     
    329329{{{ 
    330330bld::tool::fppkeys  key_zdftke key_dynspg_ts key_iomput key_mpp_mpi key_top 
     331 
    331332src::MYBGC::initialization         <MYBGCPATH>/initialization 
    332333src::MYBGC::pelagic                <MYBGCPATH>/pelagic 
     
    343344The compilation will be performed as in the previous case with the following 
    344345{{{ 
    345 makenemo -n NEMO_MYBGC -m <arch_my_machine> -j 8 -e <MYBGCPATH> 
     346makenemo -n NEMO_MYBGC -m <arch_my_machine> -j 8 -e <MYBGCPATH>/nemo_coupling 
    346347}}} 
    347348