Parallel Random Number generator and Monte Carlo Simulation

Instructions to run

  • make
  • mpirun -np <num_processes> main
  • Choose one of the random number generators by pressing one of the 0, 1, 2 or 3.
  • Choose one of the monte carlo simulations by pressing either 0 or 1.
  • Choose the value of seed for random number generation (any 64 bit integer).