Changes between Version 8 and Version 9 of Documentation/UserGuide/MinimizeDiscUsage


Ignore:
Timestamp:
2020-02-28T14:42:00+01:00 (4 years ago)
Author:
luyssaert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/UserGuide/MinimizeDiscUsage

    v8 v9  
    1515  
    1616== Avoid excessively large output files == 
    17 Better to prevent than to cure: don't tell libIGCM to write output files you will never use. Few users require all the output files for the objectives of their simulation experiments. You can simply tell libIGCM not to produce certain output files in the COMP/stomate.card and the COMP/sechiba.card. Users not interested in stomate output can change the default settings in the COMP/stomate.card to NONE. The NONE ensures the file is not produced. Applying this setting will take you few seconds but may help you saving lots of time in speeding up your simulations. In addition to making better use of the storage facilities this will also speed up the simulations themselves as input and output operations can take up a substantial share (5 to 20%) of the computing time.  
     17(1) Better to prevent than to cure: don't tell libIGCM to write output files you will never use. Few users require all the output files for the objectives of their simulation experiments. You can simply tell libIGCM not to produce certain output files in the COMP/stomate.card and the COMP/sechiba.card. Users not interested in stomate output can change the default settings in the COMP/stomate.card to NONE. The NONE ensures the file is not produced. If you don't know what is in the ipcc_history file you can set it to NONE. Applying this setting will take you few seconds but may help you saving lots of time in speeding up your simulations. In addition to making better use of the storage facilities this will also speed up the simulations themselves as input and output operations can take up a substantial share (5 to 20%) of the computing time.  
    1818{{{ 
    19 output_level_stomate_history = NONE 
     19output_level_stomate_history = 2 
    2020output_level_stomate_ipcc_history = NONE 
    2121output_level_stomate_history_4dim = NONE 
    2222}}} 
    2323[[BR]] 
    24 In the same COMP/stomate.card and COMP/sechiba.card, the user has to specify the temporal resolution of the output files. Daily files take 365 times more memory than annual files. Monthly files still take up 12 times the memory of an annual file. Speed up your simulation and save disk space by selecting the temporal resolution you will actually use. Note that the restart files could be wisely used to enable the user to speed up the model while reducing disk usage. For example: during the spin-up write only those variables that you will check (soil C and N pools) at an annual frequency. Following the spin-up the model will be restarted. These experiments will start from the spin-up but could be using a different temporal resolution and could write more variables to the output files. 
     24(2) In the same COMP/stomate.card and COMP/sechiba.card, the user has to specify the temporal resolution of the output files. Daily files take 365 times more memory than annual files. Monthly files still take up 12 times the memory of an annual file. Speed up your simulation and save disk space by selecting the temporal resolution you will actually use. Applying this setting will take you few seconds but may help you saving lots of time in speeding up your simulations. In addition to making better use of the storage facilities this will also speed up the simulations themselves as input and output operations can take up a substantial share (5 to 20%) of the computing time. 
     25{{{ 
     26output_freq_stomate_history = 1mo 
     27output_freq_stomate_ipcc_history = 1y 
     28output_freq_stomate_history_4dim = 1y 
     29}}}  
     30[[BR]] 
     31(3) Note that the restart files could be wisely used to enable the user to speed up the model while reducing disk usage. For example: during the spin-up write only those variables that you will check (soil C and N pools) at an annual frequency. Following the spin-up the model will be restarted. These experiments will start from the spin-up but could be using a different temporal resolution and could write more variables to the output files. 
    2532 
    26 ORCHIDEE makes use of predefined packages of output variables. If in the COMP/stomate.card or COMP/sechiba.card (orchidee.card and stomate.card in coupled experiments) you ask for output level 5, the model will use the ORCHIDEE/src_xml/file_def_orchidee.xml file to learn which output variables belong to which level. Level 5 implies that all variable with an output level smaller or equal to 5 will be written to the output files. If you are about to launch a large experiment, change the output levels in ORCHIDEE/src_xml/file_def_orchidee.xml such that only variables that will be used in post-processing and reporting are written. This will require some careful thinking about the post-processing prior to launching the simulations and it will also take a bit of time to adjust file_def_orchidee.xml but you will easily offset the invested time by speeding up the simulations. 
     33(4) ORCHIDEE makes use of predefined packages of output variables. If in the COMP/stomate.card or COMP/sechiba.card (orchidee.card and stomate.card in coupled experiments) you ask for output level 5, the model will use the ORCHIDEE/src_xml/file_def_orchidee.xml file to learn which output variables belong to which level. Level 5 implies that all variable with an output level smaller or equal to 5 will be written to the output files. If you are about to launch a large experiment, change the output levels in ORCHIDEE/src_xml/file_def_orchidee.xml such that only variables that will be used in post-processing and reporting are written. This will require some careful thinking about the post-processing prior to launching the simulations and it will also take a bit of time to adjust file_def_orchidee.xml but you will easily offset the invested time by speeding up the simulations. 
    2734 
    28 Pay special attention to the dimensions of the variables, ORCHIDEE writes out redundant variables (for example, variables aggregated to grid level AND on PFT level and variables with a much finer resolution than needed (for example, light absorbed at every canopy layer). If you have no plans to use these variables, don't write them to to the output files.  
     35(5) Pay special attention to the dimensions of the variables, ORCHIDEE writes out redundant variables (for example, variables aggregated to grid level AND on PFT level and variables with a much finer resolution than needed (for example, light absorbed at every canopy layer). If you have no plans to use these variables, don't write them to to the output files. 
     36 
     37(6) libIGCM writes several files to make your life easier when the model crashes but may be you are confident that the model will not crash. You can control thes files in COMP/stomate.card or COMP/sechiba.card (orchidee.card and stomate.card in coupled experiments). First makes sure that this list is not duplicated in stomate.card and sechiba.card. If duplicated the file will once be written in SRF/Debug and a second time in SBG/Debug. If not duplicated, only write the files you think you will need. 
     38{{{ 
     39[OutputText] 
     40List=   (used_run.def, used_orchidee.def, used_orchidee_pft.def, out_orchidee, river_desc.nc) 
     41}}} 
    2942 
    3043 
    31  
    32  
    33 == 2. After you ran the model: remove files which are not needed == 
    34 You can reduce the disc space usage to about 15% (in case of O-CN-P) by removing file you are likely never needing.  
     44== After you ran the model: remove files which are not needed == 
     45You can reduce the disk space usage to about 15% by removing files you are likely never going to use.  
    3546 
    3647=== Restart files === 
    37 Restart files allow to rerun the simulation from a certain year. This files are needed in case the model stops before it reached the end date and also allows you to rerun certain periods (for example if you need additional variables).  
    38  
    39 '''We recommend to only keep restart files for every 10th year or less frequently.'''  
     48Restart files allow to rerun the simulation from a certain year. This files are needed in case the model stops before it reached the end date and also allows you to rerun certain periods (for example if you need additional variables). By keeping the restart files for every 10th year or less frequent, you can still restart the model without losing too much time while reducing the disk storage.   
    4049 
    4150=== used_run.def === 
    42 The run.def for each model years is written out. In case you did not change parameters between years it is the same file for every year. In that case a single used_run.def would be sufficient. 
    43  
    44 '''We recommend to only keep used_run.def files for the year a change in parameters was introduced.'''  
    45  
     51The run.def for each model years is written out. In case you did not change parameters between years it is the same file for every year. In that case a single used_run.def would be sufficient. Keep the used_run.def files only for the year that a change in parameters was introduced.  
    4652 
    4753=== Debug files === 
    48 ORCHIDEE writes out files which help to debug the model and to see the set up used for the model. After successfully finished simulation some cleaning can be done in this folder.  
     54ORCHIDEE writes out files which help to debug the model and to see the set up used for the model. After successfully finished simulation some cleaning can be done in this folder. If you are quite confident that the run will succeed (because you have done a similar run before), don't write the debug files (see point (6) in the section above).  
    4955 
     56=== Remove the RUN_DIR === 
     57In case you specified a RUN_DIR make sure you remove this directory after the simulation has ended if the model crashed. This folder can be very large. if the period finished correctly, libIGCM will remove this directory. Only specify the RUN_DIR during testing and debugging. Use the default libIGCM settings for the RUN_DIR when running PROD simulations. 
     58  
    5059 
    51 == 3. After you ran the model: remove the RUN_DIR == 
    52 In case you specified a RUN_DIR make sure you remove this directory after the simulation has ended if the model crashed. This folder can be very large. if the period finished correctly, libIGCM will remove this directory.   
    53  
    54 ''' We recommend to remove immediately after the end of the model simulation the RUN_DIR.'''  
    55  
    56  
    57 == 4. Example of simple script to remove not needed files == 
     60== Example of a simple script (by D. Goll) to remove files after the run was completed == 
    5861{{{ 
    5962#!/bin/ksh