Benchmark and cross-compare DDA code.
Project description
dda-bench
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_commandsdda_codes.jsonbin/
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.logdda_bench.errors.log- per-case
results.jsonunder output directory summary.csvin output directory
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50cef744affff8c1f9483e90d75d8c3bdfb27d2a82cea98bcb00b50ce866bbb6
|
|
| MD5 |
985993f0ad55285f3aeefc9169dfa821
|
|
| BLAKE2b-256 |
ddb34e403213e0d2a6960be3e30f8235a6405a962669c11a60b22fd27c85bef7
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e21dc70483e5821cd48534f528bf1d6fa20146a60d062a1a1057b7a587e8ba9
|
|
| MD5 |
d9fbb3eaaccc1130fd615ff6c8d6213c
|
|
| BLAKE2b-256 |
d92ebe748fe30b772e035dd21b52b490047f4b5d622bd60d998b20169644f2a7
|