Setting Up your Environment

A Walkthrough

Updated: April 7, 2014

Files. All of the programs and files mentioned for the last part of the course can be found in the /courses/cs3410 directory in the CSUG (or in standard locations on most linux machines for things like xxd and cat). You should copy these files to your VM (for consistency sake, your home folder). You should also vary the server as to evenly distribute the load. Try your netid mod 15 for example. Specifically, in your VM terminal type:

  $ cd
  $ rsync -avzr netid@csug02.csuglab.cornell.edu:/courses/cs3410/mipsel-linux/* ./mipsel-linux
  $ rsync -avzr netid@csug02.csuglab.cornell.edu:/courses/cs3410/mips-sim/* ./mips-sim
    

$PATH. Now add these files to your PATH so that your shell knows where to find the simulate program and all of the mipsel-linux tools. This means that you can just type simulate as opposed to /home/user/mips-sim/binary/simulate every time you want to run something. In the following commands replace [user] with your username. If you are using the CSUG machines, use the appropriate paths (note you don't need to copy the files in that case)

$NETID.This is only needed if you are using a machine outside of the csuglab.

Troubleshooting