Prepare Assets Configuration¶
Source code:
bff/workflows/prepare_assets/config.pybff/workflows/prepare_assets/main.py
Purpose¶
bff prepare-assets packages the seeded production trajectories from
bff build into both downstream asset trees:
- reusable FFMD assets for
bff sampleandbff validate - staged CP2K snapshot assets for
bff evaluate-snapshots
Minimal Example¶
manifest: ./build-manifest.yaml
ffmd_dir: ./ffmd
reference_dir: ./reference
n_single_point_snapshots: 1000
Top-Level Keys¶
manifestBuild manifest written bybff build.ffmd_dirOutput directory forsystem-XXX/FFMD asset folders. Defaults toffmd/next to the manifest.reference_dirOutput directory for staged CP2K reference asset folders. Defaults toreference/next to the manifest.n_single_point_snapshotsNumber of evenly spaced snapshots sampled from each seeded production trajectory for CP2K evaluation.systemsOptional list of system ids to package. Items may be0,000,system-000, or mappings withsystem_id.
Outputs¶
For FFMD, each selected system writes:
FFMD_DIR/system-XXX/system-XXX.topFFMD_DIR/system-XXX/system-XXX.groFFMD_DIR/system-XXX/system-XXX.em.mdpFFMD_DIR/system-XXX/system-XXX.npt.mdpFFMD_DIR/system-XXX/system-XXX.mdpFFMD_DIR/system-XXX/system-XXX.ndx- optional copied bias input
For reference snapshots, each selected system writes:
REFERENCE_DIR/system-XXX/system.groREFERENCE_DIR/system-XXX/system.topREFERENCE_DIR/system-XXX/system.xyzREFERENCE_DIR/system-XXX/md/REFERENCE_DIR/system-XXX/single-atoms/REFERENCE_DIR/system-XXX/snapshots/
Run bff evaluate-snapshots on the staged reference assets to execute CP2K
and collect train.extxyz, valid.extxyz, and optional isolated-atom
energies.