nvMolKit

(โ˜… 271)

A high-performance, GPU-accelerated library for key computational chemistry tasks, such as molecular similarity, conformer generation, and geometry relaxation.

  • .clang-format
  • .clang-tidy
  • .gitignore
  • CHANGELOG.md
  • CMakeLists.txt
  • CONTRIBUTING.md
  • greptile.json
  • pyproject.toml
  • README.md
  • setup.py
  • VERSION

# Installation Guide

1. Get the code
git clone https://github.com/NVIDIA-BioNeMo/nvMolKit

Downloads the entire project code from GitHub to your computer.

cd nvMolKit

Moves into the project folder you just downloaded.

2. Official Install Script

Easy Recommended
Prerequisites
  • Python 3 Python is required to use pip.
  • APT (Debian/Ubuntu ๊ณ„์—ด) Built into Debian/Ubuntu-based Linux distributions.
pip install nvmolkit==${NVMOLKIT_VERSION}+rdkit${RDKIT_VERSION} \

Installs the package published on PyPI directly โ€” no need to clone the source.

sudo apt-get install build-essential libeigen3-dev

Installs directly from the APT package repository (Debian/Ubuntu-based).

sudo apt-get install libstdc++-12-dev libomp-15-dev

Installs directly from the APT package repository (Debian/Ubuntu-based).

sudo apt-get install clang-15 clang-format-15 clang-tidy-15

Installs directly from the APT package repository (Debian/Ubuntu-based).

โœ… After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.

Pulled directly from this repo's README.

3. Docker

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -f admin/container/manylinux_2_28_cuda12.Dockerfile \

Builds a runnable image based on the Dockerfile.

โœ… Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.

Pulled directly from this repo's README.

4. CMake

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • CMake The tool used to generate build configuration.
  • C/C++ ์ปดํŒŒ์ผ๋Ÿฌ Windows needs Visual Studio (Community edition, free), macOS needs Xcode Command Line Tools, Linux needs the gcc/g++ package.
sudo apt remove --purge --auto-remove cmake

Type this command into your terminal and run it.

wget https://github.com/Kitware/CMake/releases/download/v3.30.1/cmake-3.30.1-linux-x86_64.sh

Type this command into your terminal and run it.

chmod +x cmake-3.30.1-linux-x86_64.sh

Type this command into your terminal and run it.

sudo ./cmake-3.30.1-linux-x86_64.sh --prefix=/usr/local --skip-license

Type this command into your terminal and run it.

cmake --version

Type this command into your terminal and run it.

โœ… Check that an executable was created inside the build folder, then run it directly (e.g. ./build/app_name).

Pulled directly from this repo's README.

5. Python

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
python -m pip install torch --index-url https://download.pytorch.org/whl/cu128

Installs the Python libraries listed in requirements.txt (or similar).

python -m pip install nvmolkit

Installs the Python libraries listed in requirements.txt (or similar).

pip install nvmolkit==${NVMOLKIT_VERSION}+rdkit${RDKIT_VERSION} \

Installs the package published on PyPI directly โ€” no need to clone the source.

pip install torch torchvision torchaudio

Installs the package published on PyPI directly โ€” no need to clone the source.

CMAKE_BUILD_PARALLEL_LEVEL=$(nproc) pip -v install .

Type this command into your terminal and run it.

โœ… If it runs without errors and prints output in the terminal, it worked.

Pulled directly from this repo's README.

// repository documentation