ALGO: Difference between revisions

From VASP Wiki
No edit summary
Line 21: Line 21:
'''Mind''': except for 'None' and 'Nothing' (which must be spelled out), the first letter determines the applied algorithm. Conjugate, Subrot, Eigenval, None and Nothing are only supported by vasp.5.2.9 and newer versions.
'''Mind''': except for 'None' and 'Nothing' (which must be spelled out), the first letter determines the applied algorithm. Conjugate, Subrot, Eigenval, None and Nothing are only supported by vasp.5.2.9 and newer versions.


<span id="GWALGOS">
==ALGO for response functions and [[GW calculations]] and [[ACFDT/RPA calculations]]==
==ALGO for response functions and [[GW calculations]] and [[ACFDT/RPA calculations]]==


Line 27: Line 28:
*{{TAG|ALGO}}=GW0 selects single-shot ''G''<sub>0</sub>''W''<sub>0</sub> calculations or partially selfconsistent ''GW'' calculations. The orbitals (wavefunctions) of the previous groundstate calculations are maintained, and [[GW recipes#g0w0|G0W0 calculations]] are performed. If {{TAG|NELM}} is set, several iterations are performed, and the QP energies are updated in the calculation of ''G'' (for details see [[GW recipes#gw0|GW0 calculations]]).
*{{TAG|ALGO}}=GW0 selects single-shot ''G''<sub>0</sub>''W''<sub>0</sub> calculations or partially selfconsistent ''GW'' calculations. The orbitals (wavefunctions) of the previous groundstate calculations are maintained, and [[GW recipes#g0w0|G0W0 calculations]] are performed. If {{TAG|NELM}} is set, several iterations are performed, and the QP energies are updated in the calculation of ''G'' (for details see [[GW recipes#gw0|GW0 calculations]]).


*{{TAG|ALGO}}=G0W0 selects single-shot ''G''<sub>0</sub>''W''<sub>0</sub> calculations. This flag is really  superfluous, since the same behavior can be achieved by performing a single GW0 or GW step ({{TAG|NEL}}=1).
*{{TAG|ALGO}}=G0W0 selects single-shot ''G''<sub>0</sub>''W''<sub>0</sub> calculations. This flag is really  superfluous, since the same behavior can be achieved by performing a single GW0 or GW step ({{TAG|NELM}}=1).


*{{TAG|ALGO}}=GW selects single-shot ''G''<sub>0</sub>''W''<sub>0</sub> calculations or partially selfconsistent ''GW'' calculations. The orbitals of the previous groundstate calculations are maintained, and [[GW recipes#g0w0|G0W0 calculations]] are performed. If {{TAG|NELM}} is set, several iterations are performed, and the QP energies are updated in the calculation of ''G'' AND ''W'' (for details see [[GW recipes#gw0|GW calculations]]).
*{{TAG|ALGO}}=GW selects single-shot ''G''<sub>0</sub>''W''<sub>0</sub> calculations or partially selfconsistent ''GW'' calculations. The orbitals of the previous groundstate calculations are maintained, and [[GW recipes#g0w0|G0W0 calculations]] are performed. If {{TAG|NELM}} is set, several iterations are performed, and the QP energies are updated in the calculation of ''G'' AND ''W'' (for details see [[GW recipes#gw0|GW calculations]]).
Line 46: Line 47:


*{{TAG|ALGO}}=BSE selects BSE calculations using the VASP internal Cassida code see [[BSE calculations]]
*{{TAG|ALGO}}=BSE selects BSE calculations using the VASP internal Cassida code see [[BSE calculations]]
</span>
 
{{sc|ALGO|Examples|Examples that use this tag}}
{{sc|ALGO|Examples|Examples that use this tag}}
----
----

Revision as of 09:10, 22 September 2017

ALGO = Normal | VeryFast | Fast | Conjugate | All | Damped | Subrot | Eigenval | None | Nothing | CHI | | G0W0 | GW0 | GW | scGW0 | scGW | G0W0R | GW0R | GWR | scGW0R | scGWR | ACFDT | RPA | ACFDTR | RPAR | BSE | TDHF
Default: ALGO = Normal 

Description: the ALGO tag is a convenient option to specify the electronic minimisation algorithm (as of VASP.4.5) and/or to select the type of GW calculations.


  • ALGO=Normal selects IALGO=38 (blocked Davidson iteration scheme).
  • ALGO=Fast selects a faily robust mixture of the Davidson and RMM-DIIS algorithms. In this case, Davidson (IALGO=38) is used for the initial phase, and then VASP switches to RMM-DIIS (IALGO=48). Subsequencly, for each ionic update, one IALGO=38 sweep is performed for each ionic step (except the first one).
  • ALGO=Conjugate or ALGO=All selects an "all band simultaneous update of orbitals" (IALGO=58, in both cases the same conjugate gradient algorithm is used).
  • ALGO=Damped selects a damped velocity friction algorithm (IALGO=53).
  • ALGO=Subrot selects subspace rotation or diagonalization in the sub-space spanned by the orbitals (IALGO=4).
  • ALGO=Eigenval allows to recalculate one electron energies, density of state and perform selected postprocessing using the current orbitals (IALGO=3) e.g. read from the WAVECAR file.
  • ALGO=None or ALGO=Nothing allows to recalculate the density of states or perform selected postprocessing, using the current orbitals and one electron energies (IALGO=2) e.g. read from the WAVECAR file.

Mind: except for 'None' and 'Nothing' (which must be spelled out), the first letter determines the applied algorithm. Conjugate, Subrot, Eigenval, None and Nothing are only supported by vasp.5.2.9 and newer versions.

ALGO for response functions and GW calculations and ACFDT/RPA calculations

  • ALGO=CHI calculates the response functions only.
  • ALGO=GW0 selects single-shot G0W0 calculations or partially selfconsistent GW calculations. The orbitals (wavefunctions) of the previous groundstate calculations are maintained, and G0W0 calculations are performed. If NELM is set, several iterations are performed, and the QP energies are updated in the calculation of G (for details see GW0 calculations).
  • ALGO=G0W0 selects single-shot G0W0 calculations. This flag is really superfluous, since the same behavior can be achieved by performing a single GW0 or GW step (NELM=1).
  • ALGO=GW selects single-shot G0W0 calculations or partially selfconsistent GW calculations. The orbitals of the previous groundstate calculations are maintained, and G0W0 calculations are performed. If NELM is set, several iterations are performed, and the QP energies are updated in the calculation of G AND W (for details see GW calculations).
  • ALGO=scGW0 selects selfconsistent GW calculations including off-diagonal components of the selfenergy. A full update of the QP energies AND one electron orbitals is performed in the calculation of G only (for details see scGW0 calculations).
  • ALGO=scGW selects selfconsistent GW calculations including off-diagonal components of the selfenergy. A full update of the QP energies AND one electron orbitals is performed in the calculations of G AND W (for details see scGW calculations).

Examples that use this tag


Contents