Ignore:
Timestamp:
10/25/23 14:34:02 (7 months ago)
Author:
aclsce
Message:
  • Changed libIGCM behaviour in case of pb in pack_output.job : now, we exit from the job if there is any problem, whatever we are in PROD, DEVT, TEST mode.
  • Specification of pack frequency per file :

In order to reduce the number of inodes, it is possible to specify by file the frequency of packing. The syntax to do that is in the 4th column of OutputFiles? section of the component.card, for example as follows in lmdz.card :
[OutputFiles?]
List= (histmth.nc, ${R_OUT_ATM_O_M}/${PREFIX}_1M_histmth.nc, Post_1M_histmth, 100Y), \

(histday.nc, ${R_OUT_ATM_O_D}/${PREFIX}_1D_histday.nc, Post_1D_histday, 10Y), \

...

In this example, histmth files will be packed every 100 years and histday files will be packed every 10 years.
The pack frequency you defined in config.card is the frequency of pack by default, that means if a specific frequency of pack is specified for a file in a component.card, this file will be packed at the specific frequency whereas all other files will be packed at global pack frequency (specified in config.card) and in this case, the frequency pack (from the config.card) is the frequency the pack_output job will be launched at.
There is a constraint to use this fonctionality : the Packfrequency you defined in config.card must be greater or equal to the pack frequencies you specified for each type of file in component.card, otherwise the computing job will be stopped (with an explicit error message).
Surpack mode :
A surpack mode functionality is available through the use of pack_output.job. To enable this functionality, you have to put "surpack_mode=y" (default value is n). The way to use is similar to restart post-processing pack_output jobs, as indicated here : http://forge.ipsl.jussieu.fr/igcmg_doc/wiki/Doc/CheckDebug#RestartPack_output. You can either use a global pack frequency in config.card or specific pack frequency per file, as explained above.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_SE_Checker

    r1525 r1603  
    212212          # 
    213213          if [ ! X$( eval echo \${${compname}_${flag_post}_Seasonal} ) = XON ] ; then 
     214              (( i_ = i+1 )) 
     215              eval Testvar_=\${${ListFilesName}[$i_]} > /dev/null 2>&1 
     216              eval Testvar=${Testvar_} 
     217              if [[ ${Testvar} =~ [0-9][DMY]$ ]] ; then 
     218                  (( i = i+4 )) 
     219              else 
    214220            (( i=i+3 )) 
     221              fi 
    215222            continue 
    216223          fi 
     
    234241          fi 
    235242        fi 
    236         (( i=i+3 )) # to explore file list 
     243      (( i_ = i+1 )) # to explore file list 
     244      eval Testvar_=\${${ListFilesName}[$i_]} > /dev/null 2>&1 
     245      eval Testvar=${Testvar_} 
     246      if [[ ${Testvar} =~ [0-9][DMY]$ ]] ; then 
     247          (( i = i+4 )) 
     248      else 
     249          (( i=i+3 )) 
     250      fi 
    237251      done            # until [ $i -eq $NbFiles ] 
    238252    fi                  # [ X${FileName0} != X${NULL_STR} ] 
Note: See TracChangeset for help on using the changeset viewer.