We will use 'turnin' for homework submissions. The 'turnin' program is a generic script that uses Subversion to enable homework submission and storage. It is available only in the CLEAR cluster.
Guide to turning in homework from a personal Windows machine.
One time Setup in CLEAR
- Login to CLEAR:
ssh <your netid>@ssh.clear.rice.edu
<your password> - Make a new empty directory comp311 in your home directory and enter that directory:
mkdir comp311
cd comp311
- Use Subversion to check out your submission directory:
svn checkout https://svn.rice.edu/r/COMP311-FALL15/turnin/F15/<your netid>
- You might be asked if you wish to store your password unencrypted. Always say no when asked this.
- Now you should have a folder named <your netid> in the comp311 directory you created.
Submitting your Homeworks
You should follow the steps below to submit all your homeworks using turnin on CLEAR. Note that you can do your homework on any machine. The instructions below include steps to copy them to CLEAR and to submit them.
- Go to the folder (in your machine) that contains all (and only) the files you are submitting for your homework.
- Zip the files you want to submit. Here ’n’ refers to the homework number.
zip -r hw_n.zip * - Use sftp to copy the zip file to CLEAR.
sftp <your-netid>@ssh.clear.rice.edu
<your-password>
- You should have the sftp prompt ’sftp>’ now.
cd comp311
- Create a new folder with the name hw_n for this homework number n
mkdir - cd hw_n
put hw_n.zip
This should show that the zip file has been copied into the folder hw_n. - Login to CLEAR.
ssh <your-netid>@ssh.clear.rice.edu
<your-password> - Go the folder hw_n
cd hw_n - Unzip the file
unzip hw_n.zip - Delete the zip file
rm hw_n.zip - Go one level up, to the ’comp311’ folder.
cd .. - Turnin the folder hw_n
turnin commit hw_n
This should show all your files being added to the subversion. - Your submission is complete.