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

small cloud tuning from Greg Thompson #1410

Merged
merged 19 commits into from
Oct 19, 2022
Merged
Show file tree
Hide file tree
Changes from 18 commits
Commits
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
6 changes: 4 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[submodule "FV3"]
path = FV3
url = https://github.com/NOAA-EMC/fv3atm
branch = develop
url = https://github.com/grantfirl/fv3atm
branch = small_cloud_tuning_GT_gjf
#url = https://github.com/NOAA-EMC/fv3atm
#branch = develop
[submodule "WW3"]
path = WW3
url = https://github.com/NOAA-EMC/WW3
Expand Down
2 changes: 1 addition & 1 deletion FV3
Submodule FV3 updated 2 files
+4 −2 .gitmodules
+1 −1 ccpp/physics
1,417 changes: 710 additions & 707 deletions tests/RegressionTests_gaea.intel.log

Large diffs are not rendered by default.

450 changes: 225 additions & 225 deletions tests/RegressionTests_hera.gnu.log

Large diffs are not rendered by default.

1,320 changes: 660 additions & 660 deletions tests/RegressionTests_hera.intel.log

Large diffs are not rendered by default.

1,206 changes: 603 additions & 603 deletions tests/RegressionTests_jet.intel.log

Large diffs are not rendered by default.

1,344 changes: 672 additions & 672 deletions tests/RegressionTests_orion.intel.log

Large diffs are not rendered by default.

1,020 changes: 516 additions & 504 deletions tests/RegressionTests_wcoss2.intel.log

Large diffs are not rendered by default.

40 changes: 31 additions & 9 deletions tests/ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,27 +48,49 @@ pipeline {
}
}

agent {
label 'docker-ufs-wm-ci'
}

environment {
IMG_NAME = 'ci-test-weather'
}

stages {
stage('Test') {
when {
expression {
!changeRequest()
}
stage('Initialize') {
steps {
cleanWs()
checkout scm
}
}

stage('Build') {
steps {
build job: 'ufs-weather-model/ort-docker-pipeline', parameters: [string(name: 'TEST_NAME', value: "${env.TEST_NAME}"), string(name: 'TEST_CASE', value: "${env.TEST_CASE}"), string(name: 'WRAPPER_GIT_BRANCH', value: "${env.BRANCH_NAME}")]
sh 'docker build --build-arg test_name="" --build-arg build_case="" --no-cache --compress --file "${WORKSPACE}/tests/ci/Dockerfile" --tag "${IMG_NAME}" "${WORKSPACE}"'
}
}

stage('Test for Change Request') {
when { changeRequest() }
stage('Stage Test Data') {
steps {
sh 'docker volume rm --force DataVolume && docker run --detach --rm --volume DataVolume:/tmp noaaepic/input-data:20220414'
}
}

stage('Test') {
steps {
build job: 'ufs-weather-model/ort-docker-pipeline', parameters: [string(name: 'TEST_NAME', value: "${env.TEST_NAME}"), string(name: 'TEST_CASE', value: "${env.TEST_CASE}"), booleanParam(name: 'WRAPPER_CHANGE_REQUEST', value: true), string(name: 'WRAPPER_GIT_BRANCH', value: "${env.CHANGE_TARGET}"), string(name: 'WRAPPER_CHANGE_BRANCH', value: "${env.CHANGE_BRANCH}"), string(name: 'WRAPPER_CHANGE_FORK', value: "${env.CHANGE_FORK}")]
sh 'docker run --rm --env test_name="${TEST_NAME}" --env run_case="${TEST_CASE}" --workdir /home/builder/ufs-weather-model/tests --volume DataVolume:/home/builder/data/NEMSfv3gfs --interactive --shm-size=512m "${IMG_NAME}"'
}
}
}

post {
always {
sh '''
docker rmi -f "$(docker image ls | grep -E -m1 "${IMG_NAME}" | awk '{ print $3 }')"
docker rmi -f "$(docker image ls | grep -E -m1 'noaaepic' | awk '{ print $3 }')"
'''
}
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/rt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ if [[ $TESTS_FILE =~ '35d' ]] || [[ $TESTS_FILE =~ 'weekly' ]]; then
TEST_35D=true
fi

BL_DATE=20221012
BL_DATE=20221017

RTPWD=${RTPWD:-$DISKNM/NEMSfv3gfs/develop-${BL_DATE}/${RT_COMPILER^^}}

Expand Down