Skip to content

Installation & Setup๐Ÿ”—

This page covers:

  • installing neb-dynamics with either uv or pip
  • validating the CLI install
  • configuring electronic-structure backends
  • setting up the optional retropaths repository for network-growth features

Prerequisites๐Ÿ”—

  • Python 3.10+
  • Git
  • A shell environment where python, pip, and/or uv are available

1. Clone the repository๐Ÿ”—

git clone https://github.com/mtzgroup/neb-dynamics.git
cd neb-dynamics

2. Create/sync the environment๐Ÿ”—

uv sync

3. Verify install๐Ÿ”—

uv run mepd --help
uv run python -c "import neb_dynamics; print('neb_dynamics import OK')"

4. (Optional) Editable install workflow๐Ÿ”—

If you want your active environment to track local source edits directly:

uv pip install -e .

Install With pip๐Ÿ”—

Option A: Install from GitHub directly๐Ÿ”—

pip install "git+https://github.com/mtzgroup/neb-dynamics.git"

Option B: Install from a local clone๐Ÿ”—

git clone https://github.com/mtzgroup/neb-dynamics.git
cd neb-dynamics
pip install .

Editable local install:

pip install -e .

Verify:

mepd --help
python -c "import neb_dynamics; print('neb_dynamics import OK')"

Backend Setup (required to run calculations)๐Ÿ”—

NEB Dynamics needs a configured backend through your RunInputs (for example ChemCloud/QCOP/other supported engines).

ChemCloud setup๐Ÿ”—

  1. Sign up: https://chemcloud.mtzlab.com/signup
  2. Configure auth using either:
# Writes credentials to ~/.chemcloud/credentials
python -c "from chemcloud import setup_profile; setup_profile()"

or environment variables:

export CHEMCLOUD_USERNAME=your_email@chemcloud.com
export CHEMCLOUD_PASSWORD=your_password

Optional custom server:

export CHEMCLOUD_DOMAIN="https://your-server-url.com"

retropaths Setup (optional but required for network growth/template actions)๐Ÿ”—

retropaths is required for:

  • mepd netgen-smiles
  • MEPD Drive reaction-template growth actions (+ in the UI)

1. Clone retropaths๐Ÿ”—

git clone https://github.com/mtzgroup/retropaths.git ~/retropaths

2. Point NEB Dynamics to the repo๐Ÿ”—

NEB Dynamics checks RETROPATHS_REPO first, then ~/retropaths.

export RETROPATHS_REPO=~/retropaths

3. Locate your reactions library๐Ÿ”—

You typically pass a reactions.p file path in CLI/UI inputs:

ls "$RETROPATHS_REPO"/data/reactions.p

Use this file path with:

  • mepd netgen-smiles --reactions-fp ...
  • MEPD Drive Reactions File field

Quick Sanity Checks๐Ÿ”—

CLI check๐Ÿ”—

mepd --help

Drive check (local)๐Ÿ”—

uv run mepd drive --inputs examples/example_inputs.toml --no-open

If this starts and prints a URL, your installation path is healthy.