CDS-130: Computing for Scientists Remote Access to Matlab at Mason Fall 2011 30 August – 8 December Innovation Hall, Room 222 Instructor: Joseph Marr Email:

Post on 23-Dec-2015

212 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

Transcript

CDS-130: Computing for ScientistsRemote Access to Matlab at Mason

Fall 201130 August – 8 December

Innovation Hall, Room 222

Instructor: Joseph MarrEmail: jmarr2@gmu.eduOffice: Research 1, room 345Office Hours: Tuesdays and Thursdays after class, or by appt.

T.A.s: Ms. Soo Choi, Ms. Samantha FlemingEmails: hchoi13@masonlive.gmu.edu, sflemin5@masonlive.gmu.edu

Introduction to Matlab:Accessing Matlab at Mason

There are several ways to get to Matlab:

1. Log in remotely, using VCL for Windows or Mac(using these instructions, or those found at:http://cds130.org/vcl#Virtual_Computing_Lab_Login_Guide)

2. Log in remotely, using CygWin on Windows3. Log in remotely, using Linux (SSH)4. Log in locally, at the Johnson Center5. Log in locally, at Innovation Hall6. Purchase it at Patriot Computers ($109)

Introduction to Matlab:Accessing Matlab at Mason

We’ll explain the first three, since they involve remote access. On campus access is easy through any workstation (Matlab appears in the list of available software). Of course, if you wish to purchase Matlab, then you’ll have your own copy to work with, on your own computer.

1. Log in remotely, using VCL for Windows or Mac(using these instructions, or those found at:http://cds130.org/vcl#Virtual_Computing_Lab_Login_Guide)

2. Log in remotely, using CygWin on Windows3. Log in remotely, using Linux (SSH)

Introduction to Matlab:Accessing Matlab at Mason

Best help sources: Soo routinely accesses Matlab using VCL on Windows, and Samantha accesses Matlab using VCL on a Mac. Dr. Marr has accessed Matlab from home using Cygwin on Windows and also using ssh on Linux.

1. Log in remotely, using VCL for Windows or Mac(using these instructions, or those found at:http://cds130.org/vcl#Virtual_Computing_Lab_Login_Guide)

2. Log in remotely, using CygWin on Windows3. Log in remotely, using Linux (SSH)

Logging in Remotely, Using theVirtual Computing Lab (VCL) for WINDOWS

Logging in Remotely, Using theVirtual Computing Lab (VCL) for Windows

Go here:https://www.vcl.gmu.edu/index.php?mode=selectauth

Enter your Mason Userid and Password:

Logging in Remotely, Using theVirtual Computing Lab (VCL) for Windows

Click on “New Reservation”

Logging in Remotely, Using theVirtual Computing Lab (VCL) for Windows

Logging in Remotely, Using theVirtual Computing Lab (VCL) for Windows

Select “Windows XP Professional: Matlab 2008a”, “Now”, and “Create Reservation”

Logging in Remotely, Using theVirtual Computing Lab (VCL) for Windows

You may see that your reservation is “Pending…”. Just wait

Logging in Remotely, Using theVirtual Computing Lab (VCL) for Windows

Good to Go! Now click “Connect”

Logging in Remotely, Using theVirtual Computing Lab (VCL) for Windows

Click “Get RDP File” Also, WRITE DOWN YOUR PASSWORD!

Logging in Remotely, Using theVirtual Computing Lab (VCL) for Windows

This appears on your Windows Desktop. Double-click on it…

Logging in Remotely, Using theVirtual Computing Lab (VCL) for Windows

Don’t worry if you see this warning. Just click on “Connect”

Logging in Remotely, Using theVirtual Computing Lab (VCL) for Windows

Enter your MasonID, and, THE PASSWORD YOU WROTE DOWN THREE SLIDES AGO

Logging in Remotely, Using theVirtual Computing Lab (VCL) for Windows

THAT’S IT – YOU’RE IN! NOW BEGIN USING MATLAB ON A REMOTE DESKTOP

Logging in Remotely, Using theVirtual Computing Lab (VCL) for Windows

Logging in Remotely, Using theVirtual Computing Lab (VCL) for MAC

Logging in Remotely, Using theVirtual Computing Lab (VCL) for the Mac

First you’ll need to download Windows Remote Desktop for a Mac. Follow the instructions found here, step-by-step:

http://cds130.org/vcl#Virtual_Computing_Lab_Login_Guide

Logging in Remotely, UsingCygWin for WINDOWS

Logging in Remotely, Using CygWinX for Windows

Go here: http://x.cygwin.com/

Download and install CygwinX:

Logging in Remotely, Using CygWinX for Windows

Now click on the Cygwin icon on your desktop(the icon appears following successful installation):

Logging in Remotely, Using CygWinX for Windows

The CygWin window then appears:

Logging in Remotely, Using CygWinX for Windows

Startup an X windows environment by typing “startx”:

Logging in Remotely, Using CygWinX for Windows

Here’s what you should see – or something very similar:

Logging in Remotely, Using CygWinX for Windows

Enter this command AS WRITTEN. Replace “jmarr2” with YOUR MasonID:

Logging in Remotely, Using CygWinX for Windows

Enter your Mason cluster password when prompted to do so . . .

Logging in Remotely, Using CygWinX for Windows

Finally, enter the single word command, “matlab”

Logging in Remotely, Using CygWinX for Windows

You’ve now logged into Matlab, which is presented through the Xwindows interface.Note that the version of Matlab available here is NEWER than the one available through VCL!

Logging in Remotely, Using LINUX

Logging in Remotely, Using Linux

Logging in Remotely, Using Linux

Logging in Remotely, Using Linux

You’re now logged in, using Linux’s native Xwindows capability.Note that the version of Matlab available here is NEWER than the one available via VCL!

top related