Skip to main content

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.

Subcommands:
  • point - Signals a point defect energy calculation.

    Positional Arguments:
    • perfect - Path to the perfect system's calculation directory.
    • defect - Path to the defective system's calculation directory.
    • ground - Path to the defect specie's ground state calculation directory.

  • surface - Signals a surface formation energy calculation.

    Positional Arguments:
    • perfect - Path to the perfect system's calculation directory.
    • defect - Path to the defective system's calculation directory.
    • plane - Specifies which plane to interpret as surface. Defaults to 'xy'. Valid options are 'xy', 'xz', and 'yz'.

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.

Release files for phillpot-vasp-scripts 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for phillpot-vasp-scripts 0.1.2
File Size Uploaded
phillpot-vasp-scripts-0.1.2.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for phillpot-vasp-scripts 0.1.2
File Interpreter ABI Platform
phillpot_vasp_scripts-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 13.1 kB

Release files / phillpot-vasp-scripts-0.1.2.tar.gz

Download URL phillpot-vasp-scripts-0.1.2.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9bf05df0d6fa63a364bdd34bc084f7fdff791a121a25a5b4566aa744d13f1757
BLAKE2b-256 checksum
How to use checksums
6e017736b55f2556e810e62a5d7d94346dd84d0826a654de31b84d20b1e86160
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / phillpot_vasp_scripts-0.1.2-py3-none-any.whl

Download URL phillpot_vasp_scripts-0.1.2-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
876ed0bb844281b1092b3e2725ad0df78a8812fc8965fce2362465b16dc4e86e
BLAKE2b-256 checksum
How to use checksums
ca26df30f313cd1ac50c452a514c516c5a6ff97ade89ce93933853092324a0f4
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page