Changeset 203 for trunk/libIGCM


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}
Location:
trunk/libIGCM
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_atlas_LMDZ

    r192 r203  
    131131IGCM_sys_TestDirArchive ${R_SAVE}/${R_ATLAS} 
    132132[ $? = 0 ] && IGCM_sys_Put_Dods ${R_ATLAS} 
     133 
     134# Clean RUN_DIR_PATH (necessary for cesium) 
     135IGCM_sys_RmRunDir -Rf ${RUN_DIR_PATH} 
  • trunk/libIGCM/AA_atlas_ORCA_LIM

    r192 r203  
    177177IGCM_sys_TestDirArchive ${R_SAVE}/${R_ATLAS} 
    178178[ $? = 0 ] && IGCM_sys_Put_Dods ${R_ATLAS} 
     179 
     180# Clean RUN_DIR_PATH (necessary for cesium) 
     181IGCM_sys_RmRunDir -Rf ${RUN_DIR_PATH} 
  • trunk/libIGCM/AA_atlas_ORCHIDEE

    r192 r203  
    143143IGCM_sys_TestDirArchive ${R_SAVE}/${R_ATLAS} 
    144144[ $? = 0 ] && IGCM_sys_Put_Dods ${R_ATLAS} 
     145 
     146# Clean RUN_DIR_PATH (necessary for cesium) 
     147IGCM_sys_RmRunDir -Rf ${RUN_DIR_PATH} 
  • trunk/libIGCM/AA_create_se

    r202 r203  
    518518    # 
    519519fi 
     520 
     521# Clean RUN_DIR_PATH (necessary for cesium) 
     522IGCM_sys_RmRunDir -Rf ${RUN_DIR_PATH} 
  • trunk/libIGCM/AA_create_ts

    r202 r203  
    824824    IGCM_sys_RshMaster IGCM_card_WriteOption ${SUBMIT_DIR}/run.card PostProcessing TimeSeriesRunning "n" 
    825825fi 
     826 
     827# Clean RUN_DIR_PATH (necessary for cesium) 
     828IGCM_sys_RmRunDir -Rf ${RUN_DIR_PATH} 
     829 
    826830date 
  • trunk/libIGCM/AA_monitoring

    r192 r203  
    178178# Dods copy 
    179179IGCM_sys_Put_Dods MONITORING 
     180 
     181# Clean RUN_DIR_PATH (necessary for cesium) 
     182IGCM_sys_RmRunDir -Rf ${RUN_DIR_PATH} 
  • trunk/libIGCM/AA_rebuild_fromArchive

    r202 r203  
    163163    IGCM_sys_RshArchive rm -rf ${directory} 
    164164done 
     165 
     166# Clean RUN_DIR_PATH (necessary for cesium) 
     167IGCM_sys_RmRunDir -Rf ${RUN_DIR_PATH} 
  • trunk/libIGCM/AA_rebuild_fromWorkdir

    r202 r203  
    163163    IGCM_sys_Rm -rf ${directory} 
    164164done 
     165 
     166# Clean RUN_DIR_PATH (necessary for cesium only) 
     167IGCM_sys_RmRunDir -Rf ${RUN_DIR_PATH} 
  • 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 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_claude.ksh

    r192 r203  
    696696 
    697697#D-#================================================== 
     698#D-function IGCM_sys_RmRunDir 
     699#D-* Purpose: rm tmpdir (dummy function most of the time batch 
     700#D-                      scheduler will do the job) 
     701#D-* Examples: 
     702#D- 
     703function IGCM_sys_RmRunDir { 
     704    IGCM_debug_PushStack "IGCM_sys_RmRunDir" -- $@ 
     705    if ( $DEBUG_sys ) ; then 
     706        echo "IGCM_sys_RmRunDir :" $@ 
     707        echo "Dummy call, let the scheduler do that." 
     708    fi 
     709    IGCM_debug_PopStack "IGCM_sys_RmRunDir" 
     710} 
     711 
     712#D-#================================================== 
    698713#D-function IGCM_sys_Mv 
    699714#D-* Purpose: generic move 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_default.ksh

    r192 r203  
    686686 
    687687#D-#================================================== 
     688#D-function IGCM_sys_RmRunDir 
     689#D-* Purpose: rm tmpdir (dummy function most of the time batch 
     690#D-                      scheduler will do the job) 
     691#D-* Examples: 
     692#D- 
     693function IGCM_sys_RmRunDir { 
     694    IGCM_debug_PushStack "IGCM_sys_RmRunDir" -- $@ 
     695    if ( $DEBUG_sys ) ; then 
     696        echo "IGCM_sys_RmRunDir :" $@ 
     697        echo "Dummy call, let the scheduler do that." 
     698    fi 
     699    IGCM_debug_PopStack "IGCM_sys_RmRunDir" 
     700} 
     701 
     702#D-#================================================== 
    688703#D-function IGCM_sys_Mv 
    689704#D-* Purpose: generic move 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_mercureTX.ksh

    r192 r203  
    624624 
    625625#D-#================================================== 
     626#D-function IGCM_sys_RmRunDir 
     627#D-* Purpose: rm tmpdir (dummy function most of the time batch 
     628#D-                      scheduler will do the job) 
     629#D-* Examples: 
     630#D- 
     631function IGCM_sys_RmRunDir { 
     632    IGCM_debug_PushStack "IGCM_sys_RmRunDir" -- $@ 
     633    if ( $DEBUG_sys ) ; then 
     634        echo "IGCM_sys_RmRunDir :" $@ 
     635        echo "Dummy call, let the scheduler do that." 
     636    fi 
     637    IGCM_debug_PopStack "IGCM_sys_RmRunDir" 
     638} 
     639 
     640#D-#================================================== 
    626641#D-function IGCM_sys_Mv 
    627642#D-* Purpose: generic move 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_obelix.ksh

    r192 r203  
    681681 
    682682#D-#================================================== 
     683#D-function IGCM_sys_RmRunDir 
     684#D-* Purpose: rm tmpdir (dummy function most of the time batch 
     685#D-                      scheduler will do the job) 
     686#D-* Examples: 
     687#D- 
     688function IGCM_sys_RmRunDir { 
     689    IGCM_debug_PushStack "IGCM_sys_RmRunDir" -- $@ 
     690    if ( $DEBUG_sys ) ; then 
     691        echo "IGCM_sys_RmRunDir :" $@ 
     692        echo "Dummy call, let the scheduler do that." 
     693    fi 
     694    IGCM_debug_PopStack "IGCM_sys_RmRunDir" 
     695} 
     696 
     697#D-#================================================== 
    683698#D-function IGCM_sys_Mv 
    684699#D-* Purpose: generic move 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_platine.ksh

    r192 r203  
    687687    fi 
    688688    IGCM_debug_PopStack "IGCM_sys_Rm" 
     689} 
     690 
     691#D-#================================================== 
     692#D-function IGCM_sys_RmRunDir 
     693#D-* Purpose: rm tmpdir (dummy function most of the time batch 
     694#D-                      scheduler will do the job) 
     695#D-* Examples: 
     696#D- 
     697function IGCM_sys_RmRunDir { 
     698    IGCM_debug_PushStack "IGCM_sys_RmRunDir" -- $@ 
     699    if ( $DEBUG_sys ) ; then 
     700        echo "IGCM_sys_RmRunDir :" $@ 
     701        echo "Dummy call, let the scheduler do that." 
     702    fi 
     703    IGCM_debug_PopStack "IGCM_sys_RmRunDir" 
    689704} 
    690705 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_ulam.ksh

    r192 r203  
    625625 
    626626#D-#================================================== 
     627#D-function IGCM_sys_RmRunDir 
     628#D-* Purpose: rm tmpdir (dummy function most of the time batch 
     629#D-                      scheduler will do the job) 
     630#D-* Examples: 
     631#D- 
     632function IGCM_sys_RmRunDir { 
     633    IGCM_debug_PushStack "IGCM_sys_RmRunDir" -- $@ 
     634    if ( $DEBUG_sys ) ; then 
     635        echo "IGCM_sys_RmRunDir :" $@ 
     636        echo "Dummy call, let the scheduler do that." 
     637    fi 
     638    IGCM_debug_PopStack "IGCM_sys_RmRunDir" 
     639} 
     640 
     641#D-#================================================== 
    627642#D-function IGCM_sys_Mv 
    628643#D-* Purpose: generic move 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_vargas.ksh

    r193 r203  
    693693 
    694694#D-#================================================== 
     695#D-function IGCM_sys_RmRunDir 
     696#D-* Purpose: rm tmpdir (dummy function most of the time batch 
     697#D-                      scheduler will do the job) 
     698#D-* Examples: 
     699#D- 
     700function IGCM_sys_RmRunDir { 
     701    IGCM_debug_PushStack "IGCM_sys_RmRunDir" -- $@ 
     702    if ( $DEBUG_sys ) ; then 
     703        echo "IGCM_sys_RmRunDir :" $@ 
     704        echo "Dummy call, let the scheduler do that." 
     705    fi 
     706    IGCM_debug_PopStack "IGCM_sys_RmRunDir" 
     707} 
     708 
     709#D-#================================================== 
    695710#D-function IGCM_sys_Mv 
    696711#D-* Purpose: generic move 
Note: See TracChangeset for help on using the changeset viewer.