Skip to content

Commit

Permalink
update modules for wcoss2
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaMeixner-NOAA committed Oct 5, 2023
1 parent 2b93041 commit 408bc97
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 35 deletions.
14 changes: 7 additions & 7 deletions jobs/rocoto/waveinit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ source "${HOMEgfs}/ush/module-setup.sh"
if [[ "${MACHINE_ID}" != "noaacloud" ]]; then
module use "${HOMEgfs}/sorc/ufs_model.fd/tests"
module load modules.ufs_model.lua
module load prod-util
fi

if [[ "${MACHINE_ID}" = "wcoss2" ]]; then
module load prod_util
module load cray-pals
fi
if [[ "${MACHINE_ID}" = "wcoss2" ]]; then
module load prod_util
module load cray-pals
else
module load prod-util
fi
fi
if [[ "${MACHINE_ID}" = "hera" ]]; then
module use "/scratch2/NCEPDEV/ensemble/save/Walter.Kolczynski/modulefiles/core"
module load "miniconda3/4.6.14"
Expand Down
14 changes: 9 additions & 5 deletions jobs/rocoto/wavepostbndpnt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,20 @@ echo "=============== START TO SOURCE FV3GFS WORKFLOW MODULES ==============="
source "${HOMEgfs}/ush/detect_machine.sh"
set +x
source "${HOMEgfs}/ush/module-setup.sh"


if [[ "${MACHINE_ID}" != "noaacloud" ]]; then
module use "${HOMEgfs}/sorc/ufs_model.fd/tests"
module load modules.ufs_model.lua
module load prod-util
if [[ "${MACHINE_ID}" = "wcoss2" ]]; then
module load prod_util
module load cray-pals
else
module load prod-util
fi
fi

if [[ "${MACHINE_ID}" = "wcoss2" ]]; then
module load prod_util
module load cray-pals
fi

if [[ "${MACHINE_ID}" = "hera" ]]; then
module use "/scratch2/NCEPDEV/ensemble/save/Walter.Kolczynski/modulefiles/core"
module load "miniconda3/4.6.14"
Expand Down
13 changes: 8 additions & 5 deletions jobs/rocoto/wavepostbndpntbll.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,19 @@ echo "=============== START TO SOURCE FV3GFS WORKFLOW MODULES ==============="
source "${HOMEgfs}/ush/detect_machine.sh"
set +x
source "${HOMEgfs}/ush/module-setup.sh"

if [[ "${MACHINE_ID}" != "noaacloud" ]]; then
module use "${HOMEgfs}/sorc/ufs_model.fd/tests"
module load modules.ufs_model.lua
module load prod-util
if [[ "${MACHINE_ID}" = "wcoss2" ]]; then
module load prod_util
module load cray-pals
else
module load prod-util
fi
fi

if [[ "${MACHINE_ID}" = "wcoss2" ]]; then
module load prod_util
module load cray-pals
fi

if [[ "${MACHINE_ID}" = "hera" ]]; then
module use "/scratch2/NCEPDEV/ensemble/save/Walter.Kolczynski/modulefiles/core"
module load "miniconda3/4.6.14"
Expand Down
15 changes: 10 additions & 5 deletions jobs/rocoto/wavepostpnt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,21 @@ echo "=============== START TO SOURCE FV3GFS WORKFLOW MODULES ==============="
source "${HOMEgfs}/ush/detect_machine.sh"
set +x
source "${HOMEgfs}/ush/module-setup.sh"

if [[ "${MACHINE_ID}" != "noaacloud" ]]; then
module use "${HOMEgfs}/sorc/ufs_model.fd/tests"
module load modules.ufs_model.lua
module load prod-util
if [[ "${MACHINE_ID}" = "wcoss2" ]]; then
module load prod_util
module load cray-pals
else
module load prod-util
fi
fi

if [[ "${MACHINE_ID}" = "wcoss2" ]]; then
module load prod_util
module load cray-pals
fi



if [[ "${MACHINE_ID}" = "hera" ]]; then
module use "/scratch2/NCEPDEV/ensemble/save/Walter.Kolczynski/modulefiles/core"
module load "miniconda3/4.6.14"
Expand Down
16 changes: 8 additions & 8 deletions jobs/rocoto/wavepostsbs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ set +x
source "${HOMEgfs}/ush/module-setup.sh"
if [[ "${MACHINE_ID}" != "noaacloud" ]]; then
module use "${HOMEgfs}/sorc/ufs_model.fd/tests"
module load modules.ufs_model
fi

if [[ "${MACHINE_ID}" = "wcoss2" ]]; then
module load prod_util
module load cray-pals
else
module load prod-util
module load modules.ufs_model.lua
if [[ "${MACHINE_ID}" = "wcoss2" ]]; then
module load prod_util
module load cray-pals
else
module load prod-util
fi
module load wgrib2
export WGRIB2=wgrib2
fi

if [[ "${MACHINE_ID}" = "hera" ]]; then
module use "/scratch2/NCEPDEV/ensemble/save/Walter.Kolczynski/modulefiles/core"
module load "miniconda3/4.6.14"
Expand Down
12 changes: 7 additions & 5 deletions jobs/rocoto/waveprep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,18 @@ echo "=============== START TO SOURCE FV3GFS WORKFLOW MODULES ==============="
source "${HOMEgfs}/ush/detect_machine.sh"
set +x
source "${HOMEgfs}/ush/module-setup.sh"

if [[ "${MACHINE_ID}" != "noaacloud" ]]; then
module use "${HOMEgfs}/sorc/ufs_model.fd/tests"
module load modules.ufs_model.lua
module load prod-util
if [[ "${MACHINE_ID}" = "wcoss2" ]]; then
module load prod_util
module load cray-pals
else
module load prod-util
fi
fi

if [[ "${MACHINE_ID}" = "wcoss2" ]]; then
module load prod_util
module load cray-pals
fi
if [[ "${MACHINE_ID}" = "hera" ]]; then
module use "/scratch2/NCEPDEV/ensemble/save/Walter.Kolczynski/modulefiles/core"
module load "miniconda3/4.6.14"
Expand Down

0 comments on commit 408bc97

Please sign in to comment.