Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revisionBoth sides next revision | ||
doku:spack-transition [2023/05/05 06:56] – [New approach without environments] jz | doku:spack-transition [2023/05/05 10:35] – jz | ||
---|---|---|---|
Line 64: | Line 64: | ||
===== Migration script - " | ===== Migration script - " | ||
+ | |||
+ | ==== Method 1 ==== | ||
If you need to find a list of packages or modules which correspond to the software you have been using until now, you can use the alias **spacksearch** to do that | If you need to find a list of packages or modules which correspond to the software you have been using until now, you can use the alias **spacksearch** to do that | ||
Line 147: | Line 149: | ||
==> Get some additional info with 'spack find -lvd mypackage', | ==> Get some additional info with 'spack find -lvd mypackage', | ||
spack find -lvd /upkxxi | spack find -lvd /upkxxi | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== Method 2 ==== | ||
+ | |||
+ | Add this function to your '' | ||
+ | |||
+ | < | ||
+ | ## spack command wrapper, so we can include our own `spack something` | ||
+ | ## commands, like `spack search`: | ||
+ | spack () { | ||
+ | case " | ||
+ | " | ||
+ | python3 / | ||
+ | ;; | ||
+ | *) | ||
+ | command spack " | ||
+ | esac | ||
+ | } | ||
</ | </ | ||