Examples
The examples directory contains complete input folders. Each example should
be run from its own directory so relative setup-file paths resolve as intended.
Folder |
Main use case |
Notes |
|---|---|---|
|
MM-MD water |
Self-contained classical MD example using |
|
Classical force-field setup |
Uses topology, parameter and intramolecular non-bonded setup files. |
|
DFTB+ with SHAKE |
Uses |
|
DFTB+ QM-MD |
Uses an external DFTB+ setup template. |
|
DFTB+ QM-RPMD |
Ring-polymer MD example with DFTB+. |
|
PySCF QM-MD |
Uses the PySCF QM runner. |
|
Turbomole QM-RPMD |
Uses a Turbomole define template. |
|
MACE water |
Small MACE example using |
|
MACE solid-state MD |
MACE example for a covalent organic framework with pressure coupling. |
|
Custom MACE model |
Uses |
|
ASE-DFTB+ |
Uses the ASE DFTB+ runner and built-in Slater-Koster setup. |
|
ASE-xTB |
Uses the ASE xTB runner with |
Running an Example
After building PQ, run an example from the example directory:
$ cd examples/h2o_mm
$ ../../build/apps/PQ run-01.in
Most examples are configured for real simulations rather than minimal smoke
tests. To make a quick local test, copy the example directory and lower
nstep in the copied run-01.in.
Optional Dependencies
Examples using dftbplus, pyscf, turbomole, mace_mp,
ase-dftbplus or ase-xtb require the corresponding external program or
Python package to be available in the run environment. ASE-based examples also
require PQ to be built with ASE support.