Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 64 additions & 2 deletions docs/software/sciapps/quantumespresso.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,66 @@
[](){#ref-uenv-quantumespresso}
# Quantum ESPRESSO
!!! todo
complete docs

Quantum ESPRESSO is an integrated suite of Open-Source computer codes for electronic-structure calculations and materials modeling at the nanoscale. It is based on density-functional theory, plane waves, and pseudopotentials:

PWscf (Plane-Wave Self-Consistent Field)
FPMD (First Principles Molecular Dynamics)
CP (Car-Parrinello)

## ALPS (GH200)
### Setup
Download the uenv image for QuantumESPRESSO:


### List available images

```bash
uenv image find quantumespresso
```

### Pull the image of interest

```
uenv image pull quantumespresso/v7.4:v2
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this might be redundant with the UENV documentation, and we don't want to have to change this if the uenv interface changes. In CP2K I added the following after the description of the software at the very top.

!!! note "uenvs"
[CP2K] is provided on [ALPS][platforms-on-alps] via [uenv][ref-uenv].
Please have a look at the [uenv documentation][ref-uenv] for more information about uenvs and how to use them.

What do you think?



QuantumESPRESSO can be compiled from source using the above uenv. The procedure is described in https://eth-cscs.github.io/alps-uenv/uenv-qe/#building-a-custom-version.

### How to run

The following sbatch script can be used as a template.

=== "GH200"

```bash
#SBATCH -N 1
#SBATCH --ntasks-per-node=4
#SBATCH --cpus-per-task=71
#SBATCH --gpus-per-task=1
#SBATCH -A <account>
#SBATCH --uenv=quantumespresso/v7.4:v2
#SBATCH --view=default

export OMP_NUM_THREADS=20
export MPICH_GPU_SUPPORT_ENABLED=1
export OMP_PLACES=cores

srun -u --cpu-bind=socket /user-environment/env/default/bin/pw.x < pw.in
```

=== "Eiger"

```bash
#SBATCH -N 1
#SBATCH --ntasks-per-node=128
#SBATCH -A <account>
#SBATCH --uenv=quantumespresso/v7.4:v2
#SBATCH --view=default
#SBATCH --hint=nomultithread

export OMP_NUM_THREADS=1

srun -u /user-environment/env/default/bin/pw.x < pw.in
```