Instructions for submitting code

This applies only if you are a student of Dr. McDowell's! If not, look for the instructions specific to your instructor

From now on, you will use the submit program to submit your projects. This program copies your files to a protected directory to which you would otherwise have no access.

The procedure is:

  1. If your have a partner, only one person should submit for each lab/project.
  2. Make sure you have the entire project in a single directory, and there are no other files in that directory. (For example, suppose this directory is called lab53. )
  3. Make sure you are in the parent directory of the directory that contains the files. (For example, if you were in the lab53 direcotry, you would enter cd .. and hit return to be in the parent directory)
  4. type:
    /courses/lmcdowel/etc/submit <directoryName>

    For example, if I were trying to submit files in a directory named lab53 which contains my files, I would type:
    /courses/lmcdowel/etc/submit lab53

    This would group all the files into a "tar-file" (sort-of like a zip file), apply a timestamp, and move the tar-file to a special submission directory. You may submit multiple versions, and I will grade the most recently submitted. So there is no harm in trying this out early.

    This submits the files in the directory and then provides a list of all files submitted so far, so you can check to make sure it went in OK. The program adds a timestamp to the file name so what you will see (in addition to some other things) will look like:
    -rw------- 1 lmcdowel mids 68608 Oct 7 23:38 lmcdowel.Sep15.161628.tar

    Common errors:

  5. Check to make sure it worked!. After submitting, you can check the size of the submission to make sure all you files made it. In the fifth column of the output (between the "mids" and the date) is the size of the submitted file in bytes (68608 in the example above). If this is 0 or 1024 then the submission failed. Reread the instructions and try again. If it still fails, then send me an email with a transcript of the submission and I will look into it.

IMPORTANT NOTES:

ELECTRONIC SUBMISSION BY EMAIL WILL NOT BE ACCEPTED. ELECTRONIC SUBMISSION BY FLOPPY DISK WILL NOT BE ACCEPTED. ELECTRONIC SUBMISSION BY ZIP DISK WILL NOT BE ACCEPTED. ELECTRONIC SUBMISSION BY CD-ROM/RW/DVD WILL NOT BE ACCEPTED. YOU MUST USE THE SUBMIT PROGRAM.

IT IS YOUR RESPONSIBILITY TO TEST THE PROGRAM THIS WEEK TO ENSURE THAT IT WORKS AND YOU UNDERSTAND HOW TO USE IT. FAILURE TO USE THE TOOLS CORRECTLY IS NEVER AN EXCUSE.

This submit utility and most of the helpful directions are courtesy of Dr. Crabbe.