Changeset 92 for trunk/libIGCM/libIGCM_config/libIGCM_config.ksh
- Timestamp:
- 04/09/09 19:09:08 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_config/libIGCM_config.ksh
r67 r92 490 490 if [ $RET -eq 0 ] ; then 491 491 # ExeCpuLog variable contents 5 fields 492 echo "${CumulPeriod} ${PeriodDateBegin} ${PeriodDateEnd} ${ExeCpuLog} ${ExeDate}" | \492 echo "${CumulPeriod} ${PeriodDateBegin} ${PeriodDateEnd} ${ExeCpuLog} ${ExeDate}" | \ 493 493 awk '{printf("# %11d | %15s | %15s | %19s | %19s | %15.5f | %15.5f | %15.5f | %s\n", \ 494 494 $1,$2,$3,$4,$5,$6,$7,$8,$9)}' >> ${SUBMIT_DIR}/run.card … … 504 504 505 505 # If all was OK, we can delete all files not necessary for next Job 506 echo"Files that will be deleted before next period-run : "506 IGCM_debug_Print 1 "Files that will be deleted before next period-run : " 507 507 508 508 if [ ${DRYRUN} -le 2 ] ; then 509 eval ls -la ${FileToBeDeleted[@]} 510 eval rm -f ${FileToBeDeleted[@]} 509 for f in ${FileToBeDeleted[@]} ; do ls -la $f ; rm -f $f ; done 511 510 else 512 511 echo ${FileToBeDeleted[@]}
Note: See TracChangeset
for help on using the changeset viewer.