Changeset 224 for trunk/libIGCM/libIGCM_config/libIGCM_config.ksh
- Timestamp:
- 02/23/10 09:39:53 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_config/libIGCM_config.ksh
r196 r224 359 359 if [ ${Period} = 1 ]; then 360 360 # save last Job output 361 typeset LastPeriod Last_Script_Output_Name361 typeset LastPeriod iLastPeriod Last_Script_Output_Name 362 362 (( LastPeriod=CumulPeriod-PeriodNb )) 363 Last_Script_Output_Name="${Script_Output_Prefix}_${config_UserChoices_JobName}.$( printf "%06d" ${LastPeriod} )" 363 iLastPeriod=$( printf "%06d" ${LastPeriod} ) 364 Last_Script_Output_Name="${Script_Output_Prefix}_${config_UserChoices_JobName}.${iLastPeriod}" 365 Last_run_card="run.card.${iLastPeriod}" 364 366 #eval ls -l ${SUBMIT_DIR}/${Last_Script_Output_Name} 365 367 #eval IGCM_sys_Put_Out ${SUBMIT_DIR}/${Last_Script_Output_Name} ${R_OUT_KSH}/${Last_Script_Output_Name} > /dev/null 2>&1 … … 367 369 IGCM_sys_Cd ${SUBMIT_DIR}/ 368 370 IGCM_sys_Put_Out ${Last_Script_Output_Name} ${R_OUT_KSH}/${Last_Script_Output_Name}.$$ 371 [ -f ${Last_Script_Output_Name} ] && IGCM_sys_Chmod 644 ${Last_Script_Output_Name} 372 IGCM_sys_Put_Out ${SUBMIT_DIR}/run.card ${R_OUT_KSH}/${Last_run_card}.$$ 373 [ -f run.card ] && IGCM_sys_Chmod 644 ${SUBMIT_DIR}/run.card 369 374 IGCM_sys_Cd ${RUN_DIR} 370 375 else … … 446 451 eval FileToBeDeleted[${#FileToBeDeleted[@]}]="${Exe_Output}" 447 452 453 IGCM_sys_RshArchive "chmod 644 ${R_OUT_KSH}/run.card" 454 IGCM_sys_Put_Out ${SUBMIT_DIR}/run.card ${R_OUT_KSH}/run.card 455 IGCM_sys_Chmod 644 ${SUBMIT_DIR}/run.card 456 448 457 typeset LS_comp LS_bin ExeDate ExeCpuLog ExeSize NextExeSize LastCompExeSize 449 458 typeset comp i
Note: See TracChangeset
for help on using the changeset viewer.