Using the SPRNG random number generator

NOTE: SPRNG HAS NOT YET BEEN INSTALLED

SPRNG is a high quality library for generating random numbers. It operates from a single global seed and uses a sensible strategy for picking a seed based on the system clock.

SPRNG is installed in valkyrie:$(PUB)/lib/SPRNG. An example of how to build an application that uses SPRNG is found in valkyrie:$(PUB)/examples/spring_ex..

An Odd-Even sort program using SPRNG has been installed in $(PUB)/examples/oesort. The Makefile includes a version of the arch file, called arch_ppf which defines appropriate command line compiler and loader flags with settings specific to SPRNG. Be sure to use this instead of the version posted in $(PUB).

If you're interested in learning more, see the SPRNG web page at http://sprng.cs.fsu.edu (We are using version 2.0).


Copyright © 2005 Scott B. Baden. Last modified: Friday Sep 30 22:25:34 PDT 2005