Changeset 117
- Timestamp:
- 05/05/09 12:06:08 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_sys/libIGCM_sys_default.ksh
r98 r117 34 34 #==================================================== 35 35 36 #==================================================== =36 #==================================================== 37 37 #set DEBUG_sys to true to output calls of function 38 38 typeset -r DEBUG_sys=${DEBUG_sys:=true} 39 39 40 #==================================================== =40 #==================================================== 41 41 # Turn in dry run mode ? (sys_Put_Rest, sys_Put_Out, sys_Get) 42 42 typeset -r DRYRUN=${DRYRUN:=0} … … 80 80 typeset -r RSYNC=/usr/bin/rsync 81 81 #RSYNC_opt args to rsync 82 typeset -r RSYNC_opt="- Lt -v"83 82 typeset -r RSYNC_opt="-va" 83 #"-Lt -v" 84 84 #==================================================== 85 85 # Source Ferret 86 86 . /home/${LOGIN}/.atlas_env_${HOST}_ksh 87 87 88 #==================================================== =====88 #==================================================== 89 89 # Host specific DIRECTORIES 90 90 #==================================================== … … 179 179 #D-#================================================== 180 180 #D-function IGCM_sys_RshPost 181 #D-* Purpose: Masterrsh command181 #D-* Purpose: Post-process rsh command 182 182 #D-* Examples: 183 183 #D- … … 301 301 #D- 302 302 function IGCM_sys_Chmod { 303 IGCM_debug_PushStack "IGCM_sys_Chmod" $@303 IGCM_debug_PushStack "IGCM_sys_Chmod" -- $@ 304 304 if ( $DEBUG_sys ) ; then 305 305 echo "IGCM_sys_Chmod :" $@ … … 485 485 #echo "ssh -x -l ${LOGIN} ${HOST} ${3} > ${2} 2>&1 &" 486 486 # 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 " $@ 491 492 IGCM_debug_Exit "IGCM_sys_QsubPost" 492 493 fi … … 640 641 #D- 641 642 function IGCM_sys_Rm { 642 IGCM_debug_PushStack "IGCM_sys_Rm" $@643 IGCM_debug_PushStack "IGCM_sys_Rm" -- $@ 643 644 if ( $DEBUG_sys ) ; then 644 645 echo "IGCM_sys_Rm :" $@ … … 793 794 #D-#================================================== 794 795 #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. 797 798 #D-* Examples: 798 799 #D- … … 1015 1016 IGCM_debug_PopStack "IGCM_sys_FichArchive" 1016 1017 } 1017 1018 1018 1019 1019 ############################################################## … … 1247 1247 1248 1248 function 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" $@ 1252 1252 fi 1253 1253 IGCM_debug_PopStack "IGCM_sys_build_run_file"
Note: See TracChangeset
for help on using the changeset viewer.