Ignore:
Timestamp:
11/25/09 17:19:33 (15 years ago)
Author:
sdipsl
Message:
  • With cesium we manage the TMPDIR; reflect that fact where needed
  • Post-processing is done in the cesium's ${SCRATCHDIR}
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_cesium.ksh

    r196 r203  
    652652 
    653653#D-#================================================== 
     654#D-function IGCM_sys_RmRunDir 
     655#D-* Purpose: rm tmpdir (dummy function most of the time batch 
     656#D-                      scheduler will do the job) 
     657#D-* Examples: 
     658#D- 
     659function IGCM_sys_RmRunDir { 
     660    IGCM_debug_PushStack "IGCM_sys_RmRunDir" -- $@ 
     661    if ( $DEBUG_sys ) ; then 
     662        echo "IGCM_sys_RmRunDir :" $@ 
     663    fi 
     664 
     665    typeset RET 
     666 
     667    echo rm $@ > out_rsync 2>&1 
     668    \rm $@ >> out_rsync 2>&1 
     669    RET=$? 
     670 
     671    if [ ${RET} -gt 0 ] ; then 
     672        echo "IGCM_sys_Rm : error." 
     673        cat out_rsync 
     674        IGCM_debug_Exit "IGCM_sys_Rm" 
     675    fi 
     676 
     677    IGCM_debug_PopStack "IGCM_sys_RmRunDir" 
     678} 
     679 
     680#D-#================================================== 
    654681#D-function IGCM_sys_Mv 
    655682#D-* Purpose: generic move 
Note: See TracChangeset for help on using the changeset viewer.