| 263 | |
| 264 | |
| 265 | ## Restarting the model after a crash ## |
| 266 | |
| 267 | Sometimes the coupled model crashes. Most common crashes occurs either in LMDZ or NEMO. |
| 268 | |
| 269 | LMDZ triggers an emergency stop when the temperature reaches values outside an acceptable range. It is mainly due to instabilities in the convection scheme. High resolutions are more prone to crash. |
| 270 | |
| 271 | NEMO triggers an emergency stop when the salinity becomes negative, or when the current is larger than 10 m/s. It happens mostly in ice covered regions. This is mainly due to and instable vertical advection scheme when a high vertical resolution is used (dz=1 m). |
| 272 | |
| 273 | ### What can I do ? ### |
| 274 | |
| 275 | Often, it is possible to restart the model. The procedure consists of adding a small perturbation to the coupler restarts. You can use a procedure that will add a random perturbation to a selected field. Generally, with perturb the sea surface temperature. It will change the trajectoire of the model and, hopfully, avoid the crash. If the models crashes often, you better discuss with some model specialist(s) |
| 276 | |
| 277 | ### Procedure ### |
| 278 | * In the model launching directory, run .`./../../libIGCM/clean_PeriodLength.job` to cleanup the last period. |
| 279 | * In the file `COMP/oasis.driver`, add in the `[UserChoices]` section the lines : |
| 280 | {{{ |
| 281 | ByPass_addnoise_sst=y |
| 282 | ByPass_PerturbExe=AddNoise |
| 283 | ByPass_FileOut=sstoc |
| 284 | ByPass_PerturbVar=O_SSTSST |
| 285 | ByPass_PerturbAmp=0.1 |
| 286 | }}} |
| 287 | |
| 288 | Note that the model will run `AddNoise` only once, and switch automatically to `ByPass_addnoise_sst=n` |