# Ice\_read\_nc\_xy: Cannot find variable licefw\_io

**URL:** <https://forum.access-hive.org.au/t/ice-read-nc-xy-cannot-find-variable-licefw-io/332>\
**Category:** COSIMA\
**Created:** [18 January 2023 00:38 UTC](https://forum.access-hive.org.au/t/ice-read-nc-xy-cannot-find-variable-licefw-io/332 "2023-01-18T00:38:35Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![PSpence](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/pspence/32/298_2.png) [@PSpence](https://forum.access-hive.org.au/u/PSpence)\
**Post date:** [18 January 2023 00:38 UTC](https://forum.access-hive.org.au/t/ice-read-nc-xy-cannot-find-variable-licefw-io/332/1 "2023-01-18T00:38:35Z")

</div>

Hi Folks,

I am trying to setup a new 01deg\_jra55\_ryf for someone. I am following these quick start instructions:

> **[Getting started · COSIMA/access-om2 Wiki](https://github.com/COSIMA/access-om2/wiki/Getting-started#quick-start)**
>
> ACCESS-OM2 global ocean - sea ice coupled model configurations. - Getting started · COSIMA/access-om2 Wiki

The model runs fine from initial conditions. However, when I grab restarts from here:  
/g/data/ik11/outputs/access-om2-01/01deg\_jra55v13\_ryf9091/restart995

the model crashes with:  
ice\_read\_nc\_xy: Cannot find variable licefw\_io

* * *

MPI\_ABORT was invoked on rank 4359 in communicator MPI\_COMM\_WORLD

with errorcode 1.

What am I doing wrong?

Thanks!

Paul  
PS - I am not sure if this is an appropriate hive topic. Is COSIMA slack dead now?

---

<div class="post-metadata">

**Author:** ![rmholmes](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/rmholmes/32/117_2.png) [@rmholmes](https://forum.access-hive.org.au/u/rmholmes)\
**Post date:** [18 January 2023 01:07 UTC](https://forum.access-hive.org.au/t/ice-read-nc-xy-cannot-find-variable-licefw-io/332/2 "2023-01-18T01:07:43Z")

</div>

Hi Paul,

If you’re using the latest master of [GitHub - COSIMA/01deg\_jra55\_ryf: 0.1 degree ACCESS-OM2 experiment with JRA55 RYF atmospheric forcing.](https://github.com/COSIMA/01deg_jra55_ryf), then the problem is probably the forcing versions - you’re trying to intialize a JRA55-do v1.4 from a JRA55-do v1.3 restart. If you want to use that restart, you’d want to use the v1.3 forcing, which I think is in this branch: [GitHub - COSIMA/01deg\_jra55\_ryf at 01deg\_jra55v13\_ryf9091](https://github.com/COSIMA/01deg_jra55_ryf/tree/01deg_jra55v13_ryf9091).

We have collected some information on standard COSIMA control runs on this forum: [ACCESS-OM2 Control Runs](https://forum.access-hive.org.au/t/access-om2-control-runs/258)

---

<div class="post-metadata">

**Author:** ![PSpence](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/pspence/32/298_2.png) [@PSpence](https://forum.access-hive.org.au/u/PSpence)\
**Post date:** [18 January 2023 01:38 UTC](https://forum.access-hive.org.au/t/ice-read-nc-xy-cannot-find-variable-licefw-io/332/3 "2023-01-18T01:38:18Z")

</div>

Thanks Ryan for the quick response 🙂

I thought I was cloning [GitHub - COSIMA/01deg\_jra55\_ryf at 01deg\_jra55v13\_ryf9091](https://github.com/COSIMA/01deg_jra55_ryf/tree/01deg_jra55v13_ryf9091)  
but when I clone that branch e.g.:  
git clone [GitHub - COSIMA/01deg\_jra55\_ryf: 0.1 degree ACCESS-OM2 experiment with JRA55 RYF atmospheric forcing.](https://github.com/COSIMA/01deg_jra55_ryf.git)

the config.yaml still has:

name: atmosphere  
model: yatm  
exe: /g/data/ik11/inputs/access-om2/bin/yatm\_d750b4b.exe  
input:  
- /g/data/ik11/inputs/access-om2/input\_20201102/yatm\_01deg  
- /g/data/ik11/inputs/JRA-55/RYF/v1-4

So … I guess, which is different from the config.yaml shown on the github page I am cloning from that shows:

name: atmosphere  
model: yatm  
exe: /short/public/access-om2/bin/yatm\_b77aecd2.exe  
input: /short/public/access-om2/input\_08022019/yatm\_01deg  
ncpus: 1

How do I clone the v13 branch? Hmmm … feeling stupid 🙂

Thank you,  
Paul

---

<div class="post-metadata">

**Author:** ![PSpence](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/pspence/32/298_2.png) [@PSpence](https://forum.access-hive.org.au/u/PSpence)\
**Post date:** [18 January 2023 01:52 UTC](https://forum.access-hive.org.au/t/ice-read-nc-xy-cannot-find-variable-licefw-io/332/4 "2023-01-18T01:52:52Z")

</div>

Are their 01-RYF JRA v1.4 restarts anywhere?

I note also that the config.yaml for [01deg\_jra55\_ryf/config.yaml at 01deg\_jra55v13\_ryf9091 · COSIMA/01deg\_jra55\_ryf · GitHub](https://github.com/COSIMA/01deg_jra55_ryf/blob/01deg_jra55v13_ryf9091/config.yaml)

Has old links to raijin short:  
name: atmosphere  
model: yatm  
exe: /short/public/access-om2/bin/yatm\_b77aecd2.exe  
input: /short/public/access-om2/input\_08022019/yatm\_01deg  
ncpus: 1

---

<div class="post-metadata">

**Author:** ![PSpence](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/pspence/32/298_2.png) [@PSpence](https://forum.access-hive.org.au/u/PSpence)\
**Post date:** [18 January 2023 02:08 UTC](https://forum.access-hive.org.au/t/ice-read-nc-xy-cannot-find-variable-licefw-io/332/5 "2023-01-18T02:08:16Z")

</div>

FYI: I have working version of 01-RYF-JRAv13 here:  
/home/561/pas561/access-om2/01deg\_jra55\_9091ryf

But I am struggling to get it going from restarts via github clones.

---

<div class="post-metadata">

**Author:** ![rmholmes](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/rmholmes/32/117_2.png) [@rmholmes](https://forum.access-hive.org.au/u/rmholmes)\
**Post date:** [18 January 2023 02:16 UTC](https://forum.access-hive.org.au/t/ice-read-nc-xy-cannot-find-variable-licefw-io/332/6 "2023-01-18T02:16:14Z")

</div>

You clone the repository as a whole. If you want a branch other than the master one then you have to do something like

`git clone --branch <branchname> <remote-repo-url>`.

Alternatively, I usually clone the repository and then do a checkout with

`git checkout -t origin/01deg_jra55v13_ryf9091`

> [@PSpence](#):
>
> Are their 01-RYF JRA v1.4 restarts anywhere?

I can’t see any in `/g/data/ik11/outputs/access-om2-01/`

> [@PSpence](#):
>
> I note also that the config.yaml for [01deg\_jra55\_ryf/config.yaml at 01deg\_jra55v13\_ryf9091 · COSIMA/01deg\_jra55\_ryf · GitHub](https://github.com/COSIMA/01deg_jra55_ryf/blob/01deg_jra55v13_ryf9091/config.yaml)
> 
> Has old links to raijin short:

Yes that looks like a problem. I’ve asked @AndyHoggANU to push up the latest configurations for that simulation.

@mauricehuguenin perhaps you can help here? What configuration are you using for your 1/10th-degree RYF control run for the ENSO work?

This kind of issue is exactly why we want to put together the wiki at [ACCESS-OM2 Control Experiments](https://forum.access-hive.org.au/t/access-om2-control-runs/258).

---

<div class="post-metadata">

**Author:** ![rmholmes](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/rmholmes/32/117_2.png) [@rmholmes](https://forum.access-hive.org.au/u/rmholmes)\
**Post date:** [18 January 2023 02:22 UTC](https://forum.access-hive.org.au/t/ice-read-nc-xy-cannot-find-variable-licefw-io/332/7 "2023-01-18T02:22:07Z")

</div>

I think we’ve run into this exact issue before. I can’t find the github issue in which it’s discussed. However, clearly in this repo: [Commits · rmholmes/01deg\_jra55\_ryf · GitHub](https://github.com/rmholmes/01deg_jra55_ryf/commits/v13_rcpcont), I’ve spent some time updating the configurations so that the RYF v1.3 01deg run can be continued on Gadi.

---

<div class="post-metadata">

**Author:** ![rmholmes](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/rmholmes/32/117_2.png) [@rmholmes](https://forum.access-hive.org.au/u/rmholmes)\
**Post date:** [18 January 2023 02:27 UTC](https://forum.access-hive.org.au/t/ice-read-nc-xy-cannot-find-variable-licefw-io/332/8 "2023-01-18T02:27:15Z")

</div>

Here’s a verison of the configs that should work on Gadi: [GitHub - rmholmes/01deg\_jra55\_ryf at 08596d93ecb5296012c1cf5a4c58249c20ff1a8f](https://github.com/rmholmes/01deg_jra55_ryf/tree/08596d93ecb5296012c1cf5a4c58249c20ff1a8f). You could try that. Otherwise, wait for Andy to push up the latest version of the configuration files that he used for that run.

---

<div class="post-metadata">

**Author:** ![Aidan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/aidan/32/42_2.png) [@Aidan](https://forum.access-hive.org.au/u/Aidan)\
**Post date:** [18 January 2023 02:42 UTC](https://forum.access-hive.org.au/t/ice-read-nc-xy-cannot-find-variable-licefw-io/332/9 "2023-01-18T02:42:15Z")

</div>

> [@PSpence](#):
>
> I am not sure if this is an appropriate hive topic. Is COSIMA slack dead now?

Not dead, but asking questions (and having them answered!) here helps anyone who might have the same problem in the future. The slack has time limited history and isn’t publicly searchable, so isn’t the best place for useful information to reside.

---

<div class="post-metadata">

**Author:** ![mauricehuguenin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/mauricehuguenin/32/125_2.png) [@mauricehuguenin](https://forum.access-hive.org.au/u/mauricehuguenin)\
**Post date:** [18 January 2023 05:22 UTC](https://forum.access-hive.org.au/t/ice-read-nc-xy-cannot-find-variable-licefw-io/332/10 "2023-01-18T05:22:09Z")

</div>

I am running the 01deg\_jra55\_ryf model with configurations I cloned from Matt Pudig.

Maybe you could clone my ENFull branch that works?

> **[GitHub - mauricehuguenin/01deg\_jra55\_ryf at ENFull](https://github.com/mauricehuguenin/01deg_jra55_ryf/tree/ENFull)**
>
> ENFull

I just pushed this branch with the latest changes to my github repo again and should be good to go.

ENFull stands for my El Niño run with full forcing active in all variables.

I am branching off my perturbations from  
`/g/data/ik11/outputs/access-om2-01/01deg_jra55v13_ryf9091/output975` using **JRA55-do-1-3**.

I remember there were a few inconsistencies in the naming of the forcing files and naming of the variables inside the forcing files (e.g., _psl_ vs. _slp_ or _prrn_ vs. _rain_) that Matt Pudig also fixed before I cloned his branch.

---

<div class="post-metadata">

**Author:** ![rmholmes](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/rmholmes/32/117_2.png) [@rmholmes](https://forum.access-hive.org.au/u/rmholmes)\
**Post date:** [18 January 2023 05:43 UTC](https://forum.access-hive.org.au/t/ice-read-nc-xy-cannot-find-variable-licefw-io/332/11 "2023-01-18T05:43:24Z")

</div>

Thanks @mauricehuguenin. I’m guessing Paul just wants your control simulation. Is that just [GitHub - mauricehuguenin/01deg\_jra55\_ryf at Control](https://github.com/mauricehuguenin/01deg_jra55_ryf/tree/Control)?

---

<div class="post-metadata">

**Author:** ![mauricehuguenin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/mauricehuguenin/32/125_2.png) [@mauricehuguenin](https://forum.access-hive.org.au/u/mauricehuguenin)\
**Post date:** [18 January 2023 05:56 UTC](https://forum.access-hive.org.au/t/ice-read-nc-xy-cannot-find-variable-licefw-io/332/12 "2023-01-18T05:56:22Z")

</div>

Yes, that is the correct one. I just pushed it up again and the config files are now the latest ones.

---

<div class="post-metadata">

**Author:** ![AndyHoggANU](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/andyhogganu/32/43_2.png) [@AndyHoggANU](https://forum.access-hive.org.au/u/AndyHoggANU)\
**Post date:** [18 January 2023 21:45 UTC](https://forum.access-hive.org.au/t/ice-read-nc-xy-cannot-find-variable-licefw-io/332/13 "2023-01-18T21:45:27Z")

</div>

BTW, if you want my original RYF config, it is now here:

> **[GitHub - COSIMA/01deg\_jra55\_ryf at ryf9091-on-gadi](https://github.com/COSIMA/01deg_jra55_ryf/tree/ryf9091-on-gadi)**
>
> ryf9091-on-gadi
