Gromacs  2021.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
baseversion.h File Reference
+ This graph shows which files directly or indirectly include this file:

Description

Declares functions to get basic version information.

Author
Teemu Murtola teemu.nosp@m..mur.nosp@m.tola@.nosp@m.gmai.nosp@m.l.com

Functions

const char * gmx_version ()
 Version string, containing the version, date, and abbreviated hash. More...
 
const char * gmx_version_git_full_hash ()
 Full git hash of the latest commit. More...
 
const char * gmx_version_git_central_base_hash ()
 Full git hash of the latest commit in a central GROMACS repository. More...
 
void gmx_is_double_precision ()
 Defined if libgromacs has been compiled in double precision. More...
 
void gmx_is_single_precision ()
 Defined if libgromacs has been compiled in single/mixed precision. More...
 
const char * getGpuImplementationString ()
 Return a string describing what kind of GPU suport was configured in the build. More...
 
const char * gmxDOI ()
 DOI string, or empty when not a release build.
 
const char * gmxReleaseSourceChecksum ()
 Hash of the complete source released in the tarball. More...
 
const char * gmxCurrentSourceChecksum ()
 Hash of the complete source actually used when building. More...
 

Function Documentation

const char* getGpuImplementationString ( )

Return a string describing what kind of GPU suport was configured in the build.

Currently returns correctly for CUDA, OpenCL and SYCL. Needs to be updated when adding new acceleration options.

const char* gmxCurrentSourceChecksum ( )

Hash of the complete source actually used when building.

Always computed when building from tarball.

const char* gmxReleaseSourceChecksum ( )

Hash of the complete source released in the tarball.

Empty when not a release tarball build.