LSCALU: Difference between revisions

From VASP Wiki
(Created page with '{{TAGDEF|LSCALU|[logical]|.FALSE.}} Description: {{TAG|LSCALU}}. ---- == Related Tags and Sections == {{TAG|NPAR}}, {{TAG|NCORE}}, {{TAG|LPLANE}}, {{TAG|NSIM}}, {{TAG|KPAR}},…')
 
No edit summary
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TAGDEF|LSCALU|[logical]|.FALSE.}}
{{TAGDEF|LSCALU|[logical]|.FALSE.}}


Description: {{TAG|LSCALU}}.  
Description: {{TAG|LSCALU}} switches on the parallel LU decomposition (using scaLAPACK) in the orthonormalization of the wave functions.  


----
----
For {{TAG|LSCALU}}=.TRUE. the LU decomposition in the orthormalization of the wave functions is done in parallel, using scaLAPACK routines.
Provided, of course, {{TAG|LSCALAPACK}}=.TRUE. and VASP was compiled with scaLAPACK support ([[Precompiler_flags|precompiler flag]]: -DscaLAPACK).
In many cases, the scaLAPACK LU decomposition based is ''slower'' than the serial LU decomposition (compare the timing <tt>ORTHCH</tt> in the respective {{FILE|OUTCAR}} files). Hence the default is {{TAG|LSCALU}}=.FALSE.
(subspace rotations, however, are still done using scaLAPACK).


== Related Tags and Sections ==
== Related Tags and Sections ==
Line 14: Line 20:
{{TAG|LSCAAWARE}}
{{TAG|LSCAAWARE}}


{{sc|LSCALU|Examples|Examples that use this tag}}
----
----
[[The_VASP_Manual|Contents]]


[[Category:INCAR]][[Category:parallelization]]
[[Category:INCAR]][[Category:Performance]][[Category:parallelization]]

Revision as of 17:47, 11 March 2019

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

Description: LSCALU switches on the parallel LU decomposition (using scaLAPACK) in the orthonormalization of the wave functions.


For LSCALU=.TRUE. the LU decomposition in the orthormalization of the wave functions is done in parallel, using scaLAPACK routines. Provided, of course, LSCALAPACK=.TRUE. and VASP was compiled with scaLAPACK support (precompiler flag: -DscaLAPACK).

In many cases, the scaLAPACK LU decomposition based is slower than the serial LU decomposition (compare the timing ORTHCH in the respective OUTCAR files). Hence the default is LSCALU=.FALSE. (subspace rotations, however, are still done using scaLAPACK).

Related Tags and Sections

NPAR, NCORE, LPLANE, NSIM, KPAR, LSCALAPACK, LSCAAWARE

Examples that use this tag