CAS CS 210 - Fall 2009
Computer Systems
CAS CS 210 - Fall 2009
Computer Systems
How to submit an electronic copy: (Only plain ASCII files!)
[adapted from Prof. Matta’s note that was adapted from D. Metcalf's note]
To submit your programming assignments, use the gsubmit program from your csa account.
gsubmit is an electronic file submission engine which will submit files or directories of files to the grader so they can be marked.
Every file submitted by a given student for a given assignment should have a unique file name. If a file is submitted with a duplicate name it will either overwrite the file or generate an error message.
To make it easy for the grader to find the files relating to a specific programming assignment, all files for each assignment should be stored in a subdirectory called pa1, pa2, pa3, etc. and the entire directory should be submitted.
To submit an assignment:
Create a subdirectory "pa#", where # is the programming assignment number. This is done using the mkdir command: e.g., mkdir pa5
Copy all files necessary for that assignment into the new subdirectory, using the cp command: e.g., cp prog1.s pa5
Be sure to copy only the files you need to submit into this subdirectory.
Use gsubmit to submit the entire subdirectory: gsubmit cs210 -cp pa5
If submission is successful a status message will be printed.
To submit a file to an already-submitted subdirectory:
If you only submitted part of the assignment and would like to add another file:
To submit a file README.txt to subdirectory pa5, type (at the prompt):
gsubmit cs210 -cp README.txt pa5
To resubmit a file:
To resubmit a file prog1.s in subdirectory pa5, first unsubmit the file:
gsubmit cs210 -rm pa5/prog1.s
Then resubmit it:
gsubmit cs210 -cp prog1.s pa5
List all files which you have submitted:
To list all files which you have submitted, type: gsubmit cs210 -ls
Looking at a file which has already been submitted:
To look at a file which has already been submitted, type: gsubmit cs210 -cat pa5/prog1.s
You can store this in a file foo by typing gsubmit cs210 -cat pa5/prog1.s > foo
Where do submitted files go?
Each student who submits an assignment has a subdirectory created to hold his/her files, in a directory for the specified course. This is called the student's "submission spool directory".
How can the grader tell when a file has been submitted?
Every gsubmit command is automatically logged in a log file, along with a time stamp.
For further information:
Note - The information in this document is taken from the gsubmit man page.
For further information type man gsubmit.