Skip to main content

Convergence test for vasp.

Project description


convtest is an open source code to do the convergence test by vasp. It supports ANY parameters.


  1. Support ANY parameters in INCAR add KPOINTS and EOS. (Of course, all the values for the parameters should be correct).

    Note: The EOS keyword is conducted by changing the scale factor, as a result, the coordinate system of the atom position should be fraction, not Cartesian

  2. Support run VASP in the script, and generate the shell or qsub(pbs) scripts to submit the jobs.


pip install convtest-prl


  1. Prepare the template of All VASP-needed files [INCAR, POSCAR, POTCAR, KPOINTS]
  2. Prepare the INPUT.convtest file to specify the parameters for convergence test.
  3. If run the test on HPC using PBS(now, it only support PBS now), prepare the pbs scripts.

INPUT file format

Syntax States Examples
PARAM Specify the parameters for convergence test, case insensitive PARAM ENCUT
PARAMLIST The value list of the parameters, case insensitive
There are two ways to specify the value
1. Keep in one line with the PARAMLIST key words
2. Multilines(must with end mark END_PARAMLIST)
1.For cut-off
PARAMLIST 200..30..500(two dots)
PARAMLIST 200 230 260 ... 500
2 3 4
3 4 5
VASPRUN 1(Default) for run the VASP code in the script
0 for generate *.sh or *.pbs script according to your template
KEEPRESULT ALL(Default) : for keep all the result generated by vasp(several folders)
MIN : for minimum results (Only the data file will be reserved)
ISTEST 1 means TEST mode, it doesn't run the vasp, and the energy is random
0(Default) means not test mode, run the vasp


The convergence of size in doping or defect system?

1. How?

  • The error caused by the size effect is most ascribed to the self-interaction?

$$ E_{2N} = 2E_N $$

  • Property-based convergence?
  • Supercell

2. Todo list

  • Convergence of doping system
  • Convergence of the defect system


Mingqing Liao(廖名情)

Phase Research Lab(PRL) @ Penn State(PSU)

FGMS Group @ Harbin Institute of Technology

Project details

Download files

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

Files for convtest-prl, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size convtest_prl-1.0.2-py3.8.egg (24.7 kB) File type Egg Python version 3.8 Upload date Hashes View hashes
Filename, size convtest_prl-1.0.2.tar.gz (13.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page