We take the steps of building a regional Ross Sea configuration using NEMO 4.2 on ARCHER2. This post is written by TiPACCs PDRA Alethea Mountford (alethea.mountford@northumbria.ac.uk), thanks Alethea!
Pre-requisites:
Suggested reading:
Create ROSS025 configuration
We can make a new ROSS025 configuration using WED025 as a reference (-r
), as below
OR create and compile a new configuration from scratch
And check compile was successful
Pre-processing tools (Nico’s regional tools)
Back in the main BUILD_CONFIG_NEMO
directory, compile all of the pre-processing tools
Create a new namelist for the regional configuration (e.g. namelist_ROSS025) and link it to the pre-processing namelist that is read by the processing tools
Make sure to adapt the regional namelist (i.e. specify the domain bounds in order to cover the desired region).
The exact domain bounds for the ROSS025 configuration are specified as
in the namelist_pre.
It is worth noting that all parent files used for the creation of the regional configuration must be the same grid size. Parent files were provided by Pierre Mathiot (pierre.mathiot@univ-grenoble-alpes.fr – thanks Pierre!) either through personal communication (namely the BDY files) or sourced from his global eORCA025 input files. Global files were cropped as follows
Create the bathymetry and coordinates files
This requires filling in the &general
and &griddata
sections of your namelist_ROSS025 file with the parent bathymetry/coordinate files and specifying the domain bounds
Which should create your bathy_meter_${CONFIG}.nc
and coordinate_${CONFIG}.nc
files
Create the domain_cfg and mesh_mask files
Compile the NEMO DOMAINcfg tool in NEMO/tools/DOMAINcfg and REBUILD_NEMO tool in NEMO/tools/REBUILD_NEMO, i.e.
Note, that this needs to be done in the main NEMO directory (the same as when compiling NEMO itself using ./makenemo)
Create the initial state and atmospheric forcing files
Refer to the detailed instructions written by Nico Jourdain and Chris Bull using the BUILD_CONFIG_NEMO pre-processing tools
Run NEMO
With all of the files in place and the relevant .xml and namelist files, you should be ready to run NEMO. See Building and Running NEMO4 on ARCHER2 full system for a refresher on run scripts (but remember to use X86_ARCHER-Cray_4.2 when compiling and xios_trunk)
In category: nemo4