sprng Overview
SPRNG is the Scalable Parallel Pseudo Random Number Generators Library. It 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.
Support
Usage
On Titan, the SPRNG library is provided by the NCCS and is accessed via a module. Once the SPRNG module is loaded, the compilers will automatically find the include and library files. See the SPRNG website for examples and documentation on using SPRNG random number generators.Fortran
module avail sprng module load sprng ftn $(SPRNG_INC) test.f90 $(SPRNG_LIB) -lsprng OR pgf90 $(SPRNG_INC) test.f90 $(SPRNG_LIB) -lsprng
C
module load sprng/2.0 cc test.c OR pgcc test.c ${SPRNG_LIB}
Builds
TITAN
- 2.0b