CLASSE-IT 2024 Summer Student Guide
Welcome to the CLASSE 2024
REU,
SERCCS,
SUnRiSE, and PREM programs. This how-to guide will get you started with IT resources at CLASSE.
Expand all instructions |
Collapse all instructions
CLASSE User Account
Your
CLASSE account username is based on your Cornell
NetID, but you must give it a different password. A CLASSE account is required for all the services mentioned in this guide. If you have forgotten or need to reset your password please go to our
Password Self Service page.
CLASSE Duo
CLASSE has adopted the use of Duo two-factor authentication for enhanced security of web services and remote logins (ssh,
X2Go,
NoMachine, CLASSE VPN). CLASSE Duo uses the exact same app as
Cornell's Duo service (no new installation needed), although a separate CLASSE registration is required. To enroll and manage your two-factor devices, please log into the CLASSE Duo Device Manager with your CLASSE account:
Virtual Private Network (CLASSE VPN)
If your computer isn't connected directly to a CLASSE network, you might need to start the CLASSE VPN to access some CLASSE services. The Campus wireless networks are considered external to the Lab and thus will require use of the VPN.
For details and installation instructions, see
CLASSEVPN
CLASSE Remote Access Services
You will need NoMachine or X2Go to run most Linux applications offered at CLASSE.
NoMachine is the preferred graphical remote access tool.
NoMachine can be used to access
lnx201.classe.cornell.edu, our general-use remote login node. Any CPU- or memory-intensive operations should be run on the CLASSE Compute Farm or on individual workstations,
not on lnx201.
Client Installation
- Download and install the free "NoMachine Enterprise Client" from: https://www.nomachine.com/product&p=NoMachine%20Enterprise%20Client
Configuration
- Start NoMachine
- click on "Add"
- Fill in the details for your desired connection.
- For using lnx201 - our general-use login node (not appropriate for CPU or memory-intensive applications)
- Host = "lnx201.classe.cornell.edu"
- Protocol = "SSH"
- For using our cloud server to connect to computers on private subnets.
- Host = "nomachine.classe.cornell.edu"
- Protocol = "NX"
- If Prompted, select "Password" authentication method, and click on "Continue"
- If you get a proxy checkbox, leave "Don't use a proxy" selected, and click "Continue."
- Change the connection name if desired, and click on "Done."
Connecting
- Start NoMachine, and double-click on the connection created above.
- The first time connecting, click "Yes" to accept the remote host certificate and verify its identity.
- Login with your CLASSE username and password.
- Double click on the computer you'd like to control.
- Click "OK" to accept the default Audio streaming setting (if desired).
X2Go is an alternative graphical remote access tool to connect to our Linux systems. X2Go supports the remote execution of X applications, including full Linux desktops.
Windows 10 Installation
- Download the installer from https://wiki.x2go.org/doku.php/download:start
- Run the installer (You will need to allow installation at the UAC prompt)
Configuration - creating a new desktop session:
- Run the X2Go client on your desktop.
- Create a new session with “session | new session…”.
- Assign a session name (e.g. CLASSE Grid)
- For "Host Name" enter lnx201.classe.cornell.edu
- For "Login" enter your CLASSE ID
- Choose your desired Session Type:
- Press 'OK' to save the session.
macOS Installation
- Download and install the latest version of XQuartzfrom http://xquartz.macosforge.org/landing/
- Download and install the latest version of the Mac X2Go client from http://www.x2go.org.
Configuration - creating a new desktop session [
screenshots]:
- Run the X2Go client in your Applications Folder.
- Create a new session with “session | new session…”.
- Assign a session name (e.g. CLASSE Grid)
- For "Host Name" enter lnx201.classe.cornell.edu
- For "Login" enter your CLASSE ID
- Choose your desired "Session Type":
- Press 'OK' to save the session.
Configuration - set "X11 application" [
screenshots]:
- Click on the wrench icon in the X2Go window toolbar.
- Under the "General" tab make sure that "X11 application:" is set to /Applications/Utilities/XQuartz.app
- You will need to restart X2Go if XQuartz was installed while X2Go was running
- Click Ok
Linux Installation
- Download the installer for your distribution at https://wiki.x2go.org/doku.php/download:start
- Instructions for each distribution can be found under the section "X2Go Package Repositories for GNU/Linux"
Configuration - creating a new desktop session:
- Run the X2Go client on your desktop.
- Create a new session with “session | new session…”.
- Assign a session name (e.g. CLASSE Grid)
- For "Host Name" enter lnx201.classe.cornell.edu
- For "Login" enter your CLASSE ID
- Choose your desired "Session Type":
- Press 'OK' to save the session.
Linux Applications at CLASSE
Ansys
- Connect to your CLASSE Grid Session in X2Go
- Select Terminal-xfce4 from the list of application in the dropdown menu
- Click on Run - This will open a new terminal window
- Type the command to open Ansys_2019R2:
/nfs/opt/ansys_2021-R2/bin/workbench
COMSOL
- Connect to your CLASSE Grid Session in X2Go
- Select Terminal-xfce4 from the list of application in the dropdown menu
- Click on Run - This will open a new terminal window
- Type the command to open COMSOL:
/nfs/opt/COMSOL/52/bin/comsol
GPT
- Connect to your CLASSE Grid Session in X2Go
- Select Terminal-xfce4 from the list of application in the dropdown menu
- Click on Run - This will open a new terminal window
- Type the command to open GPT (Please ask your mentor)
Linux Command Line (ls, cd, mv, find, grep etc)
- Connect to your CLASSE Grid Session in X2Go
- Select Terminal-xfce4 from the list of application in the dropdown menu
- Click on Run - This will open a new terminal window
- Type the command needed (see table below)
Command |
Task |
Example Syntax |
ls |
To list the files in a directory. |
ls [/tmp] |
cd |
To move into a directory. |
cd [/tmp] |
pwd |
To show cuurent working directory. |
pwd |
cp |
To copy a file to another filename or into another directory. |
cp [file.txt] [/tmp/file.txt] |
mv |
To rename or move a file into another directory. |
mv [file.txt] [file1.txt] |
rm |
To delete a file. |
rm [file.txt] |
mkdir |
To create a directory. |
mkdir [mydir] |
find |
To find a file. |
find [/tmp] -name [file] |
grep |
To search for text string inside a file. |
grep [text] [/tmp/file.txt] |
less |
To view the text of a text file, one screen at a time |
less [/tmp/file.txt] |
man |
To see detailed information about command useage. |
man [ls] |
exit |
To exit and logout of a Terminal (Terminal-xfce4) session. |
exit |
Other useful shortcuts:
Mathematica
- Connect to your CLASSE Grid Session in X2Go
- Select Mathmatica from the list of applications in the dropdown menu
- Click on Run
Matlab
- Connect to your CLASSE Grid Session in X2Go
- Select Matlab from the list of applications in the dropdown menu
- Click on Run
Thunar - The Linux File Explorer
Like the "Windows File Explorer",
Thunar is a modern file manager.
- Connect to your CLASSE Grid Session in X2Go
- Select Thunar from the list of applications in the dropdown menu
- Click on Run
Text Editors
For a list of available text editors, please see
TextEditors. To use any of these editors, simply select it in the
CLASSE Grid Session menu. Any editor can also be launched from the
Linux command line interface.
How To Launch
Emacs:
- Connect to your CLASSE Grid Session in X2Go
- Select Emacs from the list of applications in the dropdown menu
- Click on Run
How To Launch
Visual Studio Code:
- Connect to your CLASSE Grid Session in X2Go
- Select Terminal-xfce4 from the list of application in the dropdown menu
- Type the command:
code
File Storage at CLASSE
IMPORTANT: To access CLASSE's central file storage, you must be on a CLASSE network. If your computer is connected to RedRover, eduroam or any other non-CLASSE network, please first connect to the CLASSE VPN.
Project Files
Most files should stored in the dedicated project space allocated to each research group. Please consult with your mentor on where to store your data and the exact path to any project files that you might need.
User Files
In addition to dedicated project space, user files can be stored in your directory on our UserDisk. Please note that your user directory has a 5 GB quota, so most of your work should be stored in dedicated project areas as described above. Finally, your HomeDisk has a 1 GB quota and should be reserved for essential Linux files like login scripts, browser preferences, source code, etc. Please read
HomeDisk,
UserDisk, and
DataStewardship for more information.
Operating System |
Share point |
Path (userid = your username) |
Linux |
UserDisk |
/nfs/user/userid |
|
HomeDisk |
/home/userid |
Windows 10 |
UserDisk |
\\samba.classe.cornell.edu\user\userid |
|
HomeDisk |
\\samba.classe.cornell.edu\home\userid |
macOS |
UserDisk |
smb://samba.classe.cornell.edu/user/userid |
|
HomeDisk |
smb://samba.classe.cornell.edu/home/userid |
Accessing Files from Offsite
Connectivity and performance to the file locations above is very dependent on the quality of your internet connection. Because of these performance issues, we
highly recommend using Globus when accessing files from outside the lab.
Globus
Globus is a high-speed file transfer system that was originally developed for Grid computing applications. You can use it to copy data remotely from CLASSE central storage to your local computer by following the instructions below:
- Browse to https://www.globus.org
- Click on "Log In" in the upper-right corner.
- Use the scroll-down menu to find Cornell University and then login with your Cornell NetID.
- Install Globus Connect personal (For detailed instructions with screenshots see here: https://www.globus.org/globus-connect-personal.)
- Connect to a CLASSE endpoint
- Click on "Manage Data", and select "Transfer Files".
- Click on "Start here ..." and type classe into the search box. You should see the endpoint for "CLASSE" with a path of "/~/".
- Select a CLASSE endpoint (add infor for "project path") and log in with your CLASSE credentials.
- Connect to your personal endpoint
- Click on "Manage Data", and select "Transfer Files".
- Click on the second "Endpoint" box, and then the "My Endpoints" tab.
- Select the personal endpoint you set up in Step II above.
- Note that Globus Connect Personal must be running on your computer.
- Transfer Files
- Navigate through the folders/directories on both endpoints, and use the arrow buttons to transfer data back and forth as desired.
- To monitor the progress of a data transfer, click on "Activity".
- You will receive an email after each transfer has completed.
Printing at CLASSE
IMPORTANT: To print to a CLASSE printer, you must be on a CLASSE network. If your computer is connected to RedRover, eduroam or any other non-CLASSE network, please first connect to the CLASSE VPN.
Printing from Windows
To add a printer to non-CLASSE managed Win 10 systems:
- Browse to PrinterLogic Cloud using Vivaldi:
- Log in with your CLASSE credentials.
- When prompted install the browser extension.
- Then install the PrinterLogic cloud client software.
- Browse by building for the printer you want to add.
- Click on the Printer Name you want to add.
- Say "Yes" to install the printer.
Printing from macOS
To add a printer to all macOS systems
Click on the Apple menu in the upper left of your screen and select System Preferences
- Click on the Printers & Scanners (10.7.x and later) or Print & Fax (10.6.x and earlier)
- Click on the + in the lower left
- The add printer window will appear...click on the IPicon (3rd icon from left)
- for Address: Enter cups.classe.cornell.edu for LPR Printer's Address.
- for Protocol: make sure Line Printer Daemon - LPD is selected (NOT "Internet Printing Protocol - IPP," etc.)
- for Queue: Enter the Printer name for the printer you would like installed. Please refer to our PrinterList for the correct name.
- for Name: Enter the same Queue name that you entered above
- for Location: Enter the room location of the printer, e.g. W229
- for Use: Select Generic PostScript Printer (preferred)
Computing Policies and Guidelines
Think before you click!
We see fraudulent emails every day, and they can be quite sophisticated, even appearing to come from someone you know. Make sure you are on a Cornell website before typing in your Cornell password. When in doubt:
Getting Help
If you have any computing questions:
For help with central Cornell services, contact
IT@Cornell.
Notes for CLASSE Mentors