This is the presentation layer of a two-part module. For an explanation of the layers and how to navigate within and between them, return to the top page of this module.
References
Lab Exercise
Evaluation
! skip past data assigned to lower
! "extra" processors get 1 more column
Franke, H., Wu, C.E., Riviere, M., Pattnaik, P. and Snir, M. (1995)
MPI Programming Environment for IBM SP1/SP2. Proceedings
of ICDCS 95, Vancouver, 1995. Available in postscript, at
http://www.tc.cornell.edu/UserDoc/Software/PTools/mpi
Gropp, W., Lusk, E. and Skjellum, A. (1994) Using MPI.
Portable Parallel Programming with the Message-Passing Interface.
The MIT Press. Cambridge, Massachusetts.
Message Passing Interface Forum (1995) MPI: A Message Passing
Interface Standard. June 12, 1995. Available in postscript
at http://www.epm.ornl.gov/~walker/mpi
2. Parallel Issues
2.1 Problem Partition
2.2 Data Partition
2.3 Communication
2.4 Load Balance
2.4.1 Balancing the Data Partition
2.4.1 Balancing the Data Partition
! number of columns per processor
chunk = ndemm / total_processors
! number of columns "left over"
extra = mod( ndemm, total_processors )
! ranked processors, including "extra"
lower = chunk * rank + 1 + min( extra, rank )
if( rank .lt. extra ) then
upper = lower + chunk
else
upper = lower + chunk - 1
endif
2.5 Performance
3. Implementation
3.1 MPI Calls Needed
3.2 Changes to the Program
demp
calculation,
apath
calculation,
demp
calculation,
apatho
calculation,
3.3 Parallel I/O
mcp
to copy data to each processor
3.4 Performance
Number of Processors
Speedup:
Number of Processors
Efficiency:
Number of Processors
3.5 Conclusions
References
Tariff Case Study Part 2: MPI Version Lab
Please complete this short evaluation form. Thank you!