This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
doku:spack-transition [2023/05/05 10:38] – [Method 2] jz | doku:spack-transition [2023/05/05 11:40] – [Continue working with old modules (from environments)] jz |
---|
</code> | </code> |
| |
| ---- |
| |
===== Continue working with old modules (from environments) ===== | |
| ==== Continue working with old modules (from environments) ==== |
| |
You may continue to use modules from the spack environments skylake and zen3 by adjusting the ''MODULEPATH'' variable: | You may continue to use modules from the spack environments skylake and zen3 by adjusting the ''MODULEPATH'' variable: |
export MODULEPATH=/opt/sw/vsc4/VSC/Modules/TUWien:/opt/sw/vsc4/VSC/Modules/Intel/oneAPI:/opt/sw/vsc4/VSC/Modules/Parallel-Environment:/opt/sw/vsc4/VSC/Modules/Libraries:/opt/sw/vsc4/VSC/Modules/Compiler:/opt/sw/vsc4/VSC/Modules/Debugging-and-Profiling:/opt/sw/vsc4/VSC/Modules/Applications:/opt/sw/vsc4/VSC/Modules/p71545:/opt/sw/vsc4/VSC/Modules/p71782::/opt/sw/spack-0.19.0/var/spack/environments/skylake/modules/linux-almalinux8-x86_64:/opt/sw/spack-0.19.0/var/spack/environments/skylake/modules/linux-almalinux8-skylake | export MODULEPATH=/opt/sw/vsc4/VSC/Modules/TUWien:/opt/sw/vsc4/VSC/Modules/Intel/oneAPI:/opt/sw/vsc4/VSC/Modules/Parallel-Environment:/opt/sw/vsc4/VSC/Modules/Libraries:/opt/sw/vsc4/VSC/Modules/Compiler:/opt/sw/vsc4/VSC/Modules/Debugging-and-Profiling:/opt/sw/vsc4/VSC/Modules/Applications:/opt/sw/vsc4/VSC/Modules/p71545:/opt/sw/vsc4/VSC/Modules/p71782::/opt/sw/spack-0.19.0/var/spack/environments/skylake/modules/linux-almalinux8-x86_64:/opt/sw/spack-0.19.0/var/spack/environments/skylake/modules/linux-almalinux8-skylake |
</code> | </code> |
| |
| ===== Continue with old spack environments ===== |
| |
| You may also continue to work with the spack environments. If you wish to do so you need the following commands: |
| |
| == On zen3 == |
| |
| <code> |
| source /opt/sw/spack-0.17.1/share/spack/setup-env.sh |
| spacktivate zen3 |
| </code> |
| |
| == On skylake == |
| |
| <code> |
| source /opt/sw/spack-0.19.0/share/spack/setup-env.sh |
| spacktivate skylake |
| </code> |
| |
| |
<box 80% round red|Warning>This approach is not recommended and we will no longer maintain the spack environments or install new packages there</box> | <box 80% round red|Warning>This approach is not recommended and we will no longer maintain the spack environments or install new packages there</box> |
| |
---- | ---- |
| |