Help:HPCC Access: Difference between revisions

From CSDMS
added how to install xming tunneling for windows
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 4: Line 4:
You will need the following software to establish a connection to the colorado.edu domain and to login to the HPCC:
You will need the following software to establish a connection to the colorado.edu domain and to login to the HPCC:


# VPN: [http://www.colorado.edu/its/vpn/clients.html Download VPN software] if you do not have installed it already on your machine. Choose your operating platform and simply follow the installation procedure. You need your ''IdentiKey username'' and ''password'' (both provided to you when you applied for a HPCC account).
# VPN: [http://www.colorado.edu/oit/services/network-internet-services/vpn Download VPN software] if you do not have installed it already on your machine. Choose your operating platform and simply follow the installation procedure. You need your ''IdentiKey username'' and ''password'' (both provided to you when you applied for a HPCC account).
# SSH: [http://www.colorado.edu/its/MSG/filedist/ssh.html Download SSH] if you do not have installed it yet.
For windows:
* SSH: Download for example 'PuTTY to use SSH [http://www.putty.org/ Download PuTTY] if you have not installed some SSH software it yet.
For Mac:
* Use terminal


Then:
Then:
Line 17: Line 20:


== SSH Tunneling X Windows for Mac OSX ==
== SSH Tunneling X Windows for Mac OSX ==
You will need X11 to tunnel X Windows to a Mac. Fortunately, Mac OSX comes with X11. If you're using an older version of OSX, [http://http://www.apple.com/downloads/macosx/apple/macosx_updates/x11formacosx.html download X11 from the apple site].<br>
You will need X11 to tunnel X Windows to a Mac. Fortunately, Mac OSX comes with X11. If you're using an older version of OSX, [http://www.apple.com/downloads/macosx/apple/macosx_updates/x11formacosx.html download X11 from the apple site].<br>
Open X11, select '''Applications''' and then '''Terminal'''.
Open X11, select '''Applications''' and then '''Terminal'''.
In the terminal type:
In the terminal type:
Line 28: Line 31:
'''Step 1)'''<br>
'''Step 1)'''<br>
Depending on what you have installed previously on windows, you most likely need to install 2 small programs to tunnel X Windows for Windows:
Depending on what you have installed previously on windows, you most likely need to install 2 small programs to tunnel X Windows for Windows:
# [http://www.straightrunning.com/XmingNotes/ Xming] (Public Domain Releases -> Xming),
# [http://www.straightrunning.com/XmingNotes/ Xming] (use the Public Domain Releases -> Xming release),
# [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html PuTTY ''installer''] (make sure to install the ''installer'')
# [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html PuTTY ''installer''] (make sure to install the ''installer'')


'''Step 2)'''<br>
'''Step 2)'''<br>
# Install Xming and make sure that you choose the "Portable PuTTY Link SSH client - use with Portable PuTTY" option in the "Select Components". [[image:select_components.png | select Components]].<br>
* Install Xming and make sure that you choose the "Portable PuTTY Link SSH client - use with Portable PuTTY" option in the "Select Components".
# Install PuTTY (no extra settings)
[[image:select_components.png | select Components | 350px ]].<br>
* Install PuTTY (no extra settings)


'''Step 3) '''<br>
'''Step 3) '''<br>
# Start XLaunch (icon on desktop or located in the "All Programs" folder)
* Start XLaunch after you have opened a VPN connection if you are working outside the *.colorado.edu domain (icon on desktop or located in the "All Programs" folder)
# Choose e.g. "Multiple windows" in display settings [[image:xming_multiplewindows.png display settings]]
* Choose e.g. "Multiple windows" in display settings
# Choose "Start a program" in session type [[image:xming_session type.png]]
[[image:xming_multiplewindows.png | display settings | 350px ]]
# Choose "Using PuTTY" in Start program [[image:xming_startprogram.png]]
* Choose "Start a program" in session type
# No need to change anything to "Additional parameters", just leave settings like they are
[[image:xming_session type.png | 350px ]]
# And click on "finish" in Finish configuration to start a SSH Tunneling X Windows
* Choose "Using PuTTY" in Start program
[[image:xming_startprogram.png | 350px ]]
* No need to change anything to "Additional parameters", just leave settings like they are
* And click on "finish" in Finish configuration to start a SSH Tunneling X Windows


XLaunch will ask you for a beach.colorado.edu password. Once entered it will start up a xterm window. [[image:xming xterm.png]]
XLaunch will ask you for a beach.colorado.edu password. Once entered it will start up a xterm window.
Now you can start any graphical program that is available on beach.colorado.edu and it will display the graphics, created on beach.colorado.edu on your windows box. You can try for example matlab, just type "matlab" after the xterm prompt and xming will display matlab, running on beach, on your machine.
 
[[image:xming xterm.png | 350px ]]
 
Now you can start receiving graphical interfaces (GUI) from programs that are available on the CSDMS HPCC. Through Xming the graphics that are created on the HPCC will be display on your window box. You can try for example to start matlab, just type "matlab" after the xterm prompt and Xming will display matlab, running on beach, on your machine.
[[image:xming matlab.png | 350px ]]
 
Don't close the xterm window while you're working with Xming or you might lose the Tunneling session you just started.

Latest revision as of 11:21, 2 February 2015

HPCC Access

Once you have an account you can access the CSDMS HPCC with any secure-shell (SSH) application (primarily ssh, scp, sftp) from workstations located in the CU Internet domain (*.colorado.edu) or from workstations connected to the colorado.edu domain through a virtual private network (VPN) connection. A VPN account will automatically be created for users outside the colorado.edu domain.

You will need the following software to establish a connection to the colorado.edu domain and to login to the HPCC:

  1. VPN: Download VPN software if you do not have installed it already on your machine. Choose your operating platform and simply follow the installation procedure. You need your IdentiKey username and password (both provided to you when you applied for a HPCC account).

For windows:

  • SSH: Download for example 'PuTTY to use SSH Download PuTTY if you have not installed some SSH software it yet.

For Mac:

  • Use terminal

Then:

  1. Start a VPN connection to the University of Colorado (CU)
  2. Open a SSH window and type from the command prompt:
    > ssh <username>@beach.colorado.edu
    
    (where <username> is your own username)
  3. Provide your password when asked and your connected to the HPCC!

SSH Tunneling X Windows

Displaying of the graphical desktop of the HPCC master-control node to your personal workstation is possible through SSH Tunneling X Windows software. This might require prior installation and configuration of software on your workstation. See information below on how to operate the graphical desktop for Mac and for Windows operating systems.

SSH Tunneling X Windows for Mac OSX

You will need X11 to tunnel X Windows to a Mac. Fortunately, Mac OSX comes with X11. If you're using an older version of OSX, download X11 from the apple site.
Open X11, select Applications and then Terminal. In the terminal type:

> ssh -Y beach.colorado.edu -l <username>

Type <password> and that's it. Now you can test the Tunneling by for example typing <matlab>.

SSH Tunneling X Windows for Windows

Step 1)
Depending on what you have installed previously on windows, you most likely need to install 2 small programs to tunnel X Windows for Windows:

  1. Xming (use the Public Domain Releases -> Xming release),
  2. PuTTY installer (make sure to install the installer)

Step 2)

  • Install Xming and make sure that you choose the "Portable PuTTY Link SSH client - use with Portable PuTTY" option in the "Select Components".

select Components.

  • Install PuTTY (no extra settings)

Step 3)

  • Start XLaunch after you have opened a VPN connection if you are working outside the *.colorado.edu domain (icon on desktop or located in the "All Programs" folder)
  • Choose e.g. "Multiple windows" in display settings

display settings

  • Choose "Start a program" in session type

  • Choose "Using PuTTY" in Start program

  • No need to change anything to "Additional parameters", just leave settings like they are
  • And click on "finish" in Finish configuration to start a SSH Tunneling X Windows

XLaunch will ask you for a beach.colorado.edu password. Once entered it will start up a xterm window.

Now you can start receiving graphical interfaces (GUI) from programs that are available on the CSDMS HPCC. Through Xming the graphics that are created on the HPCC will be display on your window box. You can try for example to start matlab, just type "matlab" after the xterm prompt and Xming will display matlab, running on beach, on your machine.

Don't close the xterm window while you're working with Xming or you might lose the Tunneling session you just started.