Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This page describes how to configure and use the model restart facility.

...

n.b. the restarted run must always have the same parallel decomposition (TASKS x THREADS)

How to configure restarts

The namelist NAMRES controls model restarts (see ifs/namelist/namres.h). The most useful variables in this namelist are: NFFRES and NRESTS.

...

By default, old restart files are automatically deleted. This is advisable because the files can be very large. One restart file at T1279 is approx 500Mb when using 128 MPI tasks, giving a total restart file requirement of approx 64Gb. Changing this behaviour is not possible via NAMRES. Instead, edit the file ifs/setup/sures.F90 and change the default value of LDELRES to TRUE.

Model code

The key subroutines for restarts are:

monio.F90 - sets up the internal arrays to determine write times

wrresf.F90 - calls the I/O subsystem to write out the model arrays. If you add more arrays to the model and want them to appear in restart files, change this routine.

 

 

HTML
<script type="text/javascript" src="https://software.ecmwf.int/issues/s/en_UKet2vtj/787/12/1.2.5/_/download/batch/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector.js?collectorId=5fd84ec6"></script>

...