1) On csil, initialize your cvs repository. $ cvs -d ~/cvs init 2) Import the skeleton code in your home directory on csil with $ cd ~viral/hw2 && cvs -d ~/cvs import -m "Initial import" hw2 hw2 START 3) Checkout the code on each computer you will work on with % cvs -d:ext:$USER@csil.cs.ucsb.edu:/cs/student/$USER/cvs co hw2 Also ensure your .cshrc on each computer has: cluster2 : source /cluster/home/viral/root/etc/cs240a.sh datastar : source ~ux454232/etc/cs240a.sh cray : source ~viral/etc/cs240a.sh beowulf : source ~viral/etc/cs240a.sh 4) On each platform, you will need to use the correct Make.inc. Feel free to modify the CFLAGS and other compiler options on each computer. On cluster2, you can get the right compilers with: % ln -sf MAKE.INC/Make.inc.cluster2 Make.inc 5) Every time you compile, your changes will be saved in cvs. If you modify your code on cluster2, and want it on the X1 you can update it with: % make update Now if you make some changes on the cray, your changes will be saved to cvs when you compile. You can force your changes to be saved with: % make commit Now you can use "make update" back on cluster2 to get the latest version of your code. 6) Do not change the driver code in life.c. We might update this through the class. All your code should be in one file. For example, if you are using MPI with C, all your code goes in life-mpi.c. 7) For turnin, use: % make turnin