Skip to content

Commit 4d86ff2

Browse files
author
Han Wang
committed
rm xdrfile, fix bug of using tf_google_bin
1 parent c62289f commit 4d86ff2

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,10 @@ cd build
110110
```
111111
I assume you want to install DeePMD-kit into path `$deepmd_root`, then execute cmake
112112
```bash
113-
cmake -DXDRFILE_ROOT=$xdrfile_root -DTENSORFLOW_ROOT=$tensorflow_root \
113+
cmake -DTF_GOOGLE_BIN=true -DTENSORFLOW_ROOT=$tensorflow_root \
114114
-DCMAKE_INSTALL_PREFIX=$deepmd_root ..
115115
```
116-
If you are using google binary for tensorflow python interface, then you need to specify
117-
```bash
118-
cmake -DXDRFILE_ROOT=$xdrfile_root -DTENSORFLOW_ROOT=$tensorflow_root \
119-
-DCMAKE_INSTALL_PREFIX=$deepmd_root -DTF_GOOGLE_BIN=true ..
120-
```
121-
If the cmake has executed successfully, then
116+
If you built the tensorflow's Python interface by gcc>=5.0, then remove the option `-DTF_GOOGLE_BIN=true`. If the cmake has executed successfully, then
122117
```bash
123118
make
124119
make install

0 commit comments

Comments
 (0)