Skip to content

Setting Up KinBot on Your System

jzador edited this page Oct 21, 2026 · 24 revisions

Setting Up KinBot on Your System

Prerequisites

KinBot is designed to run on high-performance computing resources.

The following software should be installed to run KinBot:

  • Python >= 3.11
  • A PBS or SLURM workload manager.
  • At least one supported quantum chemistry backend (see below).

Additionally, KinBot depends on the following libraries. However, all of them are downloaded automatically when KinBot is installed via pip or conda, so there's no need for you to install them manually.

  • numpy>=1.17.0
  • ase>=3.26
  • networkx
  • rmsd>=1.5.1
  • sella>=2.6.0
  • rdkit>=2025.9.3

FairChem is an optional extra: pip install kinbot[fc].

Supported Quantum Chemistry Backends

Backend qc value Notes
Gaussian "gauss" Tested with G09 and G16. formchk must be available on the head node. use_sella: 1 runs Gaussian through the Sella optimizer.
Q-Chem "qchem"
ORCA "orca" Free for academic use. Sella optimizer is used automatically.
FairChem MLIP "fc" Machine-learned potential (UMA models). See setup instructions below. Usable at any level; combine with a DFT code through theory profiles.

Setting up FairChem (UMA models)

Install the fairchem-core package and its dependencies into your Python environment:

pip install fairchem-core

If GPU support is needed, install PyTorch with the appropriate CUDA version first:

pip install torch --index-url https://download.pytorch.org/whl/cu121  # adjust cu121 to your CUDA version
pip install fairchem-core

Download a UMA model checkpoint to a permanent location on your cluster. The recommended starting model is uma-s-1p2 (2.3 GB):

pip install huggingface_hub hf_xet
python -c "
from huggingface_hub import hf_hub_download
hf_hub_download(repo_id='facebook/UMA', filename='uma-s-1p2.pt', local_dir='/path/to/models/')
"

Available models:

Model Size Notes
uma-s-1p2.pt 2.3 GB Recommended: best accuracy/speed tradeoff
uma-s-1p1.pt 1.2 GB Older small model
uma-m-1p1.pt 11.2 GB Higher accuracy, more memory required

Tested with fairchem-core 2.14–2.23. fc_model_path accepts a pretrained model name (e.g. uma-s-1p2, downloaded to the HuggingFace cache on first use) as well as a checkpoint file. Compilation of the model is off by default (fc_compile).

Verify the installation:

python -c "
from fairchem.core.units.mlip_unit import load_predict_unit
from fairchem.core import FAIRChemCalculator
calc = FAIRChemCalculator(load_predict_unit('/path/to/models/uma-s-1p2.pt', device='cuda'), task_name='omol')
print('OK')
"

Optionally:

  • MESS master equation solver to calculate rate coefficients
  • PESViewer to visualize the PES
  • Pybel, a Python wrapper of OpenBabel, for 2D depictions

Installation

KinBot can be installed via pip or conda.

PIP

pip install kinbot

Note KinBot requires Python >= 3.11.

In order to run KinBot, please provide the path of a valid batch file for your SLURM/PBS scheduler via the queue_template keyword. The details of this and other keywords can be consulted here.

Clone this wiki locally