Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
61741ec
Add a move step to binaries for NCO purposes.
danielabdi-noaa Oct 21, 2022
7a616d2
Pass COMROOT to setpdy.
danielabdi-noaa Oct 24, 2022
799fda0
Correct path of post dependency on forecat.
danielabdi-noaa Oct 26, 2022
1444e6a
Remove DATA_SHARED directory.
danielabdi-noaa Oct 26, 2022
8d02595
Remove symlinks and use unique id for run_fcst instead.
danielabdi-noaa Oct 26, 2022
8e61b2a
Remove forecast directory after post is done.
danielabdi-noaa Oct 26, 2022
a93a277
Use raw workflow_id
danielabdi-noaa Oct 26, 2022
b543948
Add templated data paths to wcoss2 that use compath.py.
danielabdi-noaa Oct 29, 2022
6a46402
Remove cron relaunch from config.nco
danielabdi-noaa Oct 29, 2022
9a545eb
Undo for_ICS/LBCS stuff in NCO mode.
danielabdi-noaa Oct 29, 2022
ab3d3bf
Remove RESTART symlinking because DATAFCST is accessible to all other…
danielabdi-noaa Oct 29, 2022
841aa3f
Undo cyc addition to COMIN.
danielabdi-noaa Oct 30, 2022
d9dcfe0
Update devclean.
danielabdi-noaa Oct 30, 2022
119ca1a
Follow symlinks when tarring log files in Jenkins.
danielabdi-noaa Oct 30, 2022
d9f353e
Add memory otpion for get_extrn_ics/lbcs.
danielabdi-noaa Oct 30, 2022
806b709
Optimize fundamental test coverage.
danielabdi-noaa Oct 30, 2022
ae4ca30
Reduce work load on orion.
danielabdi-noaa Oct 31, 2022
c78d6e8
Add minimum memory requirement to all serial tasks.
danielabdi-noaa Oct 31, 2022
a3a7723
Simplify set_predef_grid_params.
danielabdi-noaa Oct 31, 2022
d0a1a17
Simplify generate_FV3LAM_wflow.
danielabdi-noaa Nov 1, 2022
f29f673
Simplify link_fix.
danielabdi-noaa Nov 1, 2022
00e002a
Simplify to get rid of export_vars from setup.
danielabdi-noaa Nov 1, 2022
cc77c06
Import only necessary variables from environment.
danielabdi-noaa Nov 1, 2022
d1505d9
Use `eval echo` or `eval` depending on situation.
danielabdi-noaa Nov 1, 2022
d8f9ae4
Add cyc back to COMIN.
danielabdi-noaa Nov 2, 2022
e45182b
Fix calculate_cost.
danielabdi-noaa Nov 2, 2022
dc2b784
Fix gaea test list.
danielabdi-noaa Nov 2, 2022
35dfd6e
Remove a test case from cheyenne that is taking extremely long.
danielabdi-noaa Nov 2, 2022
2202842
Reduce memory requirement for serial job to 1G.
danielabdi-noaa Nov 2, 2022
b38aa18
Create COMINaws ics/lbcs staging directory.
danielabdi-noaa Nov 3, 2022
d3dc8be
Also symlink gfs ics/lbcs if on disk and in community mode.
danielabdi-noaa Nov 3, 2022
1a890d4
Remove failing tests on orion.
danielabdi-noaa Nov 4, 2022
0c61ce2
Exclude gaea from --mem specification.
danielabdi-noaa Nov 4, 2022
05741e2
Add a run_vx modulefile for orion.
danielabdi-noaa Nov 4, 2022
270fe53
Add separate fundamental list for cheyenne GNU runs.
danielabdi-noaa Nov 4, 2022
9e21472
Bug fix for wcoss2 GFS version
danielabdi-noaa Nov 4, 2022
42ffaea
Load prod_util on wcoss2.
danielabdi-noaa Nov 4, 2022
1dce0de
Rename AWSROOT to EXTROOT.
danielabdi-noaa Nov 4, 2022
0fad99c
Remove leftover COMINaws.
danielabdi-noaa Nov 4, 2022
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
2 changes: 1 addition & 1 deletion .cicd/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ pipeline {
post {
always {
// Archive the test log files
sh 'cd "${SRW_WE2E_EXPERIMENT_BASE_DIR}" && tar --create --gzip --verbose --file "${WORKSPACE}/we2e_test_logs-${SRW_PLATFORM}-${SRW_COMPILER}.tgz" */log.generate_FV3LAM_wflow */log.launch_FV3LAM_wflow */log/*'
sh 'cd "${SRW_WE2E_EXPERIMENT_BASE_DIR}" && tar --create --gzip --verbose --dereference --file "${WORKSPACE}/we2e_test_logs-${SRW_PLATFORM}-${SRW_COMPILER}.tgz" */log.generate_FV3LAM_wflow */log.launch_FV3LAM_wflow */log/*'
// Remove the data sets from the experiments directory to conserve disk space
sh 'find "${SRW_WE2E_EXPERIMENT_BASE_DIR}" -regextype posix-extended -regex "^.*(orog|[0-9]{10})$" -type d | xargs rm -rf'
s3Upload consoleLogLevel: 'INFO', dontSetBuildResultOnFailure: false, dontWaitForConcurrentBuildCompletion: false, entries: [[bucket: 'woc-epic-jenkins-artifacts', excludedFile: '', flatten: false, gzipFiles: false, keepForever: false, managedArtifacts: true, noUploadOnFailure: false, selectedRegion: 'us-east-1', showDirectlyInBrowser: false, sourceFile: 'we2e_test_results-*-*.txt', storageClass: 'STANDARD', uploadFromSlave: false, useServerSideEncryption: false], [bucket: 'woc-epic-jenkins-artifacts', excludedFile: '', flatten: false, gzipFiles: false, keepForever: false, managedArtifacts: true, noUploadOnFailure: false, selectedRegion: 'us-east-1', showDirectlyInBrowser: false, sourceFile: 'we2e_test_logs-*-*.tgz', storageClass: 'STANDARD', uploadFromSlave: false, useServerSideEncryption: false]], pluginFailureResultConstraint: 'FAILURE', profileName: 'main', userMetadata: []
Expand Down
27 changes: 22 additions & 5 deletions devbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ OPTIONS
does a "make clean"
--build
does a "make" (build only)
--move
move binaries to final location.
--build-dir=BUILD_DIR
build directory
--install-dir=INSTALL_DIR
Expand Down Expand Up @@ -125,6 +127,7 @@ BUILD_RRFS_UTILS="off"
# Make options
CLEAN=false
BUILD=false
MOVE=false
USE_SUB_MODULES=false #change default to true later

# process required arguments
Expand Down Expand Up @@ -155,6 +158,7 @@ while :; do
--continue=?*|--continue=) usage_error "$1 argument ignored." ;;
--clean) CLEAN=true ;;
--build) BUILD=true ;;
--move) MOVE=true ;;
--build-dir=?*) BUILD_DIR=${1#*=} ;;
--build-dir|--build-dir=) usage_error "$1 requires argument." ;;
--install-dir=?*) INSTALL_DIR=${1#*=} ;;
Expand Down Expand Up @@ -398,18 +402,31 @@ module list
mkdir -p ${BUILD_DIR}
cd ${BUILD_DIR}

printf "... Generate CMAKE configuration ...\n"
cmake ${SRW_DIR} ${CMAKE_SETTINGS} 2>&1 | tee log.cmake

if [ "${CLEAN}" = true ]; then
printf "... Clean executables ...\n"
make ${MAKE_SETTINGS} clean 2>&1 | tee log.make
if [ -f $PWD/Makefile ]; then
printf "... Clean executables ...\n"
make ${MAKE_SETTINGS} clean 2>&1 | tee log.make
fi
elif [ "${BUILD}" = true ]; then
printf "... Generate CMAKE configuration ...\n"
cmake ${SRW_DIR} ${CMAKE_SETTINGS} 2>&1 | tee log.cmake

printf "... Compile executables ...\n"
make ${MAKE_SETTINGS} build 2>&1 | tee log.make
else
printf "... Generate CMAKE configuration ...\n"
cmake ${SRW_DIR} ${CMAKE_SETTINGS} 2>&1 | tee log.cmake

printf "... Compile and install executables ...\n"
make ${MAKE_SETTINGS} install 2>&1 | tee log.make

if [ "${MOVE}" = true ]; then
if [[ ! ${SRW_DIR} -ef ${INSTALL_DIR} ]]; then
printf "... Moving executables to final locations ...\n"
mkdir -p ${SRW_DIR}/${BIN_DIR}
mv ${INSTALL_DIR}/${BIN_DIR}/* ${SRW_DIR}/${BIN_DIR}
fi
fi
fi

exit 0
4 changes: 3 additions & 1 deletion devclean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,11 @@ elif [ "${CLEAN}" = true ]; then
printf '%s\n' " from the installation directory = ${INSTALL_DIR} "
[[ -d "${BUILD_DIR}" ]] && rm -rf ${BUILD_DIR} && printf '%s\n' "rm -rf ${BUILD_DIR}"
[[ -d "${INSTALL_DIR}/${BIN_DIR}" ]] && ( rm -rf ${INSTALL_DIR}/${BIN_DIR} && printf '%s\n' "rm -rf ${INSTALL_DIR}/${BIN_DIR}" )
[[ -d "${INSTALL_DIR}/lib" ]] && ( rm -rf ${INSTALL_DIR}/share && printf '%s\n' "rm -rf ${INSTALL_DIR}/share" )
[[ -d "${SRW_DIR}/${BIN_DIR}" ]] && ( rm -rf ${SRW_DIR}/${BIN_DIR} && printf '%s\n' "rm -rf ${SRW_DIR}/${BIN_DIR}" )
[[ -d "${INSTALL_DIR}/share" ]] && ( rm -rf ${INSTALL_DIR}/share && printf '%s\n' "rm -rf ${INSTALL_DIR}/share" )
[[ -d "${INSTALL_DIR}/include" ]] && ( rm -rf ${INSTALL_DIR}/include && printf '%s\n' "rm -rf ${INSTALL_DIR}/include" )
[[ -d "${INSTALL_DIR}/lib" ]] && rm -rf ${INSTALL_DIR}/lib && printf '%s\n' "rm -rf ${INSTALL_DIR}/lib"
[[ -d "${INSTALL_DIR}/lib64" ]] && rm -rf ${INSTALL_DIR}/lib && printf '%s\n' "rm -rf ${INSTALL_DIR}/lib64"
[[ -d "${SRW_DIR}/manage_externals/manic" ]] && rm -f ${SRW_DIR}/manage_externals/manic/*.pyc && printf '%s\n' "rm -f ${SRW_DIR}/manage_externals/manic/*.pyc"
echo " "
fi
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_GET_EXTRN_MDL_FILES
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ esac
#-----------------------------------------------------------------------
#
if [ $RUN_ENVIR = "nco" ]; then
export EXTRN_MDL_STAGING_DIR="${COMIN}/for_${ICS_OR_LBCS}"
export EXTRN_MDL_STAGING_DIR="${COMINext}"
mkdir_vrfy -p "${EXTRN_MDL_STAGING_DIR}"
else
export EXTRN_MDL_STAGING_DIR="${COMIN}/${EXTRN_MDL_NAME}/for_${ICS_OR_LBCS}"
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_RUN_FCST
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#
. ${GLOBAL_VAR_DEFNS_FP}
. $USHdir/source_util_funcs.sh
. $USHdir/job_preamble.sh
. $USHdir/job_preamble.sh "TRUE"
#
#-----------------------------------------------------------------------
#
Expand Down
1 change: 1 addition & 0 deletions modulefiles/tasks/orion/run_vx.local.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
load("miniconda_regional_workflow")
3 changes: 1 addition & 2 deletions modulefiles/tasks/wcoss2/get_extrn_ics.local.lua
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
load(pathJoin("intel", os.getenv("intel_ver")))
load(pathJoin("python", os.getenv("python_ver")))
load("python_regional_workflow")
3 changes: 1 addition & 2 deletions modulefiles/tasks/wcoss2/get_extrn_lbcs.local.lua
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
load(pathJoin("intel", os.getenv("intel_ver")))
load(pathJoin("python", os.getenv("python_ver")))
load("python_regional_workflow")
3 changes: 1 addition & 2 deletions modulefiles/tasks/wcoss2/get_obs.local.lua
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
load(pathJoin("intel", os.getenv("intel_ver")))
load(pathJoin("python", os.getenv("python_ver")))
load("python_regional_workflow")
3 changes: 1 addition & 2 deletions modulefiles/tasks/wcoss2/make_grid.local.lua
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
load(pathJoin("intel", os.getenv("intel_ver")))
load(pathJoin("python", os.getenv("python_ver")))
load("python_regional_workflow")
3 changes: 1 addition & 2 deletions modulefiles/tasks/wcoss2/make_ics.local.lua
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
load(pathJoin("intel", os.getenv("intel_ver")))
load(pathJoin("python", os.getenv("python_ver")))
load("python_regional_workflow")
3 changes: 1 addition & 2 deletions modulefiles/tasks/wcoss2/make_lbcs.local.lua
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
load(pathJoin("intel", os.getenv("intel_ver")))
load(pathJoin("python", os.getenv("python_ver")))
load("python_regional_workflow")
3 changes: 1 addition & 2 deletions modulefiles/tasks/wcoss2/make_sfc_climo.local.lua
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
load(pathJoin("intel", os.getenv("intel_ver")))
load(pathJoin("python", os.getenv("python_ver")))
load("python_regional_workflow")
3 changes: 3 additions & 0 deletions modulefiles/tasks/wcoss2/python_regional_workflow.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
load(pathJoin("intel", os.getenv("intel_ver")))
load(pathJoin("python", os.getenv("python_ver")))
load(pathJoin("prod_util", os.getenv("prod_util_ver")))
3 changes: 1 addition & 2 deletions modulefiles/tasks/wcoss2/run_fcst.local.lua
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
load(pathJoin("intel", os.getenv("intel_ver")))
load(pathJoin("python", os.getenv("python_ver")))
load("python_regional_workflow")
3 changes: 1 addition & 2 deletions modulefiles/tasks/wcoss2/run_vx.local.lua
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
load(pathJoin("intel", os.getenv("intel_ver")))
load(pathJoin("python", os.getenv("python_ver")))
load("python_regional_workflow")
Loading