Changeset 213 for trunk


Ignore:
Timestamp:
01/18/10 15:36:33 (14 years ago)
Author:
sdipsl
Message:
  • In AA_create_ts and AA_create_se no need to try to patch raw files when asynchronous rebuild has been used
Location:
trunk/libIGCM
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_create_se

    r206 r213  
    2222#-Q- sx8brodie # pour recevoir un mail en cas de depassement du temps Elapsed (ou autre pb.) 
    2323#-Q- sx8brodie # @ notification = error 
    24 #-Q- sx8brodie # @ environment  = $DEBUG_debug ; $MODIPSL ; $libIGCM ; $libIGCM_SX ; $SUBMIT_DIR ; $REBUILD_DIR ; $RebuildFromArchive ; $POST_DIR ; $MASTER ; $DateBegin ; $PeriodDateBegin ; $PeriodDateEnd ; $NbRebuildDir ; $StandAlone ; $RESOL_ATM ; $RESOL_OCE ; $RESOL_ICE ; $RESOL_MBG ; $RESOL_SRF ; $MASTER 
     24#-Q- sx8brodie # @ environment  = $DEBUG_debug ; $MODIPSL ; $libIGCM ; $libIGCM_SX ; $SUBMIT_DIR ; $REBUILD_DIR ; $RebuildFromArchive ; $POST_DIR ; $MASTER ; $DateBegin ; $PeriodDateBegin ; $PeriodDateEnd ; $NbRebuildDir ; $StandAlone ; $RESOL_ATM ; $RESOL_OCE ; $RESOL_ICE ; $RESOL_MBG ; $RESOL_SRF ; $RESOL_SBG ; $MASTER 
    2525#-Q- sx8brodie # @ queue 
    2626#-Q- aix6 #!/bin/ksh 
     
    3838#-Q- aix6 # pour recevoir un mail en cas de depassement du temps Elapsed (ou autre pb.) 
    3939#-Q- aix6 # @ notification = error 
    40 #-Q- aix6 # @ environment  = $DEBUG_debug ; $MODIPSL ; $libIGCM ; $libIGCM_SX ; $SUBMIT_DIR ; $REBUILD_DIR ; $RebuildFromArchive ; $POST_DIR ; $MASTER ; $DateBegin ; $PeriodDateBegin ; $PeriodDateEnd ; $NbRebuildDir ; $StandAlone ; $RESOL_ATM ; $RESOL_OCE ; $RESOL_ICE ; $RESOL_MBG ; $RESOL_SRF ; $MASTER 
     40#-Q- aix6 # @ environment  = $DEBUG_debug ; $MODIPSL ; $libIGCM ; $libIGCM_SX ; $SUBMIT_DIR ; $REBUILD_DIR ; $RebuildFromArchive ; $POST_DIR ; $MASTER ; $DateBegin ; $PeriodDateBegin ; $PeriodDateEnd ; $NbRebuildDir ; $StandAlone ; $RESOL_ATM ; $RESOL_OCE ; $RESOL_ICE ; $RESOL_MBG ; $RESOL_SRF ; $RESOL_SBG ; $MASTER 
    4141#-Q- aix6 # @ queue 
    4242#-Q- sx8mercure #!/bin/ksh 
     
    9191libIGCM=${libIGCM:=/path/to/your/libIGCM} 
    9292 
     93#D- Flag to determine if rebuild process has been performed asynchronously 
     94#D- Possible value true or false.  
     95#D- If true raw files has allready been patched by rebuild job 
     96#D- If false create_ts will patch the raw files 
     97#D- Default : Value from AA_job if any. Usefull in StandAlone case. 
     98RebuildFrequency=${RebuildFrequency:=true} 
     99 
    93100#D- Flag to determine atlas job's output directory 
    94101#D- Default : value from libIGCM_post.ksh if any 
     
    121128#D- Flag to determine surface resolution 
    122129#D- Default : value from surface driver if any 
    123 RESOL_SRF=${RESOL_SRF:=ALL} 
     130RESOL_SRF=ALL 
     131 
     132#D- Flag to determine surface resolution 
     133#D- Default : value from surface driver if any 
     134RESOL_SBG=ALL 
    124135 
    125136######################################################################## 
     
    469480 
    470481export POST_DIR; export SUBMIT_DIR; export libIGCM; export R_INIT; export R_BC; export StandAlone 
    471 export RESOL_ATM; export RESOL_OCE ; export RESOL_ICE ; export RESOL_MBG ; export RESOL_SRF 
     482export RESOL_ATM; export RESOL_OCE ; export RESOL_ICE ; export RESOL_MBG ; export RESOL_SRF ; export RESOL_SBG 
    472483export R_SAVE; export config_UserChoices_JobName; export config_UserChoices_TagName; export YEARS;  
    473 listVarEnv="POST_DIR,SUBMIT_DIR,libIGCM,R_INIT,R_BC,StandAlone,RESOL_ATM,RESOL_OCE,RESOL_ICE,RESOL_MBG,RESOL_SRF,R_SAVE,config_UserChoices_JobName,config_UserChoices_TagName,YEARS" 
     484listVarEnv="POST_DIR,SUBMIT_DIR,libIGCM,R_INIT,R_BC,StandAlone,RESOL_ATM,RESOL_OCE,RESOL_ICE,RESOL_MBG,RESOL_SRF,RESOL_SBG,R_SAVE,config_UserChoices_JobName,config_UserChoices_TagName,YEARS" 
    474485export listVarEnv; 
    475486 
  • trunk/libIGCM/AA_create_ts

    r209 r213  
    2222#-Q- sx8brodie # pour recevoir un mail en cas de depassement du temps Elapsed (ou autre pb.) 
    2323#-Q- sx8brodie # @ notification = error 
    24 #-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_BIOS ; $MASTER 
     24#-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 
    2525#-Q- aix6 #!/bin/ksh 
    2626#-Q- aix6 ####################### 
     
    3737#-Q- aix6 # pour recevoir un mail en cas de depassement du temps Elapsed (ou autre pb.) 
    3838#-Q- aix6 # @ notification = error 
    39 #-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_BIOS ; $MASTER 
     39#-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 
    4040#-Q- aix6 # @ queue 
    4141#-Q- sx8brodie # @ queue 
     
    9292 
    9393#D- Flag to determine allready produced time series. Empty if you start from the beginning 
    94 #D- Default : Commented. Uncomment for StandAlone case if you want to continue a time series 
     94#D- Default : Value from AA_job if any. Usefull in StandAlone case if you want to continue a time series 
    9595CompletedFlag=${CompletedFlag:=} 
     96 
     97#D- Flag to determine task type this script will perform. 
     98#D- Possible Value : 2D, 3D, Chunck2D, Chunck3D 
     99#D- Default : Value from AA_job if any. Usefull in StandAlone case. 
     100TsTask=${TsTask:=2D} 
     101 
     102#D- Flag to determine if rebuild process has been performed asynchronously 
     103#D- Possible value true or false.  
     104#D- If true raw files has allready been patched by rebuild job 
     105#D- If false create_ts will patch the raw files 
     106#D- Default : Value from AA_job if any. Usefull in StandAlone case. 
     107RebuildFrequency=${RebuildFrequency:=true} 
    96108 
    97109#D- Flag to determine job's output directory 
     
    109121#D- TEMPORARY Flag to determine atmospheric resolution 
    110122#D- Default : value from atmospheric driver if any 
    111 RESOL_ATM=ALL 
     123RESOL_ATM=${RESOL_ATM:=ALL} 
    112124 
    113125#D- TEMPORARY Flag to determine ocean resolution 
     
    129141#D- Flag to determine surface resolution 
    130142#D- Default : value from surface driver if any 
    131 RESOL_BIOS=ALL 
     143RESOL_SBG=ALL 
    132144 
    133145######################################################################## 
     
    799811 
    800812export POST_DIR; export SUBMIT_DIR; export libIGCM; export R_INIT; export R_BC; export StandAlone 
    801 export RESOL_ATM; export RESOL_OCE ; export RESOL_ICE ; export RESOL_MBG ; export RESOL_SRF ; export RESOL_BIOS 
    802  
    803 listVarEnv="POST_DIR,SUBMIT_DIR,libIGCM,R_INIT,R_BC,StandAlone,RESOL_ATM,RESOL_OCE,RESOL_ICE,RESOL_MBG,RESOL_SRF,RESOL_BIOS" 
     813export RESOL_ATM; export RESOL_OCE ; export RESOL_ICE ; export RESOL_MBG ; export RESOL_SRF ; export RESOL_SBG 
     814 
     815listVarEnv="POST_DIR,SUBMIT_DIR,libIGCM,R_INIT,R_BC,StandAlone,RESOL_ATM,RESOL_OCE,RESOL_ICE,RESOL_MBG,RESOL_SRF,RESOL_SBG" 
    804816export listVarEnv 
    805817 
  • trunk/libIGCM/AA_rebuild_fromArchive

    r207 r213  
    2222#-Q- sx8brodie # pour recevoir un mail en cas de depassement du temps Elapsed (ou autre pb.) 
    2323#-Q- sx8brodie # @ notification = error 
    24 #-Q- sx8brodie # @ environment  = $DEBUG_debug ; $MODIPSL ; $libIGCM ; $libIGCM_SX ; $SUBMIT_DIR ; $REBUILD_DIR ; $RebuildFromArchive ; $POST_DIR ; $DateBegin ; $PeriodDateBegin ; $PeriodDateEnd ; $NbRebuildDir ; $StandAlone ; $RESOL_ATM ; $RESOL_OCE ; $RESOL_ICE ; $RESOL_MBG ; $RESOL_SRF ; $MASTER ; $config_UserChoices_JobName ; $R_SAVE 
     24#-Q- sx8brodie # @ environment  = $DEBUG_debug ; $MODIPSL ; $libIGCM ; $libIGCM_SX ; $SUBMIT_DIR ; $REBUILD_DIR ; $RebuildFromArchive ; $POST_DIR ; $DateBegin ; $PeriodDateBegin ; $PeriodDateEnd ; $NbRebuildDir ; $StandAlone ; $RESOL_ATM ; $RESOL_OCE ; $RESOL_ICE ; $RESOL_MBG ; $RESOL_SRF ; RESOL_SBG ; $MASTER ; $config_UserChoices_JobName ; $R_SAVE 
    2525#-Q- sx8brodie # @ queue 
    2626#-Q- aix6 #!/bin/ksh 
     
    3838#-Q- aix6 # pour recevoir un mail en cas de depassement du temps Elapsed (ou autre pb.) 
    3939#-Q- aix6 # @ notification = error 
    40 #-Q- aix6 # @ environment  = $DEBUG_debug ; $MODIPSL ; $libIGCM ; $libIGCM_SX ; $SUBMIT_DIR ; $REBUILD_DIR ; $RebuildFromArchive ; $POST_DIR ; $DateBegin ; $PeriodDateBegin ; $PeriodDateEnd ; $NbRebuildDir ; $StandAlone ; $RESOL_ATM ; $RESOL_OCE ; $RESOL_ICE ; $RESOL_MBG ; $RESOL_SRF ; $MASTER ; $config_UserChoices_JobName ; $R_SAVE 
     40#-Q- aix6 # @ environment  = $DEBUG_debug ; $MODIPSL ; $libIGCM ; $libIGCM_SX ; $SUBMIT_DIR ; $REBUILD_DIR ; $RebuildFromArchive ; $POST_DIR ; $DateBegin ; $PeriodDateBegin ; $PeriodDateEnd ; $NbRebuildDir ; $StandAlone ; $RESOL_ATM ; $RESOL_OCE ; $RESOL_ICE ; $RESOL_MBG ; $RESOL_SRF ; RESOL_SBG ; $MASTER ; $config_UserChoices_JobName ; $R_SAVE 
    4141#-Q- aix6 # @ queue 
    4242#-Q- sx8mercure #!/bin/ksh 
     
    104104PeriodDateBegin=${PeriodDateBegin:=18901201} 
    105105 
     106#D- Name of the job to work in a standalone mode (needed for mask patch) 
     107#D- Default : value from config.card if any 
     108config_UserChoices_JobName=${config_UserChoices_JobName:=name_of_the_job} 
     109 
     110#D- Directory where output data are stored (needed in standalone mode for mask patch ) 
     111#D- Default : value from AA_job if any 
     112R_SAVE=${R_SAVE:=/path/to/your/ARCHIVE/FILES} 
     113 
    106114#D- Flag to determine atlas job's output directory 
    107115#D- Default : value from libIGCM_post.ksh if any 
     
    134142#D- Flag to determine surface resolution 
    135143#D- Default : value from surface driver if any 
    136 RESOL_SRF=${RESOL_SRF:=ALL} 
     144RESOL_SRF=ALL 
    137145 
    138 #D- Name of the job to work in a standalone mode (needed for mask patch) 
    139 #D- Default : value from config.card if any 
    140 config_UserChoices_JobName=${config_UserChoices_JobName:=name_of_the_job} 
    141  
    142 #D- Directory where output data are stored (needed in standalone mode for mask patch ) 
    143 #D- Default : value from AA_job if any 
    144 R_SAVE=${R_SAVE:=/path/to/your/ARCHIVE/FILES} 
     146#D- Flag to determine surface resolution 
     147#D- Default : value from surface driver if any 
     148RESOL_SBG=ALL 
    145149 
    146150######################################################################## 
  • trunk/libIGCM/AA_rebuild_fromWorkdir

    r207 r213  
    2222#-Q- sx8brodie # pour recevoir un mail en cas de depassement du temps Elapsed (ou autre pb.) 
    2323#-Q- sx8brodie # @ notification = error 
    24 #-Q- sx8brodie # @ environment  = $DEBUG_debug ; $MODIPSL ; $libIGCM ; $libIGCM_SX ; $SUBMIT_DIR ; $REBUILD_DIR ; $RebuildFromArchive ; $POST_DIR ; $DateBegin ; $PeriodDateBegin ; $PeriodDateEnd ; $NbRebuildDir ; $StandAlone ; $RESOL_ATM ; $RESOL_OCE ; $RESOL_ICE ; $RESOL_MBG ; $RESOL_SRF ; $MASTER ; $config_UserChoices_JobName ; $R_SAVE 
     24#-Q- sx8brodie # @ environment  = $DEBUG_debug ; $MODIPSL ; $libIGCM ; $libIGCM_SX ; $SUBMIT_DIR ; $REBUILD_DIR ; $RebuildFromArchive ; $POST_DIR ; $DateBegin ; $PeriodDateBegin ; $PeriodDateEnd ; $NbRebuildDir ; $StandAlone ; $RESOL_ATM ; $RESOL_OCE ; $RESOL_ICE ; $RESOL_MBG ; $RESOL_SRF ; RESOL_SBG ; $MASTER ; $config_UserChoices_JobName ; $R_SAVE 
    2525#-Q- sx8brodie # @ queue 
    2626#-Q- aix6 #!/bin/ksh 
     
    3939#-Q- aix6 # pour recevoir un mail en cas de depassement du temps Elapsed (ou autre pb.) 
    4040#-Q- aix6 # @ notification = error 
    41 #-Q- aix6 # @ environment  = $DEBUG_debug ; $MODIPSL ; $libIGCM ; $libIGCM_SX ; $SUBMIT_DIR ; $REBUILD_DIR ; $RebuildFromArchive ; $POST_DIR ; $DateBegin ; $PeriodDateBegin ; $PeriodDateEnd ; $NbRebuildDir ; $StandAlone ; $RESOL_ATM ; $RESOL_OCE ; $RESOL_ICE ; $RESOL_MBG ; $RESOL_SRF ; $MASTER ; $config_UserChoices_JobName ; $R_SAVE 
     41#-Q- aix6 # @ environment  = $DEBUG_debug ; $MODIPSL ; $libIGCM ; $libIGCM_SX ; $SUBMIT_DIR ; $REBUILD_DIR ; $RebuildFromArchive ; $POST_DIR ; $DateBegin ; $PeriodDateBegin ; $PeriodDateEnd ; $NbRebuildDir ; $StandAlone ; $RESOL_ATM ; $RESOL_OCE ; $RESOL_ICE ; $RESOL_MBG ; $RESOL_SRF ; RESOL_SBG ; $MASTER ; $config_UserChoices_JobName ; $R_SAVE 
    4242#-Q- aix6 # @ queue 
    4343#-Q- sx8mercure #!/bin/ksh 
     
    105105PeriodDateBegin=${PeriodDateBegin:=18901201} 
    106106 
     107#D- Name of the job to work in a standalone mode (needed for mask patch) 
     108#D- Default : value from config.card if any 
     109config_UserChoices_JobName=${config_UserChoices_JobName:=name_of_the_job} 
     110 
     111#D- Directory where output data are stored (needed in standalone mode for mask patch) 
     112#D- Default : value from AA_job if any 
     113R_SAVE=${R_SAVE:=/path/to/your/ARCHIVE/FILES} 
     114 
    107115#D- Flag to determine atlas job's output directory 
    108116#D- Default : value from libIGCM_post.ksh if any 
     
    135143#D- Flag to determine surface resolution 
    136144#D- Default : value from surface driver if any 
    137 RESOL_SRF=${RESOL_SRF:=ALL} 
     145RESOL_SRF=ALL 
    138146 
    139 #D- Name of the job to work in a standalone mode (needed for mask patch) 
    140 #D- Default : value from config.card if any 
    141 config_UserChoices_JobName=${config_UserChoices_JobName:=name_of_the_job} 
    142  
    143 #D- Directory where output data are stored (needed in standalone mode for mask patch) 
    144 #D- Default : value from AA_job if any 
    145 R_SAVE=${R_SAVE:=/path/to/your/ARCHIVE/FILES} 
     147#D- Flag to determine surface resolution 
     148#D- Default : value from surface driver if any 
     149RESOL_SBG=ALL 
    146150 
    147151######################################################################## 
Note: See TracChangeset for help on using the changeset viewer.