AccelNet accelerates evaluation of compatible pre-trained AENET and N2P2 neural-network potentials in PIMD. It retains model files; no model retraining or format conversion is needed for the supported inputs. Model-specific compatibility and reference information are provided in the User Manual and AccelNet source repository. Cite Nagai (2026), arXiv:2608.03280 and the model/descriptor references as applicable.
cmake -S . -B build-accelnet -DACCELNET=ON -DCMAKE_BUILD_TYPE=Release cmake --build build-accelnet --target pimd.mpi.x --parallel # For offline/local builds, see lib/accelnet/README.md and the manual.
Use pimd.mpi.x, including for a single rank. The serial pimd.x does not include this interface. A model's energy/length units must be specified explicitly, and model files must be accessible on every MPI rank. The default CMake dependency follows upstream main; record its printed commit or specify a validated immutable revision for repeatable builds.
pimd-prep init PIMD ACCELNET pimd-prep check pimd-prep build
Choose AENET or N2P2 model format and provide the existing model files. In the generated pimd.toml, use [accelnet] for the model format, units and evaluation options, with [accelnet.species] for AENET element/network paths or model_directory for N2P2. pimd-prep check verifies model file presence. For AENET, replace generated filename placeholders with actual trained networks before running.
[potential] type = "ACCELNET" [accelnet] model_format = "AENET" energy_unit = "EV" length_unit = "ANGSTROM" chebyshev_version = 1 [accelnet.species] Si = "models/Si.15-15.ann" O = "models/O.15-15.ann"
Native .ann/.nn and .ascii models are supported. The Chebyshev descriptor convention is model-dependent: the supplied AENET 2.0.3 examples require version 1; other models may differ.
[potential] type = "ACCELNET" [accelnet] model_format = "N2P2" model_directory = "model" energy_unit = "EV" length_unit = "ANGSTROM" g5_evaluation = "AUTO"
The N2P2 directory contains input.nn, per-element weight files and its model scaling data. Verify unit conventions and supported descriptors before using a trained model. See the shipped examples/02_path_integral_dynamics/ AccelNet examples and tests/external/AccelNet/ tests.
AccelNet is an inference backend for fixed models only: it does not perform SLHMC on-the-fly training or update AENET/N2P2 networks. For SLHMC training choose the original AENET, N2P2 or MACE backend. Supported N2P2 models are short-range 2G; higher-generation charge and unsupported descriptor variants require validation. See the manual for detailed runtime options, stress/virial units, and XMPI support.