You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary
- add the `deepmd-install` Agent Skill with concise routes for pip,
conda, dp1s, offline packages, Docker, source builds, C/C++, and LAMMPS
- fetch version-matched official documentation before rendering
version-sensitive commands, using exact-ref raw Markdown from GitHub or
the official Gitee mirror
- treat dynamic command values as literal process arguments rather than
shell source
- pin pip and Conda installations to the selected release and fail
verification on a normalized version mismatch
- make source runtime and compiled-backend selection explicit, including
the documented backend-neutral C/C++ route
- keep a compact failure-mode reference for environment identity,
backend and accelerator selection, source builds, native loader checks,
Docker, and LAMMPS
- document skill installation in the README and installation docs, using
the official Gitee mirror as the network fallback
## Design
The skill provides route selection, safety boundaries, and verification
criteria without duplicating the installation manual. It assumes no
local source checkout. The agent opens the direct official page first,
resolves a release to its tag, and falls back to the corresponding
Markdown at that exact tag or commit when versioned web documentation is
unavailable.
Source installation remains the recommended path when a compiler is
available and build time is acceptable. TensorFlow, PyTorch, JAX,
Paddle, and backend-neutral C/C++ libraries are represented, while
version-specific package, accelerator, and build commands remain owned
by the official documentation.
## Validation
- official `quick_validate.py skills/deepmd-install`
- repository pre-commit hooks for all changed files
- shell-free argv round-trip with spaces, command-substitution syntax,
backticks, semicolons, and option-looking values
- PEP 440 release normalization and exact pip requirement parsing
- Conda exact-version MatchSpec parsing, including rejection of the
fuzzy single-equals form
- direct GitHub and official Gitee raw-documentation fetch at an exact
upstream commit
- official Gitee and upstream `master` commit identity check
- source build environment-assignment shell check
- local Git checkout checks for both a normal ref and an option-looking
ref
- `git diff --check`
Copy file name to clipboardExpand all lines: doc/install/easy-install.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
There are various easy methods to install DeePMD-kit. Choose one that you prefer. If you want to build by yourself, jump to the next two sections.
4
4
5
+
An AI agent can perform the same installation. See [Install with an AI agent](install-with-agent.md).
6
+
5
7
After your easy installation, DeePMD-kit (`dp`) and LAMMPS (`lmp`) will be available to execute. You can try `dp -h` and `lmp -h` to see the help. `mpirun` is also available considering you may want to train models or run LAMMPS in parallel.
Copy file name to clipboardExpand all lines: doc/install/install-from-source.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,8 @@
1
1
# Install from source code
2
2
3
+
An AI agent can walk through this source build, including the C++ interface
4
+
and LAMMPS with Kokkos. See [Install with an AI agent](install-with-agent.md).
5
+
3
6
Please follow our [GitHub](https://github.com/deepmodeling/deepmd-kit) webpage to download the source code of a specific version or the [development version](https://github.com/deepmodeling/deepmd-kit/tree/master).
Copy file name to clipboardExpand all lines: doc/install/install-lammps.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
# Install LAMMPS
2
2
3
+
An AI agent can build LAMMPS with the DeePMD-kit module and Kokkos. DPA4/SeZM
4
+
uses `pair_style deepmd/kk`; DPA4C uses `pair_style dpa4spin/kk`. See
5
+
[Install with an AI agent](install-with-agent.md).
6
+
3
7
There are two ways to install LAMMPS: the built-in mode and the plugin mode. The built-in mode builds LAMMPS along with the DeePMD-kit and DeePMD-kit will be loaded automatically when running LAMMPS. The plugin mode builds LAMMPS and a plugin separately, so one needs to use `plugin load` command to load the DeePMD-kit's LAMMPS plugin library.
0 commit comments