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.
Developers/Validation/trunk_perfs (diff) – NEMO

Changes between Version 1 and Version 2 of Developers/Validation/trunk_perfs


Ignore:
Timestamp:
2020-11-23T15:04:59+01:00 (3 years ago)
Author:
smasson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Developers/Validation/trunk_perfs

    v1 v2  
    11 
    22== Get the code  == 
     3 
    34{{{#!sh 
    45# my login 
     
    1718# 
    1819}}} 
     20 
    1921== Change namelist_*ref == 
     22 
    2023{{{#!sh 
    21 # change cfgs/SHARED/namelist_ref 
     24# change cfgs/SHARED/namelist_ref (no IO without XIOS, remove run.stat, meshmask, add timing) 
    2225sed -e "s/nn_stock *=.*/nn_stock = -1 /" \ 
    2326    -e "s/nn_write *=.*/nn_write = -1 /" \ 
     
    2831mv tmp$$ cfgs/SHARED/namelist_ref 
    2932 
    30 # change cfgs/SHARED/namelist_ice_ref 
     33# change cfgs/SHARED/namelist_ice_ref (add an init file) 
    3134sed -e "s/nn_iceini_file *=.*/nn_iceini_file = 1 /" \ 
    3235    cfgs/SHARED/namelist_ice_ref > tmp$$ 
    3336mv tmp$$ cfgs/SHARED/namelist_ice_ref 
    3437 
    35 # change cfgs/SHARED/namelist_pisces_ref 
     38# change cfgs/SHARED/namelist_pisces_ref (as in sette) 
    3639sed -e "s/ln_varpar *=.*/ln_varpar = .false. /" \ 
    3740    -e "s/ln_pisdmp *=.*/ln_pisdmp = .false. /" \ 
     
    3942mv tmp$$ cfgs/SHARED/namelist_pisces_ref 
    4043}}} 
     44 
    4145== Change ORCA2_ICE_PISCES namelist_*cfg and file_def_nemo-*.xml == 
     46 
    4247{{{#!sh 
    43 # change namelist_cfg 
     48# change namelist_cfg (suppress icebergs!!) 
    4449ff=cfgs/ORCA2_ICE_PISCES/EXPREF/namelist_cfg 
    4550sed -e "s/ln_icebergs *=.*/ln_icebergs = .false. /" $ff > tmp$$ 
    4651mv tmp$$ $ff 
    4752 
    48 # change namelist_top_cfg 
     53# change namelist_top_cfg (as in sette) 
    4954ff=cfgs/ORCA2_ICE_PISCES/EXPREF/namelist_top_cfg 
    5055sed -e "s/ln_trcdta *=.*/ln_trcdta = .false. /" $ff > tmp$$ 
    5156mv tmp$$ $ff 
    5257 
    53 # change namelist_pisces_cfg 
     58# change namelist_pisces_cfg (as in sette) 
    5459ff=cfgs/ORCA2_ICE_PISCES/EXPREF/namelist_pisces_cfg 
    5560sed -e "s/ln_ironsed *=.*/ln_ironsed = .false. /" \ 
     
    5964mv tmp$$ $ff 
    6065 
    61 # change file_def_nemo-oce.xml 
     66# change file_def_nemo-oce.xml (suppress diag) 
    6267ff=cfgs/ORCA2_ICE_PISCES/EXPREF/file_def_nemo-oce.xml 
    6368sed -e '/file_group id="1m"/,/<\/file_group>/d' $ff > tmp$$ 
    6469mv tmp$$ $ff 
    6570 
    66 # change file_def_nemo-ice.xml 
     71# change file_def_nemo-ice.xml (suppress diag) 
    6772ff=cfgs/ORCA2_ICE_PISCES/EXPREF/file_def_nemo-ice.xml 
    6873sed -e '/name_suffix="_SBC_scalar"/,/<\/file>/d' $ff > tmp$$ 
    6974mv tmp$$ $ff 
    7075 
    71 # change file_def_nemo-pisces.xml 
     76# change file_def_nemo-pisces.xml (suppress diag) 
    7277ff=cfgs/ORCA2_ICE_PISCES/EXPREF/file_def_nemo-pisces.xml 
    7378sed -e '/file_group id="1y"/,/<\/file_group>/d' $ff > tmp$$ 
     
    7580}}} 
    7681 
     82== Compile the configurations code  == 
     83 
     84I propose to start with ORCA2, ORCA2_ICE, ORCA2_ICE_PISCES.  [[BR]] 
     85In each case, we do one run with XIOS attached (XIOSAT) an one run without XIOS (NOXIOS) 
     86 
     87{{{#!sh 
     88machine=... # for example X64_IRENE, X64_JEANZAY 
     89# ORCA2_ICE_PISCES 
     90./makenemo -m $machine -n ORCA2_ICE_PISCES_XIOSAT -r ORCA2_ICE_PISCES -j 8 
     91./makenemo -m $machine -n ORCA2_ICE_PISCES_NOXIOS -r ORCA2_ICE_PISCES -j 8 del_key "key_iomput" 
     92# ORCA2_ICE 
     93./makenemo -m $machine -n ORCA2_ICE_XIOSAT -r ORCA2_ICE_PISCES -j 8 del_key "key_top" 
     94./makenemo -m $machine -n ORCA2_ICE_NOXIOS -r ORCA2_ICE_PISCES -j 8 del_key "key_top key_iomput" 
     95# ORCA2 
     96./makenemo -m $machine -n ORCA2_XIOSAT -r ORCA2_ICE_PISCES -j 8 del_key "key_top key_si3" 
     97./makenemo -m $machine -n ORCA2_NOXIOS -r ORCA2_ICE_PISCES -j 8 del_key "key_top key_si3 key_iomput" 
     98}}} 
     99 
     100== Cleaning of 2 context_nemo.xml files  == 
     101{{{#!sh 
     102ff=cfgs/ORCA2_ICE_XIOSAT/EXP00/context_nemo.xml 
     103sed -e '/pisces/d' $ff > tmp$$ 
     104mv tmp$$ $ff 
     105 
     106ff=cfgs/ORCA2_XIOSAT/EXP00/context_nemo.xml 
     107sed -e '/_pisces/d' -e '/_ice/d' $ff > tmp$$ 
     108mv tmp$$ $ff 
     109}}} 
     110