Skip to content

Commit

Permalink
Update hash of ufs weather model (#146)
Browse files Browse the repository at this point in the history
* update hash of ufs weather model

* update template files

* update forecast ex-script

* update node ppn for forecast

* update hash of ufs-weather-model

* clean up forecast script

* update ctest scripts

* fix unbound variables on ctest

* parameterize hpc variables for forecast

* update ctest scripts for forecast

* change path to jedi on hercules

* change path to jedi for hercules

* update version of run.ver files
  • Loading branch information
chan-hoo authored Oct 8, 2024
1 parent 96de8e0 commit d8b7ea8
Show file tree
Hide file tree
Showing 45 changed files with 1,709 additions and 1,551 deletions.
1 change: 1 addition & 0 deletions modulefiles/build_hera_intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ load(pathJoin("sp", sp_ver))
load(pathJoin("w3emc", w3emc_ver))
load(pathJoin("gftl-shared", gftl_shared_ver))
load(pathJoin("mapl", mapl_ver))
load(pathJoin("scotch", scotch_ver))
load(pathJoin("prod_util", prod_util_ver))
load(pathJoin("ufs-pyenv", ufs_pyenv_ver))

Expand Down
3 changes: 2 additions & 1 deletion modulefiles/build_hercules_intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ load(pathJoin("sp", sp_ver))
load(pathJoin("w3emc", w3emc_ver))
load(pathJoin("gftl-shared", gftl_shared_ver))
load(pathJoin("mapl", mapl_ver))
load(pathJoin("scotch", scotch_ver))
load(pathJoin("prod_util", prod_util_ver))
load(pathJoin("ufs-pyenv", ufs_pyenv_ver))

Expand All @@ -43,4 +44,4 @@ setenv("FC", "mpiifort")
setenv("CMAKE_Platform", "hercules.intel")

setenv("EPICHOME", "/work/noaa/epic/UFS_Land-DA_Dev")
setenv("JEDI_INSTALL", "/work2/noaa/epic/UFS_Land-DA_Dev/jedi_v7_hercules")
setenv("JEDI_INSTALL", "/work/noaa/epic/UFS_Land-DA_Dev/jedi_v7_hercules")
1 change: 1 addition & 0 deletions modulefiles/build_orion_intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ load(pathJoin("sp", sp_ver))
load(pathJoin("w3emc", w3emc_ver))
load(pathJoin("gftl-shared", gftl_shared_ver))
load(pathJoin("mapl", mapl_ver))
load(pathJoin("scotch", scotch_ver))
load(pathJoin("prod_util", prod_util_ver))
load(pathJoin("ufs-pyenv", ufs_pyenv_ver))

Expand Down
2 changes: 1 addition & 1 deletion modulefiles/tasks/hera/task.plot_stats.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
prepend_path("MODULEPATH", os.getenv("modulepath_spack_stack"))
prepend_path("MODULEPATH", os.getenv("modulepath_spack_stack_unienv"))

load(pathJoin("stack-intel", stack_intel_ver))
load(pathJoin("stack-intel-oneapi-mpi", stack_intel_oneapi_mpi_ver))
Expand Down
1 change: 1 addition & 0 deletions modulefiles/tasks/hercules
10 changes: 0 additions & 10 deletions modulefiles/tasks/hercules/task.analysis.lua

This file was deleted.

28 changes: 0 additions & 28 deletions modulefiles/tasks/hercules/task.forecast.lua

This file was deleted.

15 changes: 0 additions & 15 deletions modulefiles/tasks/hercules/task.plot_stats.lua

This file was deleted.

13 changes: 0 additions & 13 deletions modulefiles/tasks/hercules/task.post_anal.lua

This file was deleted.

10 changes: 0 additions & 10 deletions modulefiles/tasks/hercules/task.pre_anal.lua

This file was deleted.

7 changes: 0 additions & 7 deletions modulefiles/tasks/hercules/task.prep_obs.lua

This file was deleted.

1 change: 1 addition & 0 deletions modulefiles/tasks/orion
10 changes: 0 additions & 10 deletions modulefiles/tasks/orion/task.analysis.lua

This file was deleted.

28 changes: 0 additions & 28 deletions modulefiles/tasks/orion/task.forecast.lua

This file was deleted.

15 changes: 0 additions & 15 deletions modulefiles/tasks/orion/task.plot_stats.lua

This file was deleted.

13 changes: 0 additions & 13 deletions modulefiles/tasks/orion/task.post_anal.lua

This file was deleted.

10 changes: 0 additions & 10 deletions modulefiles/tasks/orion/task.pre_anal.lua

This file was deleted.

7 changes: 0 additions & 7 deletions modulefiles/tasks/orion/task.prep_obs.lua

This file was deleted.

28 changes: 23 additions & 5 deletions parm/land_analysis_hera.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,18 @@ workflow:
WARMSTART_DIR: "/scratch2/NAGAPE/epic/UFS_Land-DA_Dev/inputs/DATA_RESTART"
ATMOS_FORC: "gswp3"
RES: "96"
FCSTHR: "24"
NPROCS_ANALYSIS: "6"
NPROCS_FORECAST: "7"
FCSTHR: "24"
DT_ATMOS: "900"
DT_RUNSEQ: "3600"
NPROCS_FORECAST: "26"
NPROCS_FORECAST_ATM: "12"
NPROCS_FORECAST_LND: "12"
LND_LAYOUT_X: "1"
LND_LAYOUT_Y: "2"
LND_OUTPUT_FREQ_SEC: "21600"
NNODES_FORECAST: "1"
NPROCS_PER_NODE: "26"
OBSDIR: ""
OBSDIR_SUBDIR: ""
OBS_TYPES: "GHCN"
Expand Down Expand Up @@ -213,12 +222,21 @@ workflow:
cyc: "&cyc;"
DAtype: "&DAtype;"
FCSTHR: "&FCSTHR;"
NPROCS_FORECAST: "&NPROCS_FORECAST;"
DT_ATMOS: "&DT_ATMOS;"
DT_RUNSEQ: "&DT_RUNSEQ;"
NPROCS_FORECAST: "&NPROCS_FORECAST;"
NPROCS_FORECAST_ATM: "&NPROCS_FORECAST_ATM;"
NPROCS_FORECAST_LND: "&NPROCS_FORECAST_LND;"
LND_LAYOUT_X: "&LND_LAYOUT_X;"
LND_LAYOUT_Y: "&LND_LAYOUT_Y;"
LND_OUTPUT_FREQ_SEC: "&LND_OUTPUT_FREQ_SEC;"
NNODES_FORECAST: "&NNODES_FORECAST;"
NPROCS_PER_NODE: "&NPROCS_PER_NODE;"
account: "&ACCOUNT;"
command: '&HOMElandda;/parm/task_load_modules_run_jjob.sh "forecast" "&HOMElandda;" "&MACHINE;"'
jobname: forecast
nodes: "1:ppn=&NPROCS_FORECAST;"
walltime: 01:00:00
nodes: "&NNODES_FORECAST;:ppn=&NPROCS_PER_NODE;"
walltime: 00:30:00
queue: batch
join: "&LOGDIR;/forecast&LOGFN_SUFFIX;"
dependency:
Expand Down
30 changes: 24 additions & 6 deletions parm/land_analysis_hercules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,22 @@ workflow:
SCHED: "slurm"
ACCOUNT: "epic"
EXP_BASEDIR: "/work2/noaa/epic/{USER}/landda_test"
JEDI_INSTALL: "/work2/noaa/epic/UFS_Land-DA_Dev/jedi_v7_hercules"
JEDI_INSTALL: "/work/noaa/epic/UFS_Land-DA_Dev/jedi_v7_hercules"
WARMSTART_DIR: "/work/noaa/epic/UFS_Land-DA_Dev/inputs/DATA_RESTART"
ATMOS_FORC: "gswp3"
RES: "96"
FCSTHR: "24"
NPROCS_ANALYSIS: "6"
NPROCS_FORECAST: "7"
FCSTHR: "24"
DT_ATMOS: "900"
DT_RUNSEQ: "3600"
NPROCS_FORECAST: "26"
NPROCS_FORECAST_ATM: "12"
NPROCS_FORECAST_LND: "12"
LND_LAYOUT_X: "1"
LND_LAYOUT_Y: "2"
LND_OUTPUT_FREQ_SEC: "21600"
NNODES_FORECAST: "1"
NPROCS_PER_NODE: "26"
OBSDIR: ""
OBSDIR_SUBDIR: ""
OBS_TYPES: "GHCN"
Expand Down Expand Up @@ -213,12 +222,21 @@ workflow:
cyc: "&cyc;"
DAtype: "&DAtype;"
FCSTHR: "&FCSTHR;"
NPROCS_FORECAST: "&NPROCS_FORECAST;"
DT_ATMOS: "&DT_ATMOS;"
DT_RUNSEQ: "&DT_RUNSEQ;"
NPROCS_FORECAST: "&NPROCS_FORECAST;"
NPROCS_FORECAST_ATM: "&NPROCS_FORECAST_ATM;"
NPROCS_FORECAST_LND: "&NPROCS_FORECAST_LND;"
LND_LAYOUT_X: "&LND_LAYOUT_X;"
LND_LAYOUT_Y: "&LND_LAYOUT_Y;"
LND_OUTPUT_FREQ_SEC: "&LND_OUTPUT_FREQ_SEC;"
NNODES_FORECAST: "&NNODES_FORECAST;"
NPROCS_PER_NODE: "&NPROCS_PER_NODE;"
account: "&ACCOUNT;"
command: '&HOMElandda;/parm/task_load_modules_run_jjob.sh "forecast" "&HOMElandda;" "&MACHINE;"'
jobname: forecast
nodes: "1:ppn=&NPROCS_FORECAST;"
walltime: 01:00:00
nodes: "&NNODES_FORECAST;:ppn=&NPROCS_PER_NODE;"
walltime: 00:30:00
queue: batch
join: "&LOGDIR;/forecast&LOGFN_SUFFIX;"
dependency:
Expand Down
28 changes: 23 additions & 5 deletions parm/land_analysis_orion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,18 @@ workflow:
WARMSTART_DIR: "/work/noaa/epic/UFS_Land-DA_Dev/inputs/DATA_RESTART"
ATMOS_FORC: "gswp3"
RES: "96"
FCSTHR: "24"
NPROCS_ANALYSIS: "6"
NPROCS_FORECAST: "7"
FCSTHR: "24"
DT_ATMOS: "900"
DT_RUNSEQ: "3600"
NPROCS_FORECAST: "26"
NPROCS_FORECAST_ATM: "12"
NPROCS_FORECAST_LND: "12"
LND_LAYOUT_X: "1"
LND_LAYOUT_Y: "2"
LND_OUTPUT_FREQ_SEC: "21600"
NNODES_FORECAST: "1"
NPROCS_PER_NODE: "26"
OBSDIR: ""
OBSDIR_SUBDIR: ""
OBS_TYPES: "GHCN"
Expand Down Expand Up @@ -213,12 +222,21 @@ workflow:
cyc: "&cyc;"
DAtype: "&DAtype;"
FCSTHR: "&FCSTHR;"
NPROCS_FORECAST: "&NPROCS_FORECAST;"
DT_ATMOS: "&DT_ATMOS;"
DT_RUNSEQ: "&DT_RUNSEQ;"
NPROCS_FORECAST: "&NPROCS_FORECAST;"
NPROCS_FORECAST_ATM: "&NPROCS_FORECAST_ATM;"
NPROCS_FORECAST_LND: "&NPROCS_FORECAST_LND;"
LND_LAYOUT_X: "&LND_LAYOUT_X;"
LND_LAYOUT_Y: "&LND_LAYOUT_Y;"
LND_OUTPUT_FREQ_SEC: "&LND_OUTPUT_FREQ_SEC;"
NNODES_FORECAST: "&NNODES_FORECAST;"
NPROCS_PER_NODE: "&NPROCS_PER_NODE;"
account: "&ACCOUNT;"
command: '&HOMElandda;/parm/task_load_modules_run_jjob.sh "forecast" "&HOMElandda;" "&MACHINE;"'
jobname: forecast
nodes: "1:ppn=&NPROCS_FORECAST;"
walltime: 01:00:00
nodes: "&NNODES_FORECAST;:ppn=&NPROCS_PER_NODE;"
walltime: 00:30:00
queue: batch
join: "&LOGDIR;/forecast&LOGFN_SUFFIX;"
dependency:
Expand Down
1 change: 1 addition & 0 deletions parm/templates/template.data_table
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"OCN", "runoff", "runoff", "./INPUT/", "none" , 1.0
1 change: 1 addition & 0 deletions parm/templates/template.datm_in
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@
nx_global = 144
ny_global = 96
restfilm = "null"
export_all = .true.
/
1 change: 1 addition & 0 deletions parm/templates/template.diag_table
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ XXYYYY XXMM XXDD XXHH 0 0
"gfs_dyn", "delp", "dpres", "fv3_history", "all", .false., "none", 2
"gfs_dyn", "delz", "delz", "fv3_history", "all", .false., "none", 2
"gfs_dyn", "w", "dzdt", "fv3_history", "all", .false., "none", 2
"gfs_dyn", "omga", "omga", "fv3_history", "all", .false., "none", 2
"gfs_dyn", "ice_wat", "icmr", "fv3_history", "all", .false., "none", 2
"gfs_dyn", "rainwat", "rwmr", "fv3_history", "all", .false., "none", 2
"gfs_dyn", "snowwat", "snmr", "fv3_history", "all", .false., "none", 2
Expand Down
Loading

0 comments on commit d8b7ea8

Please sign in to comment.