Changeset 1597 for trunk/libIGCM
- Timestamp:
- 09/18/23 11:31:09 (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/ins_job
r1584 r1597 34 34 -e : turn on ensemble mode (hindcast/forecast or date restart) 35 35 -f : ins_job force overwrite jobs if they already exist 36 -n : ins_job do not overwrite jobs (default) 36 37 37 38 More options on irene only : … … 82 83 x_v='silencious'; 83 84 x_e=false; 84 x_f= false;85 x_f=def; 85 86 x_p=false; 86 87 x_q=false; … … 88 89 x_m=false; 89 90 x_t=false; 90 while getopts :hvef c:p:m:q:s:t: V ; do91 while getopts :hvefnp:q:c:m:t: V ; do 91 92 case $V in 92 93 (h) ins_job_Usage; exit 0;; … … 94 95 (e) x_e=true;; 95 96 (f) x_f=true;; 97 (n) x_f=false;; 96 98 (p) x_p=true 97 99 ProjectID=${OPTARG} ;; … … 132 134 print "Create job in current folder and post-treatment jobs in libIGCM folder.\n" 133 135 134 if [ ${x_f} = ' false' ] ; then136 if [ ${x_f} = 'def' ] ; then 135 137 answer="" 136 138 print "Do you want to overwrite existing jobs? Answer yes/no: (or hit enter for no) " … … 138 140 if ( [ X${answer} == Xyes ] || [ X${answer} == Xy ] ) ; then 139 141 x_f=true 142 else 143 x_f=false 140 144 fi 141 145 fi
Note: See TracChangeset
for help on using the changeset viewer.