CPSC 448B Parallel Programming and Architecture

The grading robot: robot.tgz

The archive includes:

README
A description of the robot including instruction on how to run it.
ref
A directory that has various files used for running the tests.
robot
The robot script, a C-program used for checking the output of time_edist, and a Makefile for compiling that C program.
The script is intended to be run on gambier.ugrad.cs.ubc.ca. In particular, it needs to be able to read files from the ~cs448b/public_html/2011-1/hw/5 directory. So, please don't complain that the script doesn't run on your home machine. Likewise, you could try running it on the linux machines. It would likely run, but the grade it gives you won't be the grade you will get when I run it.

The script uses files x.1 and x.2 as inputs. I reserve the right to change the contents of these files when I run my checks. While there are clever ways one could write a program that doesn't actually solve the homework problem but gets a good score according to the robot, if I encounter any of them, I'll add checks to the robot code to look for such subterfuge.

HW5 Source Files

Makefile
edist.c
edist.h
h.h
mymem.c
mymem.h
penalty.c
penalty.h
pth_edist.o
pth_edist.h
pthread.h
strcost.c
strcost.h
string.c
string.h
struct.h
time_edist.c
x.1
x.2

Resources for learning Erlang, MPI, and pthreads are available here.