ECS289K Project B
- Overview: There are two stages for this project. T
he first stage is
to focus on learn how to login, write, compile and run some simple
MPI programs. The assignment of the second stage will be made
based on the progress of the first stage.
- Sample programs:
There are many simple MPI exercise programs
you can find online. The followings are
examples from Pecheco's book. You can try to run these examples,
or find other examples, or write your own examples:
- greetings.c: greetings program
- serial.c: serial trapezoidal rule
- trap.c: parallel trapezoidal rule, first version
- reduce.c:
parallel trap. rule, uses 3 calls to MPI_Bcast
to distribute input and MPI_Reduce to compute final sum.
- serial_dot.c: serial dot product
- parallel_dot.c:
parallel dot product
- serial_mat_vect.c :
serial matrix-vector product
- parallel_mat_vect.c:
parallel matrix-vector product
- Compiling and running MPICH programs:
you may first check out Prof. Matloff's MPI web page.
Additional question on our local csif system, you can ask
Ichitaro Yamazaki (yamazaki@cs.ucdavis.edu).
- Submission/discussion: Create a webpage on the project to
include the followings:
- source codes of examples you ran.
- Brief description of your computing environment for running MPI
- Results
- References: see ``cluster programming'' section in the
reference list.