Skip to content

Commit

Permalink
Replace deprecated NCAR python environment with conda on Cheyenne (uf…
Browse files Browse the repository at this point in the history
  • Loading branch information
mkavulich authored Jul 21, 2022
1 parent ce3c9b4 commit 917cb7b
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 25 deletions.
5 changes: 5 additions & 0 deletions modulefiles/tasks/cheyenne/conda_regional_workflow
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#%Module
module unload python
module load conda
setenv SRW_ENV /glade/p/ral/jntp/UFS_SRW_app/conda/regional_workflow

4 changes: 0 additions & 4 deletions modulefiles/tasks/cheyenne/get_extrn_ics

This file was deleted.

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

module load conda_regional_workflow

4 changes: 0 additions & 4 deletions modulefiles/tasks/cheyenne/get_extrn_lbcs

This file was deleted.

4 changes: 4 additions & 0 deletions modulefiles/tasks/cheyenne/get_extrn_lbcs.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#%Module

module load conda_regional_workflow

2 changes: 1 addition & 1 deletion modulefiles/tasks/cheyenne/make_grid.local
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#%Module
module load pylib_regional_workflow
module load conda_regional_workflow
2 changes: 1 addition & 1 deletion modulefiles/tasks/cheyenne/make_ics.local
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#%Module
module load pylib_regional_workflow
module load conda_regional_workflow
2 changes: 1 addition & 1 deletion modulefiles/tasks/cheyenne/make_lbcs.local
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#%Module
module load pylib_regional_workflow
module load conda_regional_workflow
9 changes: 0 additions & 9 deletions modulefiles/tasks/cheyenne/pylib_regional_workflow

This file was deleted.

2 changes: 1 addition & 1 deletion modulefiles/tasks/cheyenne/run_fcst.local
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#%Module
module load pylib_regional_workflow
module load conda_regional_workflow
2 changes: 1 addition & 1 deletion modulefiles/tasks/cheyenne/run_vx.local
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#%Module
module load pylib_regional_workflow
module load conda_regional_workflow
4 changes: 3 additions & 1 deletion ush/Python/qsub_job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ source /etc/profile.d/modules.sh
############
# Python environment for Cheyenne
############
ncar_pylib /glade/p/ral/jntp/UFS_SRW_app/ncar_pylib/python_graphics
module load ncarenv
module load conda/latest
conda activate /glade/p/ral/jntp/UFS_SRW_app/conda/python_graphics

############
# Path to shape files
Expand Down
4 changes: 3 additions & 1 deletion ush/Python/qsub_job_diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ source /etc/profile.d/modules.sh
############
# Python environment for Cheyenne
############
ncar_pylib /glade/p/ral/jntp/UFS_SRW_app/ncar_pylib/python_graphics
module load ncarenv
module load conda/latest
conda activate /glade/p/ral/jntp/UFS_SRW_app/conda/python_graphics

############
# Path to shape files
Expand Down
3 changes: 2 additions & 1 deletion ush/wrappers/qsub_job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ module load esmf/8.0.0
#
#module use /glade/p/ral/jntp/MET/MET_releases/modulefiles
#module load met/10.0.0
#ncar_pylib /glade/p/ral/jntp/UFS_SRW_app/ncar_pylib/python_graphics
#module load conda/latest
#conda activate /glade/p/ral/jntp/UFS_SRW_app/conda/python_graphics

#./run_pointvx.sh # Run grod-to-point deterministic vx
#./run_gridvx.sh # Run grid-stat deterministic vx
Expand Down

0 comments on commit 917cb7b

Please sign in to comment.