Requirements for PICSciE Virtual Workshops

Princeton NetID

Unless otherwise indicated, all PICSciE workshops (in-person or virtual) require advance registration at www.princeton.edu/training. You must have an active Princeton NetID to register, and you must be enabled for Duo two-factor authentication.

Registration slots for virtual workshops are typically quite limited, so we ask that you not take up a slot unless you've read the course description to ensure it's an appropriate fit and you can commit to attending the entire workshop and (for hands-on workshops) participating actively.

Zoom requirements

All PICSciE virtual workshops are conducted over Zoom. Registrants receive a Zoom link via email 1-3 days prior to the workshop, along with additional instructions.   You must be logged into Zoom using your Princeton credentials in order to join a workshop.   More information on enabling a Princeton Zoom account (and on installing and using Zoom) can be found on University informational pages here and here.  While it is possible to join Zoom meetings by phone, participants in our hands-on workshops should plan to join using a laptop or desktop.

 

Workshops that use Adroit

Some of PICSciE's hands-on workshops use the Adroit training cluster (any workshops conducted on Adroit will clearly state so  in the workshop description).  If you do not already have an account on Adroit, you should request one at least two days before the start of a workshop.

Getting an account

You may request an Adroit account using this form.  Once provisioned, your username on Adroit will be the same NetID you use for all other Princeton services (along with its associated password).

VPN for off-campus connections

To connect to Adroit from off campus, you must use a VPN.  The University has instructions for installing and configuring Princeton's preferred VPN client -- called GlobalProtect  (accessing the instructions requires Duo authentication).

Connecting to Adroit

Adroit offers two ways to connect to the system: a web interface, and an SSH connection over the command-line (each is described below).

Web portal

Adroit offers a web portal at https://myadroit.princeton.edu (Duo authentication required; VPN required for off-campus access).  The MyAdroit portal provides access to a graphical file browser (select "Files" from the menu along the top of the page) as well as to a shell that runs in your browser (from the same top menu, choose "Clusters" ---> "Adroit Cluster Shell Access").  The web portal also furnishes an interface to run servers for Jupyter notebooks,  RStudio, MATLAB, or Stata.

ssh connection

For most workshops, the preferred way to connect to Adroit is via an SSH (Secure Shell) client, a piece of software for establishing secure connections to remote machines. Linux and macOS have always had a built-in SSH client, and as of April 2018, so does Windows 10 (if for some reason you don't have SSH enabled under Windows 10, follow this guide to enable it).

To connect to Adroit via SSH on Linux, macOS, or Windows 10 (Windows 8 is discussed separately below):

1) Access a command-line on your laptop
  • Linux: open a Terminal window (usually by pressing Ctrl+Alt+t --- i.e. press and hold Ctrl, and without releasing it, press and hold Alt, and then without releasing either of those two keys, type 't')
  • macOS: open a Terminal window (by launching the Terminal app located in /Applications/Utilities)
  • Windows 10: Windows 10 has a few different ways to access a command-line interface
    • PowerShell or Command Prompt --- these are a couple of Window-native (DOS-like) command-line environments. To access them, press Win+x (i.e., while holding down the Windows key, type 'x'). This opens the so-called "Power Users" menu in Windows. Select either "Command Prompt" or "PowerShell" (usually you'll see one or the other, depending on which Windows updates you've installed). Note that the Command Prompt and the PowerShell are not equivalent command-line environments in general, but for the purposes of using SSH, they work the same and either will do.
    • Windows Subsystem for Linux (WSL) --- WSL is an optional feature you can enable that furnishes a genuine Linux command-line within Windows. If you have WSL enabled, then you should have an SSH client on the Linux side by default, just as you would in a regular Linux operating system.
2) SSH into Adroit

The syntax for using ssh is the same in all of the above scenarios.  Remember to make sure you're on a Princeton VPN, and then on the command line you accessed in the previous step, type

ssh <YourNetID>@adroit.princeton.edu

So for instance, if your NetID is abc1, you would type:

ssh abc1@adroit.princeton.edu

If this is your first time connecting to Adroit from whatever computer you're on, you will then see a comment about a fingerprint along with the question  Are you sure you want to continue connecting (yes/no)? Answer 'yes' and hit Enter.

You will now be prompted for your usual Princeton password.  Enter it.

NOTE: there are no asterisks or dots to indicate how many characters you've typed, so if you think you've made a typo, hit Backspace many times and enter the password from scratch

NOTE: If you've previously connected to Adroit and set up SSH keys, you will be connected without being prompted for a password first.

Depending on whether you're on a VPN and how it's configured, you may now be prompted to enter a Duo code (if you are, do so).

That's it -- you should now be connected to Adroit and see its Linux command-line prompt instead of the one for  your local computer.

3) Ending the SSH connection to Adroit

To close the SSH connection, simply type exit at the Adroit command line and press Enter. This should close the connection, and your local computer's command-line prompt should reappear.

Windows 8

Windows 8 does not have a built-in SSH client, nor does it have a WSL that offers native access to a Linux command line. So if you run Windows 8 and want to make an SSH connection from within Windows (as opposed to, say, by running Linux inside VirtualBox and connecting to Adroit from within that virtual Linux session), then you need to install a separate SSH client.

We recommend either PuTTY or MobaXTerm.  These lightweight clients (MobaXTerm has more features) have a graphical interface to initiate SSH connections.

This video shows briefly how to connect to a remote server using Putty (starting at timestamp 0:54).  In the field for "Host Name", enter adroit.princeton.edu (leave the port number as 22). When you connect and it prompts you "login as: ", enter your NetID and then your password (again, you may be asked to Duo authenticate after entering your password). You should then be logged into Adroit and see its Linux command-line prompt. For more detailed information about Putty, consult this guide.

MobaXTerm should work fairly similarly.