Description

Quantum ESPRESSO is an integrated suite of computer codes
for electronic-structure calculations and materials modeling at the nanoscale.
It is based on density-functional theory, plane waves, and pseudopotentials
(both norm-conserving and ultrasoft).


Local support is not available. For detailed documentation and tutorials, visit the [QuantumEspresso website]( https://www.quantum-espresso.org). QuantumEspresso (QE) has a large and active community of users; to search or join the mailing list see the instructions [here](https://www.quantum-espresso.org/forum).

Software Category: chem

Available Versions

We built versions of QE incorporating the most popular optional packages. To find the available versions and learn how to load them, run:

module spider quantumespresso

The output of the command shows the available QuantumEspresso
module versions.

For detailed information about a particular QuantumEspresso
module, including how to load the module, run the module spider command with the module’s full version label. For example:

module spider quantumespresso/7.2
ModuleVersion Module Load Command
quantumespresso7.2 module load gcc/11.4.0 openmpi/4.1.4 quantumespresso/7.2
quantumespresso6.4.1 module load intel-compilers/2023.1.0 impi/2021.9.0 quantumespresso/6.4.1
quantumespresso7.2 module load intel-compilers/2023.1.0 impi/2021.9.0 quantumespresso/7.2
quantumespresso7.2 module load nvhpc/24.1 openmpi/4.1.6 quantumespresso/7.2

Users may build their own versions of QE if they wish to use a different compiler+MPI combination, or to choose individual optional packages. Instructions are available at the installation FAQ.

Example Slurm script

To run the system version of QE, a script similar to the following can be used. QE has many options so only the most basic is shown.

Please run the CPU version on non-gpu partitions and the GPU version only on the gpu partition. In both cases, we highly recommend running a benchmark to decide how many CPU cores and/or GPU devices you should use.

CPU

#!/bin/bash
#SBATCH -A myallocation        # your allocation
#SBATCH -p parallel            # partition
#SBATCH -N 2                   # number of nodes
#SBATCH --ntasks-per-node=40   # number of tasks
#SBATCH -t 1-00:00:00          # walltime

module purge
module load intel quantumespresso

srun pw.x -in file.in

GPU

#!/bin/bash
#SBATCH -A myallocation        # your allocation
#SBATCH -p gpu                 # do not change
#SBATCH --gres=gpu:1           # number of GPU devices
#SBATCH -C v100|a100           # can only run on V100 and A100
#SBATCH -N 1                   # number of nodes
#SBATCH --ntasks-per-node=2    # number of tasks
#SBATCH -t 1-00:00:00          # walltime

module purge
module load nvompic quantumespresso/7.0

srun pw.x -in file.in