Connecting to the Clusters via a Web Browser

Three of Princeton's HPC clusters–Adroit, Della and Stellar–can be accessed via the web through the Open OnDemand web interface. If you are new to high-performance computing, this can be a good introductory way to start using the clusters.

In addition, this web option also opens up the possibility of using GUIs (Graphical User Interfaces) for programs such as Jupyter, RStudio, MATLAB and Stata.

 

Open OnDemand

To use the Open OnDemand web interface for Adroit, Della, or Stellar you must first have an account set-up for the cluster you wish to use. (For instructions on how to gain access, navigate to Adroit's, Della's, or Stellar's webpage in the Systems submenu of the Research Computing site.) Once you have an account, you can browse to https://myadroit.princeton.edu, https://mydella.princeton.edu, or https://mystellar.princeton.edu respectively.

Note that to access these links from off-campus you will need to use a VPN.

 

Running a Terminal in Your Web Browser

To run commands on the Adroit head node, for example, browse to MyAdroit and choose "Cluster" then "Adroit Cluster Shell Access".

Screenshots showing where to launch a cluster shell terminal from the OnDemand interface.

Users must follow the 10-10 rule on the head node of any cluster. The 10-10 rule says that you can use up to 10% of the resources of the machine for up to 10 minutes. The head node of each cluster is shared by all users so this rule prevents someone from monopolizing the machine. The head nodes should only be used for light work such as installing software, transferring files and doing short test runs. You may be contacted by a system administrator if you fail to observe the 10-10 rule.

 

Running Jupyter, RStudio, MATLAB and Stata in Your Web Browser

To begin an interactive session with Jupyter, RStudio, MATLAB, or Stata on our clusters, click on "Interactive Apps" in the top menu bar of your web browser.

When launching Jupyter, for example, you will need to click on "Interactive Apps" and then "Jupyter". You will need to choose the "Number of hours", "Number of cores" and "Memory allocated". Set "Number of cores" to 1 unless you are sure that your script has been explicitly parallelized. Click "Launch" and then when your session is ready click "Connect to Jupyter". Note that the more resources you request, the more you will have to wait for your session to become available. When your session starts, click on "New" in the upper right and choose "Python 3.7 [anaconda3/2019.10]" from the drop-down menu.

Note that Mathematica can also be used via OnDemand. If you only need a single CPU-core then consider using the Princeton Virtual Desktop which is maintained by central OIT. For more, see our Mathematica page.

Jupyter

View the Running Jupyter via Your Web Browser section on our Jupyter page for details.

Screenshots showing where to launch a Jupyter notebook from the OnDemand interface.

RStudio

View the Running RStudio via Your Web Browser section on our R page for details.

Screenshots showing where to launch RStudio from the OnDemand interface.

MATLAB

View the Running MATLAB via Your Web Browser section on our MATLAB page for details.

Screenshots showing where to launch MATLAB from the OnDemand interface.

Stata

View the Running Stata via Your Web Browser section on our Stata page for details.

Screenshots showing where to launch Stata from the OnDemand interface.