The National Institute for Computational Sciences

Nautilus Software


Category: Libraries-Math-RandomNumGen


SPRNG is a set of libraries for scalable and portable pseudorandom number generation, and has been developed keeping in mind the requirements of users involved in parallel Monte Carlo simulations.


The SPRNG library is provided by NICS and is accessed via a module. See the modules page for more information on modules.

module avail sprng
module load sprng

For compiling and linking:

pgfortran/gfortran/ifort test.f90 ${SPRNG_LIB}
pgcc/gcc/icc test.c ${SPRNG_LIB}

The environment variable SPRNG_LIB is set by the modulefile.


This package has the following support level : Supported

Available Versions

Version Available Builds
intel pgi gnu Other