High performance computing using threads and mpi for massively parallel processingPresentation Transcript
Monte-Carlo Simulations on n-dimensional hyper-spheres Lalit Azad 12/08/2008
Problem description• Applying monte-carlo simulations to n- dimensional hyper-spheres.• Checking the performances against threads and MPI instructions.
Approach• The first program takes number of dimensions and number of points as command line arguments.• The outputs are saved into 2 files. One having execution time and other having simulation results.• In second part, threading is used to monitor the increase in performance.• In third part, MPI instructions are used for further parallel processing.
Conclusions• As number of dimensions increase , error in calculation increases.• The time required to compute the value increases.• Threading has a performance scaling w.r.t normal single threaded execution by a factor of 13• MPI parallelizes the execution and a 18 times faster performance is seen.