Changeset 742 for trunk/libIGCM/libIGCM_sys
- Timestamp:
- 11/05/12 10:59:01 (12 years ago)
- Location:
- trunk/libIGCM/libIGCM_sys
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_sys/libIGCM_sys_curie.ksh
r739 r742 75 75 #D-#================================================== 76 76 77 # Submit command 78 typeset SUBMIT=${SUBMIT:=ccc_mprun} 77 79 # rsync with path 78 80 typeset -r RSYNC=/usr/bin/rsync -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_default.ksh
r725 r742 75 75 #D-#================================================== 76 76 77 # Submit command 78 typeset SUBMIT=${SUBMIT:=qsub} 77 79 # rsync with path 78 80 typeset -r RSYNC=/usr/bin/rsync -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_mercure.ksh
r736 r742 73 73 #D-#================================================== 74 74 75 # Submit command 76 typeset SUBMIT=${SUBMIT:=qsub} 75 77 # rsync with path 76 78 typeset -r RSYNC=/usr/bin/rsync -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_mercurex9.ksh
r734 r742 78 78 #D-#================================================== 79 79 80 # Submit command 81 typeset SUBMIT=${SUBMIT:=qsub} 80 82 # rsync with path 81 83 typeset -r RSYNC=/home/cont003/p86denv/SX_RSYNC/bin/rsync … … 352 354 echo "IGCM_sys_Mkdir :" $@ 353 355 fi 356 357 typeset NB_ESSAI DELAI status i 358 # number of tentative 359 NB_ESSAI=3 360 # time delay between tentative 361 DELAI=2 362 354 363 if [ ! -d ${1} ]; then 355 \mkdir -p $1 356 if [ $? -gt 0 ] ; then 357 echo "IGCM_sys_Mkdir : erreur." 358 IGCM_debug_Exit "IGCM_sys_Mkdir" 359 fi 364 i=0 365 while [ $i -lt $NB_ESSAI ] ; do 366 \mkdir -p $1 367 status=$? 368 if [ ${status} -gt 0 ] ; then 369 IGCM_debug_Print 2 "IGCM_sys_Mkdir : mkdir failed error code ${status} ${i}/${NB_ESSAI}" 370 IGCM_debug_Print 2 "IGCM_sys_Mkdir : sleep ${DELAI} seconds and try again." 371 sleep $DELAI 372 else 373 break 374 fi 375 (( i = i + 1 )) 376 done 360 377 fi 361 378 # vérification : … … 377 394 echo "IGCM_sys_MkdirArchive :" $@ 378 395 fi 379 #- creation de repertoire sur le serveur fichier 396 397 typeset NB_ESSAI DELAI status i 398 # number of tentative 399 NB_ESSAI=3 400 # time delay between tentative 401 DELAI=2 402 380 403 if [ ! -d ${1} ]; then 381 \mkdir -p $1 382 if [ $? -gt 0 ] ; then 383 echo "IGCM_sys_MkdirArchive : erreur." 384 IGCM_debug_Exit "IGCM_sys_MkdirArchive" 385 fi 404 i=0 405 while [ $i -lt $NB_ESSAI ] ; do 406 \mkdir -p $1 407 status=$? 408 if [ ${status} -gt 0 ] ; then 409 IGCM_debug_Print 2 "IGCM_sys_MkdirArchive : mkdir failed error code ${status} ${i}/${NB_ESSAI}" 410 IGCM_debug_Print 2 "IGCM_sys_MkdirArchive : sleep ${DELAI} seconds and try again." 411 sleep $DELAI 412 else 413 break 414 fi 415 (( i = i + 1 )) 416 done 417 fi 418 419 # vérification : 420 if [ ! -d ${1} ] ; then 421 echo "IGCM_sys_MkdirArchive : erreur." 422 IGCM_debug_Exit "IGCM_sys_MkdirArchive" 386 423 fi 387 424 IGCM_debug_PopStack "IGCM_sys_MkdirArchive" … … 600 637 echo "IGCM_sys_Tar :" $@ 601 638 fi 602 \tar cf $@639 IGCM_sys_RshMaster "\tar $@" 603 640 if [ $? -gt 0 ] ; then 604 641 echo "IGCM_sys_Tar : erreur." -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_obelix.ksh
r725 r742 64 64 # Host and user names 65 65 # $hostname ou hostname 66 typeset 66 typeset HOST=${HOST:=$( hostname )} 67 67 # $username ou whoami 68 typeset 68 typeset LOGIN=${LOGIN:=$( whoami )} 69 69 # $hostname of the MASTER job 70 typeset 70 typeset MASTER=${MASTER:=$( hostname )} 71 71 72 72 #D- … … 75 75 #D-#================================================== 76 76 77 # Submit command 78 typeset SUBMIT=${SUBMIT:=qsub} 77 79 # rsync with path 78 80 typeset -r RSYNC=/usr/bin/rsync -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_titane.ksh
r734 r742 75 75 #D-#================================================== 76 76 77 # Submit command 78 typeset SUBMIT=${SUBMIT:=ccc_mprun} 77 79 # rsync with path 78 80 typeset -r RSYNC=/usr/bin/rsync -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_vargas.ksh
r725 r742 75 75 #D-#================================================== 76 76 77 # Submit command 78 typeset SUBMIT=${SUBMIT:=llsubmit} 77 79 # rsync with path 78 80 typeset -r RSYNC=/usr/local/bin/rsync
Note: See TracChangeset
for help on using the changeset viewer.