ML MB: Difference between revisions
No edit summary |
m (TODO: Improve!) |
||
Line 1: | Line 1: | ||
{{TAGDEF|ML_MB|[integer]|1500}} | {{TAGDEF|ML_MB|[integer]|1500}} | ||
Description: This | 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 {{TAG|ML_MB}}. | 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_MB}}. | ||
This flag sets | 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:24, 11 October 2021
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.