MCS 572 HP-Convex Exemplar SPP1200 Starter Problem   Fall 1996

Professor F. B. Hanson


DUE Monday 28 Oct 1996 in class (this is individual, not group, homework)

Optimize the code

on the UIC HP-Convex Exemplar SPP1200/XA-16 (called the borg) by doing whatever is necessary to get the best performance, provided that all variables have the same final storage values in the optimized code as the original code, WITHIN REASON, WITHOUT MULTITASKING, and no work is taken out of the original timing loop, such as using new data or parameter statement statements. A copy of this code can be found In particular, use the Convex timer 'etime' in the code with the optimizing Convex Fortran compile-link command: and execute as in order to report Be sure to label all above items for identification. Try to remove as many of the Convex Fortran (fc) compiler non-optimized informational messages as possible, use of Fortran 90 array extensions, and use compiler directives only where needed. Also, you may correct the logic errors if they are present. However, the FINAL storage into scalar variables and arrays must be the same as the original code. The best way to start is to temporarily put timers around all the loops, in order to find the most time consuming loop and work down to the smaller loops. Your final times should be the difference between the end of the code and the beginning of the code, less timer overhead, as in the original code.

Try to make the code fit the Convex SPP1200 parallel optimization model. Your performance will be inversely related to your total time in the new tuned optimized part of your program, if correct. If your answers are not correct with respect to the original code, then significant points will be deducted.

Notes:


Please report to Professor Hanson any problems:
Web Source:http://www.math.uic.edu/~hanson/borgstart.html