Changeset 2091
- Timestamp:
- 06/17/13 07:59:07 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modipsl/trunk/util/ins_job
r2036 r2091 114 114 #- 115 115 if ( ! ${x_p} ) ; then 116 if [ "X${x_t}" == "Xcurie" ] ; then116 if [ X"${x_t}" == "Xcurie" ] ; then 117 117 ProjectID=$( ccc_myproject | gawk '{ if ( $3 ~ /^project$/ && $4 !~ /^tgcc/ ) { print $4 } }' | head -n 1 ) 118 118 ProjectID=${ProjectID:="gen2211"} 119 119 answer="" 120 print - "Hit Enter or give project ID (default is ${ProjectID}) :"120 print - "Hit Enter or give project ID (default is ${ProjectID}), possible projects are $( echo $( ccc_myproject | gawk '{ if ( $3 ~ /^project$/ && $4 !~ /^tgcc/ ) { print $4 } }' | sort -u ) ) :" 121 121 read answer 122 122 … … 126 126 fi 127 127 else 128 if ( "X${x_t}" != "Xcurie" ); then128 if [ X"${x_t}" != "Xcurie" ] ; then 129 129 print - "\nOption -p invalid with this host (${x_t}): it will be ignored" 1>&2; 130 130 fi … … 259 259 chmod u+x ${j}'/'${n_f} 260 260 done 261 #- 262 # set default_project in libIGCM_sys_curie.ksh too. 263 #- 264 if [ X"${x_t}" == "Xcurie" ] ; then 265 i=${libIGCM}/libIGCM_sys/libIGCM_sys_curie.ksh 266 sed -i -e "s/::default_project::/${ProjectID}/" ${i} 267 fi 261 268 #- 262 269 # Limited to hindcast/forecast Ensemble for the time being
Note: See TracChangeset
for help on using the changeset viewer.