Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smondet/rng-contest
Ketrew pipeline that runs PRNG test suite(s) (for now just Dieharder)
https://github.com/smondet/rng-contest
Last synced: 16 days ago
JSON representation
Ketrew pipeline that runs PRNG test suite(s) (for now just Dieharder)
- Host: GitHub
- URL: https://github.com/smondet/rng-contest
- Owner: smondet
- License: apache-2.0
- Created: 2016-01-12T00:34:46.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-13T23:18:09.000Z (about 9 years ago)
- Last Synced: 2023-03-12T03:03:40.184Z (almost 2 years ago)
- Language: OCaml
- Size: 7.81 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
RNG Contest
===========Ketrew pipeline that runs PRNG test suite(s) (for now just Dieharder).
Usage
-----For now one needs a YARN cluster, the script is configured with environment
variables; some are required, some optional.```shell
export TEST_DIR=$SHARED_FS/rng-contest-playground/ # A directory for the results, required
export YARN_HOST=named://My_YARN_Cluster$TEST_DIR/KT/ # Ketrew.EDSL.Host.parse URL, required
export DIEHARDER="LD_LIBRARY_PATH=$TEST_DIR $TEST_DIR/dieharder" # Optional, how to call `dieharder`
export QUICK_TEST=true # Optional, if true, then run only `dieharder -d 0`ocaml rng_contest.ml [view | run] # Display or submit the workflow
```With `$QUICK_TEST=true` the output looks like:
```
$ mk view
* RNG Contest: common ancestor
* RNGC-urandom-dieharder-T0
× rm rngc-urandom-T0.txt
* RNGC-ocaml-random-dieharder-T0
* build ocaml_rng_generator
× rm ocaml_rng_generator
× rm rngc-ocaml-random-T0.txt
```