ADD: steps for QE development compilation with Spack
All checks were successful
Build and Deploy Documentation / build-and-deploy (push) Successful in 6s

This commit is contained in:
2025-05-14 15:12:20 +02:00
parent 9407024d99
commit cd422a9a48

View File

@ -72,19 +72,14 @@ module load nvhpc/25.3 openmpi/main-6bnq-A100-gpu quantum-espresso/7.4.1-nxsw-gp
```bash
spack:
concretizer:
unify: false
targets:
granularity: microarchitectures
```
3. ```spack add quantum-espresso@develop +cuda +mpi +mpigpu hdf5=parallel %nvhpc arch=linux-sles15-zen3 # GPU```
3. ```spack add quantum-espresso@develop +mpi hdf5=parallel %gcc # CPU```
4.
```bash
mkdir -p /afs/psi.ch/sys/spack/user/$USER/spack-environment/quantum-espresso
cd /afs/psi.ch/sys/spack/user/$USER/spack-environment/quantum-espresso
git clone https://gitlab.com/QEF/q-e.git
```
5. ```spack develop quantum-espresso@develop```
6. ```spack install -v```
5. ```spack develop quantum-espresso@develop # clone your code under /afs/psi.ch/sys/spack/user/$USER/spack-environment/quantum-espresso```
6. ```spack install -v quantum-espresso@develop```
### Environment modules
#### CPU