Skip to main content

dda-bench

DOI PyPI

Benchmark tool for cross comparison of DDA codes.

Install (Users)

pip install dda-bench

Install (Development)

git clone https://github.com/Argencle/dda-bench.git
cd dda-bench
pip install -e .

Important

This package does not ship external DDA solvers. You must provide executables and point your config to valid paths.

Full configuration reference:

Paper Context

This repository is linked to, and was developed as part of, a benchmark paper.

The dataset used for that paper is available in:

To reproduce the equivalent parameter agreement between codes reported in Appendix C of the paper, patches from that data repository must be applied to ADDA and DDSCAT before running dda-bench.

The corresponding benchmark command set is provided in:

Run benchmark/comparison

dda-bench --init

This creates starter files in current directory:

  • DDA_commands
  • dda_codes.json
  • bin/

The starter dda_codes.json points to executables under bin/. --init copies only bin/diel/* and bin/*.dat/bin/*.par support files, not solver executables.

Then run:

dda-bench

dda-bench without options expects:

  • ./DDA_commands
  • ./dda_codes.json

Override with your own files:

dda-bench --commands /path/to/DDA_commands --code-config /path/to/dda_codes.json

Other options:

dda-bench --output outputs --omp 1 --clean

Output

The command writes:

  • dda_bench.log
  • dda_bench.errors.log
  • per-case results.json under output directory
  • summary.csv in output directory

Metadata

Release files for dda-bench 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dda-bench 0.1.1
File Size Uploaded
dda_bench-0.1.1.tar.gz 61.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dda-bench 0.1.1
File Interpreter ABI Platform
dda_bench-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 121.9 kB

Release files / dda_bench-0.1.1.tar.gz

Download URL dda_bench-0.1.1.tar.gz
Size 61.0 kB
Tags Source
SHA-256 checksum
How to use checksums
50cef744affff8c1f9483e90d75d8c3bdfb27d2a82cea98bcb00b50ce866bbb6
BLAKE2b-256 checksum
How to use checksums
ddb34e403213e0d2a6960be3e30f8235a6405a962669c11a60b22fd27c85bef7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / dda_bench-0.1.1-py3-none-any.whl

Download URL dda_bench-0.1.1-py3-none-any.whl
Size 60.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e21dc70483e5821cd48534f528bf1d6fa20146a60d062a1a1057b7a587e8ba9
BLAKE2b-256 checksum
How to use checksums
d92ebe748fe30b772e035dd21b52b490047f4b5d622bd60d998b20169644f2a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page