Ignore:
Timestamp:
11/22/10 12:44:59 (14 years ago)
Author:
sdipsl
Message:
  • function IGCM_sys_Get_Master on cesium will try 10 times to scp files from master machine. Hopefully the last cesium consolidation
  • function IGCM_config_Check will check chunck2D/3D consistency with TimeSeriesFrequency?.
  • change the way the output from post-processing script was named. We will now have:

-rebuild_fromWorkdir.20051231.out
-create_ts.20051231.2D.out
-create_ts.20051231.3D.out
-atlas_PISCES.19991231.out
-create_ts.20051231.Chunck2D.ATM.POST_1D_histday.out
-create_ts.20051231.Chunck2D.OCE.POST_1D_grid_T.out

  • remove modipsl headers from AA_SE_Checker, AA_TimeSeries_Checker, AA_move-and-rename
    • they check and submit job. They do not use resources and so there is no point to submit them
    • they will be rename shortly SE_Checker.ksh, TimeSeries_Checker.ksh, move-and-rename.ksh
  • cosmetics
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_SE_Checker

    r386 r387  
    11#!/bin/ksh 
    2 #-Q- cesium #!/bin/ksh 
    3 #-Q- cesium ###################### 
    4 #-Q- cesium ## CESIUM   CEA ## 
    5 #-Q- cesium ###################### 
    6 #-Q- cesium #MSUB -r SE_Checker             # Nom du job                 
    7 #-Q- cesium #MSUB -N 1              # Reservation du noeud 
    8 #-Q- cesium #MSUB -n 1              # Reservation du processus 
    9 #-Q- cesium #MSUB -T 86400          # Limite de temps elapsed du job 
    10 #-Q- cesium #MSUB -E "-j o" 
    11 #-Q- cesium #MSUB -E "-S /bin/ksh" 
    12 #-Q- platine #!/usr/bin/ksh 
    13 #-Q- platine ################### 
    14 #-Q- platine ## PLATINE   CEA ## 
    15 #-Q- platine ################### 
    16 #-Q- platine #BSUB -J SE_Checker                     # Nom du job 
    17 #-Q- platine #BSUB -N                        # message a la fin du job 
    18 #-Q- platine #BSUB -n 1                      # reservation des processeurs pour le job 
    19 #-Q- platine #BSUB -W 1:00                   # Limite temps 
    20 #-Q- platine #BSUB -q post                   # Passage en queue post 
    21 #-Q- sx8brodie #!/bin/ksh 
    22 #-Q- sx8brodie ####################### 
    23 #-Q- sx8brodie ## SX8BRODIE   IDRIS ## 
    24 #-Q- sx8brodie ####################### 
    25 #-Q- sx8brodie # Temps Elapsed max. d'une requete hh:mm:ss 
    26 #-Q- sx8brodie # @ wall_clock_limit = 20:00:00 
    27 #-Q- sx8brodie # Nom du travail LoadLeveler 
    28 #-Q- sx8brodie # @ job_name   = SE_Checker 
    29 #-Q- sx8brodie # Fichier de sortie standard du travail        
    30 #-Q- sx8brodie # @ output     = $(job_name).$(jobid) 
    31 #-Q- sx8brodie # Fichier de sortie d'erreur du travail 
    32 #-Q- sx8brodie # @ error      =  $(job_name).$(jobid) 
    33 #-Q- sx8brodie # pour recevoir un mail en cas de depassement du temps Elapsed (ou autre pb.) 
    34 #-Q- sx8brodie # @ notification = error 
    35 #-Q- sx8brodie # @ environment  = $DEBUG_debug ; $MODIPSL ; $libIGCM ; $libIGCM_SX ; $SUBMIT_DIR ; $REBUILD_DIR ; $RebuildFromArchive ; $POST_DIR ; $MASTER ; $RebuildFrequency ; $PeriodDateBegin ; $PeriodDateEnd ; $NbRebuildDir ; $StandAlone ; $CompletedFlag ; $TsTask ; $CompToRead ; $FlagToRead ; $RESOL_ATM ; $RESOL_OCE ; $RESOL_ICE ; $RESOL_MBG ; $RESOL_SRF ; $RESOL_SBG ; $MASTER 
    36 #-Q- sx8brodie # @ queue 
    37 #-Q- aix6 #!/bin/ksh 
    38 #-Q- aix6 ####################### 
    39 #-Q- aix6 ##   VARGAS   IDRIS  ## 
    40 #-Q- aix6 ####################### 
    41 #-Q- aix6 # Temps Elapsed max. d'une requete hh:mm:ss 
    42 #-Q- aix6 # @ wall_clock_limit = 20:00:00 
    43 #-Q- aix6 # Nom du travail LoadLeveler 
    44 #-Q- aix6 # @ job_name   = SE_Checker 
    45 #-Q- aix6 # Fichier de sortie standard du travail 
    46 #-Q- aix6 # @ output     = $(job_name).$(jobid) 
    47 #-Q- aix6 # Fichier de sortie d'erreur du travail 
    48 #-Q- aix6 # @ error      =  $(job_name).$(jobid) 
    49 #-Q- aix6 # pour recevoir un mail en cas de depassement du temps Elapsed (ou autre pb.) 
    50 #-Q- aix6 # @ notification = error 
    51 #-Q- aix6 # @ environment  = $DEBUG_debug ; $MODIPSL ; $libIGCM ; $libIGCM_SX ; $SUBMIT_DIR ; $REBUILD_DIR ; $RebuildFromArchive ; $POST_DIR ; $MASTER ; $RebuildFrequency ; $DateBegin ; $PeriodDateBegin ; $PeriodDateEnd ; $NbRebuildDir ; $StandAlone ; $CompletedFlag ; $TsTask ; $CompToRead ; $FlagToRead ; $RESOL_ATM ; $RESOL_OCE ; $RESOL_ICE ; $RESOL_MBG ; $RESOL_SRF ; $RESOL_SBG ; $MASTER 
    52 #-Q- aix6 # @ queue 
    53 #-Q- ulam #!/bin/ksh 
    54 #-Q- ulam ####################### 
    55 #-Q- ulam ##   ULAM   IDRIS  ## 
    56 #-Q- ulam ####################### 
    57 #-Q- ulam # Temps Elapsed max. d'une requete hh:mm:ss 
    58 #-Q- ulam # @ wall_clock_limit = 20:00:00 
    59 #-Q- ulam # Nom du travail LoadLeveler 
    60 #-Q- ulam # @ job_name   = SE_Checker 
    61 #-Q- ulam # Fichier de sortie standard du travail 
    62 #-Q- ulam # @ output     = $(job_name).$(jobid) 
    63 #-Q- ulam # Fichier de sortie d'erreur du travail 
    64 #-Q- ulam # @ error      =  $(job_name).$(jobid) 
    65 #-Q- ulam # pour recevoir un mail en cas de depassement du temps Elapsed (ou autre pb.) 
    66 #-Q- ulam # @ notification = error 
    67 #-Q- ulam # @ environment  = $DEBUG_debug ; $MODIPSL ; $libIGCM ; $libIGCM_SX ; $SUBMIT_DIR ; $REBUILD_DIR ; $RebuildFromArchive ; $POST_DIR ; $MASTER ; $RebuildFrequency ; $DateBegin ; $PeriodDateBegin ; $PeriodDateEnd ; $NbRebuildDir ; $StandAlone ; $CompletedFlag ; $TsTask ; $CompToRead ; $FlagToRead ; $RESOL_ATM ; $RESOL_OCE ; $RESOL_ICE ; $RESOL_MBG ; $RESOL_SRF ; $RESOL_SBG ; $MASTER 
    68 #-Q- ulam # @ queue 
    69 #-Q- sx8mercure #!/bin/ksh 
    70 #-Q- sx8mercure ###################### 
    71 #-Q- sx8mercure ## SX8MERCURE   CEA ## 
    72 #-Q- sx8mercure ###################### 
    73 #-Q- sx8mercure #PBS -N SE_Checker                   # Nom du job 
    74 #-Q- sx8mercure #PBS -j o                    # regroupement des stdout et stderr 
    75 #-Q- sx8mercure #PBS -S /usr/bin/ksh         # shell de soumission 
    76 #-Q- sx8mercure #PBS -l memsz_job=1gb        # Limite memoire a 1 Go 
    77 #-Q- sx8mercure #PBS -l cputim_job=24:00:00   # Limite temps a 2 heures 
    78 #-Q- sx8mercure #PBS -q scalaire 
    79 #-Q- sx9mercure #!/bin/ksh 
    80 #-Q- sx9mercure ######################### 
    81 #-Q- sx9mercure ## CESIUM FOR SX9  CEA ## 
    82 #-Q- sx9mercure ######################### 
    83 #-Q- sx9mercure #MSUB -r SE_Checker             # Nom du job                 
    84 #-Q- sx9mercure #MSUB -N 1              # Reservation du noeud 
    85 #-Q- sx9mercure #MSUB -n 1              # Reservation du processus 
    86 #-Q- sx9mercure #MSUB -T 86400          # Limite de temps elapsed du job 
    87 #-Q- sx9mercure #MSUB -E "-j o" 
    88 #-Q- sx9mercure #MSUB -E "-S /bin/ksh" 
    89 #-Q- titane #!/bin/ksh 
    90 #-Q- titane ###################### 
    91 #-Q- titane ## TITANE   CEA ## 
    92 #-Q- titane ###################### 
    93 #-Q- titane #MSUB -r SE_Checker             # Nom du job                 
    94 #-Q- titane #MSUB -N 1              # Reservation du noeud 
    95 #-Q- titane #MSUB -n 1              # Reservation du processus 
    96 #-Q- titane #MSUB -T 86400          # Limite de temps elapsed du job 
    97 #-Q- titane #MSUB -E "-j o" 
    98 #-Q- titane #MSUB -E "-S /bin/ksh" 
    99 #-Q- titane ##MSUB -e nco.out        # Sortie standard 
    100 #-Q- titane ##MSUB -o nco.out        # Sortie standard 
    101 #-Q- lxiv8 ###################### 
    102 #-Q- lxiv8 ## OBELIX      LSCE ## 
    103 #-Q- lxiv8 ###################### 
    104 #-Q- lxiv8 #PBS -N SE_Checker 
    105 #-Q- lxiv8 #PBS -m a 
    106 #-Q- lxiv8 #PBS -j oe 
    107 #-Q- lxiv8 #PBS -q medium 
    108 #-Q- lxiv8 #PBS -o SE_Checker.$$ 
    109 #-Q- lxiv8 #PBS -S /bin/ksh 
    110 #-Q- default #!/bin/ksh 
    111 #-Q- default ################## 
    112 #-Q- default ## DEFAULT HOST ## 
    113 #-Q- default ################## 
    1142 
    1153#************************************************************** 
     
    12614#************************************************************** 
    12715 
    128 # Check that everything went well during time series production 
     16# Check that everything went well during seasonal average production 
    12917# Display a short report 
    13018# Launch what's missing 
     
    13220# all TS to last PeriodDateEnd value, give by run.card->Configuration->OldPrefix string. 
    13321 
    134  
    13522# Chemin vers libIGCM 
    13623libIGCM=${libIGCM:=::modipsl::/libIGCM} 
     
    15542# répertoire de stockage des sorties des create_ts 
    15643POST_DIR=${POST_DIR:=${CARD_DIR}/OutScript} 
    157  
    15844 
    15945if [ ! -d ${CARD_DIR} ]; then 
     
    304190                fi 
    305191                (( i=i+3 )) # to explore file list 
    306             done # until [ $i -eq $NbFiles ] 
    307         fi   # [ X${FileName0} != X${NULL_STR} ]  
     192            done            # until [ $i -eq $NbFiles ] 
     193        fi                  # [ X${FileName0} != X${NULL_STR} ]  
    308194         
    309195        [ $localcountBad = 0 ] || IGCM_debug_Print 1 "$localcountBad file(s) missing for ${comp} : " $( eval echo \${LISTE_FILE_${comp}_${an_deb}[*]} ) 
     
    330216        IGCM_sys_MkdirWork ${POST_DIR} 
    331217        IGCM_debug_Verif_Exit 
     218        Script_Post_Output=create_se.${PeriodDateEnd} 
    332219        IGCM_sys_QsubPost create_se 
    333220 
     
    339226     
    340227done # while 
    341  
Note: See TracChangeset for help on using the changeset viewer.