CS201 Submit Guide
The submit program allows students to send files to a central location for
grading by the instructor or teaching assistant. You must be registered in
the course to use submit.
Do Once
- Create an alias in your account to run the submit command.
Remember, you must ssh to esus to use submit.
- If you are using bash (this is default shell on esus!),
type in the following:
$ alias submit=/home/projects/submit201/bin/submit
$ export submit
- If you are using csh or tcsh, do the following:
% alias submit /home/projects/submit201/bin/submit
- You only have to do this once if you put the alias definition in your
.bash_profile file (for bash) or .cshrc file (for csh).
I suggest you put it near the end of the file.
Do For Each Submittal
Create all your files for an assignment in a separate directory. I suggest
that you create one directory for each assignment in your cs201
directory (lab1, lab2, etc.).
- ssh to esus
- go to the appropriate assignment's directory
- Execute the following command:
$ submit cs201s06# labN
Where # is 2 for lab section 02, 3 for lab section 03 and 4 for lab section 04
and the N in labN is a current laboratory number. For example,
if you were in lab section 02 and you wanted to
submit the first lab (lab1), do the following:
$ submit cs201s062 lab1
- There are some query commands you can use.
$ submit -h
Gives you help on the submit command
$ submit -l List the submit information for the current semester.
- $ submit -v cs201s052 lab1 If you add the -v option, you get all the warning
messages.
- BEFORE RUNNING SUBMIT:
- Do a list of the files in your directory and be sure you have all the
files specified in the assignment.
NOTE: Don't destroy anything until the end of the semester.
This is our fourth time we are using submit, and we need to have
a back up position of looking at your account for source files.
Notes
- Each submittal overwrites the previous one.
- Each submittal attempt is "logged" with a notation as to
whether it was successful or unsuccessful.
Late Submittals
I would hope you know by now what is my policy on late
assignments... There are no late assignments!
Acceptance Scripts
NOTE: This semester, we are running acceptance scripts on your assignments.
This means that an automatic script will try to compile and run your programs.
-
If you don't supply the correctly named files, the submittal will fail.
-
If your program doesn't compile, the submittal will fail.
-
If your program doesn't run, the submittal will fail.
- Some of the scripts will compare your output to an expected
output. If your output doesn't match, the submittal will fail.