1) You should already have ~/cvs If you don't, do: $ cvs -d ~/cvs init 2) Import the hw1 tree into your cvs with the following: $ cd /cluster/home/cs240a/bin/hw1 $ cvs -d ~/cvs import -m "Initial import" hw1 hw1 START $ cd ~ $ cvs -d ~/cvs co hw1 3) This will initialize your hw1 cvs tree. Put all your MPI code in the buffon_mpi.c file and openmp code in buffon_omp.c. Now, to compile mpi, use $ make mpi REASON={1-6} [WORK=n] For openmp $ make omp REASON={1-6} [WORK=n] For starp, first do getresv and then to run, do: $ make starp REASON={1-6} [WORK=n] Here is the screen that is shown for reference purposes: How long (in minutes) have you been working before this compile? (Hit enter if you have been working continuously since last compile) > Reason for recompile: 1. Learning/experimenting with compiler 2. Adding functionality (serial code) 3. Parallelizing code 4. Improving performance (tuning) 5. Compile-time error on previous compile 6. Run-time error on previous run (incorrect behavior, crashed, hung, etc.) 7. Other (you will be asked to supply reason) > 4) To turnin your homework $ make turnin You can do this multiple times. The last one only will be graded.