Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
public:usage:spack [2020/05/04 12:38] – [Managing Modules] keiling | public:usage:spack [2020/05/20 12:25] – [Adding the Intel compiler] jankowiak |
---|
There you can specify what modules will be listed by the "module avail" command. | There you can specify what modules will be listed by the "module avail" command. |
| |
Your "modules.yaml" file should look like this, if you only want to show directly installed modules and want to show only necessary data | Your "modules.yaml" file should look like this, if you only want to show directly installed modules and want to show only necessary data. |
Further details how to create your own flavour of module.yaml files can be found here: [[https://spack-tutorial.readthedocs.io/en/latest/tutorial_modules.html|Module files]] | |
<code> modules: | <code> modules: |
tcl: | tcl: |
</code> | </code> |
++++ | ++++ |
| Further details how to create your own flavor of modules.yaml can be found here: [[https://spack-tutorial.readthedocs.io/en/latest/tutorial_modules.html|Module files]] |
| |
The last step is to apply your "modules.yaml" setting by using | The last step is to apply your "modules.yaml" setting by using |
<code>spack module tcl refresh --delete-tree -y</code> | <code>spack module tcl refresh --delete-tree -y</code> |
operating_system: rhel7 | operating_system: rhel7 |
paths: | paths: |
cc: /cluster/intel/compilers_and_libraries_2019.1.144/linux/bin/intel64/icc | cc: /cluster/intel/2020.0/compilers_and_libraries_2020.0.166/linux/bin/intel64/icc |
cxx: /cluster/intel/compilers_and_libraries_2019.1.144/linux/bin/intel64/icpc | cxx: /cluster/intel/2020.0/compilers_and_libraries_2020.0.166/linux/bin/intel64/icpc |
f77: /cluster/intel/compilers_and_libraries_2019.1.144/linux/bin/intel64/ifort | f77: /cluster/intel/2020.0/compilers_and_libraries_2020.0.166/linux/bin/intel64/ifort |
fc: /cluster/intel/compilers_and_libraries_2019.1.144/linux/bin/intel64/ifort | fc: /cluster/intel/2020.0/compilers_and_libraries_2020.0.166/linux/bin/intel64/ifort |
spec: intel@19.0.1.144 | spec: intel@19.1.0.166 |
target: x86_64 | target: x86_64 |
</code> | </code> |