Skip to main content

BDF QM/MM toolkit

Project description

BDF QM/MM Toolkit

bdfqmmm is a Python toolkit for building BDF-based QM/MM workflows.

The Python package name is bdfqmmm; the command line entry point is:

bdf-qmmm

Development

Install the project in editable mode:

python3 -m pip install -e .

Check the command line interface:

bdf-qmmm --help

Pip Installation

Install from a source checkout:

python3 -m pip install .

By default this builds the bundled pDynamo runtime with CMake and installs it into the wheel alongside bdfqmmm. The build uses the bundled BLAS/LAPACK code and disables OpenMP by default to keep source installs portable.

Extra CMake options can be passed with:

BDFQMMM_PDYNAMO_CMAKE_ARGS="-DPDYNAMO_USE_OPENMP=ON" python3 -m pip install .

For a quick Python-only install during documentation or CLI development:

BDFQMMM_SKIP_PDYNAMO_BUILD=1 python3 -m pip install .

This mode does not install pDynamo and should not be used for production QM/MM workflows.

BDF Configuration

After installing bdfqmmm, record the bdfrc file generated by the BDF installation:

bdf-qmmm config set-bdfrc /path/to/bdfrc

Show the resolved BDF runtime configuration:

bdf-qmmm config show

Validate the configured paths:

bdf-qmmm config check

The default user configuration file is:

~/.config/bdfqmmm/config.toml

Configuration priority is:

environment variables > bdfqmmm config file > bdfrc values

Supported environment variables are BDFHOME, BDF_TMPDIR, BDF_MPIRUN, BDF_MPIROOT, BDFRC, and BDFQMMM_CONFIG.

Project Layout

bdfqmmm/
├── src/
│   └── bdfqmmm/        # BDF QM/MM toolkit source code
├── external/
│   └── pdynamo2/       # Vendored pDynamo2 runtime source and parameters
├── tests/              # Lightweight package tests only
├── docs/
└── pyproject.toml

Third-party packages that are checked into this repository should live under external/. Project-owned Python code should stay under src/bdfqmmm/.

Large QM/MM examples, BDF examples, functional tests, benchmarks, trajectories, and reference outputs should live in a separate repository such as bdfqmmm-tests.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bdfqmmm-0.1.2.tar.gz (9.3 MB view details)

Uploaded Source

File details

Details for the file bdfqmmm-0.1.2.tar.gz.

File metadata

  • Download URL: bdfqmmm-0.1.2.tar.gz
  • Upload date:
  • Size: 9.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for bdfqmmm-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f1307fe379dd66398c7d0ed50fbf695b2dad2fdb90f24312abd04023c7467591
MD5 c83d80332c49921fdd4b90bf523ebba7
BLAKE2b-256 28b2998d85fdcb07329b2f7da488cd30fbfdeb33f7ec38b4a21f41a12d850d93

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page