LTEMPER: Difference between revisions

From VASP Wiki
(Created page with "{{TAGDEF|LTEMPER|[logical]|.FALSE.}} Description: {{TAG|LTEMPER}} specified whether parallel tempering is used. The flag must be used in combination with {{TAG|IMAGES}}. --...")
 
No edit summary
Line 7: Line 7:
The parallel tempering mode is explained in this section, however, please read the section {{TAG|IMAGES}} first.
The parallel tempering mode is explained in this section, however, please read the section {{TAG|IMAGES}} first.


If the tags {{TAG| IMAGES}}=n and  {{TAG| LTEMPER}}=.TRUE. are set in the {{TAG| INCAR}} file, VASP performs parallel tempering calculations. In this case, it is expedient to supply different {{TAG| INCAR}} and {{TAG| POSCAR}} files in each subdirectory 01, 02, 03... IMAGES. For each subdiretory a different simulation temperature should be supplied using the tags  {{TAG| TEBEG}}.
If the tags {{TAG| IMAGES}}=nn and  {{TAG| LTEMPER}}=.TRUE. are set in the {{TAG| INCAR}} file, VASP performs parallel tempering calculations. In this case, it is expedient to supply different {{TAG| INCAR}} and {{TAG| POSCAR}} files in each subdirectory 01, 02, 03, ..., nn. For each subdiretory a different simulation temperature should be supplied using the tags  {{TAG| TEBEG}} in the INCAR files 01/INCAR, 02/INCAR ... nn/INCAR.


In the course of the simulations, VASP will attempt to swap the temperatures between the images. Swapping attempts are made every  
In the course of the simulations, VASP will attempt to swap the temperatures between the images. Swapping attempts are made every  
{{TAG|NTEMPER}} MD steps. Information on the current temperatures for each image can be found in the {{TAG|OUTCAR}} file around the lines
{{TAG|NTEMPER}} MD steps. Information on the current temperatures for each image can be found in the {{TAG|OUTCAR}} file around the lines


  parallel tempering  
  parallel tempering new


The average acceptance ratios are also written to the {{TAG|OUTCAR}} file. For efficient parallel tempering the acceptance ratio should most likely approach at least 0.1. If this is not the case, one needs to increase the number of images.
The average acceptance ratios are also written to the {{TAG|OUTCAR}} file. For efficient parallel tempering the acceptance ratio should not fall much below 0.1. If the acceptance ratio is too small, one usually needs to increase the number of images.
   
   
== Related Tags and Sections ==
== Related Tags and Sections ==

Revision as of 08:30, 17 March 2022

LTEMPER = [logical]
Default: LTEMPER = .FALSE. 

Description: LTEMPER specified whether parallel tempering is used. The flag must be used in combination with IMAGES.


VASP supports various modes where simultaneous calculations for different INCAR, KPOINTS, POTCAR, or POSCAR files are performed. The parallel tempering mode is explained in this section, however, please read the section IMAGES first.

If the tags IMAGES=nn and LTEMPER=.TRUE. are set in the INCAR file, VASP performs parallel tempering calculations. In this case, it is expedient to supply different INCAR and POSCAR files in each subdirectory 01, 02, 03, ..., nn. For each subdiretory a different simulation temperature should be supplied using the tags TEBEG in the INCAR files 01/INCAR, 02/INCAR ... nn/INCAR.

In the course of the simulations, VASP will attempt to swap the temperatures between the images. Swapping attempts are made every NTEMPER MD steps. Information on the current temperatures for each image can be found in the OUTCAR file around the lines

parallel tempering new

The average acceptance ratios are also written to the OUTCAR file. For efficient parallel tempering the acceptance ratio should not fall much below 0.1. If the acceptance ratio is too small, one usually needs to increase the number of images.

Related Tags and Sections

IMAGES, NTEMPER

Examples that use this tag

References