We now provide various interactive Apps through the browser-based Open OnDemand service available at https://lrc-ondemand.lbl.gov.
Apps/services include:
- Jupyter notebooks
- RStudio
- Matlab
- VMD
- File browsing
- Slurm job listing
- Terminal/shell access (under the “Clusters” tab)
The Open OnDemand service is a new service. Please let us know if you run into problems or have suggestions or feature requests. We will be adding information to this page in the near future.
Logging In
- Visit https://lrc-ondemand.lbl.gov in your web browser.
- Use your LRC username and PIN+one-time password (OTP)
- These are the same credentials you use to login to Lawrencium via SSH.
- The username is only your LRC username and should not include the part after any @ sign.
- Correct username format: yourusername
- Incorrect username format: yourusername@lbl.gov
Service Unit Charges
Open OnDemand apps may launch Slurm jobs on your behalf when requested. Open OnDemand refers to these jobs as “interactive sessions“. Since these are just Slurm jobs, service units are charged for interactive sessions the same way normal jobs are charged.
Interactive sessions running on nodes whose hostnames ending in .ood0 do not cost service units. Nodes ending in .ood0 are shared nodes that are provided for low-intensity jobs. These should be treated like login nodes (that is, no intensive computation is allowed).
Job time is counted for interactive sessions as the total time the job runs. The job starts running as soon as a node is allocated for the job. The interactive session may still be running even if you do not have it open in your web browser. You can view all currently running interactive sessions under My Interactive Sessions. When you are done, you may stop an interactive session by clicking “Delete” on the session.
There are several ways to monitor usage:
- Since Open OnDemand submits jobs through Slurm, you can monitor usage as you would monitor your regular Slurm jobs.
- View currently running (and recent) sessions launched by Open OnDemand under My Interactive Sessions.
- View all currently running jobs under Jobs > Active Jobs.
Using Open OnDemand
Here are the services provided via Open OnDemand.
Files App
Access the Files App from the top menu bar under Files > Home Directory. Using the Files App, you can use your web browser to:
- View files in the Lawrencium filesystem.
- Create and delete files and directories.
- Upload and download files from the Lawrencium filesystem to your computer.
- We recommend using Globus for large file transfers.
View Active Jobs
View and cancel active Slurm jobs from Jobs > Active Jobs. This includes jobs started via sbatch and srun as well as jobs started (implicitly) via Open OnDemand (as discussed above).
Shell Access
Open OnDemand allows Lawrencium shell access from the top menu bar under Clusters > LRC Shell Access.
Interactive Apps
Open OnDemand provides additional interactive apps. You can launch interactive apps from the Interactive Apps menu on the top menu bar. The available interactive apps include:
- Jupyter Server (for working with Jupyter notebooks)
- RStudio Server (for working in RStudio sessions)
- MATLAB (to interact with the MATLAB GUI through a VNC session)
- VMD (to interact with the VMD GUI through a VNC session)
Jupyter Server
See the Jupyter documentation page for instructions on using Jupyter notebooks via Open OnDemand. This service replaces the JupyterHub service that we formerly provided.
- Select Jupyter Server – compute in batch queues under Interactive Apps
- Provide the job specification you want for the Jupyter server.
- Once Jupyter is ready, click Connect to Jupyter to access Jupyter
Service units are charged based on job run time. The job may still be running if you close the window or log out. When you are done, shut down Jupyter by clicking “Delete” on the session under My Interactive Sessions. You can confirm that the interactive session has stopped by checking My Interactive Sessions.
RStudio Server
The RStudio server allows you to use RStudio on Lawrencium.
- Select RStudio Server – compute in batch queues under Interactive Apps
- Provide the job specification you want for the RStudio server.
- Once RStudio is ready, click Connect to RStudio Server to access RStudio
Service units are charged based on job run time. The job may still be running if you close the window or log out. When you are done, shut down RStudio by clicking “Delete” on the session under My Interactive Sessions. You can confirm that the interactive session has stopped by checking My Interactive Sessions.
MATLAB
The MATLAB allows you to use MATLAB GUI on Lawrencium.
- Select MATLAB from the Interactive Apps menu.
- Specify the amount of time you would like the MATLAB to run.
- Once the MATLAB is ready, click Launch MATLAB to access MATLAB GUI.
Service units are charged based on job run time. The job may still be running if you close the window or log out. When you are done, shut down MATLAB by clicking “Delete” on the session under My Interactive Sessions. You can confirm that the interactive session has stopped by checking My Interactive Sessions.
VMD
The VMD allows you to use VMD GUI on Lawrencium.
- Select VMD from the Interactive Apps menu.
- Specify the amount of time you would like the VMD to run.
- Once the VMD is ready, click Launch VMD to access VMD GUI.
Service units are charged based on job run time. The job may still be running if you close the window or log out. When you are done, shut down VMD by clicking “Delete” on the session under My Interactive Sessions. You can confirm that the interactive session has stopped by checking My Interactive Sessions.
Debugging Open OnDemand
If you have trouble logging into OOD (including if the login pop-up box keeps reappearing after you enter your username and password), you may need to make sure you have completely exited out of other OOD sessions. This could include closing browser tab(s)/window(s), clearing your browser cache and clearing relevant cookies. You might also try running OOD in an incognito window (or if using Google Chrome, in a new user profile).
Logs and scripts for each interactive session with Open OnDemand are stored in:
~/ondemand/data/sys/dashboard/batch_connect/sys
There are directories for each interactive app type within this directory. For example, to see the scripts and logs for a Jupyter session, you might look at the files under:
~/ondemand/data/sys/dashboard/batch_connect/sys/lrc_jupyter/output/da19101d-70b0-43c1-84ff-7d9f0e739419