Skip to content

Develop new configurations for UFS‐WW3

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

WARNING: THIS PAGE IS CURRENTLY IN ACTIVE DEVELOPMENT. USE THESE INSTRUCTIONS WITH CAUTION AT THIS TIME. CHECK BACK IN FOR A FINALIZED VERSION.


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

image

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

/work2/noaa/nos-surge/yunfangs/demo/stmp/yunfangs/FV3_RT/rt_3074887/coastal_ike_shinnecock_ww3_intel image

image

image image

image