Changeset 613


Ignore:
Timestamp:
03/29/12 09:15:23 (12 years ago)
Author:
mafoipsl
Message:

On mercure front-end TMPDIR exists and IGCM_sys_RmRunDir should be empty.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/libIGCM_MPI_OpenMP/libIGCM_sys/libIGCM_sys_mercure.ksh

    r596 r613  
    720720#D-* Purpose: rm tmpdir (dummy function most of the time batch 
    721721#D-                      scheduler will do the job) 
     722#D-           Dummy function on mercure front-end 
    722723#D-* Examples: 
    723724#D- 
    724725function IGCM_sys_RmRunDir { 
    725   IGCM_debug_PushStack "IGCM_sys_RmRunDir" -- $@ 
    726   if ( $DEBUG_sys ) ; then 
    727     echo "IGCM_sys_RmRunDir :" $@ 
    728   fi 
    729  
    730   typeset RET 
    731  
    732   echo rm $@ > out_rsync 2>&1 
    733   \rm $@ >> out_rsync 2>&1 
    734   RET=$? 
    735  
    736   if [ ${RET} -gt 0 ] ; then 
    737     echo "IGCM_sys_RmRunDir : error." 
    738     cat out_rsync 
    739     IGCM_debug_Exit "IGCM_sys_RmRunDir" 
    740   else 
    741     \rm out_rsync 
    742   fi 
    743   IGCM_debug_PopStack "IGCM_sys_RmRunDir" 
     726    IGCM_debug_PushStack "IGCM_sys_RmRunDir" -- $@ 
     727    if ( $DEBUG_sys ) ; then 
     728        echo "IGCM_sys_RmRunDir :" $@ 
     729        echo "Dummy call, let the scheduler do that." 
     730    fi 
     731    IGCM_debug_PopStack "IGCM_sys_RmRunDir" 
    744732} 
    745733 
Note: See TracChangeset for help on using the changeset viewer.