| 1 |
Rig for testing gretl's random number generator. |
| 2 |
|
| 3 |
Prerequisites: |
| 4 |
|
| 5 |
* libgretl must be installed, along with its headers and pkg-config .pc file |
| 6 |
|
| 7 |
* The TestU01 library (P. L'Ecuyer and R. Simard) must be installed -- |
| 8 |
see http://simul.iro.umontreal.ca/testu01/tu01.html. As of this |
| 9 |
writing the current version is TestU01-1.2.3. |
| 10 |
|
| 11 |
Given the above, adjust the lines at the top of the Makefile in this |
| 12 |
directory if needed for your system, then type "make" to build the |
| 13 |
program "gretltest". To see what options this program offers, invoke |
| 14 |
|
| 15 |
./gretltest --help |
| 16 |
|
| 17 |
Note that the default test suite is "SmallCrush", which runs fast but is |
| 18 |
not very stringent. To run the more stringent "Crush" suite, do |
| 19 |
|
| 20 |
./gretltest --size=1 > Crush.out |
| 21 |
|
| 22 |
This test is likely to take a couple of hours or so. |
| 23 |
|
| 24 |
To run the extremely stringent "BigCrush" (which may take upwards of |
| 25 |
12 hours) do |
| 26 |
|
| 27 |
./gretltest --size=2 > BigCrush.out |
| 28 |
|
| 29 |
One or two "failures" (p-values quite close to 0 or 1) are to be expected |
| 30 |
when running BigCrush. |
| 31 |
|
| 32 |
Allin Cottrell |
| 33 |
October 2016 |