Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

...

As with Um_lance, Chunk_lance needs to get executed from the config file directory and the model environment needs to have been set. To start a simulation from the beginning add the key '-start';

Volet
    Chunk_lance -start

To start a new simulation or continue a stopped simulation just execute the command without any key:

Volet
    Chunk_lance


The wallclock time for which one chunk_job will be running can be set in the file 'configexp.dot.cfg' with the parameter 'BACKEND_time_mod'.

In case the model job fails it will automatically get reexecuted a second time.


Chnk_lance offers the option of re-executing a model job multiple times in case of a crash. The key '-attempts' can be used to tell Chunk_lance how many time to re-execute a model job.
    '-attempts 1' means just one attempt,
    '-attempts 1' means two attempts, etc.

Depending on the version you are using the default is 1 or 2. You can check the default with the command:


Volet
    Chunk_lance -h

*** SEQUENCE D'APPEL ***

Chunk_lance [positionnels]  
IN       -attempts [1:1] Restart attempts  
IN       -start [0:1] Restart simulation from beginning  
IN       -nosoumet [0:1] Do not submit but execute chunk_job  
         [-- positionnels]


In case the whole simulation crashes, it can easily get resubmitted by executing 'Chunk_lance' again.


Note:
To know where the simulation was, Chunk_lance is using a log file called 'chunk_job.log'. The chunk_job itself will check this file to determine which job to execute next. Therefore this log file should not be touched.
However, to rerun part of a simulation one can alter the log file by hand. Just make sure there is never a blank line at the end of the log file since the chunk_job only checks the very last line of the log file!


But sometimes Sometimes it happens that part of the restart files gets overwritten before a month is finished or that the restart files are corrupted. In that case we cannot just relaunch the month with Chunk_lance but have to get the original last uncorrupted restart files back (from the previous month) etc. and restart the simulation from there.

...