Skip to content

Commit

Permalink
Add modulefile support (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshula authored Nov 28, 2023
1 parent 5e98342 commit f6c6dab
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions v0.20/ci/modules.yaml
26 changes: 26 additions & 0 deletions v0.20/common/modules.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Refer to https://spack.readthedocs.io/en/latest/module_file_support.html
modules:
default:
enable:
- tcl
roots:
tcl: $spack/../release/modules
lmod: $spack/../release/lmod
tcl:
hash_length: 0
exclude_implicits: true
include:
- access-om2
- mom5
- cice5
- libaccessom2
- oasis3-mct
all:
autoload: direct
conflict:
- '{name}'
environment:
set:
'SPACK_{name}_ROOT': '{prefix}'
projections:
all: '{name}/{version}'
1 change: 1 addition & 0 deletions v0.20/gadi/modules.yaml

0 comments on commit f6c6dab

Please sign in to comment.