CS 7550 - Fall 2010

 

Home
Contacts
Syllabus
Assignments
Calendar

 

Eagle_System
(grading)

Assignments

hw 1 :

You are to write an MPI function on Rex to emulate cube permutation communications.  Your function should use the following prototype:

int cube<username>(int i, int data);

where i is the cube operation to be performed, and data is the data to be sent.  the function returns the int data received.

Your function should seek to minimize execution time.  As part of your in-code documentation, include along with the description of your homework effort the results of your timing analysis for your function.

Your function should be placed in a .h file named "hw1<username>.h" and turned in via Eagle by the due date.

You may assume that the function will run on a set of process with size equal to a power of two.

hw 2 :

For this Homework assignment, you may wish to review Interconnection Networks for Large-Scale Parallel Processing, pp 22-28 on the electronic course reserves.

Repeat hw1 for ring, pm2i, and illiac interconnection functions:

int ring<username>(int i, int data);

where i is positive for the ring+1 function and negative for ring-1 function, and data is the data to be sent.  The function returns the int data received.

int pm2<username>(int i, int data);

where i is positive for the pm2+ functions and negative for pm2- functions, and data is the data to be sent.  The function returns the int data received.

int illiac<username>(int i, int data);

where i is +1 for illiac+1 functions, -1 for illiac-1 functions, >1 for illiac+n functions, and <-1 for illiac-n functions, and data is the data to be sent.  The function returns the int data received.

Your functions should seek to minimize execution time.  As part of your in-code documentation, include along with the description of your homework effort the results of your timing analysis for your function.

Your function should be placed in a .h file named "hw1<username>.h" and turned in via Eagle by the due date.

You may assume that the function will run on a set of process with size equal to a power of two.

 

hw 3 :

hw 4 :

hw 5 :

hw 6 :

hw 7 :

hw 8 :

hw 9 :

hw 10 :

hw 11 :

hw 12 :


 


For problems or questions regarding this web contact the class lackey.
Last updated: August 31, 2010.