Changeset 227 for trunk/libIGCM/libIGCM_config/libIGCM_config.ksh
- Timestamp:
- 02/26/10 14:54:14 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_config/libIGCM_config.ksh
r224 r227 311 311 312 312 IGCM_date_GetYearMonth $DateBegin year month 313 $(( year_m1 = year - 1 )) 314 $(( year_p1 = year + 1 )) 313 315 IGCM_config_Analyse_PeriodLength 314 316 … … 368 370 IGCM_debug_Print 1 "Try to save previous ksh job output" 369 371 IGCM_sys_Cd ${SUBMIT_DIR}/ 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 372 IGCM_sys_Put_Out ${Last_Script_Output_Name} ${R_OUT_KSH}/${Last_Script_Output_Name}.$$ rw 373 IGCM_sys_Put_Out ${SUBMIT_DIR}/run.card ${R_OUT_KSH}/${Last_run_card}.$$ rw 374 374 IGCM_sys_Cd ${RUN_DIR} 375 375 else … … 378 378 379 379 IGCM_date_GetYearMonth $PeriodDateBegin year month 380 $(( year_m1 = year - 1 )) 381 $(( year_p1 = year + 1 )) 380 382 IGCM_config_Analyse_PeriodLength 381 383 … … 451 453 eval FileToBeDeleted[${#FileToBeDeleted[@]}]="${Exe_Output}" 452 454 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 455 IGCM_sys_Put_Out ${SUBMIT_DIR}/run.card ${R_OUT_KSH}/run.card rw 456 456 457 457 typeset LS_comp LS_bin ExeDate ExeCpuLog ExeSize NextExeSize LastCompExeSize … … 525 525 eval FileToBeDeleted[${#FileToBeDeleted[@]}]=${ExeNameOut} 526 526 fi 527 eval IGCM_sys_Put_Out ${ExeNameOut} ${R_OUT_EXE}/${PREFIX}_${ExeNameIn} 528 IGCM_sys_Chmod u+xw ${ExeNameOut} 527 eval IGCM_sys_Put_Out ${ExeNameOut} ${R_OUT_EXE}/${PREFIX}_${ExeNameIn} rw 529 528 fi 530 529 done … … 630 629 PeriodDateBegin=$( IGCM_date_AddDaysToGregorianDate ${PeriodDateEnd} 1 ) 631 630 IGCM_date_GetYearMonth $PeriodDateBegin year month 631 $(( year_m1 = year - 1 )) 632 $(( year_p1 = year + 1 )) 632 633 633 634 IGCM_config_Analyse_PeriodLength
Note: See TracChangeset
for help on using the changeset viewer.