Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support global-workflow using Rocky 8 on CSPs #2998

Open
wants to merge 25 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
64d4c81
using Rocky 8 on CSPs
weihuang-jedi Oct 2, 2024
ac435a2
compiled and run G-W with Rocky 8
weihuang-jedi Oct 8, 2024
b337ef4
Merge branch 'NOAA-EMC:develop' into csps-rocky8
weihuang-jedi Oct 10, 2024
d5f755c
Merge branch 'NOAA-EMC:develop' into csps-rocky8
weihuang-jedi Oct 30, 2024
56353c2
Merge branch 'NOAA-EMC:develop' into csps-rocky8
weihuang-jedi Nov 7, 2024
ef08872
Merge branch 'NOAA-EMC:develop' into csps-rocky8
weihuang-jedi Nov 12, 2024
feb2c2a
update submodules
weihuang-jedi Nov 14, 2024
fb19458
Merge branch 'csps-rocky8' of github.com:NOAA-EPIC/global-workflow-cl…
weihuang-jedi Nov 14, 2024
6785524
Merge branch 'NOAA-EMC:develop' into csps-rocky8
weihuang-jedi Nov 14, 2024
0502044
Merge branch 'NOAA-EMC:develop' into csps-rocky8
weihuang-jedi Nov 15, 2024
b078484
make AWS use different partitions for fcst and others
weihuang-jedi Nov 21, 2024
fb80afd
Merge branch 'NOAA-EMC:develop' into csps-rocky8
weihuang-jedi Nov 21, 2024
cf62b9b
sync with develop
weihuang-jedi Nov 21, 2024
86b973e
updates at Azure
weihuang-jedi Nov 21, 2024
3e0d031
Merge branch 'csps-rocky8' of github.com:NOAA-EPIC/global-workflow-cl…
weihuang-jedi Nov 21, 2024
944cfb3
GPC update to Rocky8
weihuang-jedi Nov 21, 2024
bc7c970
sync module versions
weihuang-jedi Nov 21, 2024
e97088d
update azure resource
weihuang-jedi Nov 21, 2024
3c85ff0
update azure resource
weihuang-jedi Nov 21, 2024
19e75a3
update gcp resource
weihuang-jedi Nov 21, 2024
4011950
Merge branch 'csps-rocky8' of github.com:NOAA-EPIC/global-workflow-cl…
weihuang-jedi Nov 21, 2024
fe0f3ee
wave runs fine on AWS for C48_S2SWA_gefs
weihuang-jedi Nov 22, 2024
9469504
Merge branch 'NOAA-EMC:develop' into csps-rocky8
weihuang-jedi Nov 25, 2024
ea07117
move CSPs specific packages to workflow/hosts/
weihuang-jedi Nov 26, 2024
c81c854
remove SUPPORT_WAVE from *pw.yaml, and setup_expt.py as WAVE works on…
weihuang-jedi Nov 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
[submodule "sorc/ufs_model.fd"]
path = sorc/ufs_model.fd
url = https://github.com/ufs-community/ufs-weather-model
ignore = dirty
url = git@github.com:NOAA-EPIC/ufs-weather-model.git
branch = csps-rocky8
[submodule "sorc/wxflow"]
path = sorc/wxflow
url = https://github.com/NOAA-EMC/wxflow
[submodule "sorc/gfs_utils.fd"]
path = sorc/gfs_utils.fd
url = https://github.com/NOAA-EMC/gfs-utils
url = ssh://[email protected]/NOAA-EPIC/gfs-utils.git
branch = csps-rocky8
[submodule "sorc/ufs_utils.fd"]
path = sorc/ufs_utils.fd
url = https://github.com/ufs-community/UFS_UTILS.git
url = [email protected]:NOAA-EPIC/UFS_UTILS-cloud.git
branch = csps-rocky8
[submodule "sorc/verif-global.fd"]
path = sorc/verif-global.fd
url = https://github.com/NOAA-EMC/EMC_verif-global.git
Expand Down
4 changes: 4 additions & 0 deletions env/AWSPW.env
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ if [[ "${step}" = "fcst" ]] || [[ "${step}" = "efcs" ]]; then
export APRUN_UFS="${launcher} -n ${ufs_ntasks}"
unset nnodes ufs_ntasks

elif [[ "${step}" = "prep_emissions" ]]; then

export APRUN="${APRUN_default}"

elif [[ "${step}" = "waveinit" ]] || [[ "${step}" = "waveprep" ]] || [[ "${step}" = "wavepostsbs" ]] || [[ "${step}" = "wavepostbndpnt" ]] || [[ "${step}" = "wavepostbndpntbll" ]] || [[ "${step}" = "wavepostpnt" ]]; then

export CFP_MP="YES"
Expand Down
16 changes: 10 additions & 6 deletions env/AZUREPW.env
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@
export wavempexec=${launcher}
export wave_mpmd=${mpmd_opt}

elif [[ "${step}" = "prep_emissions" ]]; then

export APRUN = ${APRUN_default}
Fixed Show fixed Hide fixed
Fixed Show fixed Hide fixed
Fixed Show fixed Hide fixed

elif [[ "${step}" = "post" ]]; then

export NTHREADS_NP=${NTHREADS1}
Expand All @@ -71,33 +75,33 @@
elif [[ "${step}" = "ecen" ]]; then

export NTHREADS_ECEN=${NTHREADSmax}
export APRUN_ECEN="${APRUN}"
export APRUN_ECEN="${APRUN_default}"

export NTHREADS_CHGRES=${threads_per_task_chgres:-12}
[[ ${NTHREADS_CHGRES} -gt ${max_tasks_per_node} ]] && export NTHREADS_CHGRES=${max_tasks_per_node}
export APRUN_CHGRES="time"

export NTHREADS_CALCINC=${threads_per_task_calcinc:-1}
[[ ${NTHREADS_CALCINC} -gt ${max_threads_per_task} ]] && export NTHREADS_CALCINC=${max_threads_per_task}
export APRUN_CALCINC="${APRUN}"
export APRUN_CALCINC="${APRUN_default}"

elif [[ "${step}" = "esfc" ]]; then

export NTHREADS_ESFC=${NTHREADSmax}
export APRUN_ESFC="${APRUN}"
export APRUN_ESFC="${APRUN_default}"

export NTHREADS_CYCLE=${threads_per_task_cycle:-14}
[[ ${NTHREADS_CYCLE} -gt ${max_tasks_per_node} ]] && export NTHREADS_CYCLE=${max_tasks_per_node}
export APRUN_CYCLE="${APRUN}"
export APRUN_CYCLE="${APRUN_default}"

elif [[ "${step}" = "epos" ]]; then

export NTHREADS_EPOS=${NTHREADSmax}
export APRUN_EPOS="${APRUN}"
export APRUN_EPOS="${APRUN_default}"

elif [[ "${step}" = "fit2obs" ]]; then

export NTHREADS_FIT2OBS=${NTHREADS1}
export MPIRUN="${APRUN}"
export MPIRUN="${APRUN_default}"

fi
4 changes: 2 additions & 2 deletions env/GOOGLEPW.env
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

elif [[ "${step}" = "prep_emissions" ]]; then

export APRUN
export APRUN = ${APRUN_default}
Fixed Show fixed Hide fixed
Fixed Show fixed Hide fixed
Fixed Show fixed Hide fixed

elif [[ "${step}" = "waveinit" ]] || [[ "${step}" = "waveprep" ]] || [[ "${step}" = "wavepostsbs" ]] || [[ "${step}" = "wavepostbndpnt" ]] || [[ "${step}" = "wavepostbndpntbll" ]] || [[ "${step}" = "wavepostpnt" ]]; then

Expand Down Expand Up @@ -102,6 +102,6 @@
elif [[ "${step}" = "fit2obs" ]]; then

export NTHREADS_FIT2OBS=${NTHREADS1}
export MPIRUN="${APRUN}"
export MPIRUN="${APRUN_default}"

fi
7 changes: 5 additions & 2 deletions modulefiles/module_base.noaacloud.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ Load environment to run GFS on noaacloud
local spack_mod_path=(os.getenv("spack_mod_path") or "None")
prepend_path("MODULEPATH", spack_mod_path)

load(pathJoin("stack-intel", (os.getenv("stack_intel_ver") or "None")))
load(pathJoin("stack-intel-oneapi-mpi", (os.getenv("stack_impi_ver") or "None")))
load("gnu")
weihuang-jedi marked this conversation as resolved.
Show resolved Hide resolved
load("stack-intel")
load("stack-intel-oneapi-mpi")
unload("gnu")

load(pathJoin("python", (os.getenv("python_ver") or "None")))

load(pathJoin("jasper", (os.getenv("jasper_ver") or "None")))
Expand Down
16 changes: 8 additions & 8 deletions modulefiles/module_gwsetup.noaacloud.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ Load environment to run GFS workflow setup scripts on noaacloud

load(pathJoin("rocoto"))

prepend_path("MODULEPATH", "/contrib/spack-stack/spack-stack-1.6.0/envs/unified-env/install/modulefiles/Core")
prepend_path("MODULEPATH", "/contrib/spack-stack-rocky8/spack-stack-1.6.0/envs/ue-intel/install/modulefiles/Core")
prepend_path("MODULEPATH", "/apps/modules/modulefiles")
load("gnu")
load("stack-intel")
load("stack-intel-oneapi-mpi")
unload("gnu")

local stack_intel_ver=os.getenv("stack_intel_ver") or "2021.3.0"
local python_ver=os.getenv("python_ver") or "3.10.3"

load(pathJoin("stack-intel", stack_intel_ver))
load(pathJoin("python", python_ver))
load("py-jinja2")
load("py-pyyaml")
load("py-numpy")
local git_ver=os.getenv("git_ver") or "1.8.3.1"
load(pathJoin("git", git_ver))
--local git_ver=os.getenv("git_ver") or "1.8.3.1"
--load(pathJoin("git", git_ver))

whatis("Description: GFS run setup environment")
2 changes: 1 addition & 1 deletion versions/build.noaacloud.ver
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ export stack_intel_ver=2021.3.0
export stack_impi_ver=2021.3.0
export spack_env=gsi-addon-env
source "${HOMEgfs:-}/versions/spack.ver"
export spack_mod_path="/contrib/spack-stack/spack-stack-${spack_stack_ver}/envs/gsi-addon-env/install/modulefiles/Core"
export spack_mod_path="/contrib/spack-stack-rocky8/spack-stack-1.6.0/envs/gsi-addon-env/install/modulefiles/Core"
2 changes: 1 addition & 1 deletion versions/run.noaacloud.ver
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ export stack_impi_ver=2021.3.0
export spack_env=gsi-addon-env

source "${HOMEgfs:-}/versions/spack.ver"
export spack_mod_path="/contrib/spack-stack/spack-stack-${spack_stack_ver}/envs/gsi-addon-env/install/modulefiles/Core"
export spack_mod_path="/contrib/spack-stack-rocky8/spack-stack-1.6.0/envs/gsi-addon-env/install/modulefiles/Core"

export cdo_ver=2.2.0
Loading