-
Notifications
You must be signed in to change notification settings - Fork 38
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
Feature 1749 modulefiles #1750
Merged
Merged
Feature 1749 modulefiles #1750
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,20 @@ | ||||||
#%Module###################################################################### | ||||||
## | ||||||
## METplus | ||||||
## | ||||||
proc ModulesHelp { } { | ||||||
puts stderr "Sets up the paths and environment variables to use the METplus-4.1.1. | ||||||
*** For help see the official MET webpage at http://www.dtcenter.org/met/users ***" | ||||||
} | ||||||
|
||||||
# Could not find a grib_util package on stampede | ||||||
module load intel/18.0.2 | ||||||
module load nco/4.9.3 | ||||||
module load RstatsPackages/3.5.1 | ||||||
module load met/10.1.1 | ||||||
setenv METPLUS_PATH /work2/06612/tg859120/stampede2/METplus/METplus-4.1.1 | ||||||
# Path to wgrib | ||||||
prepend-path PATH /work/07738/kgerheis/stampede2/hpc-stack/v1.0.0-beta1/intel-18.0.2/grib_util/1.2.1/bin | ||||||
# Path to wgrib2 | ||||||
prepend-path PATH /work/07738/kgerheis/stampede2/hpc-stack/v1.0.0-beta1/intel-18.0.2/impi-18.0.2/wgrib2/2.0.8/bin | ||||||
prepend-path PATH /work2/06612/tg859120/stampede2/METplus/METplus-4.1.1/ush | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would recommend referencing METPLUS_PATH when setting this path so it is easier to update.
Suggested change
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#%Module###################################################################### | ||
## | ||
## METplus | ||
## | ||
proc ModulesHelp { } { | ||
puts stderr "Sets up the paths and environment variables to use the METplus-4.1. | ||
*** For help see the official MET webpage at http://www.dtcenter.org/met/users ***" | ||
} | ||
|
||
module load intel/19.0.5.281 | ||
module use -a /usw/met/modulefiles | ||
module load met/10.1.2 | ||
module load nco | ||
module load wgrib | ||
module load wgrib2 | ||
|
||
setenv METPLUS_PATH /usw/met/METplus/METplus-4.1.3 | ||
prepend-path PATH /usw/met/METplus/METplus-4.1.3/ush:/lustre/f2/dev/esrl/Julie.Prestopnik/projects/miniconda/miniconda3/envs/metplus_v4.1_py3.6/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#%Module###################################################################### | ||
## | ||
## METplus | ||
## | ||
proc ModulesHelp { } { | ||
puts stderr "Sets up the paths and environment variables to use the METplus-5.0. | ||
*** For help see the official MET webpage at http://www.dtcenter.org/met/users ***" | ||
} | ||
|
||
module use /glade/p/ral/jntp/MET/MET_releases/modulefiles | ||
module load met/11.0.0 | ||
module load nco | ||
module load grib-bins/1.3 | ||
module load R | ||
|
||
setenv METPLUS_PATH /glade/p/ral/jntp/MET/METplus/METplus-5.0.0 | ||
prepend-path PATH /glade/p/ral/jntp/MET/METplus/METplus-5.0.0/ush:/glade/p/ral/jntp/MET/METplus/miniconda/miniconda3/envs/metplus_v5.0_py3.8/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#%Module###################################################################### | ||
## | ||
## METplus | ||
## | ||
proc ModulesHelp { } { | ||
puts stderr "Sets up the paths and environment variables to use the METplus-5.0. | ||
*** For help see the official MET webpage at http://www.dtcenter.org/met/users ***" | ||
} | ||
|
||
prereq intel | ||
module use -a /contrib/anaconda/modulefiles | ||
module load anaconda/latest | ||
module use -a /contrib/met/modulefiles | ||
module load met/11.0.0 | ||
module load nco | ||
module load wgrib | ||
module load wgrib2 | ||
module load R | ||
setenv METPLUS_PATH /contrib/METplus/METplus-5.0.0 | ||
prepend-path PATH /contrib/METplus/METplus-5.0.0/ush |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#%Module###################################################################### | ||
## | ||
## Model Evaluation Tools | ||
## | ||
proc ModulesHelp { } { | ||
puts stderr "Sets up the paths and environment variables to use the METplus v5.0.0 | ||
*** For help see the official MET webpage at http://www.dtcenter.org/met/users ***" | ||
} | ||
|
||
prereq intel | ||
prereq intelpython/3.6.5 | ||
prereq netcdf/4.6.1 | ||
prereq hdf5/1.10.4 | ||
prereq nco/4.9.1 | ||
prereq wgrib/1.8.1.0b | ||
prereq wgrib2/2.0.8 | ||
prereq R/4.0.2 | ||
prereq met/11.0.0 | ||
|
||
setenv METPLUS_PATH /contrib/met/METplus/METplus-5.0.0 | ||
prepend-path PATH /contrib/met/METplus/METplus-5.0.0/ush |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#%Module###################################################################### | ||
## | ||
## METplus | ||
## | ||
proc ModulesHelp { } { | ||
puts stderr "Sets up the paths and environment variables to use the METplus-5.0.0 | ||
*** For help see the official MET webpage at http://www.dtcenter.org/met/users ***" | ||
} | ||
|
||
module load contrib | ||
module load intel/2020.2 | ||
module load intelpython3/2020.2 | ||
module load met/11.0.0 | ||
module load nco/4.8.1 | ||
module load wgrib/2.0.8 | ||
setenv METPLUS_PATH /apps/contrib/MET/METplus/METplus-5.0.0 | ||
prepend-path PATH /apps/contrib/MET/METplus/METplus-5.0.0/ush |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can wgrib and wgrib2 be obtained via a module load instead? Or is there are reason we are doing it this way? To me it seems like it would be more consistent and maintainable to use module loads.