-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add capability for tasks to fall back to default modulefile (#204)
This PR adds the capability for tasks to fall back to default modulefile if task-specific modulefile does not exist. In doing so, it gets rid of the old, hacky way I got post to build on Cheyenne, and replaces it with a build and run process that utilizes a new cheyenne.default modulefile. This should allow us to condense down builds on new machines to use fewer task-specific modulefiles.
- Loading branch information
Showing
2 changed files
with
59 additions
and
29 deletions.
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,16 @@ | ||
#%Module##################################################### | ||
## Default module file for NCAR/UCAR Cheyenne, intel, mpt | ||
############################################################# | ||
module purge | ||
module load ncarenv/1.3 | ||
module load intel/19.0.2 | ||
module load ncarcompilers/0.5.0 | ||
module load mpt/2.19 | ||
module load netcdf/4.6.3 | ||
# No hdf5 loaded since netcdf and hdf5 reside together on cheyenne | ||
|
||
# Add directory to path that contains binaries needed for the regional workflow on Cheyenne | ||
prepend-path PATH /glade/p/ral/jntp/UFS_CAM/bin | ||
|
||
# Set NCEPLIBS_DIR, used by post | ||
setenv NCEPLIBS_DIR /glade/p/ral/jntp/UPP/pre-compiled_libraries/NCEPlibs_intel_18.0.5 |
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