Differences
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:35] – jz | doku:spack-transition [2023/05/08 07:45] – katrin | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== SPACK - migration to setup without environment | ====== SPACK - migration to setup without environment | ||
- | ===== Problems | + | ===== Motivation: problems |
Having worked with //spack environments// | Having worked with //spack environments// | ||
Line 169: | Line 169: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | Usage example: | ||
+ | |||
+ | < | ||
+ | skylake [user@l41 ~]$ spack search asd | ||
+ | |||
+ | ==> The package hash asd refers to python and belongs to vsc4 as: | ||
+ | | ||
+ | |||
+ | ==> Searching similar python modules at skylake... | ||
+ | |||
+ | ---/ | ||
+ | python/ | ||
+ | python/ | ||
+ | python/ | ||
+ | |||
+ | ==> Load any one of these packages with ' | ||
+ | module load python/ | ||
+ | |||
+ | ==> Get some additional info with 'spack find -lvd mypackage', | ||
+ | spack find -lvd /p4x6ji | ||
+ | </ | ||
+ | |||
+ | ---- | ||
Line 186: | Line 210: | ||
<box 80% round red|Warning> | <box 80% round red|Warning> | ||
+ | |||
+ | ===== Continue working 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 ==== | ||
+ | |||
+ | < | ||
+ | source / | ||
+ | spacktivate zen3 | ||
+ | </ | ||
+ | |||
+ | ==== On skylake ==== | ||
+ | |||
+ | < | ||
+ | source / | ||
+ | spacktivate skylake | ||
+ | </ | ||
+ | |||
+ | |||
+ | <box 80% round red|Warning> | ||
+ | |||
---- | ---- | ||
Line 209: | Line 255: | ||
---- | ---- | ||
- | ===== Setting LD_LIBRARY_PATH | + | ==== Setting LD_LIBRARY_PATH ==== |
Loading a module does no longer automatically set the '' | Loading a module does no longer automatically set the '' |