You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

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

  1. Login to CLEAR:
    ssh <your netid>@ssh.clear.rice.edu
    <your password>

  2. Make a new empty directory comp311 in your home directory and switch to that directory:
    mkdir comp311 
    cd comp311
     
  3. Use Subversion to check out your submission directory:
    svn checkout https://svn.rice.edu/r/COMP311-FALL15/turnin/F15/<your netid>
     
  4. You might be asked if you wish to store your password unencrypted. Always say no when asked this.
  5. Now you should have a folder named <your netid> in the comp311 directory you created.

Submitting your Homework

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 it to CLEAR and submit it.

  1. Go to the folder (on your machine) that contains all (and only) the files you are submitting for your homework.
    cd <your local homework directory> 
     
  2. Zip the files you want to submit. Here ’n’ refers to the homework number.
    zip -r hw_n.zip *

  3. Use sftp to copy the zip file to CLEAR.
    sftp <your-netid>@ssh.clear.rice.edu
    <your-password>
     
  4. You should have the sftp prompt sftp> now. Go to to your comp311 directory.
    cd comp311
     
  5. Create a new folder with the name hw_n for this homework number n
    mkdir  hw_n
     
  6. Now move your zip file to this directory:
    cd hw_n
    put hw_n.zip
    The sftp app should indicate that your zip file has been copied to the folder hw_n.
     
  7. Log in to your Clear account.
    ssh <your-netid>@ssh.clear.rice.edu
    <your-password>
     
  8. Go the folder hw_n
    cd hw_n
     
  9. Unzip the file
    unzip hw_n.zip
     
  10. Delete the zip file
    rm hw_n.zip
     
  11. Go one level up, to your comp311 folder.
    cd ..
     
  12. Turnin the folder hw_n
    turnin COMP311-FALL15-F15:hw_n
    This should show all your files being added to the Subversion repository.
     
  13. Your submission is complete.
  • No labels