Supercomputing Applications
Lab 13 Report Form
Computing the product of a vector and a matrix
using parallel techniques

  1. Your name: __________________________________, Period: _____, Date __________

  2. Verify that your program works for multiplying the given vector and matrix
    
      2 4 6 8   X    10  20  30  40  50  60
                     70  80  90 100 110 120
                    130 140 150 160 170 180
                    190 200 210 220 230 240
    
    List your program's output of the vector representing the answer of this computation. Your answer should be a vector containing six values (the six dot products calculated by six processes).
    
    
    
    
    
    
    
    
    
  3. Verify that each process is Have each process print out the 2 4 6 8 vector and the dot product that the particular process calculates. List your output below.
    
    
    
    
    
    
    
    
    
    
    
  4. Using your program show the output for this calculation:
    
        8   1   2    6    3    X       30    54    85    64    34    56    69
                                       18    15    59    81    53    37    62
                                       19    69    49    66    72    70    79
                                       68    37    89    34    30    54    95
                                       30    86    82    28    83    44    52
    
    
    
    
    
    
    
    
    
    
    
    
    
    
  5. List your code for using MPI_Type_vector and MPI_Gather. (Verify you're using these in your program's solution.)