Posts

Showing posts from May, 2014

Parallel Computing with MPICH2

Image
MPI is a library of routines that can be used to create parallel programs in C or Fortran77.   MPI is designed to allow users to create programs that can run efficiently on most parallel architectures. MPI can also support distributed program execution on heterogeneous hardware. Such that we can start processes in multiple computer systems to work on the same problem. In this report, we will explain the power of parallel programming using a simple program that utilizes MPI. About this program  This program calculates sum and mean of random numbers between 0 and 1. It generates 1000 random numbers in each process and computes the sum and the mean at each process. Then it integrates the sums and means across the processes and calculates the overall sum and overall mean. This result is output to the user.   The parallel program executes on several different machines. Here we have used several virtual machines. Software Used   MPICH2 MPICH is a freely available,