From 01e8157f66c4886f9dc14afde3a57aeeab364d72 Mon Sep 17 00:00:00 2001 From: Anyang Peng <137014849+anyangml@users.noreply.github.com> Date: Fri, 1 Mar 2024 10:07:43 +0800 Subject: [PATCH] fix: typo --- doc/install/install-from-source.md | 4 ++-- doc/install/install-lammps.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/install/install-from-source.md b/doc/install/install-from-source.md index de1e304887..fba7771d5d 100644 --- a/doc/install/install-from-source.md +++ b/doc/install/install-from-source.md @@ -253,11 +253,11 @@ I assume you have installed the PyTorch (either Python or C++ interface) to `$to cmake -DENABLE_PYTORCH=TRUE -DCMAKE_PREFIX_PATH=$torch_root -DCMAKE_INSTALL_PREFIX=$deepmd_source_dir .. ``` -Alternatively, one can use the installation scripts provided by DeepMD-kit by executing the following commands: +Alternatively, one can use the installation scripts provided by DeepMD-kit with the following commands: ```bash export CMAKE_PREFIX_PATH=$libtorch_root ``` -and if use GPU, add +if use GPU ```bash export DP_VARIANT=cuda ``` diff --git a/doc/install/install-lammps.md b/doc/install/install-lammps.md index 112ef18d0d..2c8b1df973 100644 --- a/doc/install/install-lammps.md +++ b/doc/install/install-lammps.md @@ -11,7 +11,7 @@ DeePMD-kit provides an easy installation script, one can simply run the followin $deepmd_source_dir/source/install/build_lammps.sh ``` -Alternatively, manual installation is also supported. DeePMD-kit provides a module for running MD simulations with LAMMPS. Now make the DeePMD-kit module for LAMMPS. +Manual installation is also supported. DeePMD-kit provides a module for running MD simulations with LAMMPS. Now make the DeePMD-kit module for LAMMPS. ```bash cd $deepmd_source_dir/source/build