Installation & Setup๐
This page covers:
- installing
neb-dynamicswith eitheruvorpip - validating the CLI install
- configuring electronic-structure backends
- setting up the optional
retropathsrepository for network-growth features
Prerequisites๐
- Python 3.10+
- Git
- A shell environment where
python,pip, and/oruvare available
Install With uv (recommended for development)๐
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๐
- Sign up: https://chemcloud.mtzlab.com/signup
- 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 Filefield
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.
Related Pages๐
- CLI Reference for command-level usage
- MEPD Drive Remote for remote launch + SSH tunnel workflow