ML MCONF: Difference between revisions

From VASP Wiki
No edit summary
(TODO: Improve!)
Line 1: Line 1:
{{TAGDEF|ML_MCONF|[integer]|1500}}
{{TAGDEF|ML_MCONF|[integer]|1500}}


Description: This flag sets the maximum number of structures used for training in the machine learning force field method.
Description: This tag sets the maximum number of structures stored in memory which are 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 {{TAG|ML_MCONF}}.  
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_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.
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 {{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 ==

Revision as of 21:26, 11 October 2021

ML_MCONF = [integer]
Default: ML_MCONF = 1500 

Description: This tag sets the maximum number of structures stored in memory which are 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_MCONF. 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

Examples that use this tag


ML_LMLFF, ML_MCONF_NEW, ML_MB