QMCPACK is an open-source, high-performance electronic structure code that implements numerous Quantum Monte Carlo algorithms. Its main applications are electronic structure calculations of molecular, periodic 2D and periodic 3D solid-state systems.
QMCPACK
QMCPACK is an open-source, high-performance electronic structure code that implements numerous
Quantum Monte Carlo algorithms. Its main applications are electronic structure calculations
of molecular, periodic 2D and periodic 3D solid-state systems. Variational Monte Carlo (VMC),
diffusion Monte Carlo (DMC) and a number of other advanced QMC algorithms are implemented.
By directly solving the Schrodinger equation, QMC methods offer greater accuracy than methods
such as density functional theory, but at a trade-off of much greater computational expense. Distinct
from many other correlated many-body methods, QMC methods are readily applicable to
both bulk (periodic) and isolated molecular systems. QMCPACK Manual
System requirements
Before running the NGC QMCPACK container please ensure your system meets the following requirements.
- One of the following container runtimes
- nvidia-docker
- Singularity >= 3.1
- One of the following NVIDIA GPU(s)
- Pascal(sm60)
- Volta (sm70)
- Ampere (sm80)
- Hopper (sm90)
x86_64
QMCPACK has been optimized for x86_64_v3. See here for more information.
- CPU with at least AVX2 instruction support
- One of the following CUDA driver versions
- r450 (>=.80.02)
arm64
- Neoverse V1 CPU
- CUDA driver version >= r450
Examples
The following examples demonstrate how to run the NGC QMCPACK container on systems ranging from single GPU workstations up to large-scale production HPC clusters.
Set the NGC QMCPACK container version:
Use the QMCPACK sample data fetching script to automatically download and extract the sample data.
To run QMCPACK on the NiO-fcc-S32-dmc.xml sample data:
Running with nvidia-docker
Note: Docker < v1.40
Docker versions below 1.40 must enable GPU support with --runtime nvidia.
Note: Docker <= 20.xx.xx
There is currently a bug in older Docker versions with newer Ubuntu images, using the latest tag of QMCPACK requires the --privileged flag to run the container, or an update to Docker.
Running with Singularity
Note: Singularity < v3.5
There is currently an issue in Singularity versions below v3.5 causing the LD_LIBRARY_PATH to be incorrectly set within the container environment. As a workaround The LD_LIBRARY_PATH must be unset before invoking Singularity:
Running multi-node with Slurm and Singularity
Clusters running the Slurm resource manager and Singularity container runtime may launch parallel QMCPACK experiments directly through srun. The NGC QMCPACK container supports pmi2, which is available within most Slurm installations, as well as pmix3. A typical parallel experiment would take the following form.