PLUMEDΒΆ

Captions are burned into the upload.

Transcript: docs/videos/plumed/captions.vtt

PLUMED driver.

The thread count comes from PLUMED_NUM_THREADS. Set that variable before PLUMED starts. OMP_NUM_THREADS does not change the PLUMED team. In PLUMED 2.10 getNumThreads reads only PLUMED_NUM_THREADS.

The build below used conda-forge PLUMED 2.10.1. The compiler and Eigen stay on the path. The same prefix holds GROMACS 2026.3, LAMMPS 2022.06.23, and OpenMM 8.6.0.

pixi init -c conda-forge dseams-engines
pixi add --manifest-path dseams-engines/pixi.toml gromacs lammps openmm "plumed=2.10.*"
eval "$(pixi shell-hook --manifest-path dseams-engines/pixi.toml)"
export PKG_CONFIG_PATH="$CONDA_PREFIX/lib/pkgconfig:$CONDA_PREFIX/lib.AVX2_256/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}"
export LIBRARY_PATH="$CONDA_PREFIX/lib:$CONDA_PREFIX/lib.AVX2_256${LIBRARY_PATH:+:$LIBRARY_PATH}"
export CPATH="$CONDA_PREFIX/include${CPATH:+:$CPATH}"
meson setup build -Dwith_gromacs=enabled -Dwith_lammps=enabled -Dwith_openmm=enabled -Dwith_plumed=enabled
meson compile -C build
meson test -C build docs_engine_plumed --print-errorlogs

SEAMS components are seams.q6 (mean local q6), seams.ice (cubic fraction), seams.ring (fraction of atoms on a primitive six-ring), seams.hexagonal (hexagonal count), and seams.six (six-ring count). A RESTRAINT can bias seams.q6. The other four components have no derivatives. A PRINT of seams.q6 leaves the derivative array empty, so the central difference runs only when a RESTRAINT has allocated it.

PLUMED stores positions in nanometers. The plugin multiplies positions and the box by 10. The docs test writes an xyz, in nanometers, from input/traj/ice1h.lammpstrj and runs plumed driver. The colvar line is mean q6, the hexagonal count, and the six-ring count:

plumed hexagonal 128 six-rings 256 q6 0.625855

meson test docs_engine_plumed exits 77 when plumed or libSeamsPlumed.so is absent.