ML MCONF: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
Line 3: Line 3:
Description: This flag sets the maximum number of structures used for training in the machine learning force field method.
Description: This flag sets the maximum number of structures used for training in the machine learning force field method.
----
----
In most cases the default value of 1000 should be sufficient and hence not touched. Only if the number of training set has reached 1000 in the {{TAG|ML_AB}} or ({{TAG|ML_ABN}}) file (look for the line ''The number of configurations'') this value should be set higher. If such thing occurs also the last training step should be repeated.
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 {{TAG|ML_FF_MCONF}}.
This flag sets alse 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 {{TAG|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 ==
== Related Tags and Sections ==
Line 9: Line 10:
{{sc|ML_FF_MCONF|Examples|Examples that use this tag}}
{{sc|ML_FF_MCONF|Examples|Examples that use this tag}}
----
----
{{TAG|ML_FF_LMLFF}},{{TAG|ML_FF_MCONF_NEW}}
{{TAG|ML_FF_LMLFF}}, {{TAG|ML_FF_MCONF_NEW}}, {{TAG|ML_FF_MB_MB}}


[[Category:INCAR]][[Category:Machine Learning]][[Category:Machine Learned Force Fields]][[Category: Alpha]]
[[Category:INCAR]][[Category:Machine Learning]][[Category:Machine Learned Force Fields]][[Category: Alpha]]

Revision as of 09:49, 8 June 2021

ML_FF_MCONF = [integer]
Default: ML_FF_MCONF = 1500 

Description: This flag sets the maximum number of structures used for training 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_FF_MCONF. This flag sets alse 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

Examples that use this tag


ML_FF_LMLFF, ML_FF_MCONF_NEW, ML_FF_MB_MB