# Restarting OpenIFS

**URL:** <https://forum.ecmwf.int/t/restarting-openifs/12130>\
**Category:** OpenIFS\
**Tags:** openifs-configuration-and-namelists, openifs-40r1\
**Created:** [30 July 2018 09:12 UTC](https://forum.ecmwf.int/t/restarting-openifs/12130 "2018-07-30T09:12:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Glenn\_Carver](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/g/e495f1/32.png) [@Glenn\_Carver](https://forum.ecmwf.int/u/Glenn_Carver)\
**Post date:** [30 July 2018 09:12 UTC](https://forum.ecmwf.int/t/restarting-openifs/12130/1 "2018-07-30T09:12:00Z")

</div>

Hi all

I'm running a series of simulations with a coupled model (OpenIFS CY40R1 + NEMO/LIM2 v3.6 + OASIS3-MCT2.8). The first year seems to run fine, but when I try to restart the model I get the error&nbsp;

GRIB\_API ERROR : IO ERROR: No such file or directory: ICMSHKCM2INIT (No such file or directory)  
 GRIB\_OPEN\_FILE ICMSHKCM2INIT FAILED -11  
 GRIB\_API ERROR MSG: Input output problem  
 MPL\_ABORT: CALLED FROM PROCESSOR 1 THRD 1  
 MPL\_ABORT: THRD 1 GRIB\_OPEN\_FILE FAILED  
myproc#1,tid#1,pid#26324: MASTER  
myproc#1,tid#1,pid#26324: CNT0\<1\>  
myproc#1,tid#1,pid#26324: SU0YOMA  
myproc#1,tid#1,pid#26324: SUARG  
myproc#1,tid#1,pid#26324: IOSTREAM\_MIX:SETUP\_IOSTREAM  
myproc#1,tid#1,pid#26324: GRIB\_API:IGRIB\_OPEN\_FILE  
 SDL\_TRACEBACK: Calling INTEL\_TRBK, THRD = 1  
 Process 1 thread 1 calling tracebackqq from intel\_trbk()  
 Image PC Routine Line Source  
 openifs.exe 0000000000EA61BE Unknown Unknown Unknown  
 openifs.exe 00000000009F3FE1 intel\_trbk\_ 33 gentrbk.F90  
 openifs.exe 0000000000A44264 sdl\_mod\_mp\_sdl\_tr 66 sdl\_mod.F90  
 openifs.exe 0000000000A45422 mpl\_abort\_mod\_mp\_ 36 mpl\_abort\_mod.F90  
 openifs.exe 0000000000A8629B grib\_api\_interfac 388 grib\_api\_interface.F90  
 openifs.exe 0000000000AD315D iostream\_mix\_mp\_s 554 iostream\_mix.F90  
 openifs.exe 000000000053EBFC suarg\_ 487 suarg.F90  
 openifs.exe 000000000051F4C0 su0yoma\_ 149 su0yoma.F90  
 openifs.exe 0000000000415E54 cnt0\_ 118 cnt0.F90  
 openifs.exe 000000000040FCBF MAIN\_\_ 64 master.F90  
 openifs.exe 000000000040FC5E Unknown Unknown Unknown  
 libc.so.6 00002AAAB13B4C36 Unknown Unknown Unknown  
 openifs.exe 000000000040FB69 Unknown Unknown Unknown

I'm guessing the problem is that the initial conditions are not present (ICMSHKCM2INIT, ICMGGKCM2INIT,&nbsp;ICMGGKCM2INIUA).&nbsp;

My question is, why are these files needed? It is a restart, so the "initial condition" should be the last step from the previous run, which is in the "srf" files. The "rcf" file is in the run directory, so OpenIFS should know it's a restart.&nbsp;

Or are the INIT files always needed to set up the grid or something? If so, is there a control print somewhere in the NODE file so I can make sure OpenIFS is actually using the restart files for initial conditions?&nbsp;

Cheers

Joakim&nbsp;

---

<div class="post-metadata">

**Author:** ![Glenn\_Carver](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/g/e495f1/32.png) [@Glenn\_Carver](https://forum.ecmwf.int/u/Glenn_Carver)\
**Post date:** [3 August 2018 14:05 UTC](https://forum.ecmwf.int/t/restarting-openifs/12130/2 "2018-08-03T14:05:49Z")

</div>

Hi Joakim,

The model gets it's grid information and maybe the land-sea mask from the initial files. I'd need to check the model code to see exactly what's used but I know IFS gets it's grid information from the initial files.

Yes, there is a entry in the NODE\_001.01 logfile (I've just tried it) to confirm it's reading the srf\* restart files:

```
START CNT3
READING RESTART FILES - STEP=000000072
```

You'll also know the model is restarting because it will print a timestep number that follows from the previous run. Remember you need to increase NSTOP when doing restarts. If you do a first run with NSTOP=24 (say) with restarts enabled, unless you increase NSTOP on the restart the model will just read the restart files and stop because it thinks all the steps have been completed.

Cheers,&nbsp; Glenn

---

<div class="post-metadata">

**Author:** ![Joakim\_Kjellsson](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/j/e19b73/32.png) [@Joakim\_Kjellsson](https://forum.ecmwf.int/u/Joakim_Kjellsson)\
**Post date:** [3 August 2018 21:31 UTC](https://forum.ecmwf.int/t/restarting-openifs/12130/3 "2018-08-03T21:31:51Z")

</div>

Hi Glenn

Thanks for the reply. I've looked, and there is a line

START CNT3  
 READING RESTART FILES - STEP=000008760

in my NODE file, so it all seems correct then. I guess the INIT files are just needed for setting up the grid.&nbsp;

Have a good weekend!

Joakim&nbsp;
