- Timestamp:
- 2017-02-17T16:54:43+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2016/dev_merge_2016/NEMOGCM/TOOLS/DOMAINcfg/README
r7421 r7695 13 13 = HOW TO RUN 14 14 ================================ 15 just run:15 and just run according your architecture : 16 16 ::::::::::::::::::::::::::::::::::::::::::::::::: 17 ./make_domain_cfg.exe 17 run in mpi mode with just 1 proc; example for IBM 18 poe ./make_domain_cfg.exe -proc 1 18 19 ::::::::::::::::::::::::::::::::::::::::::::::::: 19 20 NOTA: it can be run in multiproc mode, but in output there will be domain_cfg_00xx.nc files … … 28 29 DOMAINcfg tool is working with revision 703 of xios) 29 30 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!!! 32 1) 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 : 32 39 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. 40 41 ! ! ===>>> will become the only possibility in v4.0 41 42 ! ! =F : e3 analytical derivative of depth function … … 43 44 ! 44 45 45 2) copy in DOMAINcfg directory same input files (of related configuration) required in v3.6_stable. 46 Use ln_e3_dep=.false. : To create same e3[tuvw] like 3.6 (e3 were done like an analytical derivative of depth function) 47 48 Use ln_e3_dep=.true. : To create e3=dk[depth] in discret sens 49 50 3) copy in DOMAINcfg directory same input files (of related configuration) required in v3.6_stable. 46 51 47 52 DOMAINcfg package is EXACTLY what does exist in NEMO version 3.6 to define a model domain (both domain related namelist and initialization). … … 72 77 field_def.xml 73 78 iodef.xml 79 80 4) 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: 81 ncks -v bottom_level domain_cfg.nc new.nc 82 ncks -v mbathy mesh_mask.nc old.nc 83 ncrename -v mbathy,bottom_level old.nc 84 ncdiff new.nc old.nc test_diff.nc 85 86 Nota 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
Note: See TracChangeset
for help on using the changeset viewer.