deepmd.lmp#

Register entry points for lammps-wheel.

Attributes#

Functions#

get_env(→ str)

Get the environment variable from given paths.

get_library_path(→ list[str])

Get library path from a module.

get_op_dir(→ str)

Get the directory of the deepmd-kit OP library.

Module Contents#

deepmd.lmp.find_libpython = None[source]#
deepmd.lmp.get_env(paths: list[str | None]) str[source]#

Get the environment variable from given paths.

deepmd.lmp.get_library_path(module: str, filename: str) list[str][source]#

Get library path from a module.

Parameters:
modulestr

The module name.

filenamestr

The library filename pattern.

Returns:
list[str]

The library path.

deepmd.lmp.lib_env = 'LD_LIBRARY_PATH'[source]#
deepmd.lmp.preload_env = 'LD_PRELOAD'[source]#
deepmd.lmp.tf_dir[source]#
deepmd.lmp.pt_dir[source]#
deepmd.lmp.op_dir = ''[source]#
deepmd.lmp.cuda_library_paths = [][source]#
deepmd.lmp.libpython[source]#
deepmd.lmp.get_op_dir() str[source]#

Get the directory of the deepmd-kit OP library.