Changeset 1610 for trunk/libIGCM/ins_job


Ignore:
Timestamp:
12/19/23 12:53:59 (5 months ago)
Author:
jgipsl
Message:

Revert changset [1597] which didn't have concensus. The question if you whant to overwrite jobs is not aksed anymore. No overwriting is always the default. Use argument -f to overwrite jobs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/ins_job

    r1609 r1610  
    3434  -e                  : turn on ensemble mode (hindcast/forecast or date restart) 
    3535  -f                  : ins_job force overwrite jobs if they already exist 
    36   -n                  : ins_job do not overwrite jobs (default) 
    3736 
    3837More options on irene only :  
     
    8382x_v='silencious'; 
    8483x_e=false; 
    85 x_f=def; 
     84x_f=false; 
    8685x_p=false; 
    8786x_q=false; 
     
    8988x_m=false; 
    9089x_t=false; 
    91 while getopts :hvefnp:q:c:m:t: V ; do 
     90while getopts :hvefc:p:m:q:s:t: V ; do 
    9291  case $V in 
    9392  (h)  ins_job_Usage; exit 0;; 
     
    9594  (e)  x_e=true;; 
    9695  (f)  x_f=true;; 
    97   (n)  x_f=false;; 
    9896  (p)  x_p=true 
    9997       ProjectID=${OPTARG} ;; 
     
    134132print "Create job in current folder and post-treatment jobs in libIGCM folder.\n" 
    135133 
    136 if [ ${x_f} = 'def' ] ; then 
     134if [ ${x_f} = 'false' ] ; then 
    137135    answer="" 
    138136    print "Do you want to overwrite existing jobs? Answer yes/no: (or hit enter for no) " 
     
    140138    if ( [ X${answer} == Xyes ] || [ X${answer} == Xy ] ) ; then 
    141139        x_f=true 
    142     else 
    143         x_f=false 
    144140    fi 
    145141fi 
Note: See TracChangeset for help on using the changeset viewer.