Skip to main content

A collection of scipts to automate common VASP tasks.

Project description

vasp-scripts

Scripts to automate common operations with the Vienna Ab-initio Simulation Package.

Installation

The collection can be downloaded from PyPI under the package name phillpot-vasp-scripts.

$ pip install phillpot-vasp-scripts

Assuming your pip installation is configured correctly, the scripts will be immediately available through your PATH environment variable.

Available Scripts

vasp-compare.py - Compares the results of a set of calculations in the current directory.

Optional Arguments:
  • --energy - Enables comparison of final energy.
  • --memory - Enables comparison of maximum memory usage.
  • --time - Enables comparison of elapsed time.
  • --ignore - Directory names to exclude from consideration

vasp-converge.py - Sets up a convergence test from input files in the current directory.

Subcommands:
  • incar - Signals an INCAR tag convergence test.

    Positional Arguments:
    • tag - INCAR tag name.
    • values - Tag values to test.
  • kpoints - Signals a k-point convergence test.

    Positional Arguments:
    • min - Minimum grid density.
    • max - Maximum grid density.
    • n - Number of density values to test.
    Optional Arguments:
    • --mode - Grid construction mode (gamma, monkhorst...). Defaults to 'gamma'.
Optional Arguments:
  • --jobcmd - The command used to submit the job script. Defaults to 'sbatch' or environment variable JOBCMD.
  • --jobfile - The filename of the job submission script. Defaults to 'runjob.slurm' or environment variable JOBFILE.

vasp-defect-energy.py - Calculates defect formation energy between a reference system and a defective system.

Positional Arguments:
  • type - The type of defect to expect (point, surface...).
  • reference - Path to the reference system's calculation directory.
  • defective - Path to the defective system's calculation directory.

vasp-restart.py - Restarts a calculation after a timeout or failure.

Optional Arguments:
  • --jobcmd - The command used to submit the job script. Defaults to 'sbatch' or environment variable JOBCMD.
  • --jobfile - The filename of the job submission script. Defaults to 'runjob.slurm' or environment variable JOBFILE.

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

phillpot-vasp-scripts-0.1.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

phillpot_vasp_scripts-0.1.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file phillpot-vasp-scripts-0.1.1.tar.gz.

File metadata

  • Download URL: phillpot-vasp-scripts-0.1.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for phillpot-vasp-scripts-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9d074bebbdaba1baf93461d5bb6325e9d050515527fa70b7bdcee06cd4ac80cc
MD5 9fe676b764f6a43359ce9375bff7528a
BLAKE2b-256 89cb59d15fe5f684a3fa73b01edc67f8961df7c448598a7d1099534601344c82

See more details on using hashes here.

File details

Details for the file phillpot_vasp_scripts-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: phillpot_vasp_scripts-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for phillpot_vasp_scripts-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bb3e17e8f9a52972749de7152a56210def17230f859e6583e1a7310f559dbed2
MD5 0825387daf45eedc249b83165071ce3b
BLAKE2b-256 167e7ca34427dd59b984b23cf75c35da38e0787db10f40693ea53c3aba0db379

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