FIX: update README.md

This commit is contained in:
Germann Elsa Sylvia
2023-04-27 13:02:10 +02:00
parent 8ad522dea8
commit 1f4913e199

View File

@ -4,20 +4,16 @@ WIP
[Official Spack documentation](https://spack.readthedocs.io/en/latest/) [Official Spack documentation](https://spack.readthedocs.io/en/latest/)
## How to use: ## How to use on Merlin6
```bash ```bash
# Where you want to install Spack e.g /scratch/$user source /afs/psi.ch/sys/spack-rhel7/spack/share/spack/setup-env.sh # can be also include in your .bashrc
cd $SPACK_INSTALL_ROOT
# Cloning and setting official Spack spack env list
git clone https://github.com/spack/spack.git spack env activate -d <package> # e.g ffbidx all for whole software stack
source spack/share/spack/setup-env.sh
# Cloning PSI/merlin env and activate it # Install env if local development, else skip
git clone https://git.psi.ch/germann_e/spack-psi.git
spack env activate -d spack-psi/env/merlin/<package> # all for whole software stack
# Install env
spack install # -v for verbose spack install # -v for verbose
spack load <package>
``` ```