Problems with using the restart function in Icepack (stand alone)

MarekM

New Member
Hei,

I have some problems with using the Icepack restart function (Version: 1.5.3). I'm running Icepack on a MacBook (with Tahoe 26.6 and a Apple M5 chip). I think my problem is similar to this post, which does not contain a solution. Additionally, for me the problem is persistent with both using the 'bin' and 'nc' output versions for the restart. So maybe I just miss a setting somewhere?

My overall goal is to let a simulation run for, for example, 7 days without any thermodynamics and then restart the simulation with the thermodynamics turned on. Thus, my simulations run in two different case folders. One is case-spinup and one is case-from-restart.

How to create my problem & what are the error messages

Case 1 with restart_format = 'bin'

Compiling and running case-spinup worked fully fine. I am a bit confused by the look of the restart file as I expected it to be a human-readable txt file, but maybe I misunderstood this. The following files are in case-01-spinup.zip: icepack_in, icepack.settings, icepack.runlog.... , iced..... (which is the restart file).

If I then try to run case-from-restart, my setup compiles, but it does not run. The main error message is the following:

At line 318 of file ..../Icepack-Icepack1.5.3/configuration/driver/icedrv_restart.F90 (unit = 12, file = 'default')
Fortran runtime error: End of file


This further indicates to me that something is off with my restart file. The runlog for this run is in file icepack.runlog.260807-103639.txt.

Case 2 with restart_format = 'nc'
Again, compiling and running case-spinup worked fully fine. The restart nc file is also created and looks like a proper file (I will add the nc dump into the comments as it seems like I run out of characters for this post.).

If I then try to run case-from-restart, my setup compiles, but it does not run. The main error message is the following:

Reading ..../icepack-dirs/input/Icepack_data/forcing/itdinput.txt
Using restart dump=default
(icedrv_system_abort) ABORTED:

(icedrv_system_abort) called from ..../Icepack-Icepack1.5.3/configuration/driver/icedrv_restart.F90
(icedrv_system_abort) line number 326
(icedrv_system_abort) string = (restartfile)Couldnt open netcdf file


The full runlog for this run is in file: icepack.runlog.260807-110828.txt.

Thanks for any pointer or help!
 

Attachments

dbailey

CSEG and Liaisons
Staff member
I am able to reproduce the failure. I will let you know if I can resolve it. In the meantime, just extend the length of the initial run. Icepack is so fast you can run it for 100 years easily.
 
Vote Upvote 0 Downvote

dbailey

CSEG and Liaisons
Staff member
Actually, I found the problem. You need to set ice_ic and restart:

ice_ic = './restart/iced.YYYY-MM-DD-00000'
restart = .true.

in my case out of the box, ice_ic = './restart/iced.2016-01-01-00000'
 
Vote Upvote 0 Downvote
Back
Top