|
CMSC421
Principles of Operating Systems |
|
Submitting Assignments
When submitting an assignment, follow the instructions specific to that assignment
regarding what to submit.
The course designation for all assignments is cs421.
Each assignment will have a keycode that you will use
when submitting your files. Keycodes will be included in each
assignment description, or you can find the keycodes for the course
by running the command
submitproj cs421
Submit your assignments via the UMBC submit program
(Run submit from your GL account.)
The command to run submit is common to all sections. For example,
if you are submitting files F1, F2, and F3 for assignment YYYY,
then run the command
submit cs421 YYYY F1 F2 F3
The files may be listed in any order. You may verify your submittal for
an assignment YYY with the command
submitls cs421 YYYY
You can remove files which you previously submitted for assignment YYYY
with the command
submitrm cs421 YYYYY filename
You can and should use the submitmake and
submitrun programs to compile, link, and run your program
in your submittal directory just like the TAs will do.
These programs are found in the directory
/afs/umbc.edu/users/d/e/dennis/pub/CMSC421. For ease of use, you should consider
creating a (symbolic) link to these files or copying them to your local directory.
If you copy them, be sure to set the "execute" bit "on".
The syntax for submitmake is similar to that for submit.
For example:
/afs/umbc.edu/users/d/e/dennis/pub/CMSC421/submitmake cs3421 proj1
This program executes the "make" command inside your submittal directory,
and shows you the report from the make utility.
It cleans up the directory after making the project (removes .o),
but leaves the executable in place.
The syntax for submitrun involves command-line arguments, if any, for the project. For example,
/afs/umbc.edu/users/d/e/dennis/pub/CMSC421/submitrun cs421 proj1 -m 7 datafile
This runs the project, assuming there is an executable named proj1
(i.e. submitmake was run successfully).
In this example, the datafile would be in the directory from which you invoke
submitrun, not in the submittal directory.