Skip to main content

Benchmark and cross-compare DDA code.

Project description

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

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

dda_bench-0.1.1.tar.gz (61.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dda_bench-0.1.1-py3-none-any.whl (60.9 kB view details)

Uploaded Python 3

File details

Details for the file dda_bench-0.1.1.tar.gz.

File metadata

  • Download URL: dda_bench-0.1.1.tar.gz
  • Upload date:
  • Size: 61.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for dda_bench-0.1.1.tar.gz
Algorithm Hash digest
SHA256 50cef744affff8c1f9483e90d75d8c3bdfb27d2a82cea98bcb00b50ce866bbb6
MD5 985993f0ad55285f3aeefc9169dfa821
BLAKE2b-256 ddb34e403213e0d2a6960be3e30f8235a6405a962669c11a60b22fd27c85bef7

See more details on using hashes here.

File details

Details for the file dda_bench-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: dda_bench-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 60.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for dda_bench-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4e21dc70483e5821cd48534f528bf1d6fa20146a60d062a1a1057b7a587e8ba9
MD5 d9fbb3eaaccc1130fd615ff6c8d6213c
BLAKE2b-256 d92ebe748fe30b772e035dd21b52b490047f4b5d622bd60d998b20169644f2a7

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