RNGTest: Test a few RNGs with SmallCrush
This example runs RNGTest to subject a few selected random number generators to TestU01's SmallCrush battery.
Control file
# vim: filetype=sh: # This is a comment # Keywords are case-sensitive title "Example RNG test suite" smallcrush # mkl_mcg59 # seed 213 # uniform_method standard # gaussian_method icdf # end # mkl_mcg31 seed 0 end mkl_mrg32k3a seed 2 end rngsse_gm55 seed 0 seqlen long end rngsse_mrg32k3a seed 0 end end
Example run on 8 CPUs
./charmrun +p8 Main/rngtest -v -c ../../tmp/rngtest.q