Ignore:
Timestamp:
12/12/16 13:41:51 (8 years ago)
Author:
dubos
Message:

updates to testing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configs/testing/bash/create_runs.sh

    r506 r510  
    8181} 
    8282 
    83 #------------------------------------- DCMIP3.1 ---------------------------------- 
     83#------------------------------------- DCMIP 2012 --------------------------------- 
    8484 
    8585function rundef_DCMIP(){ 
     
    8888    setvar radius 6.37122e6 g 9.80616 kappa 0.2857143 cpp 1004.5 preff 1e5 
    8989    setvar nitergdiv 2 nitergrot 2 niterdivgrad 2 tau_graddiv 
     90} 
     91 
     92function rundef_DCMIP21() { # NBP TAU 
     93    NBP=$1 ; TAU=$2 
     94    rundef_DCMIP $NBP 
     95    setvar omega 0. llm 60 disvert ncar ncar_T0 300 ncar_p0 1e5 ncar_disvert_c 1 ncar_dz 500  
     96    setvar tau_graddiv $TAU tau_gradrot $TAU tau_divgrad $TAU  
     97    setvar scale_factor 500 write_period 50000 run_length 3.6e6 etat0 dcmip2_schaer_noshear 
     98    setvar rayleigh_friction_type dcmip2_schaer_noshear rayleigh_friction_tau 12500 
    9099} 
    91100 
     
    98107    setvar scale_factor 125 write_period 7500 run_length 4.5e5 etat0 dcmip3 
    99108} 
     109 
    100110function rundef_DCMIP41() { # NBP TAU 
    101111    NBP=$1 ; TAU=$2 
     
    107117} 
    108118 
     119function rundef_DCMIP51() { # NBP TAU 
     120    NBP=$1 ; TAU=$2 
     121    rundef_DCMIP $NBP 
     122    setvar omega 7.292e-5 llm 30 disvert ncarl30 nqtot 1 itau_adv 3 
     123    setvar tau_graddiv $TAU tau_gradrot $TAU tau_divgrad $TAU 
     124    setvar write_period 7200 run_length 864000 etat0 dcmip5 
     125    setvar physics dcmip dcmip_physics 0 itau_physics 6 
     126} 
     127 
     128function job_DCMIP21() { # EXEC NBP 
     129    job_$1_$2 DCMIP21_$1 # e.g. job_mpi_80 DCMIP31_mpi 
     130} 
    109131function job_DCMIP31() { # EXEC NBP 
    110132    job_$1_$2 DCMIP31_$1 # e.g. job_mpi_80 DCMIP31_mpi 
     
    113135    job_$1_$2 DCMIP41_$1 
    114136} 
     137function job_DCMIP51() { # EXEC NBP 
     138    job_$1_$2 DCMIP51_$1 
     139} 
    115140 
    116141#----------------------------- END ---------------------------- 
    117142 
    118 function main() 
     143function basic() 
    119144{ 
    120145    rm -rf RUNS 
    121146    mkdir RUNS 
    122147    cd RUNS 
     148# Williamson 1991 
     149#    create_exp serial W91 two_degree 24h 40 5000 # nbp tau 
     150#    create_exp mpi W91 two_degree 24h 40 5000 # nbp tau 
     151# DCMIP 2012 
     152    create_exp mpi DCMIP21 two_degree 100s 40 90000 # nbp tau  
     153    create_exp mpi DCMIP31 two_degree 60s 40 90000 # nbp tau  
     154    create_exp mpi DCMIP41 two_degree 24h 40 10000 # nbp tau  
     155#    create_exp mpi DCMIP51 one_degree 2h  80 10000 # nbp tau  
     156} 
     157 
     158function main() 
     159{ 
    123160# the number associated to each run.def parameter is used to sort the lines and order them in a logical way 
    124161    declare -A idx 
     
    127164    order 300 nbp optim_it nsplit_i nsplit_j llm disvert ncar_disvert_c ncar_dz ncar_T0 ncar_p0 
    128165    order 400 caldyn_eta time_scheme caldyn_conserv dt nqtot itau_adv 
    129     order 500 nitergdiv tau_graddiv nitergrot tau_gradrot niterdivgrad tau_divgrad 
     166    order 500 nitergdiv tau_graddiv nitergrot tau_gradrot niterdivgrad tau_divgrad rayleigh_friction_type rayleigh_friction_tau 
     167    order 600 physics dcmip_physics itau_physics  
    130168    order 700 run_length write_period etat0 dcmip4_testcase 
    131 # Williamson 1991 
    132 #    create_exp serial W91 40 5000 # nbp tau 
    133 #    create_exp mpi W91 40 5000 # nbp tau 
    134 # DCMIP 2012  
    135     create_exp mpi DCMIP31 two_degree 60s 40 90000 # nbp tau  
    136     create_exp mpi DCMIP41 two_degree 24h 40 10000 # nbp tau  
     169 
     170    basic 
    137171} 
    138172 
Note: See TracChangeset for help on using the changeset viewer.