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.
- Loading branch information
Showing
125 changed files
with
6,484 additions
and
6,082 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
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
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 FV3
updated
7 files
+57 −16 | .github/workflows/GCC.yml | |
+2 −1 | CMakeLists.txt | |
+1 −1 | atmos_cubed_sphere | |
+2 −1 | atmos_model.F90 | |
+1 −1 | io/module_write_netcdf.F90 | |
+1 −1 | io/post_fv3.F90 | |
+1 −1 | upp |
Submodule MOM6
updated
11 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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 stochastic_physics
updated
7 files
+1 −1 | cellular_automata_global.F90 | |
+1 −1 | cellular_automata_sgs.F90 | |
+5 −0 | plumes.F90 | |
+4 −3 | spectral_transforms.F90 | |
+1 −3 | stochy_data_mod.F90 | |
+2 −2 | stochy_patterngenerator.F90 | |
+4 −2 | update_ca.F90 |
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 +1 @@ | ||
export BL_DATE=20240401 | ||
export BL_DATE=20240419 |
Oops, something went wrong.