# ACCESS-ROM3 setup instructions

**URL:** <https://forum.access-hive.org.au/t/access-rom3-setup-instructions/4107>\
**Category:** Regional MOM6\
**Tags:** regional, tutorial, om3\
**Created:** [29 January 2025 22:57 UTC](https://forum.access-hive.org.au/t/access-rom3-setup-instructions/4107 "2025-01-29T22:57:08Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![helen](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/helen/32/2840_2.png) [@helen](https://forum.access-hive.org.au/u/helen)\
**Post date:** [29 January 2025 22:57 UTC](https://forum.access-hive.org.au/t/access-rom3-setup-instructions/4107/1 "2025-01-29T22:57:08Z")

</div>

**NOTE that these instructions have been superseded with updates to the regional-mom6 package. For new users looking to setup their own regional mom6 domain, we suggest checking out this release [here](https://forum.access-hive.org.au/t/new-regional-mom6-release-for-setting-up-access-rom3-domains/7043)**

 

# Introduction

These are the steps needed to convert an ACCESS-OM3 model configuration to a regional model configuration run on NUPOC.  
If you would like to view an example setup there is one [here](https://github.com/ACCESS-NRI/access-om3-configs/tree/dev-regional_jra55do_ryf). To download this you need to run

```auto
git clone --branch dev-regional_jra55do_ryf https://github.com/ACCESS-NRI/access-om3-configs/

```

if you want to see some of steps described in the instructions below then run

```auto
cd access-om3-configs 
git log -16

```

This will provide a log of the changes performed to convert the original ACCESS-OM3 run to an ACCESS-ROM3 run. The output will display a long alphanumeric commit hash for each step.

To see the changes done to the code between two different steps you can use the first few digits of the commit hashes for each of these steps.  
e.g

```auto
git diff ba62 a6b7

```

The following instructions are the steps needed to generate a regional ocean model (ACCESS-ROM3). Keep an eye on these instructions as they will be modified over the next few weeks for bug fixes and changes in the underlying code.

# Compile

The first step is optional as there is a version of the executable already available to be used.  
I suggest skipping this step for now and waiting a couple of weeks before trying as there are some changes coming through that will make it easier.

**To skip this step, go to the next step: Generate your input files**

Get a Spack build using mom-only symmetric on gadi by first installing spack instructions [here](https://access-hive.org.au/getting_started/spack/). Note that you might get an error when doing the spack concretize step. It is not an issue here so ignore It.

Next you need build spack using a modification of instructions [here](https://access-hive.org.au/models/run-a-model/build_a_model/)

The modifications are when you reach this step:

```auto
git clone https://github.com/ACCESS-NRI/ACCESS-ESM1.5.git
spack env create mom5_dev ACCESS-ESM1.5/spack.yaml

```

you need to change to this:

```auto
git clone https://github.com/ACCESS-NRI/ACCESS-OM3.git
spack env create mom6_dev ACCESS-OM3/spack.yaml

```

If you wait a couple of weeks, these next changes will not be necessary

Then, in spack.yaml you need to change

```auto
   access-om3-nuopc:
      require:
        - '@git.0.3.1'

```

to

```auto
   access-om3-nuopc:
      require:
        - '@git.0.3.1'
        - configurations=MOM6
        - +mom_symmetric 

```

# Generate your input files

Use regional-mom6 notebook from the [cosima-recipes](https://github.com/COSIMA/cosima-recipes/blob/main/Recipes/regional-mom6-forced-by-access-om2.ipynb) to get a non-nuopc regional mom 6 configuration.

There needs to be some modifications to change the date\_range to [“2013-01-01”, “2013-01-05”] and to change the dataset used.

change

```auto
experiment = catalog["01deg_jra55v13_ryf9091"]

```

to

```auto
experiment = catalog["01deg_jra55v150_iaf_cycle1"]

```

This is good for getting something up and running – but when doing production runs, you should carefully consider which model run is best suited for boundary conditions.

There is an example of the notebook with the modifications [here](https://gist.github.com/helenmacdonald/d50f5981175aecb5865d26c086000093)  
Note that this example uses the [crocodile version](https://github.com/CROCODILE-CESM/regional-mom6/tree/main) of regional-mom6. It should work on the COSIMA version in a few weeks after a pull request has gone through.

Remember which folder you put these files in as you will need to change some files later to point to it. i.e in the notebook we have:

```auto
input_dir = f"{scratch}/regional_mom6_configs/{expt_name}/"
run_dir = f"{home}/mom6_rundirs/{expt_name}/"

```

These folders are going to be called “input\_dir” and “run\_dir” throughout the rest of these instructions.

This generates some of the input files that we need, but the nuopc files need to come from a global configuration.

# Download your other configuration files from an ACCESS\_OM3 run

Download a global access-om3 configuration onto gadi. Do this in a different folder than the input\_dir that you used in the notebook in a previous step

```auto
mkdir -p ~/access-om3
cd ~/access-om3
module use /g/data/vk83/modules 
module load payu/1.1.6
payu clone -b expt -B dev-MC_100km_jra_iaf https://github.com/ACCESS-NRI/access-om3-configs/ access-rom3
cd access-rom3

```

We now need to mesh our regional mom simulation which has our input files (input\_dir) and the global configuration that runs on nuopc.

Copy the MOM\_input, MOM\_override, MOM\_layout and data\_table files from run\_dir to ~/access-om3/access-rom3/

# Modify MOM\_input to point to different locations

There needs to be quite a few changes to the MOM\_input file  
First changes are to point to different locations for the input. Note that the changes in this step will not be needed in future versions of regional-mom6 toolbox. If you cannot find these lines to change in MOM\_input then hopefully you can skip this step (still do the last atmospheric forcing change in the next post) but watch for errors about missing boundary files.

Change

```auto
TEMP_SALT_Z_INIT_FILE = "forcing/init_tracers.nc" ! default = "temp_salt_z.nc"

```

to

```auto
TEMP_SALT_Z_INIT_FILE = "init_tracers.nc" ! default = "temp_salt_z.nc"

```

Change

```auto
SURFACE_HEIGHT_IC_FILE = "forcing/init_eta.nc" !

```

to

```auto
 SURFACE_HEIGHT_IC_FILE = "init_eta.nc" !

```

Change

```auto
VELOCITY_FILE = "forcing/init_vel.nc" !

```

to

```auto
VELOCITY_FILE = "init_vel.nc" !

```

Change

```auto
OBC_SEGMENT_001_DATA = "U=file:forcing/forcing_obc_segment_001.nc(u),V=file:forcing/forcing_obc_segment_001.nc(v),SSH=file:forcing/forcing_obc_segment_001.nc(eta),TEMP=file:forcing/forcing_obc_segment_001.nc(temp),SALT=file:forcing/forcing_obc_segment_001.nc(salt)" !
                                ! OBC segment docs
OBC_SEGMENT_002_DATA = "U=file:forcing/forcing_obc_segment_002.nc(u),V=file:forcing/forcing_obc_segment_002.nc(v),SSH=file:forcing/forcing_obc_segment_002.nc(eta),TEMP=file:forcing/forcing_obc_segment_002.nc(temp),SALT=file:forcing/forcing_obc_segment_002.nc(salt)" !
                                ! OBC segment docs
OBC_SEGMENT_003_DATA = "U=file:forcing/forcing_obc_segment_003.nc(u),V=file:forcing/forcing_obc_segment_003.nc(v),SSH=file:forcing/forcing_obc_segment_003.nc(eta),TEMP=file:forcing/forcing_obc_segment_003.nc(temp),SALT=file:forcing/forcing_obc_segment_003.nc(salt)" !
                                ! OBC segment docs
OBC_SEGMENT_004_DATA = "U=file:forcing/forcing_obc_segment_004.nc(u),V=file:forcing/forcing_obc_segment_004.nc(v),SSH=file:forcing/forcing_obc_segment_004.nc(eta),TEMP=file:forcing/forcing_obc_segment_004.nc(temp),SALT=file:forcing/forcing_obc_segment_004.nc(salt)" !
                                ! OBC segment docs

```

to

```auto
OBC_SEGMENT_001_DATA = "U=file:forcing_obc_segment_001.nc(u),V=file:forcing_obc_segment_001.nc(v),SSH=file:forcing_obc_segment_001.nc(eta),TEMP=file:forcing_obc_segment_001.nc(temp),SALT=file:forcing_obc_segment_001.nc(salt)" !
                                ! OBC segment docs
OBC_SEGMENT_002_DATA = "U=file:forcing_obc_segment_002.nc(u),V=file:forcing_obc_segment_002.nc(v),SSH=file:forcing_obc_segment_002.nc(eta),TEMP=file:forcing_obc_segment_002.nc(temp),SALT=file:forcing_obc_segment_002.nc(salt)" !
                                ! OBC segment docs
OBC_SEGMENT_003_DATA = "U=file:forcing_obc_segment_003.nc(u),V=file:forcing_obc_segment_003.nc(v),SSH=file:forcing_obc_segment_003.nc(eta),TEMP=file:forcing_obc_segment_003.nc(temp),SALT=file:forcing_obc_segment_003.nc(salt)" !
                                ! OBC segment docs
OBC_SEGMENT_004_DATA = "U=file:forcing_obc_segment_004.nc(u),V=file:forcing_obc_segment_004.nc(v),SSH=file:forcing_obc_segment_004.nc(eta),TEMP=file:forcing_obc_segment_004.nc(temp),SALT=file:forcing_obc_segment_004.nc(salt)" !
                                ! OBC segment docs

```

# Changes to MOM\_input to put NUOPC atmospheric forcing info

This change to MOM\_input will still need to be done with future versions of regional mom6-toolbox. We need to add some lines for atmospheric forcing coming in via nuopc coupler:  
Add this to the bottom of MOM\_input:

```auto
! === module MOM_surface_forcing_nuopc ===
ENTHALPY_FROM_COUPLER = True
                                ! "[Boolean] default = False
                                ! If True, the heat (enthalpy) associated with mass entering/leaving
                                ! the ocean is provided via coupler."

LATENT_HEAT_FUSION = 3.337E+05 ! [J/kg] default = 3.337E+05

LATENT_HEAT_VAPORIZATION = 2.501E+06 ! [J/kg] default = 2.501E+06

```

# Changes to config.yaml to point to input netcdf

You also need to make some changes in the config.yaml file under “input:” to add these lines make sure you change “input\_dir” and “run\_dir” to your input run directories created in the regional-mom6 notebook:

```auto
 - input_dir/hgrid.nc
 - input_dir/vcoord.nc
 - input_dir/bathymetry.nc
 - input_dir/init_tracers.nc
 - input_dir/init_eta.nc
 - input_dir/init_vel.nc
 - input_dir/forcing_obc_segment_001.nc
 - input_dir/forcing_obc_segment_002.nc
 - input_dir/forcing_obc_segment_003.nc
 - input_dir/ forcing_obc_segment_004.nc  
 - input_dir/grid_spec.nc
 - input_dir/ocean_mosaic.nc 
 - input_dir/access-rom3-ESMFmesh.nc
 - input_dir/access-rom3-nomask-ESMFmesh.nc
 - input_dir/land_mask.nc

```

**Note that the _.mesh.nc files do not yet exist._**

I would suggest double checking that the above links (except for \*.mesh.nc) are correct as the regional-mom6 toolbox is under active development and the position of these files will change depending on which version you are using. In particular, some of the files may be under input\_dir/forcing.

You will need to remove these lines:

```auto
 - /g/data/vk83/configurations/inputs/access-om3/mom/grids/mosaic/global.1deg/2020.05.30/ocean_hgrid.nc
 - /g/data/vk83/configurations/inputs/access-om3/mom/grids/vertical/global.1deg/2023.07.28/ocean_vgrid.nc
 - /g/data/vk83/configurations/inputs/access-om3/mom/initial_conditions/global.1deg/2020.10.22/ocean_temp_salt.res.nc
 - /g/data/vk83/configurations/inputs/access-om3/share/meshes/global.1deg/2024.01.25/access-om2-1deg-ESMFmesh.nc
 - /g/data/vk83/configurations/inputs/access-om3/share/meshes/global.1deg/2024.01.25/access-om2-1deg-nomask-ESMFmesh.nc

```

if you are using an executable compiled by ACCESS-NRI then you also need to change this:

```auto
load:
        - access-om3/2025.01.2

```

to this:

```auto
load:
        - access-om3/2025.01.0

```

# Changes to config.yaml to point to executable

Note, if you compiled your own executable that you need to skip this step and go to alternative changes to config.yaml These changes won’t be needed in a few weeks’ time.

Change

```auto
exe: access-om3-MOM6-CICE6

```

to

```auto
exe: access-om3-MOM6

```

# Alternative changes to config.yaml

If you have compiled your own executable then you need to point your executable to the one you created using spack. You do not need to do this step if you did the previous step

Change this

```auto
exe: access-om3-MOM6-CICE6

```

to something that looks like this – but your path will vary

```auto
exe: /g/data/ ***/**** /spack/0.22/release/linux-rocky8-x86_64/intel-2021.10.0/access-om3-nuopc-git.0.3.1_0.3.1-6ry27bdy6uoet34nwk6yunmkrkomvads/bin/access-om3-MOM6

```

# Changes to config.yaml job specifications

You also need to modify these lines in config.yaml:

1. ncpu: 240  
This is the number of CPUs you will need. It depends on the layout that you specified when calloing FRE\_tools. If you didn’t change the default (10x10) in the regional-mom6 notebook then you want  
ncpu:100

2. change `runlog: false` to `runlog: true`

3. mem:960GB  
The number you need here will be domain dependent. For the Tasmanian example I use  
mem:100GB  
You may need more when using a larger domain

4. Comment out these line for mom-standalone runs

```auto
    #userscripts:
        # setup: /usr/bin/bash /g/data/vk83/apps/om3-scripts/payu_config/setup.sh
        # archive: /usr/bin/bash /g/data/vk83/apps/om3-scripts/payu_config/archive.sh

```

This last step is setting up CICE so keep it in for simulations with ice.

# Creating mesh files

You will need to use generate\_mesh.py from om3-scripts

To do this you need to download a copy of the toolbox. Note that in the following commands you need to change “path\_to\_where\_you\_store\_libraries” to wherever you want to download this to.

```auto
cd path_to_where_you_store_libraries
git clone https://github.com/COSIMA/om3-scripts.git
module use /g/data/xp65/public/modules 
module load conda/analysis3

```

The following commands will create your mesh files. Note that you will need to change “input\_dir” to your input\_dir and “path\_to\_where\_you\_store\_libraries” to where you just downloaded the om3-scripts to.

```auto
cd input_dir

python3 path_to_where_you_store_libraries/om3-scripts/mesh_generation/generate_mesh.py --grid-type=mom --grid-filename=hgrid.nc --mesh-filename=access-rom3-ESMFmesh.nc --mask-filename=ocean_mask.nc --wrap-lons
python3 path_to_where_you_store_libraries/om3-scripts/mesh_generation/generate_mesh.py --grid-type=mom --grid-filename=hgrid.nc --mesh-filename=access-rom3-nomask-ESMFmesh.nc --wrap-lons

```

Run these commands the input\_dir so the files are stored with your other netcdf files. If you store them somewhere else, note that you will need to change the path to them in config.yaml

You need to modify a few configuration files to point to these. Note that the path we are putting in is different to their current location but payu will fix this up at run time.

Change back into your access-rom3 directory

```auto
cd ~/access-om3/access-rom3

```

In datm\_in change these lines:

```auto
model_maskfile = "./INPUT/access-om2-1deg-nomask-ESMFmesh.nc"
model_meshfile = "./INPUT/access-om2-1deg-nomask-ESMFmesh.nc"
nx_global = 360
ny_global = 300

```

to

```auto
model_maskfile = "./INPUT/access-rom3-nomask-ESMFmesh.nc"
model_meshfile = "./INPUT/access-rom3-nomask-ESMFmesh.nc"
nx_global = 140
ny_global = 249

```

Note that nx\_global and ny\_global are the domain size. The numbers used here are from the Tasmanian example but if you have a different size domain then you can check these numbers in MOM\_layout (the value for NIGLOBAL is the same as nx\_global and the values for NJGLOBAL are the same as ny\_global).

Similar, you need to modify drof\_in to point to the masks

Change

```auto
model_maskfile = "./INPUT/access-om2-1deg-nomask-ESMFmesh.nc"
model_meshfile = "./INPUT/access-om2-1deg-nomask-ESMFmesh.nc"
nx_global = 360
ny_global = 300

```

to

```auto
model_maskfile = "./INPUT/access-rom3-nomask-ESMFmesh.nc"
model_meshfile = "./INPUT/access-rom3-nomask-ESMFmesh.nc"
nx_global = 140
ny_global = 249

```

# Changes to input.nml

In input.nml you need to include an extra file.

Change

```auto
parameter_filename = 'MOM_input', 'MOM_override'

```

to

```auto
parameter_filename = 'MOM_input', 'MOM_layout', 'MOM_override'

```

# Changes to nuopc.runconfig for new layout

We need to change the distribution of tasks (assuming the default 10x10 layout and 140x249 grid size):

Change

```auto
ocn_ntasks = 216

```

to

```auto
ocn_ntasks = 100

```

Change

```auto
ocn_rootpe = 24

```

to

```auto
ocn_rootpe = 0

```

Change

```auto
ocn_nx = 360
ocn_ny = 300

```

to

```auto
ocn_nx = 140
ocn_ny = 249

```

if you are not using a 140x249 grid size (e.g. the Tasmanian example) then you can find ocn\_nx and ocn\_ny in MOM\_layout (NIGLOBAL and NJGLOBAL respectively)

We need to set the start date to match the date done in the notebook and to change the length of the simulation to just a couple of days.

Change

```auto
start_ymd = 19000101
stop_n = 1
stop_option = nmonths

```

to

```auto
start_ymd = 20130101
stop_n = 2
stop_option = ndays

```

As we are running for 2 days we need to change the frequency of the restart files:

Change

```auto
restart_n = 1
restart_option = nmonths

```

to

```auto
restart_n = 2
restart_option = ndays

```

We need to update the meshes in here as well.  
Change

```auto
mesh_mask = ./INPUT/access-om2-1deg-ESMFmesh.nc
mesh_ocn = ./INPUT/access-om2-1deg-ESMFmesh.nc

```

to

```auto
mesh_mask = ./INPUT/access-rom3-ESMFmesh.nc
mesh_ocn = ./INPUT/access-rom3-ESMFmesh.nc

```

For mom-standalong runs, remove the ice component.

Change

```auto
component_list: MED ATM ICE OCN ROF

```

to

```auto
component_list: MED ATM OCN ROF

```

Change

```auto
ICE_model = cice

```

to

```auto
ICE_model = sice

```

# Changes to nuopc.runseq to remove CICE

For mom-only runs in nuopc.runseq remove these lines (to not run the ice model; essentially remove any line that has “ice” in it)

```auto
MED med_phases_prep_ice
MED -> ICE :remapMethod=redist
ICE
MED med_phases_diag_ice_ice2med
ICE -> MED :remapMethod=redist
MED med_phases_post_ice
MED med_phases_diag_ice_med2ice

```

# Changes to diag\_table to output more frequently

The default option was to output monthly. As the test run does not run for a month, we are swapping to daily output.  
In diag\_table change

```auto
"access-om3.mom6.h.rho2%4yr-%2mo", 1, "months", 1, "days", "time", 1, "months"
"access-om3.mom6.h.native%4yr-%2mo", 1, "months", 1, "days", "time", 1, "months"
"access-om3.mom6.h.z%4yr-%2mo", 1, "months", 1, "days", "time", 1, "months"
"access-om3.mom6.h.sfc%4yr-%2mo", 1, "months", 1, "days", "time", 1, "months"

```

To

```auto
"access-om3.mom6.h.rho2%4yr-%2mo", 1, "days", 1, "days", "time", 1, "months"
"access-om3.mom6.h.native%4yr-%2mo", 1, "days", 1, "days", "time", 1, "months"
"access-om3.mom6.h.z%4yr-%2mo", 1, "days", 1, "days", "time", 1, "months"
"access-om3.mom6.h.sfc%4yr-%2mo", 1, "days", 1, "days", "time", 1, "months"

```

# Run the model

To run you need to use payu:

```auto
module use /g/data/vk83/modules
module load payu/1.1.6
payu setup
payu sweep
payu run

```

Note: That there is still a fix to come for a known issue with land runoff so don’t do any production runs just yet

---

<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:** [3 February 2025 03:56 UTC](https://forum.access-hive.org.au/t/access-rom3-setup-instructions/4107/3 "2025-02-03T03:56:55Z")

</div>

@helen Thanks for putting this together. We are excited to get rolling with the regional config. I am already failing at your first steps:

i) git clone --branch dev-regional\_jra55do\_ryf [GitHub - ACCESS-NRI/access-om3-configs: ACCESS-OM3 MOM6-CICE6 configurations](https://github.com/ACCESS-NRI/access-om3-configs/) … this works  
ii) cd dev-regional\_jra55do\_ryf … this fails. No dev-\* directory. But git log -16 works on the access-om3\* dir  
iii) RE: “The first step is optional as there is a version of the executable already available to be used. I suggest skipping this step for now and waiting a couple of weeks before trying as there are some changes coming through that will make it easier.” It is unclear which steps we should skip. For example, do we still need to edit the spack.yaml file?

---

<div class="post-metadata">

**Author:** ![helen](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/helen/32/2840_2.png) [@helen](https://forum.access-hive.org.au/u/helen)\
**Post date:** [3 February 2025 04:33 UTC](https://forum.access-hive.org.au/t/access-rom3-setup-instructions/4107/4 "2025-02-03T04:33:05Z")

</div>

Thanks for getting feedback to me so quickly @PSpence!

i) To confirm – does this step does work for you?  
ii) Good catch! The instructions were incorrect, and you have changed into the correct directory. I have updated  
iii) Skip everything after the heading “Compile” and before the heading “generate your input files” I have updated this to hopefully make it more clear by adding:  
“To skip this step, go to the next step: Generate your input files”

---

<div class="post-metadata">

**Author:** ![helen](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/helen/32/2840_2.png) [@helen](https://forum.access-hive.org.au/u/helen)\
**Post date:** [3 February 2025 05:21 UTC](https://forum.access-hive.org.au/t/access-rom3-setup-instructions/4107/5 "2025-02-03T05:21:28Z")

</div>

For the next step (generate your input files), the regional mom code is under flux as a big pull request is coming through. This adds a temporary complication as the example notebooks for generating your own domain may become broken. This issue will hopefully go away in a couple of weeks when the pull request is completed.

For now, I think the easiest way to complete this step is to use the [cosima regional mom notebook](https://github.com/COSIMA/cosima-recipes/blob/main/Recipes/regional-mom6-forced-by-access-om2.ipynb) with the regional mom code in the analysis3 conda environment as these won’t change until the pull request goes through.

Alternatively, if @mmr0 has a notebook working then you could modify this.

My example notebook can be used if you want to view the changes I did to the dates and the catalogue data, but I am expecting this notebook to break more frequently.

---

<div class="post-metadata">

**Author:** ![navidcy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/navidcy/32/101_2.png) [@navidcy](https://forum.access-hive.org.au/u/navidcy)\
**Post date:** [10 February 2025 16:08 UTC](https://forum.access-hive.org.au/t/access-rom3-setup-instructions/4107/6 "2025-02-10T16:08:07Z")

</div>

Can I comment that the name ROM3 is **very very** similar to ROMS.

May I suggest we name the package/module `ACCESS regional-OM3`?

cc @PSpence, @mmr0

---

<div class="post-metadata">

**Author:** ![navidcy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/navidcy/32/101_2.png) [@navidcy](https://forum.access-hive.org.au/u/navidcy)\
**Post date:** [10 February 2025 16:09 UTC](https://forum.access-hive.org.au/t/access-rom3-setup-instructions/4107/7 "2025-02-10T16:09:52Z")

</div>

Thanks for the detailed instructions!!!

(tagging also @Paul.Gregory in case they missed this)

---

<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:** [10 February 2025 22:36 UTC](https://forum.access-hive.org.au/t/access-rom3-setup-instructions/4107/8 "2025-02-10T22:36:28Z")

</div>

> [@navidcy](#):
>
> ROM3 is **very very** similar to ROMS

Is ACCESS-ROM3 still **very very** similar to ROMS? I think they’re not so much if the full name is used.

---

<div class="post-metadata">

**Author:** ![helen](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/helen/32/2840_2.png) [@helen](https://forum.access-hive.org.au/u/helen)\
**Post date:** [11 February 2025 00:52 UTC](https://forum.access-hive.org.au/t/access-rom3-setup-instructions/4107/9 "2025-02-11T00:52:47Z")

</div>

Hi @navidcy – thanks for bringing up this discussion. The current name was chosen for its shortness and consistency with branding of other ACCESS-models.

We had a quick discussion at ACCESS-NRI which I would summarise

**Pro to changes:**

1. ROM3 is similar to ROMS – which can be confusing especially as ACCESS-NRI Regional and coastal ocean modelling team (i.e. me) is also working with ROMS users.

**Cons to changes**

1. Inconsistent branding
2. Adding regional makes it very long “ACCESS-regional-OM3
3. “Ocean” and “Modelling” form the basis of a lot of acronyms so similar acronyms is already a present in the ocean modelling community without there being a big issue.
4. The full name is ACCESS-ROM3 so if we stick with this then the confusion will be less

**Alternative suggestion**

1. We change the big R to a small r - “ACCESS-rOM3” - so it more easily identifiable as part of the ACCESS-OM3 suite.

No decision has been made yet so keen to hear ideas.

@ashjbarnes has done a lot of development work here so I would like to also hear if he has input into the naming convention.

---

<div class="post-metadata">

**Author:** ![navidcy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/navidcy/32/101_2.png) [@navidcy](https://forum.access-hive.org.au/u/navidcy)\
**Post date:** [11 February 2025 01:36 UTC](https://forum.access-hive.org.au/t/access-rom3-setup-instructions/4107/10 "2025-02-11T01:36:27Z")

</div>

It’s OK, it was just a suggestion. You’ve put thought on it, let’s go with ACCESS-ROM3.

---

<div class="post-metadata">

**Author:** ![navidcy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/navidcy/32/101_2.png) [@navidcy](https://forum.access-hive.org.au/u/navidcy)\
**Post date:** [11 February 2025 01:38 UTC](https://forum.access-hive.org.au/t/access-rom3-setup-instructions/4107/11 "2025-02-11T01:38:31Z")

</div>

Well the other reason is that we have so many acronyms that I feel we don’t need more, so `regional-OM3` was my attempt to reduce the number of acronyms in the community.

People like ROM3 then ROM3 it is!

---

<div class="post-metadata">

**Author:** ![ashjbarnes](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/ashjbarnes/32/205_2.png) [@ashjbarnes](https://forum.access-hive.org.au/u/ashjbarnes)\
**Post date:** [11 February 2025 03:28 UTC](https://forum.access-hive.org.au/t/access-rom3-setup-instructions/4107/12 "2025-02-11T03:28:31Z")

</div>

Hi Helen, this looks great! Thanks for putting it all together in one place. I have a couple of questions & comments:

1. Regarding changing config.yaml, is there a reason that in this case we need to specify every netcdf input explicitly? Normally the package just adds a single absolute path to the location containing all of the forcing files( eg `/g/data/nm03/mom6_inputs/ashley_example/`) works. Perhaps this is an update to payu I’m not aware of though, in which case we ought to update the rmom6 package to reflect this

2. Is a mask table no longer a thing with NUOPC? So if I have 10x10 layout but my domain is 70% land, do I still use 100 cpus? This is what’s suggested under the “Changes to config.yaml” step. I have no idea about this, but flagging it in case mask table does still need handling here

3. As you’ve mentioned already, these steps will be made much simpler with the new version of regional mom6! If the Australian users are more likely to switch to using NUOPC rather than the FMS coupler in the future, I’d advocate for putting the `input.nml` and `config.yaml` files from this ROM3 directory into a set of [default input files](https://github.com/COSIMA/regional-mom6/tree/main/demos/premade_run_directories) included with the package. This way the `setup_rundir` step will automatically populate everything you need for this NUOPC setup. If we want to keep maintaining the old FMS coupler setup, then maybe we just have a boolean `using_NUOPC` flag which specifies which set of input & config files the package grabs.

Regarding the naming: I do agree with @navidcy that this is very similar to ROMS! Also, the current naming convention is usually ACCESS followed by the model, and so ROM3 reads to me that it’s a different model, rather than a variation on an existing model.

My suggestion: adding a `-regional` or `-R` at the end of the current naming system could work too. For example, we already have ACCESS-OM2-01 for the 10th degree. Is this convention continuing for OM3 too? Since regional models will probably have variable resolutions, maybe we could replace the third entry with a -R, so the suite would eventually be something like

ACCESS-OM3-01  
ACCESS-OM3-025  
ACCESS-OM3-R

I don’t mind though, it’s very much an ACCESS-NRI decision as to their naming conventions of course!

---

<div class="post-metadata">

**Author:** ![mmr0](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/mmr0/32/2485_2.png) [@mmr0](https://forum.access-hive.org.au/u/mmr0)\
**Post date:** [11 February 2025 04:11 UTC](https://forum.access-hive.org.au/t/access-rom3-setup-instructions/4107/13 "2025-02-11T04:11:20Z")

</div>

Hi Helen, just to let you know that I got this running following your instructions 🙌

Regarding Ashley’s (1) above, I actually couldn’t run the code without also adding my top level input directory  
` - /scratch/jk72/mxr581/regional_mom6_configs/ROM3-tassie-test/`  
under `input:` in `config.yaml`

I think this is because most of the input files are given as `./INPUT/file_name.nc`

I haven’t tested what happens if I delete all the specific file paths and just keep my top level input directory.

---

<div class="post-metadata">

**Author:** ![anton](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/anton/32/1836_2.png) [@anton](https://forum.access-hive.org.au/u/anton)\
**Post date:** [11 February 2025 04:17 UTC](https://forum.access-hive.org.au/t/access-rom3-setup-instructions/4107/14 "2025-02-11T04:17:16Z")

</div>

> [@ashjbarnes](#):
>
> Regarding changing config.yaml, is there a reason that in this case we need to specify every netcdf input explicitly? Normally the package just adds a single absolute path to the location containing all of the forcing files( eg `/g/data/nm03/mom6_inputs/ashley_example/`) works. Perhaps this is an update to payu I’m not aware of though, in which case we ought to update the rmom6 package to reflect this

I am moderately confident both approaches are basically equivalent. Most ACCESS-NRI configs list the files individually to allow each file to be individually versioned and updated individually (following the folder structure in `/g/data/vk83/configurations/`). Obviously if the folder has lots of other stuff in it this can lead to messy manifests file / possibly lack of clarity about which files are acutally used.

---

<div class="post-metadata">

**Author:** ![anton](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/anton/32/1836_2.png) [@anton](https://forum.access-hive.org.au/u/anton)\
**Post date:** [11 February 2025 04:19 UTC](https://forum.access-hive.org.au/t/access-rom3-setup-instructions/4107/15 "2025-02-11T04:19:29Z")

</div>

> [@mmr0](#):
>
> Regarding Ashley’s (1) above, I actually couldn’t run the code without also adding my top level input directory  
> ` - /scratch/jk72/mxr581/regional_mom6_configs/ROM3-tassie-test/`  
> under `input:` in `config.yaml`
> 
> I think this is because most of the input files are given as `./INPUT/file_name.nc`

You should be able to confirm which files are actually be put into the work directory for an run using the `manifests/input.yaml`

---

<div class="post-metadata">

**Author:** ![anton](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/anton/32/1836_2.png) [@anton](https://forum.access-hive.org.au/u/anton)\
**Post date:** [11 February 2025 04:33 UTC](https://forum.access-hive.org.au/t/access-rom3-setup-instructions/4107/16 "2025-02-11T04:33:35Z")

</div>

> [@ashjbarnes](#):
>
> Is a mask table no longer a thing with NUOPC? So if I have 10x10 layout but my domain is 70% land, do I still use 100 cpus? This is what’s suggested under the “Changes to config.yaml” step. I have no idea about this, but flagging it in case mask table does still need handling here

I’d assume this is correct for this config. I think we are planning to use the `AUTO_MASKTABLE` option in MOM6, but haven’t investigated it in detail yet.

---

<div class="post-metadata">

**Author:** ![mmr0](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/mmr0/32/2485_2.png) [@mmr0](https://forum.access-hive.org.au/u/mmr0)\
**Post date:** [11 February 2025 04:34 UTC](https://forum.access-hive.org.au/t/access-rom3-setup-instructions/4107/17 "2025-02-11T04:34:12Z")

</div>

Thanks @anton. Can’t pretend I currently understand the contents of manifests/input.yaml but I will attempt to!

The error that I was getting (which was fixed by adding the top level directory to config.yaml) was

```auto
FATAL from PE 0: init_extern_file: file INPUT/forcing/forcing_obc_segment_001.nc could not be opened.

```

I’ll recreate it so that I can compare `manifests/input.yaml`

---

<div class="post-metadata">

**Author:** ![helen](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/helen/32/2840_2.png) [@helen](https://forum.access-hive.org.au/u/helen)\
**Post date:** [11 February 2025 04:53 UTC](https://forum.access-hive.org.au/t/access-rom3-setup-instructions/4107/18 "2025-02-11T04:53:53Z")

</div>

Thanks @ashjbarnes @mmr0 and @anton – a few good suggestions!  
I am about to head off for a few days so may not be very responsive. Please feel free to edit the wiki if you agree that an improvement is needed, and I will try to address some of the other suggestions when I return.

---

<div class="post-metadata">

**Author:** ![helen](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/helen/32/2840_2.png) [@helen](https://forum.access-hive.org.au/u/helen)\
**Post date:** [11 February 2025 05:00 UTC](https://forum.access-hive.org.au/t/access-rom3-setup-instructions/4107/19 "2025-02-11T05:00:20Z")

</div>

> [@ashjbarnes](#):
>
> As you’ve mentioned already, these steps will be made much simpler with the new version of regional mom6! If the Australian users are more likely to switch to using NUOPC rather than the FMS coupler in the future, I’d advocate for putting the `input.nml` and `config.yaml` files from this ROM3 directory into a set of [default input files](https://github.com/COSIMA/regional-mom6/tree/main/demos/premade_run_directories) included with the package. This way the `setup_rundir` step will automatically populate everything you need for this NUOPC setup. If we want to keep maintaining the old FMS coupler setup, then maybe we just have a boolean `using_NUOPC` flag which specifies which set of input & config files the package grabs.

@ashjbarnes very good idea! We are still in discussions about how best to manage this - but we do need a simpler way than these rather long step-by-step instructions. The two suggestions we were considering were

1. via saving the default input files as you suggested.
2. making an offical release like access-rom3/access-om3-r and the relevant files can be downloaded via pay clone

---

<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:** [11 February 2025 06:04 UTC](https://forum.access-hive.org.au/t/access-rom3-setup-instructions/4107/20 "2025-02-11T06:04:34Z")

</div>

> [@anton](#):
>
> I am moderately confident both approaches are basically equivalent.

Yep.

As @anton said we moved to elucidating all the files individually so it was clear what was being used and what wasn’t, and when a file path was changed it was picked up as a change in the `config.yaml`, and not just in a manifest file.

There are exceptions. The full JRA-55-do forcing dataset is just referenced by the directory in which it resides because it isn’t practical to list all the files individually.

---

<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:** [11 February 2025 06:05 UTC](https://forum.access-hive.org.au/t/access-rom3-setup-instructions/4107/21 "2025-02-11T06:05:48Z")

</div>

> [@ashjbarnes](#):
>
> Since regional models will probably have variable resolutions, maybe we could replace the third entry with a -R, so the suite would eventually be something like
> 
> ACCESS-OM3-01  
> ACCESS-OM3-025  
> ACCESS-OM3-R

I like it. Nice suggestion @ashjbarnes.

[Next page](https://forum.access-hive.org.au/t/access-rom3-setup-instructions/4107.md?page=2)
