| 查看: 1167 | 回复: 5 | ||
1xiaohua1木虫 (正式写手)
|
[求助]
求一个 linux版本的p4vasp已有1人参与
|
| 各位朋友,由于无法登录p4vasp官网,求一个 linux版本的p4vasp 1217467061@qq.com |
» 猜你喜欢
请问有评职称,把科研教学业绩算分排序的高校吗
已经有6人回复
2025冷门绝学什么时候出结果
已经有6人回复
Bioresource Technology期刊,第一次返修的时候被退回好几次了
已经有7人回复
真诚求助:手里的省社科项目结项要求主持人一篇中文核心,有什么渠道能发核心吗
已经有8人回复
寻求一种能扛住强氧化性腐蚀性的容器密封件
已经有5人回复
请问哪里可以有青B申请的本子可以借鉴一下。
已经有4人回复
请问下大家为什么这个铃木偶联几乎不反应呢
已经有5人回复
天津工业大学郑柳春团队欢迎化学化工、高分子化学或有机合成方向的博士生和硕士生加入
已经有4人回复
康复大学泰山学者周祺惠团队招收博士研究生
已经有6人回复
AI论文写作工具:是科研加速器还是学术作弊器?
已经有3人回复

1xiaohua1
木虫 (正式写手)
- 应助: 0 (幼儿园)
- 金币: 2036.9
- 红花: 1
- 帖子: 452
- 在线: 242.1小时
- 虫号: 1473445
- 注册: 2011-11-02
- 专业: 凝聚态物性 II :电子结构

2楼2024-10-28 16:55:02
rlafite
木虫 (正式写手)
- 应助: 183 (高中生)
- 金币: 9435.1
- 红花: 28
- 沙发: 1
- 帖子: 843
- 在线: 331.9小时
- 虫号: 4563202
- 注册: 2016-04-02
- 性别: GG
- 专业: 同步辐射技术及其应用
3楼2024-10-31 00:15:35
1xiaohua1
木虫 (正式写手)
- 应助: 0 (幼儿园)
- 金币: 2036.9
- 红花: 1
- 帖子: 452
- 在线: 242.1小时
- 虫号: 1473445
- 注册: 2011-11-02
- 专业: 凝聚态物性 II :电子结构

4楼2024-10-31 20:54:32
rlafite
木虫 (正式写手)
- 应助: 183 (高中生)
- 金币: 9435.1
- 红花: 28
- 沙发: 1
- 帖子: 843
- 在线: 331.9小时
- 虫号: 4563202
- 注册: 2016-04-02
- 性别: GG
- 专业: 同步辐射技术及其应用
【答案】应助回帖
★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★
1xiaohua1: 金币+50, ★★★★★最佳答案 2024-11-01 10:32:08
1xiaohua1: 金币+50, ★★★★★最佳答案 2024-11-01 10:32:08
|
https://pypi.org/project/py4vasp/ Installation We use the poetry dependency manager which takes care of all dependencies and maintains a virtual environment to check the code. If you want to test something in the virtual environment, just use e.g. poetry run jupyter-notebook. We recommend installing py4vasp in a conda environment to resolve issues related to installing mdtraj with pip. To do this please use the following steps. The last step will test whether everything worked conda create --name py4vasp-env python=3.8 git clone git@github.com:vasp-dev/py4vasp.git pip install poetry poetry install conda install -c conda-forge mdtraj poetry run pytest Note that this will install py4vasp into the conda environment. This isolates the code from all packages you have installed in other conda environments. Using poetry makes sure that when you modify the code all the relevant dependencies are tracked. py4vasp core If you want to use py4vasp to develop your own scripts, you may want to limit the amount of external dependencies. To this end, we provide alternative configuration files that only install numpy, h5py, and the development dependencies. To install this core package replace the configurations files in the root folder with the ones in the core folder cp core/* . Then you can install py4vasp with the same steps as above. Alternatively, since py4vasp-core does not use mdtraj, you can also install everything in a virtual environment mangaged by poetry pip install poetry poetry install poetry run pytest Note that some tests will be skipped because they require the external packages to run. If you want to exclude even the development dependencies, you can run poetry install --without dev for the minimal installation. Code style Code style is enforced, but is not something the developer should spend time on, so we decided on using black and isort. Please run black src tests isort src tests before committing the code. This will autoformat your code and sort the import statements in a consistent order. If you would like this code formatting to be done along with each commit, you can run pre-commit install Contributing to py4vasp We welcome contributions to py4vasp. To improve the code please follow this workflow Create an issue for the bugfix or feature you plan to work on, this gives the option to provide some input before work is invested. Implement your work in a fork of the repository and create a pull request for it. Please make sure to test your code thoroughly and commit the tests in the pull request in the tests directory. In the message to your merge request mention the issue the code attempts to solve. We will try to include your merge request rapidly when all the tests pass and your code is covered by tests. Please limit the size of a pull request to approximately 200 lines of code otherwise reviewing the changes gets unwieldy. Prefer splitting the work into multiple smaller chunks if necessary. |
» 本帖已获得的红花(最新10朵)
5楼2024-11-01 00:33:34
1xiaohua1
木虫 (正式写手)
- 应助: 0 (幼儿园)
- 金币: 2036.9
- 红花: 1
- 帖子: 452
- 在线: 242.1小时
- 虫号: 1473445
- 注册: 2011-11-02
- 专业: 凝聚态物性 II :电子结构

6楼2024-11-01 10:32:20













回复此楼
1xiaohua1