Top Banner
CDS-130: Computing for Scientists Remote Access to Matlab at Mason Fall 2011 30 August – 8 December Innovation Hall, Room 222 nstructor: Joseph Marr mail: [email protected] ffice: Research 1, room 345 ffice Hours: Tuesdays and Thursdays after class, or by appt .A.s: Ms. Soo Choi, Ms. Samantha Fleming mails: [email protected], [email protected]
33

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:

Dec 23, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 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:

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

Fall 201130 August – 8 December

Innovation Hall, Room 222

Instructor: Joseph MarrEmail: [email protected]: Research 1, room 345Office Hours: Tuesdays and Thursdays after class, or by appt.

T.A.s: Ms. Soo Choi, Ms. Samantha FlemingEmails: [email protected], [email protected]

Page 2: 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:

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)

Page 3: 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:

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)

Page 4: 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:

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)

Page 5: 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:

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

Page 6: 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:

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

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

Page 7: 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:

Enter your Mason Userid and Password:

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

Page 8: 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:

Click on “New Reservation”

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

Page 9: 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:

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

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

Page 10: 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:

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

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

Page 11: 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:

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

Good to Go! Now click “Connect”

Page 12: 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:

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

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

Page 13: 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:

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

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

Page 14: 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:

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

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

Page 15: 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:

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

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

Page 16: 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:

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

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

Page 17: 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:

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

Page 18: 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:

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

Page 19: 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:

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

Page 20: 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:

Logging in Remotely, UsingCygWin for WINDOWS

Page 21: 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:

Logging in Remotely, Using CygWinX for Windows

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

Download and install CygwinX:

Page 22: 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:

Logging in Remotely, Using CygWinX for Windows

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

Page 23: 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:

Logging in Remotely, Using CygWinX for Windows

The CygWin window then appears:

Page 24: 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:

Logging in Remotely, Using CygWinX for Windows

Startup an X windows environment by typing “startx”:

Page 25: 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:

Logging in Remotely, Using CygWinX for Windows

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

Page 26: 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:

Logging in Remotely, Using CygWinX for Windows

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

Page 27: 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:

Logging in Remotely, Using CygWinX for Windows

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

Page 28: 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:

Logging in Remotely, Using CygWinX for Windows

Finally, enter the single word command, “matlab”

Page 29: 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:

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!

Page 30: 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:

Logging in Remotely, Using LINUX

Page 31: 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:

Logging in Remotely, Using Linux

Page 32: 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:

Logging in Remotely, Using Linux

Page 33: 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:

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!