Changeset 3313 for palm/trunk/SCRIPTS
- Timestamp:
- Oct 6, 2018 3:22:48 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/palmrun
r3312 r3313 230 230 remote_username="" 231 231 running_in_batch_mode=false 232 running_in_test_mode=false 232 233 run_coupled_model=false 233 234 run_id="" … … 284 285 # READ SHELLSCRIPT-OPTIONS AND REBUILD THE PALMRUN-COMMAND STRING (prc), 285 286 # WHICH WILL BE USED TO START RESTART-JOBS 286 while getopts :a:A:bBCd:FG:h:i:jkm:M:O:q:R:s:t:T:u:U:vVw:W:xX:yY: Z option287 while getopts :a:A:bBCd:FG:h:i:jkm:M:O:q:R:s:t:T:u:U:vVw:W:xX:yY:zZ option 287 288 do 288 289 case $option in … … 317 318 (y) ocean_file_appendix=true; prc="$prc -y";; 318 319 (Y) run_coupled_model=true; coupled_dist=$OPTARG; prc="$prc -Y'$OPTARG'";; 320 (z) running_in_test_mode=true;; 319 321 (Z) combine_plot_fields=false; prc="$prc -Z";; 320 322 (\?) printf "\n +++ unknown option $OPTARG \n" … … 2141 2143 2142 2144 2145 # CHECK IF THE PROGRESS BAR NEEDS TO BE DISABLED 2146 if [[ $running_in_batch_mode = true || $running_in_test_mode = true ]] 2147 then 2148 progress_bar_disabled=true 2149 else 2150 progress_bar_disabled=false 2151 fi 2152 2153 2143 2154 # CREATE THE NAMELIST-FILE WITH VALUES OF ENVIRONMENT-VARIABLES REQUIRED BY PALM 2144 2155 # (FILE ENVPAR WILL BE READ BY PALM) … … 2150 2161 maximum_cpu_time_allowed = ${cpumax}., 2151 2162 revision = '$global_revision', 2152 batch_job = .${running_in_batch_mode}. /2163 progress_bar_disabled = .${progress_bar_disabled}. / 2153 2164 2154 2165 EOF
Note: See TracChangeset
for help on using the changeset viewer.