Changeset 640


Ignore:
Timestamp:
04/12/12 17:16:18 (12 years ago)
Author:
mafoipsl
Message:

Add norerun option on SX front-end. Transfer specific files ie config.card COMP ... with IGCM_sys_Get_Master and modify IGCM_sys_Get_Master to allow file transfer. tested on ulam and SX front-end.

Location:
trunk/libIGCM
Files:
24 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_SaveSourceModifications

    r616 r640  
    2727#-Q- sx8mercure #PBS -l cputim_job=0:10:00   # Limite temps a 1 heures 
    2828#-Q- sx8mercure #PBS -q scalaire 
     29#-Q- sx8mercure #PBS -r n 
    2930#-Q- sx9mercure #!/bin/ksh 
    3031#-Q- sx9mercure ##################### 
     
    3738#-Q- sx9mercure #PBS -l elapstim_req=0:10:00   # Limite temps a 1 heures 
    3839#-Q- sx9mercure #PBS -q scalaire 
     40#-Q- sx9mercure #PBS -r n 
    3941#-Q- titane #!/bin/ksh 
    4042#-Q- titane ###################### 
  • trunk/libIGCM/AA_additionnal

    r626 r640  
    8585#-Q- sx8mercure #PBS -l cputim_job=2:00:00  # Limite temps a 2 heures 
    8686#-Q- sx8mercure #PBS -q scalaire 
     87#-Q- sx8mercure #PBS -r n 
    8788#-Q- sx9mercure #!/bin/ksh 
    8889#-Q- sx9mercure ###################### 
     
    9596#-Q- sx9mercure #PBS -l elapstim_req=2:00:00  # Limite temps a 2 heures 
    9697#-Q- sx9mercure #PBS -q scalaire 
     98#-Q- sx9mercure #PBS -r n 
    9799#-Q- titane #!/bin/ksh 
    98100#-Q- titane ###################### 
  • trunk/libIGCM/AA_atlas_LMDZ

    r626 r640  
    8484#-Q- sx8mercure #PBS -l cputim_job=2:00:00  # Limite temps a 2 heures 
    8585#-Q- sx8mercure #PBS -q scalaire 
     86#-Q- sx8mercure #PBS -r n 
    8687#-Q- sx9mercure #!/bin/ksh 
    8788#-Q- sx9mercure ###################### 
     
    9495#-Q- sx9mercure #PBS -l elapstim_req=2:00:00  # Limite temps a 2 heures 
    9596#-Q- sx9mercure #PBS -q scalaire 
     97#-Q- sx9mercure #PBS -r n 
    9698#-Q- titane #!/bin/ksh 
    9799#-Q- titane ###################### 
     
    155157else 
    156158    CARD_DIR=${RUN_DIR_PATH}/$( basename ${SUBMIT_DIR} ) 
    157     IGCM_sys_Get_Master ${SUBMIT_DIR} ${RUN_DIR_PATH} 
     159    IGCM_sys_Get_Master ${SUBMIT_DIR}/config.card ${RUN_DIR_PATH} 
     160    IGCM_sys_Get_Master ${SUBMIT_DIR}/run.card    ${RUN_DIR_PATH} 
     161    IGCM_sys_Get_Master ${SUBMIT_DIR}/COMP        ${RUN_DIR_PATH} 
     162    IGCM_sys_Get_Master ${SUBMIT_DIR}/POST        ${RUN_DIR_PATH} 
    158163fi 
    159164# 
  • trunk/libIGCM/AA_atlas_ORCA_LIM

    r626 r640  
    8484#-Q- sx8mercure #PBS -l cputim_job=2:00:00   # Limite temps a 2 heures 
    8585#-Q- sx8mercure #PBS -q scalaire 
     86#-Q- sx8mercure #PBS -r n 
    8687#-Q- sx9mercure #!/bin/ksh 
    8788#-Q- sx9mercure ###################### 
     
    9495#-Q- sx9mercure #PBS -l elapstim_req=2:00:00   # Limite temps a 2 heures 
    9596#-Q- sx9mercure #PBS -q scalaire 
     97#-Q- sx9mercure #PBS -r n 
    9698#-Q- titane #!/bin/ksh 
    9799#-Q- titane ###################### 
     
    155157else 
    156158    CARD_DIR=${RUN_DIR_PATH}/$( basename ${SUBMIT_DIR} ) 
    157     IGCM_sys_Get_Master ${SUBMIT_DIR} ${RUN_DIR_PATH} 
     159    IGCM_sys_Get_Master ${SUBMIT_DIR}/config.card ${RUN_DIR_PATH} 
     160    IGCM_sys_Get_Master ${SUBMIT_DIR}/run.card    ${RUN_DIR_PATH} 
     161    IGCM_sys_Get_Master ${SUBMIT_DIR}/COMP        ${RUN_DIR_PATH} 
     162    IGCM_sys_Get_Master ${SUBMIT_DIR}/POST        ${RUN_DIR_PATH} 
     163 
    158164fi 
    159165# 
  • trunk/libIGCM/AA_atlas_ORCHIDEE

    r626 r640  
    8484#-Q- sx8mercure #PBS -l cputim_job=1:00:00   # Limite temps a 2 heures 
    8585#-Q- sx8mercure #PBS -q scalaire 
     86#-Q- sx8mercure #PBS -r n 
    8687#-Q- sx9mercure #!/bin/ksh 
    8788#-Q- sx9mercure ###################### 
     
    9495#-Q- sx9mercure #PBS -l elapstim_req=1:00:00   # Limite temps a 2 heures 
    9596#-Q- sx9mercure #PBS -q scalaire 
     97#-Q- sx9mercure #PBS -r n 
    9698#-Q- titane #!/bin/ksh 
    9799#-Q- titane ###################### 
     
    164166else 
    165167    CARD_DIR=${RUN_DIR_PATH}/$( basename ${SUBMIT_DIR} ) 
    166     IGCM_sys_Get_Master ${SUBMIT_DIR} ${RUN_DIR_PATH} 
     168    IGCM_sys_Get_Master ${SUBMIT_DIR}/config.card ${RUN_DIR_PATH} 
     169    IGCM_sys_Get_Master ${SUBMIT_DIR}/run.card    ${RUN_DIR_PATH} 
     170    IGCM_sys_Get_Master ${SUBMIT_DIR}/COMP        ${RUN_DIR_PATH} 
     171    IGCM_sys_Get_Master ${SUBMIT_DIR}/POST        ${RUN_DIR_PATH} 
    167172fi 
    168173# 
  • trunk/libIGCM/AA_atlas_PISCES

    r626 r640  
    8484#-Q- sx8mercure #PBS -l cputim_job=2:00:00   # Limite temps a 2 heures 
    8585#-Q- sx8mercure #PBS -q scalaire 
     86#-Q- sx8mercure #PBS -r n 
    8687#-Q- sx9mercure #!/bin/ksh 
    8788#-Q- sx9mercure ###################### 
     
    9495#-Q- sx9mercure #PBS -l elapstim_req=2:00:00   # Limite temps a 2 heures 
    9596#-Q- sx9mercure #PBS -q scalaire 
     97#-Q- sx9mercure #PBS -r n 
    9698#-Q- titane #!/bin/ksh 
    9799#-Q- titane ###################### 
     
    155157else 
    156158    CARD_DIR=${RUN_DIR_PATH}/$( basename ${SUBMIT_DIR} ) 
    157     IGCM_sys_Get_Master ${SUBMIT_DIR} ${RUN_DIR_PATH} 
     159    IGCM_sys_Get_Master ${SUBMIT_DIR}/config.card ${RUN_DIR_PATH} 
     160    IGCM_sys_Get_Master ${SUBMIT_DIR}/run.card    ${RUN_DIR_PATH} 
     161    IGCM_sys_Get_Master ${SUBMIT_DIR}/COMP        ${RUN_DIR_PATH} 
     162    IGCM_sys_Get_Master ${SUBMIT_DIR}/POST        ${RUN_DIR_PATH} 
    158163fi 
    159164# 
  • trunk/libIGCM/AA_create_multi_se

    r626 r640  
    8484#-Q- sx8mercure #PBS -l cputim_job=24:00:00   # Limite temps a 1 heures 
    8585#-Q- sx8mercure #PBS -q scalaire 
     86#-Q- sx8mercure #PBS -r n 
    8687#-Q- sx9mercure #!/bin/ksh 
    8788#-Q- sx9mercure ###################### 
     
    9495#-Q- sx9mercure #PBS -l elapstim_req=24:00:00   # Limite temps a 1 heures 
    9596#-Q- sx9mercure #PBS -q scalaire 
     97#-Q- sx9mercure #PBS -r n 
    9698#-Q- titane #!/bin/ksh 
    9799#-Q- titane ###################### 
     
    214216else 
    215217    CARD_DIR=${RUN_DIR_PATH}/$( basename ${SUBMIT_DIR} ) 
    216     IGCM_sys_Get_Master ${SUBMIT_DIR} ${RUN_DIR_PATH} 
     218    IGCM_sys_Get_Master ${SUBMIT_DIR}/config.card ${RUN_DIR_PATH} 
     219    IGCM_sys_Get_Master ${SUBMIT_DIR}/run.card    ${RUN_DIR_PATH} 
     220    IGCM_sys_Get_Master ${SUBMIT_DIR}/COMP        ${RUN_DIR_PATH} 
     221    IGCM_sys_Get_Master ${SUBMIT_DIR}/POST        ${RUN_DIR_PATH} 
    217222fi 
    218223 
  • trunk/libIGCM/AA_create_se

    r633 r640  
    8484#-Q- sx8mercure #PBS -l cputim_job=24:00:00   # Limite temps a 1 heures 
    8585#-Q- sx8mercure #PBS -q scalaire 
     86#-Q- sx8mercure #PBS -r n 
    8687#-Q- sx9mercure #!/bin/ksh 
    8788#-Q- sx9mercure ###################### 
     
    9495#-Q- sx9mercure #PBS -l elapstim_req=24:00:00   # Limite temps a 1 heures 
    9596#-Q- sx9mercure #PBS -q scalaire 
     97#-Q- sx9mercure #PBS -r n 
    9698#-Q- titane #!/bin/ksh 
    9799#-Q- titane ###################### 
     
    221223else 
    222224    CARD_DIR=${RUN_DIR_PATH}/$( basename ${SUBMIT_DIR} ) 
    223     IGCM_sys_Get_Master ${SUBMIT_DIR} ${RUN_DIR_PATH} 
     225    IGCM_sys_Get_Master ${SUBMIT_DIR}/config.card ${RUN_DIR_PATH} 
     226    IGCM_sys_Get_Master ${SUBMIT_DIR}/run.card    ${RUN_DIR_PATH} 
     227    IGCM_sys_Get_Master ${SUBMIT_DIR}/COMP        ${RUN_DIR_PATH} 
     228    IGCM_sys_Get_Master ${SUBMIT_DIR}/POST        ${RUN_DIR_PATH} 
    224229fi 
    225230 
  • trunk/libIGCM/AA_create_ts

    r633 r640  
    8484#-Q- sx8mercure #PBS -l cputim_job=24:00:00   # Limite temps a 2 heures 
    8585#-Q- sx8mercure #PBS -q scalaire 
     86#-Q- sx8mercure #PBS -r n 
    8687#-Q- sx9mercure #!/bin/ksh 
    8788#-Q- sx9mercure ###################### 
     
    9495#-Q- sx9mercure #PBS -l elapstim_req=24:00:00   # Limite temps a 2 heures 
    9596#-Q- sx9mercure #PBS -q scalaire 
     97#-Q- sx9mercure #PBS -r n 
    9698#-Q- titane #!/bin/ksh 
    9799#-Q- titane ###################### 
     
    241243else 
    242244    CARD_DIR=${RUN_DIR_PATH}/$( basename ${SUBMIT_DIR} ) 
    243     IGCM_sys_Get_Master ${SUBMIT_DIR} ${RUN_DIR_PATH} 
     245    IGCM_sys_Get_Master ${SUBMIT_DIR}/config.card ${RUN_DIR_PATH} 
     246    IGCM_sys_Get_Master ${SUBMIT_DIR}/run.card    ${RUN_DIR_PATH} 
     247    IGCM_sys_Get_Master ${SUBMIT_DIR}/COMP        ${RUN_DIR_PATH} 
     248    IGCM_sys_Get_Master ${SUBMIT_DIR}/POST        ${RUN_DIR_PATH} 
    244249fi 
    245250 
  • trunk/libIGCM/AA_monitoring

    r626 r640  
    8484#-Q- sx8mercure #PBS -l cputim_job=1:00:00   # Limite temps a 2 heures 
    8585#-Q- sx8mercure #PBS -q scalaire 
     86#-Q- sx8mercure #PBS -r n 
    8687#-Q- sx9mercure #!/bin/ksh 
    8788#-Q- sx9mercure ###################### 
     
    9495#-Q- sx9mercure #PBS -l elapstim_req=1:00:00   # Limite temps a 2 heures 
    9596#-Q- sx9mercure #PBS -q scalaire 
     97#-Q- sx9mercure #PBS -r n 
    9698#-Q- titane #!/bin/ksh 
    9799#-Q- titane ###################### 
     
    212214else 
    213215    CARD_DIR=${RUN_DIR}/$( basename ${SUBMIT_DIR} ) 
    214     IGCM_sys_Get_Master ${SUBMIT_DIR} ${RUN_DIR} 
     216    IGCM_sys_Get_Master ${SUBMIT_DIR}/config.card ${RUN_DIR_PATH} 
     217    IGCM_sys_Get_Master ${SUBMIT_DIR}/run.card    ${RUN_DIR_PATH} 
     218    IGCM_sys_Get_Master ${SUBMIT_DIR}/COMP        ${RUN_DIR_PATH} 
     219    IGCM_sys_Get_Master ${SUBMIT_DIR}/POST        ${RUN_DIR_PATH} 
    215220fi 
    216221 
  • trunk/libIGCM/AA_pack_debug

    r632 r640  
    8484#-Q- sx8mercure #PBS -l cputim_job=24:00:00  # Limite temps a 1 heures 
    8585#-Q- sx8mercure #PBS -q scalaire 
     86#-Q- sx8mercure #PBS -r n 
    8687#-Q- sx9mercure #!/bin/ksh 
    8788#-Q- sx9mercure ###################### 
     
    9495#-Q- sx9mercure #PBS -l elapstim_req=24:00:00  # Limite temps a 1 heures 
    9596#-Q- sx9mercure #PBS -q scalaire 
     97#-Q- sx9mercure #PBS -r n 
    9698#-Q- titane #!/bin/ksh 
    9799#-Q- titane ###################### 
     
    227229else 
    228230    CARD_DIR=${RUN_DIR_PATH}/$( basename ${SUBMIT_DIR} ) 
    229     # warning! we copy useless files : Job_xxx, Script_output_xxx, .... 
    230     IGCM_sys_Get_Master ${SUBMIT_DIR} ${RUN_DIR_PATH} 
     231    IGCM_sys_Get_Master ${SUBMIT_DIR}/config.card ${RUN_DIR_PATH} 
     232    IGCM_sys_Get_Master ${SUBMIT_DIR}/run.card    ${RUN_DIR_PATH} 
     233    IGCM_sys_Get_Master ${SUBMIT_DIR}/COMP        ${RUN_DIR_PATH} 
     234    IGCM_sys_Get_Master ${SUBMIT_DIR}/POST        ${RUN_DIR_PATH} 
    231235fi 
    232236 
  • trunk/libIGCM/AA_pack_output

    r632 r640  
    8484#-Q- sx8mercure #PBS -l cputim_job=24:00:00  # Limite temps a 1 heures 
    8585#-Q- sx8mercure #PBS -q scalaire 
     86#-Q- sx8mercure #PBS -r n 
    8687#-Q- sx9mercure #!/bin/ksh 
    8788#-Q- sx9mercure ###################### 
     
    9495#-Q- sx9mercure #PBS -l elapstim_req=24:00:00  # Limite temps a 1 heures 
    9596#-Q- sx9mercure #PBS -q scalaire 
     97#-Q- sx9mercure #PBS -r n 
    9698#-Q- titane #!/bin/ksh 
    9799#-Q- titane ###################### 
     
    204206else 
    205207    CARD_DIR=${RUN_DIR_PATH}/$( basename ${SUBMIT_DIR} ) 
    206     IGCM_sys_Get_Master ${SUBMIT_DIR} ${RUN_DIR_PATH} 
     208    IGCM_sys_Get_Master ${SUBMIT_DIR}/config.card ${RUN_DIR_PATH} 
     209    IGCM_sys_Get_Master ${SUBMIT_DIR}/run.card    ${RUN_DIR_PATH} 
     210    IGCM_sys_Get_Master ${SUBMIT_DIR}/COMP        ${RUN_DIR_PATH} 
     211    IGCM_sys_Get_Master ${SUBMIT_DIR}/POST        ${RUN_DIR_PATH} 
    207212fi 
    208213 
  • trunk/libIGCM/AA_pack_restart

    r636 r640  
    8484#-Q- sx8mercure #PBS -l cputim_job=24:00:00  # Limite temps a 1 heures 
    8585#-Q- sx8mercure #PBS -q scalaire 
     86#-Q- sx8mercure #PBS -r n 
    8687#-Q- sx9mercure #!/bin/ksh 
    8788#-Q- sx9mercure ###################### 
     
    9495#-Q- sx9mercure #PBS -l elapstim_req=24:00:00  # Limite temps a 1 heures 
    9596#-Q- sx9mercure #PBS -q scalaire 
     97#-Q- sx9mercure #PBS -r n 
    9698#-Q- titane #!/bin/ksh 
    9799#-Q- titane ###################### 
     
    227229else 
    228230    CARD_DIR=${RUN_DIR_PATH}/$( basename ${SUBMIT_DIR} ) 
    229     IGCM_sys_Get_Master ${SUBMIT_DIR} ${RUN_DIR_PATH} 
     231    IGCM_sys_Get_Master ${SUBMIT_DIR}/config.card ${RUN_DIR_PATH} 
     232    IGCM_sys_Get_Master ${SUBMIT_DIR}/run.card    ${RUN_DIR_PATH} 
     233    IGCM_sys_Get_Master ${SUBMIT_DIR}/COMP        ${RUN_DIR_PATH} 
     234    IGCM_sys_Get_Master ${SUBMIT_DIR}/POST        ${RUN_DIR_PATH} 
    230235fi 
    231236 
  • trunk/libIGCM/AA_rebuild_fromArchive

    r626 r640  
    8484#-Q- sx8mercure #PBS -l cputim_job=24:00:00  # Limite temps a 1 heures 
    8585#-Q- sx8mercure #PBS -q scalaire 
     86#-Q- sx8mercure #PBS -r n 
    8687#-Q- sx9mercure #!/bin/ksh 
    8788#-Q- sx9mercure ###################### 
     
    9495#-Q- sx9mercure #PBS -l elapstim_req=24:00:00  # Limite temps a 1 heures 
    9596#-Q- sx9mercure #PBS -q scalaire 
     97#-Q- sx9mercure #PBS -r n 
    9698#-Q- titane #!/bin/ksh 
    9799#-Q- titane ###################### 
  • trunk/libIGCM/AA_rebuild_fromWorkdir

    r626 r640  
    8484#-Q- sx8mercure #PBS -l cputim_job=24:00:00  # Limite temps a 1 heures 
    8585#-Q- sx8mercure #PBS -q scalaire 
     86#-Q- sx8mercure #PBS -r n 
    8687#-Q- sx9mercure #!/bin/ksh 
    8788#-Q- sx9mercure ###################### 
     
    9495#-Q- sx9mercure #PBS -l elapstim_req=24:00:00  # Limite temps a 1 heures 
    9596#-Q- sx9mercure #PBS -q scalaire 
     97#-Q- sx9mercure #PBS -r n 
    9698#-Q- titane #!/bin/ksh 
    9799#-Q- titane ###################### 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_cesium.ksh

    r618 r640  
    935935    typeset TEST NB_ESSAI DELAI status i 
    936936     
    937     TEST=$( IGCM_sys_RshMaster [ -d $1 ] && echo 1 || echo 0 ) 
     937    TEST=$( IGCM_sys_RshMaster ( [ -d $1 ] || [ -f $1 ] ) && echo 1 || echo 0 ) 
    938938    if [ ${TEST} -ne 1 ] ; then 
    939939      echo "WARNING : IGCM_sys_Get_Master ${1} DOES NOT EXIST ON ${MASTER}." 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_curie.ksh

    r637 r640  
    10501050  fi 
    10511051  if [ $DRYRUN = 0 ]; then 
    1052     if [ ! -d ${1} ] ; then 
     1052    if ( [ ! -d ${1} ] && [ ! -f ${1} ] ) ; then 
    10531053      echo "WARNING : IGCM_sys_Get_Master ${1} DOES NOT EXIST ." 
    10541054      IGCM_debug_PopStack "IGCM_sys_Get_Master" 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_default.ksh

    r463 r640  
    832832    fi 
    833833    if [ $DRYRUN = 0 ]; then 
    834         if [ ! -d ${1} ] ; then 
     834        if ( [ ! -d ${1} ] && [ ! -f ${1} ] ) ; then 
    835835            echo "WARNING : IGCM_sys_Get_Master ${1} DOES NOT EXIST ." 
    836836            IGCM_debug_PopStack "IGCM_sys_Get_Master" 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_iitm.ksh

    r452 r640  
    820820    fi 
    821821    if [ $DRYRUN = 0 ]; then 
    822         if [ ! -d ${1} ] ; then 
     822        if ( [ ! -d ${1} ] && [ ! -f ${1} ] ) ; then 
    823823            echo "WARNING : IGCM_sys_Get_Dir ${1} DOES NOT EXIST ." 
    824824            IGCM_debug_PopStack "IGCM_sys_Get_Dir" 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_mercure.ksh

    r618 r640  
    857857  fi 
    858858  if [ $DRYRUN = 0 ]; then 
    859     if [ ! -d ${1} ] ; then 
     859    if ( [ ! -d ${1} ] && [ ! -f ${1} ] ) ; then 
    860860      echo "WARNING : IGCM_sys_Get_Master ${1} DOES NOT EXIST ." 
    861861      IGCM_debug_PopStack "IGCM_sys_Get_Master" 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_obelix.ksh

    r536 r640  
    853853    fi 
    854854    if [ $DRYRUN = 0 ]; then 
    855         if [ ! -d ${1} ] ; then 
     855        if ( [ ! -d ${1} ] && [ ! -f ${1} ] ) ; then 
    856856            echo "WARNING : IGCM_sys_Get_Master ${1} DOES NOT EXIST ." 
    857857            IGCM_debug_PopStack "IGCM_sys_Get_Master" 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_platine.ksh

    r463 r640  
    834834    fi 
    835835    if [ $DRYRUN = 0 ]; then 
    836         if [ ! -d ${1} ] ; then 
     836        if ( [ ! -d ${1} ] && [ ! -f ${1} ] ) ; then 
    837837            echo "WARNING : IGCM_sys_Get_Master ${1} DOES NOT EXIST ." 
    838838            IGCM_debug_PopStack "IGCM_sys_Get_Master" 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_titane.ksh

    r637 r640  
    10811081  fi 
    10821082  if [ $DRYRUN = 0 ]; then 
    1083     if [ ! -d ${1} ] ; then 
     1083    if ( [ ! -d ${1} ] && [ ! -f ${1} ] ) ; then 
    10841084      echo "WARNING : IGCM_sys_Get_Master ${1} DOES NOT EXIST ." 
    10851085      IGCM_debug_PopStack "IGCM_sys_Get_Master" 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_ulam.ksh

    r633 r640  
    799799  fi 
    800800  if [ $DRYRUN = 0 ]; then 
    801     TEST=$( IGCM_sys_RshMaster [ -d $1 ] && echo 1 || echo 0 ) 
     801    TEST=$( IGCM_sys_RshMaster ( [ -d $1 ] || [ -f $1 ] ) && echo 1 || echo 0 ) 
    802802    if [ ${TEST} -ne 1 ] ; then 
    803803      echo "WARNING : IGCM_sys_Get_Master ${1} DOES NOT EXIST ON ${MASTER}." 
Note: See TracChangeset for help on using the changeset viewer.