# Shorten model JULES Isimip

**URL:** https://cms-helpdesk.ncas.ac.uk/t/shorten-model-jules-isimip/1482
**Category:** JULES
**Tags:** JASMIN, JULES
**Created:** [18 July 2024 12:47 UTC](https://cms-helpdesk.ncas.ac.uk/t/shorten-model-jules-isimip/1482 "2024-07-18T12:47:30Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![MariaPVG](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/mariapvg/32/431_2.png) [@MariaPVG](https://cms-helpdesk.ncas.ac.uk/u/MariaPVG)
#### Post date: [18 July 2024 12:47 UTC](https://cms-helpdesk.ncas.ac.uk/t/shorten-model-jules-isimip/1482/1 "2024-07-18T12:47:31Z")

</div>

Hi there,  
I wish to continue a [closed topic](https://cms-helpdesk.ncas.ac.uk/t/running-jules-from/1455/7). Sorry, I had a busy time.  
Summary: I am trying to shorten the running time of an isimip3a suite, which runs in two period: a spinup from 1801 and then from 1901-2022, the historic run. That information is in \<./model\_scenario\_info\_isimip3a.dat\>. It requires some input data, which now are in the folders \</home/users/eempvg/MODELS/Obsclim/drive\_files.dat\> listed on. Since I want to run a shorter period we remove some files from the list, which had 24 rows at the beging an now has 6. We changed the “drive\_nfiles\_hist” from 23 to 5, “styr\_drive\_hist” from 1801 to 1981 and “styr\_post\_hist” from 1901 to 1981. The year (1981) was selected to match the dumpfiles’ availability.

I am presenting the problem and how it has progressed including the recommendation for the [closed topic](https://cms-helpdesk.ncas.ac.uk/t/running-jules-from/1455/7). Everythingh seemed to be fine, but the suit **u-dh532** failled just after the spinups with the following error:

_{MPI Task 5} [FATAL ERROR] INIT\_DRIVE: Error reading file name/time pair from file (IOSTAT=-1 IOMSG=end-of-file during read, unit 1, file /home/users/eempvg/MODELS/Obsclim/drive\_files.dat)_

Any help is really apreciated, remember my new suite is **u-dh532**.

Maria Paula

---

<div class="post-metadata">

### Author: ![david.livings](https://avatars.discourse-cdn.com/v4/letter/d/d07c76/32.png) [@david.livings](https://cms-helpdesk.ncas.ac.uk/u/david.livings)
#### Post date: [18 July 2024 15:10 UTC](https://cms-helpdesk.ncas.ac.uk/t/shorten-model-jules-isimip/1482/2 "2024-07-18T15:10:09Z")

</div>

Hi Maria Paula

I’ll have a look, but you’ll need to enable read permission for other users to your home directory first so that I can see `/home/users/eempvg/MODELS/Obsclim/drive_files.dat`. The command

`chmod g+rx ~`

should do it.

David

---

<div class="post-metadata">

### Author: ![MariaPVG](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/mariapvg/32/431_2.png) [@MariaPVG](https://cms-helpdesk.ncas.ac.uk/u/MariaPVG)
#### Post date: [18 July 2024 15:27 UTC](https://cms-helpdesk.ncas.ac.uk/t/shorten-model-jules-isimip/1482/3 "2024-07-18T15:27:33Z")

</div>

Thank you. I gave the permission, I hope.

Maria Paula

---

<div class="post-metadata">

### Author: ![david.livings](https://avatars.discourse-cdn.com/v4/letter/d/d07c76/32.png) [@david.livings](https://cms-helpdesk.ncas.ac.uk/u/david.livings)
#### Post date: [19 July 2024 12:22 UTC](https://cms-helpdesk.ncas.ac.uk/t/shorten-model-jules-isimip/1482/4 "2024-07-19T12:22:55Z")

</div>

Hi Maria Paula

The error appears to be occurring in subroutine `init_drive` because the variable `nfiles` in namelist `jules_drive` is causing the program to try to read beyond the end of `drive_files.dat`. Tracing the source of `nfiles` back through `app/jules/rose-app.conf`, `suite.rc`, and `model_scenario_info_isimip3a.dat`, it appears that it could come from either `drive_nfiles_hist` under `drive_info` or `drive_nfiles_hist_isimip3a` under `drive_nfiles_hist_isimip3a_info`. I’m not sure how all the suite machinery works, but I suspect that it’s the latter value (equal to 24) that is being used.

I had a look in the suite’s README file to see whether there was any information on what the different `drive_nfiles_hist` variables mean. There wasn’t, but I did notice that the FAQs at the end suggest a different way of changing the start date. Have you tried that?

David

---

<div class="post-metadata">

### Author: ![MariaPVG](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/mariapvg/32/431_2.png) [@MariaPVG](https://cms-helpdesk.ncas.ac.uk/u/MariaPVG)
#### Post date: [19 July 2024 14:15 UTC](https://cms-helpdesk.ncas.ac.uk/t/shorten-model-jules-isimip/1482/5 "2024-07-19T14:15:40Z")

</div>

Hi David,  
I didn’t try; thank you for pointing that out. I defined RESTART\_HIST=true and RESTART\_HIST\_YEAR=1981, as suggested in the README, and now the model is running, but I need to wait to see if it works and if the model goes further than before.

Maria Paula

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex013/uploads/cms_support/original/1X/1fd2411499ffcbc299fe756cd5cdf26e44956558.png) [@system](https://cms-helpdesk.ncas.ac.uk/u/system)
#### Post date: [22 July 2024 09:45 UTC](https://cms-helpdesk.ncas.ac.uk/t/shorten-model-jules-isimip/1482/6 "2024-07-22T09:45:52Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
