Changeset 809
- Timestamp:
- 03/05/13 10:18:46 (11 years ago)
- Location:
- trunk/libIGCM
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_job
r804 r809 162 162 # ------------------------------------------------------------------------------------- 163 163 # | DRYRUN= | Date computations, | sys_Get | Exe | sys_Put_Out; sys_Put_Rest | 164 # | | Cp/Exe param files | | Chmod | | 164 # | | Cp/Exe/param/files | | | | 165 # | | Chmod Qsub | | | | 165 166 # ------------------------------------------------------------------------------------- 166 167 # | 0 | yes | yes | yes | yes | -
trunk/libIGCM/libIGCM_comp/libIGCM_comp.ksh
r804 r809 489 489 if [ $? = 0 ] ; then 490 490 IGCM_sys_Get ${file_in} ${file_out} 491 #IGCM_comp_PrepareDeletedFiles ${file_in} ${file_out}491 IGCM_comp_PrepareDeletedFiles ${file_in} ${file_out} 492 492 else 493 493 IGCM_sys_Cp ${file_in} ${file_out} -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_ada.ksh
r804 r809 43 43 # ------------------------------------------------------------------------------------- 44 44 # | DRYRUN= | Date computations, | sys_Get | Exe | sys_Put_Out; sys_Put_Rest | 45 # | | Cp/Exe param files | | Chmod| |46 # | | Qsub| | | |45 # | | Cp/Exe/param/files | | | | 46 # | | Chmod Qsub | | | | 47 47 # ------------------------------------------------------------------------------------- 48 48 # | 0 | yes | yes | yes | yes | … … 414 414 echo "IGCM_sys_Chmod :" $@ 415 415 fi 416 if [ $DRYRUN -le 1 ]; then 417 \chmod $@ 418 if [ $? -gt 0 ] ; then 419 echo "IGCM_sys_Chmod : erreur." 420 IGCM_debug_Exit "IGCM_sys_Chmod" 421 fi 422 else 423 ( ${DEBUG_debug} ) && echo "DRYRUN mode = " $DRYRUN >> stack 416 \chmod $@ 417 if [ $? -gt 0 ] ; then 418 echo "IGCM_sys_Chmod : erreur." 419 IGCM_debug_Exit "IGCM_sys_Chmod" 424 420 fi 425 421 IGCM_debug_PopStack "IGCM_sys_Chmod" -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_curie.ksh
r808 r809 43 43 # ------------------------------------------------------------------------------------- 44 44 # | DRYRUN= | Date computations, | sys_Get | Exe | sys_Put_Out; sys_Put_Rest | 45 # | | Cp/Exe param files | | Chmod| |46 # | | Qsub| | | |45 # | | Cp/Exe/param/files | | | | 46 # | | Chmod Qsub | | | | 47 47 # ------------------------------------------------------------------------------------- 48 48 # | 0 | yes | yes | yes | yes | … … 477 477 echo "IGCM_sys_Chmod :" $@ 478 478 fi 479 if [ $DRYRUN -le 1 ]; then 480 \chmod $@ 481 if [ $? -gt 0 ] ; then 482 echo "IGCM_sys_Chmod : erreur." 483 IGCM_debug_Exit "IGCM_sys_Chmod" 484 fi 485 else 486 ( ${DEBUG_debug} ) && echo "DRYRUN mode = " $DRYRUN >> stack 479 \chmod $@ 480 if [ $? -gt 0 ] ; then 481 echo "IGCM_sys_Chmod : erreur." 482 IGCM_debug_Exit "IGCM_sys_Chmod" 487 483 fi 488 484 IGCM_debug_PopStack "IGCM_sys_Chmod" -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_default.ksh
r804 r809 43 43 # ------------------------------------------------------------------------------------- 44 44 # | DRYRUN= | Date computations, | sys_Get | Exe | sys_Put_Out; sys_Put_Rest | 45 # | | Cp/Exe param files | | Chmod| |46 # | | Qsub| | | |45 # | | Cp/Exe/param/files | | | | 46 # | | Chmod Qsub | | | | 47 47 # ------------------------------------------------------------------------------------- 48 48 # | 0 | yes | yes | yes | yes | … … 372 372 echo "IGCM_sys_Chmod :" $@ 373 373 fi 374 if [ $DRYRUN -le 1 ]; then 375 \chmod $@ 376 if [ $? -gt 0 ] ; then 377 echo "IGCM_sys_Chmod : erreur." 378 IGCM_debug_Exit "IGCM_sys_Chmod" 379 fi 380 else 381 ( ${DEBUG_debug} ) && echo "DRYRUN mode = " $DRYRUN >> stack 374 \chmod $@ 375 if [ $? -gt 0 ] ; then 376 echo "IGCM_sys_Chmod : erreur." 377 IGCM_debug_Exit "IGCM_sys_Chmod" 382 378 fi 383 379 IGCM_debug_PopStack "IGCM_sys_Chmod" -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_iitm.ksh
r804 r809 14 14 #========================================================= 15 15 # The documentation of this file can be automatically generated 16 # if you use the prefix #D- for comments to be extracted. 16 # if you use the prefix #D- for comments to be extracted. 17 17 # Extract with command: cat lib* | grep "^#D-" | cut -c "4-" 18 18 #========================================================= … … 22 22 #D-#================================================== 23 23 #D- 24 #D- This ksh library if a layer under some usefull 24 #D- This ksh library if a layer under some usefull 25 25 #D-environment variables and shell commands. 26 26 #D-All those definitions depend on host particularities. … … 43 43 # ------------------------------------------------------------------------------------- 44 44 # | DRYRUN= | Date computations, | sys_Get | Exe | sys_Put_Out; sys_Put_Rest | 45 # | | Cp/Exe param files | | Chmod| |46 # | | Qsub| | | |45 # | | Cp/Exe/param/files | | | | 46 # | | Chmod Qsub | | | | 47 47 # ------------------------------------------------------------------------------------- 48 48 # | 0 | yes | yes | yes | yes | … … 62 62 63 63 #===================================================== 64 # Host and user names 64 # Host and user names 65 65 # $hostname ou hostname 66 66 typeset HOST=${HOST:=$( hostname )} … … 102 102 103 103 #==================================================== 104 #- Mirror libIGCM from iitm to a post-processing machine 104 #- Mirror libIGCM from iitm to a post-processing machine 105 105 typeset -r MirrorlibIGCM=${MirrorlibIGCM:=false} 106 106 … … 291 291 fi 292 292 #- creation de repertoire sur le serveur fichier 293 if [ ! -d ${1} ]; then 293 if [ ! -d ${1} ]; then 294 294 \mkdir -p $1 295 295 if [ $? -gt 0 ] ; then … … 329 329 echo "IGCM_sys_Chmod :" $@ 330 330 fi 331 if [ $DRYRUN -le 1 ]; then 332 \chmod $@ 333 if [ $? -gt 0 ] ; then 334 echo "IGCM_sys_Chmod : erreur." 335 IGCM_debug_Exit "IGCM_sys_Chmod" 336 fi 337 else 338 ( ${DEBUG_debug} ) && echo "DRYRUN mode = " $DRYRUN >> stack 331 \chmod $@ 332 if [ $? -gt 0 ] ; then 333 echo "IGCM_sys_Chmod : erreur." 334 IGCM_debug_Exit "IGCM_sys_Chmod" 339 335 fi 340 336 IGCM_debug_PopStack "IGCM_sys_Chmod" … … 517 513 518 514 #D-************************* 519 #D- File transfer functions 515 #D- File transfer functions 520 516 #D-************************* 521 517 #D- … … 586 582 elif [ $MYLANG = "en" ] ; then 587 583 case $RET in 588 0) return;; 584 0) return;; 589 585 1) echo "rsync error : Syntax or usage error " 590 586 return;; … … 1016 1012 #D-#================================================== 1017 1013 #D-function IGCM_sys_GetDate_FichArchive 1018 #D-* Purpose: donne la date filesys d'un fichier sur le filesystem ARCHIVE 1014 #D-* Purpose: donne la date filesys d'un fichier sur le filesystem ARCHIVE 1019 1015 #D-* Examples: 1020 1016 #D- … … 1082 1078 1083 1079 IGCM_debug_PopStack "IGCM_sys_desactiv_variables" 1084 1080 1085 1081 } 1086 1082 -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_obelix.ksh
r804 r809 43 43 # ------------------------------------------------------------------------------------- 44 44 # | DRYRUN= | Date computations, | sys_Get | Exe | sys_Put_Out; sys_Put_Rest | 45 # | | Cp/Exe param files | | Chmod| |46 # | | Qsub| | | |45 # | | Cp/Exe/param/files | | | | 46 # | | Chmod Qsub | | | | 47 47 # ------------------------------------------------------------------------------------- 48 48 # | 0 | yes | yes | yes | yes | … … 381 381 echo "IGCM_sys_Chmod :" $@ 382 382 fi 383 if [ $DRYRUN -le 1 ]; then 384 \chmod $@ 385 if [ $? -gt 0 ] ; then 386 echo "IGCM_sys_Chmod : erreur." 387 IGCM_debug_Exit "IGCM_sys_Chmod" 388 fi 389 else 390 ( ${DEBUG_debug} ) && echo "DRYRUN mode = " $DRYRUN >> stack 383 \chmod $@ 384 if [ $? -gt 0 ] ; then 385 echo "IGCM_sys_Chmod : erreur." 386 IGCM_debug_Exit "IGCM_sys_Chmod" 391 387 fi 392 388 IGCM_debug_PopStack "IGCM_sys_Chmod"
Note: See TracChangeset
for help on using the changeset viewer.