Ignore:
Timestamp:
05/05/09 12:06:08 (15 years ago)
Author:
mmaipsl
Message:

Update default system file to last libIGCM developments.

File:
1 edited

Legend:

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

    r98 r117  
    3434#==================================================== 
    3535 
    36 #===================================================== 
     36#==================================================== 
    3737#set DEBUG_sys to true to output calls of function 
    3838typeset -r DEBUG_sys=${DEBUG_sys:=true} 
    3939 
    40 #===================================================== 
     40#==================================================== 
    4141# Turn in dry run mode ? (sys_Put_Rest, sys_Put_Out, sys_Get) 
    4242typeset -r DRYRUN=${DRYRUN:=0} 
     
    8080typeset -r RSYNC=/usr/bin/rsync   
    8181#RSYNC_opt args to rsync 
    82 typeset -r RSYNC_opt="-Lt -v" 
    83  
     82typeset -r RSYNC_opt="-va" 
     83#"-Lt -v" 
    8484#==================================================== 
    8585# Source Ferret 
    8686. /home/${LOGIN}/.atlas_env_${HOST}_ksh 
    8787 
    88 #========================================================= 
     88#==================================================== 
    8989# Host specific DIRECTORIES 
    9090#==================================================== 
     
    179179#D-#================================================== 
    180180#D-function IGCM_sys_RshPost 
    181 #D-* Purpose: Master rsh command 
     181#D-* Purpose: Post-process rsh command 
    182182#D-* Examples: 
    183183#D- 
     
    301301#D- 
    302302function IGCM_sys_Chmod { 
    303     IGCM_debug_PushStack "IGCM_sys_Chmod" $@ 
     303    IGCM_debug_PushStack "IGCM_sys_Chmod" -- $@ 
    304304    if ( $DEBUG_sys ) ; then 
    305305        echo "IGCM_sys_Chmod :" $@ 
     
    485485    #echo "ssh -x -l ${LOGIN} ${HOST} ${3} > ${2} 2>&1 &" 
    486486    #    ssh -x -l ${LOGIN} ${HOST}  
    487     echo "${3} > ${2} 2>&1 &" 
    488     ${3} > ${2} 2>&1 & 
    489     if [ $? -gt 0 ] ; then 
    490         echo "IGCM_sys_QsubPost : erreur." 
     487    echo "${libIGCM_POST}/$1.job > ${POST_DIR}/$1.${PeriodDateEnd}.out 2>&1 &" 
     488    ${libIGCM_POST}/$1.job > ${POST_DIR}/$1.${PeriodDateEnd}.out 2>&1 & 
     489    #    ${3} > ${2} 2>&1 & 
     490    if [ $? -gt 0 ] ; then 
     491        echo "IGCM_sys_QsubPost : erreur " $@ 
    491492        IGCM_debug_Exit "IGCM_sys_QsubPost" 
    492493    fi 
     
    640641#D- 
    641642function IGCM_sys_Rm { 
    642     IGCM_debug_PushStack "IGCM_sys_Rm" $@ 
     643    IGCM_debug_PushStack "IGCM_sys_Rm" -- $@ 
    643644    if ( $DEBUG_sys ) ; then 
    644645        echo "IGCM_sys_Rm :" $@ 
     
    793794#D-#================================================== 
    794795#D-function IGCM_sys_Put_Rest 
    795 #D-* Purpose: commande de transfert des restarts $(ARCHIVE). 
    796 #D-           Quitte si le fichier ou si le répertoire d'arriver n'existe pas. 
     796#D-* Purpose: Put computied restarts on $(ARCHIVE). 
     797#D-           File and target directory must exist. 
    797798#D-* Examples: 
    798799#D- 
     
    10151016    IGCM_debug_PopStack "IGCM_sys_FichArchive" 
    10161017} 
    1017  
    10181018 
    10191019############################################################## 
     
    12471247 
    12481248function IGCM_sys_build_run_file { 
    1249     IGCM_debug_PushStack "IGCM_sys_build_run_file" 
    1250     if ( $DEBUG_sys ) ; then 
    1251         echo "IGCM_sys_build_run_file" 
     1249    IGCM_debug_PushStack "IGCM_sys_build_run_file" $@ 
     1250    if ( $DEBUG_sys ) ; then 
     1251        echo "IGCM_sys_build_run_file" $@ 
    12521252    fi 
    12531253    IGCM_debug_PopStack "IGCM_sys_build_run_file" 
Note: See TracChangeset for help on using the changeset viewer.