Skip to main content

A quick post-process for resolve or assistant the VASP calculations

Project description

GVasp Manual

GitHub Documentation Status Anaconda-Server Badge

Table of contents

About GVasp

A quick post-process for resolve or assistant the VASP calculations, which can involve in four kinds of tasks as below:

  • generate inputs
  • visualize trajectory
  • plot interface
  • charge related work

More detailed information can see here.

Install

Create Environment

Before install the GVasp, we strongly recommend you to install conda before.

After install conda, create a new environment, e.g. GVasp, and install a python (version=3.9), using following command:

conda create -n GVasp python=3.9

Install GVasp

  1. From sourcecode

    You can install the GVasp using the following command (under the root directory):

    python3 setup.py install
    

    or

    pip3 install .
    
  2. Use PyPi

    We have made the wheel (production process can see [here]) and upload to the pypi, you can also install from it:

    pip3 install QVasp
    

    If the download speed is too slow, we suggest you change the pip mirror by modifying the ~/.pip/pip.conf file.

  3. Use conda

    We now also made a conda package (production process can see [here]) and uploaded to the Anaconda, so you can also install GVasp from it:

    conda install -c hui_zhou -c conda-forge qvasp
    

If you run the gvasp -v and print version information, then you install the GVasp successful ~~

GVasp version 0.0.1 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.35)

Setting Environment

Default Environment

Default environment can display by following command:

gvasp -l/--list

Initial environment is like this:

------------------------------------Configure Information---------------------------------
! ConfigDir:      /mnt/c/Users/hui_zhou/Desktop/packages/gvasp/gvasp
! INCAR-template: /mnt/c/Users/hui_zhou/Desktop/packages/gvasp/gvasp/INCAR
! UValue:         /mnt/c/Users/hui_zhou/Desktop/packages/gvasp/gvasp/UValue.yaml
! PotDir:         /mnt/c/Users/hui_zhou/Desktop/packages/gvasp/gvasp/pot
! LogDir:         /mnt/c/Users/hui_zhou/Desktop/packages/gvasp/gvasp/logs
------------------------------------------------------------------------------------------
  • ConfigDir: represents the directory of INCAR (template), UValue.yaml and pot

  • LogDir: represents the directory of logs

  • INCAR: INCAR template file of all GVasp submit tasks

  • UValue.yaml: define the UValue for elements

  • pot: directory of the elements' POTCAR

The structure of pot is like this:

pot
├── PAW_LDA
├── PAW_PBE
├── PAW_PW91
├── USPP_LDA
├── USPP_PW91
└── vdw_kernel.bindat

Modify Environment

If you don’t like the default environment, you can modify the environment by writing a config.json, the format of config.json is like this:

{
  "config_dir": "/your_directory_to_three_mentioned_files",
  "logdir": "/your_logs_directory",
}

and run command:

gvasp config -f config.json

Then the environment will be reset, GVasp will auto search the INCAR, UValue.yaml, pot under the config_dir.

Code Structure

  • gvasp source code directory of GVasp gvasp

  • gvasp/common (main module of GVasp) gvasp

  • gvasp/lib (store the *.pyd files)

  • extension (C++/Cython extensions for GVasp)

  • docs (document description)

  • tests (test files of GVasp)

Requirements

  • Python >= 3.9
  • Cython
  • matplotlib
  • numpy == 1.23.1 (other version may conflict with pymatgen, not test)
  • pymatgen == 2022.7.25
  • pymatgen-diffusion == 2020.10.8

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gvasp-0.0.1.tar.gz (82.4 kB view details)

Uploaded Source

Built Distributions

gvasp-0.0.1.alpha-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.27+ x86-64 manylinux: glibc 2.28+ x86-64

gvasp-0.0.1-cp39-cp39-win_amd64.whl (160.9 kB view details)

Uploaded CPython 3.9 Windows x86-64

File details

Details for the file gvasp-0.0.1.tar.gz.

File metadata

  • Download URL: gvasp-0.0.1.tar.gz
  • Upload date:
  • Size: 82.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.9.12

File hashes

Hashes for gvasp-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e84f9fd3219c74e4387bf3e6a98d1ecd29b756011579309101334031870e3d57
MD5 2f4e2d7b2350a59f070deae363dd8c98
BLAKE2b-256 47026f5b606cf19af652d6b6a63f022513fb4fc3f57e45d1d9ba550f2739920c

See more details on using hashes here.

File details

Details for the file gvasp-0.0.1.alpha-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gvasp-0.0.1.alpha-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0cb9fa1943d46d7e414b1319383fef234d4a7a4546becba179f684dc923c7aec
MD5 fb72ec95bd8202fe1199da508bd26a31
BLAKE2b-256 21d0808b05cd4c7870e7bde2f6ba9f77bc77f873d00164a44c413eb2b7c43a92

See more details on using hashes here.

File details

Details for the file gvasp-0.0.1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: gvasp-0.0.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 160.9 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.9.12

File hashes

Hashes for gvasp-0.0.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 ec8637f56f13b9ce7a540f5e9c78c0e26cdad8e2334090f806182fcafefe4ed5
MD5 a3e14748e0a596c3588c5d81a20586d0
BLAKE2b-256 0ff2841b963215b1fb2f9f3077ddb19bd68e9db4614144b8224738e30152dd4d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page