forked from ufs-community/ufs-weather-model
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ufs-community:develop' into rt-refactor
- Loading branch information
Showing
166 changed files
with
7,058 additions
and
6,254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
name: Super-Linter | ||
|
||
on: | ||
push: null | ||
pull_request: null | ||
|
||
jobs: | ||
build: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: read | ||
packages: read | ||
statuses: write | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Super-Linter | ||
uses: super-linter/super-linter@v6.3.0 | ||
env: | ||
LINTER_RULES_PATH: / | ||
DEFAULT_BRANCH: origin/develop | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
FILTER_REGEX_EXCLUDE: .*(tests/fv3_conf/.*|tests/ci/.*|tests/auto/.*|tests/auto-jenkins/.*|tests/opnReqTests/.*|tests/opnReqTest|tests/atparse.bash).* | ||
VALIDATE_BASH: true | ||
BASH_SEVERITY: style | ||
#VALIDATE_GITHUB_ACTIONS: true | ||
#VALIDATE_LUA: true | ||
#VALIDATE_MARKDOWN: true | ||
#VALIDATE_PYTHON_PYLINT: true | ||
#VALIDATE_YAML: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Global settings for Shellcheck (https://github.com/koalaman/shellcheck) | ||
enable=all | ||
|
||
external-sources=true | ||
|
||
# Disable variable referenced but not assigned | ||
disable=SC2154 | ||
|
||
# Disable following non-constant source | ||
disable=SC1090 | ||
|
||
# Disable non-existent binary | ||
disable=SC1091 | ||
|
||
# Disable -p -m only applies to deepest directory | ||
disable=SC2174 |
Submodule CICE
updated
93 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule CMEPS
updated
9 files
+35 −14 | cesm/driver/esm.F90 | |
+30 −10 | mediator/med.F90 | |
+3 −3 | mediator/med_fraction_mod.F90 | |
+6 −2 | mediator/med_internalstate_mod.F90 | |
+20 −21 | mediator/med_io_mod.F90 | |
+55 −51 | mediator/med_map_mod.F90 | |
+17 −31 | mediator/med_phases_history_mod.F90 | |
+4 −0 | mediator/med_phases_restart_mod.F90 | |
+1 −1 | ufs/ccpp/data/MED_typedefs.meta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule FV3
updated
24 files
+57 −17 | .github/workflows/GCC.yml | |
+11 −2 | CMakeLists.txt | |
+1 −1 | atmos_cubed_sphere | |
+31 −26 | atmos_model.F90 | |
+4 −2 | ccpp/CMakeLists.txt | |
+30 −0 | ccpp/data/CCPP_typedefs.F90 | |
+68 −20 | ccpp/data/CCPP_typedefs.meta | |
+12 −9 | ccpp/data/GFS_typedefs.F90 | |
+6 −37 | ccpp/data/GFS_typedefs.meta | |
+7 −3 | ccpp/driver/CCPP_driver.F90 | |
+1 −1 | ccpp/framework | |
+1 −1 | ccpp/physics | |
+0 −1 | cpl/module_cap_cpl.F90 | |
+25 −17 | cpl/module_cplfields.F90 | |
+203 −0 | cpl/module_cplscalars.F90 | |
+53 −2 | fv3_cap.F90 | |
+0 −1 | io/fv3atm_history_io.F90 | |
+31 −29 | io/module_fv3_io_def.F90 | |
+127 −55 | io/module_write_netcdf.F90 | |
+15 −6 | io/module_wrt_grid_comp.F90 | |
+79 −56 | io/post_fv3.F90 | |
+25 −1 | module_fcst_grid_comp.F90 | |
+1 −0 | stochastic_physics/stochastic_physics_wrapper.F90 | |
+1 −1 | upp |
Submodule MOM6
updated
12 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule noahmp
updated
12 files
+4 −3 | CMakeLists.txt | |
+19 −3 | drivers/ccpp/noahmpdrv.F90 | |
+8 −0 | drivers/ccpp/noahmpdrv.meta | |
+39 −15 | drivers/ccpp/sfc_diff.f | |
+192 −0 | drivers/nuopc/lnd_comp_cplscalars.F90 | |
+25 −10 | drivers/nuopc/lnd_comp_domain.F90 | |
+2 −2 | drivers/nuopc/lnd_comp_driver.F90 | |
+78 −34 | drivers/nuopc/lnd_comp_import_export.F90 | |
+109 −40 | drivers/nuopc/lnd_comp_io.F90 | |
+59 −8 | drivers/nuopc/lnd_comp_nuopc.F90 | |
+122 −116 | drivers/nuopc/lnd_comp_types.F90 | |
+7 −3 | src/module_sf_noahmplsm.F90 |
Submodule WW3
updated
39 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,29 @@ | ||
#!/bin/bash | ||
set -eu | ||
|
||
if [[ $(uname -s) == Darwin ]]; then | ||
readonly UFS_MODEL_DIR=$(cd "$(dirname "$(greadlink -f -n "${BASH_SOURCE[0]}" )" )" && pwd -P) | ||
uname_s=$(uname -s) | ||
if [[ ${uname_s} == Darwin ]]; then | ||
UFS_MODEL_DIR=$(greadlink -f -n "${BASH_SOURCE[0]}") | ||
UFS_MODEL_DIR=$(dirname "${UFS_MODEL_DIR}") | ||
UFS_MODEL_DIR=$(cd "${UFS_MODEL_DIR}" && pwd -P) | ||
else | ||
readonly UFS_MODEL_DIR=$(cd "$(dirname "$(readlink -f -n "${BASH_SOURCE[0]}" )" )" && pwd -P) | ||
UFS_MODEL_DIR=$(readlink -f -n "${BASH_SOURCE[0]}") | ||
UFS_MODEL_DIR=$(dirname "${UFS_MODEL_DIR}") | ||
UFS_MODEL_DIR=$(cd "${UFS_MODEL_DIR}" && pwd -P) | ||
fi | ||
echo "UFS MODEL DIR: ${UFS_MODEL_DIR}" | ||
readonly UFS_MODEL_DIR | ||
|
||
export CC=${CC:-mpicc} | ||
export CXX=${CXX:-mpicxx} | ||
export FC=${FC:-mpif90} | ||
|
||
BUILD_DIR=${BUILD_DIR:-${UFS_MODEL_DIR}/build} | ||
mkdir -p ${BUILD_DIR} | ||
mkdir -p "${BUILD_DIR}" | ||
|
||
cd ${BUILD_DIR} | ||
cmake ${UFS_MODEL_DIR} ${CMAKE_FLAGS} | ||
cd "${BUILD_DIR}" | ||
ARR_CMAKE_FLAGS=() | ||
for i in ${CMAKE_FLAGS}; do ARR_CMAKE_FLAGS+=("${i}") ; done | ||
cmake "${UFS_MODEL_DIR}" "${ARR_CMAKE_FLAGS[@]}" | ||
# Turn off OpenMP threading for parallel builds | ||
# to avoid exhausting the number of user processes | ||
OMP_NUM_THREADS=1 make -j ${BUILD_JOBS:-4} VERBOSE=${BUILD_VERBOSE:-} | ||
OMP_NUM_THREADS=1 make -j "${BUILD_JOBS:-4}" "VERBOSE=${BUILD_VERBOSE:-}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.