Skip to content

Porting ufs s2s model to a new machine

Jessica Meixner edited this page Jan 13, 2020 · 3 revisions

To port ufs-s2s-model to a new machine, the best thing to do is to look at a machine that it’s already ported to and copy the template. This is not a complete list of to-do’s, but this is a good start:

1. You will need the NCEP libs: https://github.com/NOAA-EMC/NCEPLIBS and other modules. You will also need modules for netcdf, rocoto, ESMF, MPI, etc.

2. NEMS and NCEPLIBS-pyprodutil will need to be ported to the machine you need.

3. Make sure that the machine is not set-up as not configured in conf/before_components.mk

4. In the conf/ directory add a configure.fv3_coupled.${BUILD_TARGET} file (this file name is defined in the before_components.mk), BUILD_TARGET=$(FULL_MACHINE_ID).$(NEMS_COMPILER) within the NEMS fraemwork. This is the one for hera, configure.fv3_coupled.hera.intel

Note the differences between /conf/configure.fv3_coupled.hera.intel and /conf/configure.fv3.hera.intel, similarly you will need to make sure that CPPFLAGS += -DFV3_CPLD -traditional

5.

(add steps for porting WW3 too!)

Clone this wiki locally