| 6 | 1/1 | 返回列表 |
| 查看: 1350 | 回復(fù): 5 | ||
1xiaohua1木蟲 (正式寫手)
|
[求助]
求一個(gè) linux版本的p4vasp 已有1人參與
|
| 各位朋友,由于無法登錄p4vasp官網(wǎng),求一個(gè) linux版本的p4vasp 1217467061@qq.com |

木蟲 (正式寫手)

木蟲 (正式寫手)
木蟲 (正式寫手)

木蟲 (正式寫手)
|
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. |
木蟲 (正式寫手)

| 6 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 一志愿西工大材料學(xué),英一數(shù)二總分321分,求調(diào)劑。 +3 | zz05zz 2026-03-02 | 5/250 |
|
|---|---|---|---|---|
|
[考研] 材料328求調(diào)劑 +5 | 一個(gè)蘿卜02 2026-03-03 | 5/250 |
|
|
[考研] 264求調(diào)劑 +7 | 26調(diào)劑 2026-03-03 | 7/350 |
|
|
[考研] 復(fù)試調(diào)劑 +4 | 杰尼龜aaa 2026-03-03 | 4/200 |
|
|
[基金申請(qǐng)]
|
xhuama 2026-03-02 | 10/500 |
|
|
[考研] 0703 總分319求調(diào)劑 +4 | Xinyuu 2026-03-02 | 4/200 |
|
|
[考研] 理學(xué),工學(xué),農(nóng)學(xué)調(diào)劑,少走彎路,這里歡迎您! +8 | likeihood 2026-03-02 | 11/550 |
|
|
[碩博家園] 2025屆雙非化工碩士畢業(yè),申博 +4 | 更多的是 2026-02-27 | 5/250 |
|
|
[考研] 292求調(diào)劑 +3 | sgbl 2026-03-03 | 3/150 |
|
|
[考研] 268求調(diào)劑 +10 | 簡(jiǎn)單點(diǎn)0 2026-03-02 | 14/700 |
|
|
[考研] 299求調(diào)劑 +5 | kkcoco25 2026-03-02 | 9/450 |
|
|
[考研] 調(diào)劑 +5 | 13853210211 2026-03-02 | 7/350 |
|
|
[考研] 清華大學(xué) 材料與化工 353分求調(diào)劑 +5 | awaystay 2026-03-02 | 6/300 |
|
|
[考研] 338求調(diào)劑 +5 | 18162027187 2026-03-02 | 6/300 |
|
|
[考研] 288求調(diào)劑 +3 | 少71.8 2026-03-02 | 5/250 |
|
|
[考研] 321求調(diào)劑一志愿東北林業(yè)大學(xué)材料與化工英二數(shù)二 +5 | 蟲蟲蟲蟲蟲7 2026-03-01 | 9/450 |
|
|
[考研] 0856材料調(diào)劑 +5 | 沿岸有貝殼OUC 2026-03-02 | 5/250 |
|
|
[考研] 化工專碩342,一志愿大連理工大學(xué),求調(diào)劑 +6 | kyf化工 2026-02-28 | 7/350 |
|
|
[考研] 275求調(diào)劑 +3 | L-xin? 2026-03-01 | 6/300 |
|
|
[考研] 291分工科求調(diào)劑 +9 | science餓餓 2026-03-01 | 10/500 |
|