Changeset 380 for trunk/libIGCM/AA_job


Ignore:
Timestamp:
11/09/10 16:02:49 (14 years ago)
Author:
sdipsl
Message:
  • Add a IGCM_config_Check function to test coherency between post-processing frequency. See #29. Will exit before execution if incoherency are found (example rebuild every 6 months, having a 1Y PeriodLenght? and a 2 months TimeSeriesFrequency?...)
  • libIGCM_post.ksh refactoring, making general function to handle frequency, easier to read hopefully. Still some simplification to add
  • DRYRUN was not maintain since a long time. Fix that. Minor adaptation still need to be done for sx8 and sx9 (ie when you want to DRYRUN from a machine initially devoted to the post-processing). DRYRUN is aimed for developpement purpose, prefer StandAlone? method to post-process after the fact.
  • we clean SUBMIT_DIR keeping only the 5 youngest Script_Output_* files. Good for workdir quota.
  • simplify rebuildFrom* options : remove R_SAVE and config_UserChoices_JobName used by IGCM_Patch_20091118_mask.ksh. rebuild.ksh will define that ; AA_create* already know that.
  • when exiting because of a RErun an old job : be more explicit and point the files who initiated this action, together with a link to clean_month.job
  • remove some redundant typeset
  • clean libIGCM_sys.ksh : remove machines
  • and cosmetics.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_job

    r373 r380  
    285285#D- Will stop here if something is wrong 
    286286# --------------------------------------------------------------------== 
    287 #IGCM_config_Check 
     287IGCM_config_Check 
     288 
     289# ------------------------------------------------------------------ 
     290#D- Test if all was right before entering the period loop 
     291# ------------------------------------------------------------------ 
     292IGCM_debug_Verif_Exit 
    288293 
    289294#D--------------------------------------------------------------------== 
     
    487492    #D- 
    488493    # ------------------------------------------------------------------ 
     494    #D- Configure asynchronous post-treatment (Level 0) when necessary (rebuild) 
     495    #D- Configure classic post-treatment (Level 1) when necessary (TimeSeries/Seasonal) 
     496    # ------------------------------------------------------------------ 
     497    IGCM_post_Configure 
     498 
     499    #D- 
     500    # ------------------------------------------------------------------ 
    489501    #D- Launch remote rebuild or/and post-treatment process if necessary 
    490502    # ------------------------------------------------------------------ 
    491     IGCM_post_Configure 
     503    IGCM_post_Submit 
    492504 
    493505    #D- 
     
    497509    #D- Write in run.card user, system and elapse time 
    498510    #D- Check that everything went well ! No ? then we stop. 
    499     #D- Determine next computed period  
     511    #D- Determine next computed period 
    500512    # ------------------------------------------------------------------ 
    501513    IGCM_config_PeriodEnd 
Note: See TracChangeset for help on using the changeset viewer.