1) You should already have ~/cvs if you did hw1. 2) Import the hw2 tree into your cvs with the following: $ cd /cluster/home/cs240a/bin/hw2 $ cvs -d ~/cvs import -m "Initial import" hw2 hw2 START $ cd ~ $ cvs -d ~/cvs co hw2 3) This will initialize your hw2 cvs tree. Now, to compile mpi, use $ make mpi REASON={1-6} [WORK=n] To use the Matlab *P hookup, first do 'make mpi' and getresv. Then $ make starp This allows you to test your code by just writing the code in hw2sort.cc (without writing any I/O code). Just saying >> x = rand (1e5*p,1) >> y = hw2sort (x) will create a random test input and call your parallel sorting code in hw2sort.cc. 4) To turnin your homework $ make turnin You can do this multiple times. The last one only will be graded.