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/libIGCM_comp/libIGCM_comp.ksh

    r1580 r1603  
    245245          fi 
    246246        fi 
     247        ((i_ = i +1)) 
     248        eval Testvar_=\${${ListFilesName}[$i_]} > /dev/null 2>&1 
     249        eval Testvar=${Testvar_} 
     250        if [[ ${Testvar} =~ [0-9][DMY]$ ]] ; then 
     251            ((i = i+4)) 
     252        else 
    247253        (( i=i+3 )) 
     254        fi 
    248255      done 
    249256    fi 
     
    19191926          fi 
    19201927        fi 
     1928        ((i_ = i_ +1)) 
     1929        eval Testvar_=\${${ListFilesName}[$i_]} > /dev/null 2>&1 
     1930        eval Testvar=${Testvar_} 
     1931        if [[ ${Testvar} =~ [0-9][DMY]$ ]] ; then 
     1932            ((i = i+4)) 
     1933        else 
    19211934        (( i=i+3 )) 
     1935        fi 
    19221936      done 
    19231937    fi 
Note: See TracChangeset for help on using the changeset viewer.