[mpich-discuss] comparison of execution times:
michael
michael.bane at manchester.ac.uk
Mon May 24 17:20:46 CDT 2010
On Sun, 2010-05-23 at 16:31 +0530, sankar s wrote:
> Hi,
>
>
> I have done a simulation program in C, which contains 500
> Replications. In sequential code these 500 replications will be done
> one by one and the combined results will be posted in output at last.
>
>
> Same code I have written for MPI. first 250 replications in processor
> 0 and next 250 replications in processor 1. after completion of
> processor 0, it will send these results to processor 1. Processor 1
> combines all the results and gives the output.
>
>
> I expected, because of doing these parallelism, the execution time of
> MPI should be half or some what more than half than sequential code.
>
you should also see if running the parallel code on 1 core is any
different to running the sequential code.
M
--
Dr. Michael K Bane
Senior Development Officer
RESEARCH COMPUTING SERVICES
Univ. of Manchester M13 9PL
http://twitter.com/mkbane_mcr
More information about the mpich-discuss
mailing list