hoomd.version

Version and build information.

Use the values in hoomd.version to query properties of the package set at compile time.

hoomd.version.build_dir

The directory where this build was compiled.

Type

str

hoomd.version.compile_date

The date this build was compiled.

Type

str

hoomd.version.compile_flags

Human readable summary of compilation flags.

Type

str

hoomd.version.cuda_include_path

CUDA toolkit include directory.

Type

str

hoomd.version.cuda_devrt_library

CUDA devrt library.

Type

str

hoomd.version.cxx_compiler

Name and version of the C++ compiler used to build HOOMD.

Type

str

hoomd.version.floating_point_precision

The high precision floating point width in bits (element 0) and the reduced precision width in bits (element 1).

Type

tuple[int, int]

hoomd.version.git_branch

Name of the git branch used when compiling this build.

Type

str

hoomd.version.git_sha1

SHA1 of the git commit used when compiling this build.

Type

str

hoomd.version.gpu_api_version

The GPU API version this build was compiled against.

Type

str

hoomd.version.gpu_enabled

True when this build supports GPUs.

Type

bool

hoomd.version.gpu_platform

Name of the GPU platform this build was compiled against.

Type

str

hoomd.version.hpmc_built

True when the hpmc component is built.

Type

bool

hoomd.version.install_dir

The installation directory.

Type

str

hoomd.version.llvm_enabled

True when this build supports LLVM run time compilation.

Type

bool

hoomd.version.metal_built

True when the metal component is built.

Type

bool

hoomd.version.md_built

True when the md component is built.

Type

bool

hoomd.version.mpcd_built

True when the mpcd component is built.

Type

bool

hoomd.version.mpi_enabled

True when this build supports MPI parallel runs.

Type

bool

hoomd.version.source_dir

The source directory.

Type

str

hoomd.version.tbb_enabled

True when this build supports TBB threads.

Type

bool

hoomd.version.version

HOOMD-blue package version, following semantic versioning.

Type

str