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.
Changeset 7695 – NEMO

Changeset 7695


Ignore:
Timestamp:
2017-02-17T16:54:43+01:00 (8 years ago)
Author:
flavoni
Message:

update README for DOMAINcfg tool

Location:
branches/2016/dev_merge_2016/NEMOGCM/TOOLS/DOMAINcfg
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_merge_2016/NEMOGCM/TOOLS/DOMAINcfg/README

    r7421 r7695  
    1313= HOW TO RUN 
    1414================================ 
    15 just run : 
     15and just run according your architecture : 
    1616::::::::::::::::::::::::::::::::::::::::::::::::: 
    17 ./make_domain_cfg.exe 
     17run in mpi mode with just 1 proc; example for IBM 
     18poe ./make_domain_cfg.exe -proc 1 
    1819::::::::::::::::::::::::::::::::::::::::::::::::: 
    1920NOTA: it can be run in multiproc mode, but in output there will be domain_cfg_00xx.nc files 
     
    2829   DOMAINcfg tool is working with revision 703 of xios) 
    2930 
    30 1) copy in DOMAINcfg  directory namelist_cfg all settings (that you had in 3.6_stable) of the configuration for which you want prepare domain_cfg.nc file 
    31 IMPORTANT : keep the namelist_ref committed inchanged.  
     31 VERY IMPORTANT : keep the namelist_ref committed inchanged!!! 
     321) in DOMAINcfg directory:  
     33    
     34   - open namelist_cfg  
     35   - copy "namcfg" block from your 3.6_stable namelist  
     36   - copy "domzgr" block (and namzgr_sco block if ln_sco = .true.) from your 3.6_stable namelist 
     37   - copy "namdom" block from your 3.6_stable namelist 
     38   - copy ln_e3_dep from namelist_ref into namelist_cfg in "namcfg" block and set the value you want : 
    3239 
    33 NEW OPTION ln_e3_dep in the namelist_ref: 
    34 till nemo_v3.6_stable e3 were done like an analytical derivative of depth function 
    35 now  e3=dk[depth] in discret sens 
    36  
    37 If you want to create same e3[tuvw] like 3.6 you've to use "ln_e3_dep=.false." 
    38  
    39  ln_e3_dep   = .true.    ! =T : e3=dk[depth] in discret sens. 
     40   ln_e3_dep   = .true.    ! =T : e3=dk[depth] in discret sens. 
    4041   !                       !      ===>>> will become the only possibility in v4.0 
    4142   !                       ! =F : e3 analytical derivative of depth function 
     
    4344   ! 
    4445 
    45 2) copy in DOMAINcfg directory same input files (of related configuration) required in v3.6_stable. 
     46Use ln_e3_dep=.false. : To create same e3[tuvw] like 3.6 (e3 were done like an analytical derivative of depth function) 
     47 
     48Use ln_e3_dep=.true.  : To create e3=dk[depth] in discret sens 
     49 
     503) copy in DOMAINcfg directory same input files (of related configuration) required in v3.6_stable. 
    4651 
    4752DOMAINcfg package is EXACTLY what does exist in NEMO version 3.6 to define a model domain (both domain related namelist and initialization). 
     
    7277            field_def.xml 
    7378            iodef.xml 
     79 
     804) verify that bathymetry created here (variable "bottom_level" in domain_cfg.nc) and your old bathymetry (variable "mbathy" in mesh_mask.nc) are the same if ln_e3_dep=F:  
     81ncks -v bottom_level domain_cfg.nc new.nc 
     82ncks -v mbathy mesh_mask.nc old.nc 
     83ncrename -v mbathy,bottom_level old.nc 
     84ncdiff new.nc old.nc test_diff.nc 
     85 
     86Nota bene: if ln_e3_dep=T is used, it is ok to have few differences as long as it does not affect the boundaries (in a closed domain) 
     87 
  • branches/2016/dev_merge_2016/NEMOGCM/TOOLS/DOMAINcfg/namelist_cfg

    r7200 r7695  
    116116&nameos        !   ocean physical parameters 
    117117!----------------------------------------------------------------------- 
    118    ln_teos10    = .true.         !  = Use TEOS-10 equation of state 
    119 / 
    120118!----------------------------------------------------------------------- 
    121119&namtra_adv    !   advection scheme for tracer 
  • branches/2016/dev_merge_2016/NEMOGCM/TOOLS/DOMAINcfg/namelist_ref

    r7200 r7695  
    2727!----------------------------------------------------------------------- 
    2828   nn_no       =       0   !  job number (no more used...) 
    29    cn_exp      =  "ORCA2"  !  experience name 
     29   cn_exp      =  "tools-dom"  !  experience name 
    3030   nn_it000    =       1   !  first time step 
    31    nn_itend    =    5475   !  last  time step (std 5475) 
     31   nn_itend    =       1   !  last  time step (std 5475) 
    3232   nn_date0    =  010101   !  date at nit_0000 (format yyyymmdd) used if ln_rstart=F or (ln_rstart=T and nn_rstctl=0 or 1) 
    3333   nn_time0    =       0   !  initial time of day in hhmm 
     
    4646   nn_istate   =       0   !  output the initial state (1) or not (0) 
    4747   ln_rst_list = .false.   !  output restarts at list of times using nn_stocklist (T) or at set frequency with nn_stock (F) 
    48    nn_stock    =    5475   !  frequency of creation of a restart file (modulo referenced to 1) 
     48   nn_stock    =       1   !  frequency of creation of a restart file (modulo referenced to 1) 
    4949   nn_stocklist = 0,0,0,0,0,0,0,0,0,0 ! List of timesteps when a restart file is to be written 
    50    nn_write    =    5475   !  frequency of write in the output file   (modulo referenced to nn_it000) 
     50   nn_write    =       1   !  frequency of write in the output file   (modulo referenced to nn_it000) 
    5151   ln_mskland  = .false.   !  mask land points in NetCDF outputs (costly: + ~15%) 
    5252   ln_cfmeta   = .false.   !  output additional data to netCDF files required for compliance with the CF metadata standard 
     
    758758&nameos        !   ocean physical parameters 
    759759!----------------------------------------------------------------------- 
    760    ln_teos10   = .false.         !  = Use TEOS-10 equation of state 
     760   ln_teos10   = .true.          !  = Use TEOS-10 equation of state 
    761761   ln_eos80    = .false.         !  = Use EOS80 equation of state 
    762762   ln_seos     = .false.         !  = Use simplified equation of state (S-EOS) 
Note: See TracChangeset for help on using the changeset viewer.