NERSCPowering Scientific Discovery Since 1974

SPRNG

Description

The SPRNG libraries of generators produce good quality random numbers,
and are also fast. They have been subjected to some of the largest
random number tests, with around 10^13 RNs per test.  SPRNG provides both FORTRAN and C (also C++) interfaces for the use of
the parallel random number generators.

Access

SPRNG v2.0 is available on Carver (gcc  intel  pgi) and Hopper (pgi    cce).  Use the module utility to load the software.

module load sprng

Using SPRNG

On Hopper:

ftn sprng_test.F $SPRNG -lsprng

On Carver:

mpif90 sprng_test.F $SPRNG -lsprng

Documentation

On Carver there are various documents in $SPRNG/DOCS and various examples in $SPRNG/EXAMPLES.  See the SPRNG web site at Florida State University for complete details.  For help using SPRNG at NERSC contact the consultants, consult@nersc.gov.

Availability

PackagePlatformCategoryVersionModuleInstall DateDate Made Default
sprng carver libraries/ math 2.0 sprng/2.0 2010-09-13 2010-09-13
sprng hopper libraries/ math 2.0 sprng/2.0 2010-03-10 2010-03-10
sprng hopper libraries/ math 2.0 sprng/2.0 2110-12-10 2010-12-10
sprng hopper libraries/ math 2.0 sprng/2.0 2110-12-10