ML MB

From VASP Wiki
Revision as of 21:24, 11 October 2021 by Singraber (talk | contribs) (TODO: Improve!)

ML_MB = [integer]
Default: ML_MB = 1500 

Description: This tag sets the maximum number of local reference configurations in the machine learning force field method.


The default value is usually a safe value but should be set to a higher value as soon as it is reached. When this happens the code stops and gives an error instructing to increase ML_MB. This flag sets also the maximum number of rows for the design matrix, which is usually a huge matrix. The design matrix is to be allocated statically at the beginning of the program, since several parts of the code use MPI shared memory and dynamic reallocation of these arrays can cause severe problems on some systems. So most of the main arrays are statically allocated in the code. An estimate of the design matrix and all other large arrays is printed out to the ML_LOGFILE before allocation. The design matrix is fully distributed in a block cyclic fashion for scaLAPACK and should almost perfectly linearly scale with the number of used processors.

Related Tags and Sections

ML_LMLFF, ML_MCONF

Examples that use this tag