Parallel Computing 2002

Instructor: Chieh-Sen Huang
Office: 2002-3

e-mail: huangcs@math.nsysu.edu.tw
URL: www.math.nsysu.edu.tw/u/huangcs

Hw1. Compute the start up time (ts) and transmission time per word (tm), note that this is so called uncongested time. Due 3/21.

Hw2. Compute the congested ts, tm for npes=4, 6. Due 3/25.

Hw3. Use CSR format to compute Ax via MPI. Due 3/25.

Hw4. Write a MPI I/O code to read from a single file to a 2x3 topology. Due 4/18.

Example code :

  • Hello world.
  • Sending & Recving.
  • Topology.
  • Reduction.
  • A example of using timer.
  • aa.cmd.
  • Makefile.
  • main.c.
  • main.h.
  • dotproduct.c.
  • matrix vector multiplication subroutine 1.
  • matrix vector multiplication subroutine 2.
  • Sequential I/O from a parallel program.
  • Parallel I/O to multiple files.
  • MPI I/O to sperate files.
  • MPI I/O to a single file.
  • Reading the file with a different number of processes.
  • MPI version of cpi.c.
  • RMA MPI-2 version of cpi.c.
  • 2-d topology MPI I/O to single a file.
  • Output file from previous code using 2x3 topology
  • Reading the file with a different number of processes to a array.
  • Instructions on using IBM SP2 SMP

    llsubmit xx.cmd, for submitting a run.

    llq, for checking the jobs.

    llcancel xxxxxxx, for killing the runs.
  • A 64x64 data in the format of 64e23.15

    Last update: 3/14/2001.