Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
anyangml committed Mar 1, 2024
1 parent 5628e86 commit 01e8157
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/install/install-from-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down
2 changes: 1 addition & 1 deletion doc/install/install-lammps.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 01e8157

Please sign in to comment.