Projects

Project Descriptions

Program Compilation

The UMBC UNIX system runs several different versions of UNIX. The systems known as linuxl.gl.umbc.edu, linux2.gl.umbc.edu, & linux3.gl.umbc.edu all run a version of UNIX called Linux. The systems known as solaris.gl.umbc.edu and irix.gl.umbc.edu run other versions of UNIX called Solaris and Irix.

The project graders will use one of linux1, linux2, or linux3 to compile and test your program. Therefore, ALL PROJECTS must compile and execute on linux1, linux2, or linux3.

If you have been developing your code on some other machine (most likely a personal laptop/desktop), you must first get your files onto the campus network file system. This will then make them directly accessible from almost any of the university's machines (the lab machines, the GL servers, etc.) You will also need some way to work on one of the GL servers. The easiest way is to go to one of the labs; however, we also tell you how to do this remotely, below.

The process is very different, depending on whether you are using a Unix-based machine (this includes Linux boxes & Macs), or a Windows system. We will discuss Macs and Linux first, since they already have the necessary applications built-in.

Connecting to UMBC from a Personal Mac or Linux Computer

On Mac and Linux boxes, first open up a terminal window (you can find it in the Utilities folder on a Mac, and you Linux hackers would be insulted if I told you how to do it).

To open up a virtual terminal session to the GL systems so that you can do things like manage your files and run Java there, just type:

ssh username@gl.umbc.edu

After entering your password when prompted, you will be logged into the GL system. You are now set to run submit or gcc or anything else you want.

Transfering Files to UMBC from a Personal Mac or Linux Computer

To transfer files, you will use the scp program. You should un this from a fresh terminal window: you should NOT do this from a terminal window that is already ssh-ed into a GL machine.

Bring up a terminal window, cd into the local directory with the files you want to transfer, then type:

scp myFile1 myFile2 myFile3 … username@gl.umbc.edu:202files

This command will copy the files to a directory called 202files.

Connecting to UMBC from a Windows Computer

If you are using a Windows system, you will need to download a virtual terminal program like TeraTerm or PuTTY, as well as an SFTP/SCP client program (download links for these applications can be found in the Downloads section of the Resources page). Once they are installed, you can first launch TeraTerm/PuTTY and request a connection to gl.umbc.edu; this will give you a virtual terminal interface in which you can run programs on the GL machine, including submit and javac.

Transfering Files to UMBC from a Windows Computer

You can also install WinSCP, which will give you a drag-and-drop interface to transfer files to any remote system including UMBC. You can simply connect to gl.umbc.edu using your UMBC username/password.

Compiling on the Linux Servers

The process for editing, compiling, running, and debugging your code on the GL Linux servers will be covered in lectures.