Skip to content

Commit

Permalink
update installation requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
PKUfjh committed May 13, 2024
1 parent 4c140ae commit 7324bf7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/source/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ conda create -n rid-drop python=3.9 libtensorflow_cc=2.6.2=*cuda110* tensorflow=
```bash
conda activate rid-drop
conda install mdtraj nccl -c conda-forge
conda install cudatoolkit-dev -c conda-forge
pip install cmake cython
pip install matplotlib parmed scikit-learn dpdata
```
Expand Down
6 changes: 5 additions & 1 deletion docs/source/install_dp.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@ The `enviroment` of rid-kit software is a bit complex, it uses `dflow` to manage
### Install tensorflow's C++ interface and other necessary packages
We recommend using conda to manage the python enviroment.
Use the command
```
```bash
conda create -n rid-dp python=3.9 libtensorflow_cc=2.6.2=*cuda110* tensorflow=2.6.2=*cuda110* nccl mdtraj numpy scikit-learn cmake dpdata cython -c conda-forge
```
to get the compiled libtensorflow_cc and other necessary packages.
Install the cudatoolkit which manage the nvcc and other commands.
```bash
conda install cudatoolkit-dev -c conda-forge
```
After installation, activate the enviroment and set library path
```bash
conda activate rid-dp
Expand Down

0 comments on commit 7324bf7

Please sign in to comment.