Misc Info for Project 2
- Dec. 8. Some suggestions
for good problem sizes for project 2 have been posted.
- Dec. 3. Proj2 deadline is moved to 11:59 p.m. on
Wednesday, the 10th. Also a page of
info on running jobs
on anantham is now available.
- Dec. 1. Another update regarding proj2: for the
block-row algorithm, you may assume
that the number of processors evenly divides the number of
matrix rows; and for Cannon's algorithm, you may assume that
the number of processors in each direction (of the 2D processor
grid) evenly divides the number of matrix rows and columns.
- Nov. 25. Updates regarding proj2:
- Clarification on the usage of your program(s). Both the
input files (e.g., fileA and fileB) and the output file (e.g.,
fileC) should be binary files.
- So to print the output files, rather than using the standard
print functions (which write ascii to stdout), you should use
modified versions printf_checkerboard_matrix and
printf_row_striped_matrix. These functions take an
extra argument (the file name) and write the data in raw
binary, rather than ascii. Source is available in this
src directory or in
/home/staff/ribbens/Quinn/util/src on the 124 Linux machines.
Note that you will need the supplemental files
printf_submatrix.c and printf_subvector.c as well.
Compiled versions are found in the library
/home/staff/ribbens/Quinn/util/libutil.a.
- Example input and outpfiles for a 4x4 and a 20x20 case are
available in this examples directory
and in /home/staff/ribbens/proj2/examples on the 124 Linux
machines. Remember that these are binary files, so if you want to
view them you should use the b2a utility mentioned below.
- Nov. 21. Utility program b2a.c can be used to print binary data files
in human-readable form. This file is also available in
/home/staff/ribbens/proj2.
- Nov. 11. There is a program gendata (source
gendata.c) available in
/home/staff/ribbens/proj2 that you may use to generate
binary files containing random n x n double precision matrices,
suitable for project 2.