Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
FastFold
Commits
7201f2e2
Commit
7201f2e2
authored
Jul 24, 2023
by
zhuwenwen
Browse files
modify readme
parent
9f6252f0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
2 deletions
+22
-2
README.md
README.md
+22
-2
No files found.
README.md
View file @
7201f2e2
...
...
@@ -27,13 +27,33 @@ pip install setuptools=59.5.0 wheel
#### 编译安装
```
shell
git clone
-b
dtk-23.04_fastfold0.2.1
https://developer.hpccube.com/codes/aicomponent/fastfold
git clone https://developer.hpccube.com/codes/aicomponent/fastfold
# 根据需要的分支进行切换
cd
fastfold
export
CPLUS_INCLUDE_PATH
=
$ROCM_PATH
/include:
$ROCM_PATH
/cuda/targets/x86_64-linux/include:
$CPLUS_INCLUDE_PATH
1、 编译whl包并安装
python setup.py bdist_wheel
pip
install
dist/fastfold
*
2、 直接编译安装
python setup.py
install
```
## 安装包命名
例: fastfold-0.2.1+git9f6252f.abi0.dtk2304.torch1.10-cp38-cp38-manylinux2014_x86_64.whl
-
fastfold: 安装包名称;
-
0.2.1: 安装包版本号;
-
git9f6252f: git号;
-
abi0: 对应centos和rocky多系统的标识,取值为abi0(centos7),abi1(rocky8),可使用命令行动态查询获取辅助判断(echo '#include
<string>
' | gcc -x c++ -E -dM - | fgrep _GLIBCXX_USE_CXX11_ABI),根据各包情况是否兼容多系统;
-
dtk2304: 对应dtk大版本号,命令行动态查询取值(/opt/dtk-23.04/.info/rocm_version);
-
torch1.10: 对应构建的torch版本号,命令行动态查询取值(torch.
\_\_
version__);
-
cp38-cp38: 对应python版本号;
-
manylinux2014_x86_64: 系统架构;
## 版本号查询
-
fastfold.
\_\_
version__:与官方版本同步,查询该软件的版本号,例如0.2.1(基于官方0.2.0修改);
## Note
+
若使用 pip install 下载安装过慢,可添加源:-i https://pypi.tuna.tsinghua.edu.cn/simple/
+
ROCM_PATH为dtk的路径,默认为/opt/dtkxxx
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment