NOAA-EMC / global-workflow

Global Superstructure/Workflow supporting the Global Forecast System (GFS)
https://global-workflow.readthedocs.io/en/latest
GNU Lesser General Public License v3.0
75 stars 170 forks source link

Allow building of the ufs-weather-model for GFS, GEFS, SFS in the same clone of global-workflow #3098

Open aerorahul opened 1 week ago

aerorahul commented 1 week ago

Description

GFS and GEFS (and now SFS) uses different compile time options for the UFS-weather-model. For the purposes of CI testing, a multi-build pipeline under Jenkins was created by @TerrenceMcGuinness-NOAA. This served well, until now. With the inclusion of SFS, a third variety of the model is being built. Under the multi-build pipeline paradigm, a second (or third) clone and build of the global-workflow is required. This adds cloning and compilation time of the global-workflow.

This PR allows compiling the ufs-weather-model in a single clone of the global-workflow. The compiled executables based on the options for GFS, GEFS, and SFS results in a model executable as gfs_model.x, gefs_model.x, and sfs_model.x. The forecast script uses the right executable.

Further work is required for differentiating the WW3 pre/post executables and will be carried out in a future PR. Also, further work is required in the multi-build pipeline of Jenkins to use a single HOMEgfs and building the other variants in that space. This will also be carried out in a later PR.

Type of change

Change characteristics

This PR does not update any submodules.

How has this been tested?

In progress

Checklist