ML LIB: Difference between revisions

From VASP Wiki
m (Singraber moved page Construction:ML LIB to ML LIB)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:


----
----
Some machine learning modes of operation ({{TAG|ML_MODE}}) are implemented twice in {{VASP}}, once in the original Fortran code and again in a C++ rewrite as part of the VASPml library. However, the supported features and {{FILE|INCAR}} tags may be [[VASPml library#Restrictions|different]]. For example, the C++ does not yet implement the thermodynamic integration method. The {{TAG|ML_LIB}} tag allows to switch seamlessly between the two code paths without the need to recompile {{VASP}}.
Some machine learning modes of operation ({{TAG|ML_MODE}}) are implemented twice in {{VASP}}, once in the original Fortran code and again in a C++ rewrite as part of the VASPml library. However, the supported features and {{FILE|INCAR}} tags may be [[VASPml library#Restrictions|different]]. For example, the C++ library does not yet implement the thermodynamic integration method. The {{TAG|ML_LIB}} tag allows to switch seamlessly between the two code paths without the need to recompile {{VASP}}.


== Related tags and articles==
== Related tags and articles==
Line 15: Line 15:
{{sc|ML_LIB|Examples|Examples that use this tag}}
{{sc|ML_LIB|Examples|Examples that use this tag}}


== References ==
<references/>
----
----
[[The_VASP_Manual|Contents]]
[[Category:INCAR]]
 
[[Category:Machine-learned force fields]]
<!-- Link to categories like this: [[Category:INCAR]][[Category:Machine-learned force fields]]  
only comment it out when you want the page to show up on the category page, i.e., not when it is in the Construction namespace.-->

Latest revision as of 10:47, 24 January 2025

ML_LIB = [logical] 

Default: ML_LIB = .TRUE. if compiled with VASPml library (precompiler flag -Dlibvaspml)
= .FALSE. else

Description: ML_LIB enables/disables the use of the VASPml C++ library for machine-learning features.

Mind: Available as of VASP 6.5.0

Some machine learning modes of operation (ML_MODE) are implemented twice in VASP, once in the original Fortran code and again in a C++ rewrite as part of the VASPml library. However, the supported features and INCAR tags may be different. For example, the C++ library does not yet implement the thermodynamic integration method. The ML_LIB tag allows to switch seamlessly between the two code paths without the need to recompile VASP.

Related tags and articles

ML_LMLFF, ML_MODE

Examples that use this tag