Ignore:
Timestamp:
04/09/09 19:09:08 (15 years ago)
Author:
sdipsl
Message:

MAF :
On the way to finalyze vargas

  • adjustment to support large numbers of cpus (and files)
  • prepare another policy for rebuild : from workdir

Some cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_config/libIGCM_config.ksh

    r67 r92  
    490490        if [ $RET -eq 0 ] ; then 
    491491            # ExeCpuLog variable contents 5 fields 
    492             echo "${CumulPeriod} ${PeriodDateBegin} ${PeriodDateEnd} ${ExeCpuLog} ${ExeDate}" | \ 
     492            echo "${CumulPeriod} ${PeriodDateBegin} ${PeriodDateEnd} ${ExeCpuLog} ${ExeDate}" |   \ 
    493493             awk '{printf("# %11d | %15s | %15s | %19s | %19s | %15.5f | %15.5f | %15.5f | %s\n", \ 
    494494                              $1,$2,$3,$4,$5,$6,$7,$8,$9)}' >> ${SUBMIT_DIR}/run.card 
     
    504504 
    505505    # 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 : " 
    507507 
    508508    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 
    511510    else 
    512511        echo ${FileToBeDeleted[@]} 
Note: See TracChangeset for help on using the changeset viewer.