[mpas-developers] restart capability

Michael Duda duda at ucar.edu
Mon Apr 26 13:50:24 MDT 2010


Hi, Todd et Developers.

Your interpretation of the restart namelist variables is correct
with the exception of the last variable, config_restart_time,
which is the time to restart from. The available restart times
will depend on config_dt and config_restart_interval, and can be
found, e.g., through the command 'ncdump -v xtime restart.nc'.

For example, suppose we make an inital run with 

&sw_model
   config_ntimesteps = 480,
   config_dt = 3600,
/

&restart
   config_restart_interval = 240,
   config_do_restart = .false.,
/

After the run finishes (and assuming the run went to completion),
we should have two restart times to choose from in the restart.nc
file: 864000 and 1728000 (n * dt * restart_interval for positive
integers n). To restart from the last time, then, we just set

&restart
   config_restart_interval = 240,
   config_do_restart = .true.,
   config_restart_time = 1728000,
/

Actually, if config_restart_time doesn't exactly match one of the
times in the xtime variable, then the code should choose the
closest available restart time, but it sounds like that logic
might be failing somehow for config_restart_time = 0.0.

Cheers,
Michael


On Mon, Apr 26, 2010 at 12:51:32PM -0600, Todd Ringler wrote:
> 
> Hi All,
> 
> Is anyone utilizing the restart capability in any of the MPAS model  
> components? I have taken a quick stab at this in the ocean component  
> with no luck. I am wondering if I am missing something simple.
> 
> Just to make sure that I am on the right track, a definition of the  
> members in the namelist might be in order.
> 
> 
> &restart
>     config_restart_interval = 14400     (this is clear, write a  
> restart every _interval)
>     config_do_restart = .false.              (i am guessing that this  
> is true when starting from a restart)
>     config_restart_time = 0.0                 (i am guessing that this  
> resets the time when doing a restart)
> /
> 
> 
> Cheers,
> Todd
> _______________________________________________
> mpas-developers mailing list
> mpas-developers at mailman.ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/mpas-developers


More information about the mpas-developers mailing list