SPRNG: Scalable Parallel Random Number Generators on Lisa

The serial version of the SPRNG library, compiled from http://sprng.cs.fsu.edu/Version2.0/ is available via the command:

  • Intel compilers:
module load fortran/intel c/intel
module load sprng/openmpi/intel
  • GNU compilers:
module load sprng/openmpi/gnu

The MPI version of the SPRNG library, compiled from http://sprng.cs.fsu.edu/Version2.0/ is available via the command:

  • Intel compilers:
module load fortran/intel c/intel
module load openmpi/intel
module load sprng/openmpi/intel
  • GNU compilers:
module load openmpi/gnu
module load sprng/openmpi/gnu

For compiling and linking, use the flags

-lsprng -lgmp -lm