Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
bin/
exec/
build/
fix/
include/
lib/
share/
sorc/*/
tests/WE2E/WE2E_test_info.csv
tests/WE2E/*.txt
tests/WE2E/*.log
ush/__pycache__/
ush/config.yaml
ush/python_utils/__pycache__/
Expand Down
10 changes: 10 additions & 0 deletions devbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,16 @@ if [ "${VERBOSE}" = true ] ; then
settings
fi

# source version file only if it is specified in versions directory
BUILD_VERSION_FILE="${SRW_DIR}/versions/build.ver.${PLATFORM}"
if [ -f ${BUILD_VERSION_FILE} ]; then
. ${BUILD_VERSION_FILE}
fi
RUN_VERSION_FILE="${SRW_DIR}/versions/run.ver.${PLATFORM}"
if [ -f ${RUN_VERSION_FILE} ]; then
. ${RUN_VERSION_FILE}
fi

# set MODULE_FILE for this platform/compiler combination
MODULE_FILE="build_${PLATFORM}_${COMPILER}"
if [ ! -f "${SRW_DIR}/modulefiles/${MODULE_FILE}" ]; then
Expand Down
6 changes: 6 additions & 0 deletions docs/UsersGuide/source/ConfigWorkflow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ Platform Environment
``WFLOW_MOD_FN``: (Default: "")
Name of alternative workflow module file to use if running on an unsupported platform. Is set automatically for supported machines.

``BUILD_VER_FN``: (Default: "")
File name containing the version of the modules used for building the app. Currently, WCOSS2 only uses this file.

``RUN_VER_FN``: (Default: "")
File name containing the version of the modules used for running the app. Currently, WCOSS2 only uses this file.

.. _sched:

``SCHED``: (Default: "")
Expand Down
2 changes: 0 additions & 2 deletions modulefiles/tasks/hera/get_extrn_ics.local
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
## Module file for get_extrn_ics task.
#############################################################

module purge

module load hpss

module load miniconda_regional_workflow
2 changes: 0 additions & 2 deletions modulefiles/tasks/hera/get_extrn_lbcs.local
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
## Module file for get_extrn_lbcs task.
#############################################################

module purge

module load hpss

module load miniconda_regional_workflow
2 changes: 0 additions & 2 deletions modulefiles/tasks/hera/get_obs.local
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
## get_obs_ndas task.
#############################################################

module purge

module load hpss

module use /contrib/miniconda3/modulefiles
Expand Down
1 change: 0 additions & 1 deletion modulefiles/tasks/orion/get_extrn_ics.local
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
## Module file for get_extrn_ics task.
#############################################################

module purge
module load miniconda_regional_workflow

2 changes: 0 additions & 2 deletions modulefiles/tasks/orion/get_extrn_lbcs.local
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@
## Module file for get_extrn_lbcs task.
#############################################################

module purge

module load miniconda_regional_workflow
4 changes: 4 additions & 0 deletions modulefiles/tasks/wcoss2/get_extrn_ics.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#%Module

module load intel/$::env(intel_ver)
module load python/$::env(python_ver)
4 changes: 4 additions & 0 deletions modulefiles/tasks/wcoss2/get_extrn_lbcs.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#%Module

module load intel/$::env(intel_ver)
module load python/$::env(python_ver)
4 changes: 4 additions & 0 deletions modulefiles/tasks/wcoss2/get_obs.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#%Module

module load intel/$::env(intel_ver)
module load python/$::env(python_ver)
4 changes: 4 additions & 0 deletions modulefiles/tasks/wcoss2/make_grid.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#%Module

module load intel/$::env(intel_ver)
module load python/$::env(python_ver)
4 changes: 4 additions & 0 deletions modulefiles/tasks/wcoss2/make_ics.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#%Module

module load intel/$::env(intel_ver)
module load python/$::env(python_ver)
4 changes: 4 additions & 0 deletions modulefiles/tasks/wcoss2/make_lbcs.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#%Module

module load intel/$::env(intel_ver)
module load python/$::env(python_ver)
4 changes: 4 additions & 0 deletions modulefiles/tasks/wcoss2/run_fcst.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#%Module

module load intel/$::env(intel_ver)
module load python/$::env(python_ver)
4 changes: 4 additions & 0 deletions modulefiles/tasks/wcoss2/run_vx.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#%Module

module load intel/$::env(intel_ver)
module load python/$::env(python_ver)
14 changes: 14 additions & 0 deletions modulefiles/wflow_wcoss2
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#%Module

proc ModulesHelp { } {
put stderr "This module loads python environement for running SRW on"
put stderr "the NOAA operational machine WCOSS2 (Cactus/Dogwood)"
}

module-whatis "Loads libraries needed for running SRW on WCOSS2 (Cactus/Dogwood)"

module load intel/$::env(intel_ver)
module load python/$::env(python_ver)

module use /apps/ops/test/nco/modulefiles
module load core/rocoto/$::env(rocoto_ver)
Loading