SUBMIT Process
From the CS 248 Lab
- Log into the lab machines and mount your N: drive.
- Create a subdirectory (folder) on the N: drive for the assignment you
are working on (all work for each assignment should be in a separate
directory/folder). Create the file (or files, if the assignment calls for
multiple files to be created) to be submitted in the assignment
subdirectory within the N: drive.
- Connect to the stu computer.
- open a terminal window on the lab machine.
- telnet to the stu computer using the ssh program
(ssh username@stu.cs.jmu.edu). The stu computer
refers to the full name, stu.cs.jmu.edu. At the
login prompt, enter you account name (your account name is the same
as your JMU email account name).
- At the password prompt, enter your stu account
password (which is the same as your e-mail account password). Note
that while you are typing your password, what you are typing will not
show up on the display. Windows displays echo an `*' (asterisk)
character to the display for each character of a password you enter.
The text display does not echo anything! It is easy to make a typing
mistake while entering your account name or password. The password
can be especially troublesome since if you press a key lightly, there
is no way to tell if the key press actually registered. So it is wise
to type your account name and password very slowly and deliberately.
If you do make a typing mistake, there may be no way to correct it.
The `Backspace', `Delete' and cursor keys probably will not correct a
typing mistake. So if you make a mistake, all you can do is try to
correct the mistake and continue on with entering your account name
and password. But expect to get a "password incorrect" message, at
which point you will have to try to login again.
- After logging in successfully, the system's "message of the day" is
displayed. You should then get a command prompt. The default command
prompt on stu is different from the default on DOS.
It will be a string that ends with '$ ' (as opposed to the DOS prompt
that ends with '> ').
- Enter the Linux command "mount-n". When prompted for a password,
enter your CYAN password. This should mount your N: drive to the
stu computer. Verify your N: has been mounted by
executing the "ls" (list directory contents) command. You should see
the folder n-drive listed.
- Enter the Linux command "cd n-drive/subdir", where
subdir is the directory from step 2. This should change your
current directory so it is your CYAN N: drive and the subdirectory in
which you placed your program. You can verify you are in the correct
directory by executing the ls command.
- Execute the Linux command "submit" on stu.
- When prompted, select the course option for your course.
- When prompted, indicate which assignment you are submitting.
- When prompted, enter the file (or files) you are submitting. If you
are submitting multiple files, enter all the file names with the
names separated by blanks (not commas). You may also use the wildcard
character "*" to submit all files matching that pattern found in your
current directory. For example, *.java will submit all java files
from your current directory. If you are typing the file name, you
must include the .java extension.
- When prompted, respond to the honor pledge prompt.
- If your submitted file or files fail to compile, the submission
will fail. If your program compiles, it will be run with a variety of
test data. If it fails to produce the correct output, the submission
will fail. Otherwise your submission will be considered
successful.
- Submit creates a report of the submission. Two copies of the report are
produced, one in text form and one in pdf form.
- These report files are created in your current directory, which if
you followed these directions, is in a subdirectory on your N: drive.
. On the lab computer, the report files can be viewed in a separate
window by opening the N: drive subdirectory and double clicking on
the report file. On stu, you can display the
contents of the txt submission report file (but not
the PDF file) by executing the Linux
less command with the name of the report file as an
argument.
- If your submission fails, you must review the submission report to
determine the source of the problem. On the lab computer, make
corrections and test.
- When you believe that you have corrected the error causing the
submission failure, resubmit on the stu
computer.
- Repeat this process until you have a clean submit and the report is
of a form that is ready to turn in.
- On the lab computer, generate a printed copy of the submit report by
double-clicking on the PDF file, selecting print in the file menu (or by
clicking on the print icon). To do this on your computer at home, you
must have the free Adobe acrobat reader installed.
- When you are done using the stu computer, execute the
"cd" command to return to your "home" directory and then execute
"umount-n" to unmount your N: drive from the stu computer. Execute the
"exit" command to logoff stu.
- When you are done using the lab computer, execute the "cd" command to
return to your "home" directory and then execute "umount-n" to unmount
your N:drive from the lab (local) computer. Logoff the lab computer.