计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
simulation-workflows【效率与协作】Set up and run practical OpenMM Python application-layer simulations from PDB, PDBx/mmCIF, Amber, GROMACS, CHARMM, and Tinker inputs, including Simulation setup, integrators, reporters, minimization, stepping, checkpoints, portable state restarts, and small validation smokes.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to write, adapt, debug, or sanity-check an OpenMM Python application-layer simulation script. It owns the workflow that loads input files, creates or receives a System, creates a Simulation, initializes the Context, attaches reporters, minimizes, runs steps, and saves or resumes progress.
Simulation(topology, system, integrator, platform=None, platformProperties=None, state=None).PDBFile, PDBxFile, Amber prmtop/inpcrd, GROMACS top/gro, CHARMM psf plus coordinate and parameter files, or Tinker xyz/parameter files.LangevinMiddleIntegrator, LangevinIntegrator, or VerletIntegrator for simple production or smoke runs.DCDReporter, StateDataReporter, CheckpointReporter, PDBReporter, or PDBxReporter output.minimizeEnergy(), step(), runForClockTime(), saveCheckpoint(), loadCheckpoint(), saveState(), and loadState().Modeller, solvation, ions, missing atoms, templates, and model editing: ../force-fields-modeling/SKILL.md.../custom-forces-integrators/SKILL.md.../platforms-performance/SKILL.md.../development-extensions/SKILL.md.references/simulation-recipes.md for PDB, Amber, GROMACS, CHARMM, Tinker, smoke, minimization, stepping, and restart recipes.references/file-formats-and-reporters.md for loader pairing, reporter options, checkpoint/state differences, and validation snippets.references/troubleshooting.md when a script fails to load files, builds a bad System, produces NaNs, writes no output, or cannot resume from a checkpoint.scripts/minimal_reference_smoke.py to verify that OpenMM imports, units, Context, Simulation, minimization, stepping, and serialization work on the Reference platform without external data files.openmm.app, openmm, and openmm.unit; use explicit unit-bearing quantities such as 300*kelvin, 1/picosecond, and 0.002*picoseconds.System before constructing Simulation; changes to System after Simulation creation do not affect the existing Context.Simulation(topology, system, integrator, ...); set positions and, for dynamics or restart-sensitive tests, set velocities explicitly.step(); use short intervals and small step counts for smoke tests.saveState()/loadState() for portable restarts across hardware/platforms; use checkpoints only for same-system, same-platform, same-version continuation.openmm, openmm.app, and openmm.unit without relying on the OpenMM source checkout.step().totalSteps.Reference or CPU, and check a concrete invariant such as currentStep, finite energy, positions present, or a restart restoring positions.