Skip to content

Develop new configurations for UFS‐WW3

Yunfang Sun edited this page Oct 15, 2024 · 7 revisions

An efficient way to build and run the UFS Weather Model is to use the regression test (rt.sh).

It does not require a workflow, pre- or post-processing steps.

The batch submission script is generated.

Any required input data is already available for machines used by the regression test.

Once the rt.sh test completes, you will have a working copy in your run directory where you can make modifications to the namelist and other files, and then re-run the executable.

The steps are:

Clone the source code, then go into the tests directory:

cd ufs-weather-model (or the top level where you checked out the code) cd tests

Modify the rt.sh script to put the output in a run directory where you have write permission:

Run the rt.sh script from the tests directory:

When the build and run are complete, modify the namelist or model_configure files and re-run by submitting the job_card file:

cd ufs-weather-model/tests ./compile.sh "hercules" "-DAPP=CSTLW -DPDLIB=ON" coastal intel 0 0 image