forked from NCAR/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 commit '5d2ca19' into ufs-dev-PR184
- Loading branch information
Showing
76 changed files
with
4,006 additions
and
5,457 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/[email protected] | ||
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
70 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
8 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 |
Submodule FV3
updated
22 files
+57 −16 | .github/workflows/GCC.yml | |
+4 −1 | CMakeLists.txt | |
+1 −1 | atmos_cubed_sphere | |
+32 −27 | atmos_model.F90 | |
+1 −0 | ccpp/config/ccpp_prebuild_config.py | |
+13 −24 | ccpp/data/GFS_typedefs.F90 | |
+10 −4 | ccpp/data/GFS_typedefs.meta | |
+6 −0 | ccpp/driver/GFS_diagnostics.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 | |
+133 −59 | io/module_write_netcdf.F90 | |
+4 −4 | io/module_write_restart_netcdf.F90 | |
+13 −7 | io/module_wrt_grid_comp.F90 | |
+4 −4 | io/post_fv3.F90 | |
+28 −4 | module_fcst_grid_comp.F90 | |
+3 −2 | module_fv3_config.F90 | |
+1 −1 | upp |
Submodule MOM6
updated
8 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
4 files
+4 −3 | CMakeLists.txt | |
+192 −0 | drivers/nuopc/lnd_comp_cplscalars.F90 | |
+78 −34 | drivers/nuopc/lnd_comp_import_export.F90 | |
+59 −8 | drivers/nuopc/lnd_comp_nuopc.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:-1}" |
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
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.