User:DukeEgr93/VCL Test

From PrattWiki
Jump to navigation Jump to search

This is a test of the Duke Virtual Computing Lab System. The instructor of your lecture section in voluntary cooperation with the Office of Information Technology has developed this test to determine the usefulness and efficiency of Virtual Computing Labs with respect to EGR 103.

Preparation

  • Windows
  • Mac
    • Start X11
    • In Applications, start a Terminal

Reservation

  • Open a new browser window or tab and go to http://vcl.oit.duke.edu
  • Enter your NET ID and password
  • Select "New Reservation" from the navigation bar at left
  • Select "OIT Linux Lab Image" from the drop-down box, "Now" from the radio boxes, and "1 hour" for the duration
  • Click "Create Reservation"
  • Once the reservation is finished Pending... click the Connect! button
  • Note the IP address listed next to Remote Computer. This is referred to below as VCLIP

Connection

  • Windows
    • In PuTTY, enter your VCLIP as the Host Name
    • In the Connection category, under SSH/X11 or Tunnels, make sure X11 forwarding is checked
    • Open the connection, accepting the host if the computer asks
  • Mac
    • In the Terminal window, type

      ssh -XY NETID@VCLIP

      where NETID is your NETID and VCLIP is the IP address noted above
    • Continue connecting and add the host if the computer asks

Duplication

  • Change into your EGR 103 folder

    cd EGR53

  • Make a new folder called VCLtest

    mkdir VCLtest

  • Change into this folder

    cd VCLtest

  • Copy files from Dr. G

    cp ~mrg/public/EGR53/VCLtest/* .

    Don't forget the space and then dot at the end

Experimentation

  • Start a new terminal window

    xterm &

  • In your old terminal window, start MATLAB

    matlab &

  • In MATLAB, run the RunTest script
  • Watch the miracle of virtual MATLAB! After the kdvi file comes up, close it and hit return in the MATLAB command window
  • Happiness ensues

Devastation

  • In the terminal window, remove the RunTest.m file

    rm RunTest.m

  • Close the MATLAB window
  • Close the xterm window
  • Close the terminal window

Repetition

  • Use PuTTY/X11 to connect to your favorite Teer or Hudson machine
  • Change into your EGR53/VCLtest directory
  • Start a new terminal window
  • In your old terminal window, start MATLAB
  • In MATLAB - and be careful here - run the RunTestTH script
  • Watch the miracle of not-virtual MATLAB! After the kdvi file comes up, close it and hit return in the MATLAB command window
  • Happiness ensues

Evacuation

  • Close the MATLAB window
  • Close the xterm window
  • Close the terminal window

Elation

This concludes this test of the Duke Virtual Computing Lab System.