Open OnDemand lets you use the SCRC cluster from your web browser. You can manage files, open a terminal, check on jobs, and start a full Linux desktop or a VS Code editor running on a compute node. You don't need to install anything on your computer.
Connect to the NYU VPN first, just as you would for SSH, and go the address below:
https://ood.scrc.nyu.edu
Everything is reached from the menu bar at the top of the page:
| Menu | What it's for |
| ----------------------- | -------------------------------------- |
| Files | Browse, upload and download your files |
| Jobs | See your running and queued jobs |
| Clusters | Open a terminal on the login node |
| Interactive Apps | Start a remote desktop or VS Code |
| My Interactive Sessions | See and reconnect to your sessions |
Files > Home Directory opens a file browser. Use Upload and Download to move files between your computer and the cluster, which is often easier than scp or FileZilla. You can also create, copy, move and delete files and folders.
The browser starts in your home directory. Most of your work belongs in ~/bigdata, so use Change directory to go there. Open in Terminal opens a terminal in the folder you're viewing.
The Clusters menu opens a terminal on the login node in a new browser tab. It works the same as logging in with SSH. The first time, type yes when asked whether to trust the server, then enter your password.
Jobs > Active Jobs lists your queued and running jobs, the same information squeue gives you. Use the Your Jobs menu to switch to all jobs on the cluster.
The SCRC Cluster Status page shows how busy the cluster is: the nodes, processors and GPUs available, and the number of jobs running and queued. Check it before starting a large job or session.
A remote desktop or VS Code session is a Slurm job. When you start one, you choose how many hours, CPUs and how much memory you need, and Slurm runs the session on a compute node when those resources are free. Unlike the login node, you can run your programs directly inside a session, using the resources you requested.
The session ends when its time runs out, and anything still running in it stops. Closing the browser tab does not end it. Go to My Interactive Sessions to reconnect, or click Delete to end the session and free the resources for others when you're done.
Use the remote desktop when you need a graphical program, such as a plot window or a program's own interface.
1. Go to Interactive Apps > Desktop.
2. Choose your hours, CPUs and memory, then click Launch.
3. Wait until the session shows Running. This may take a moment if the cluster is busy.
4. Click Launch Desktop. The desktop opens in a new browser tab.
The desktop has an Applications menu, a file manager and a terminal, all running on the compute node. If the desktop is slow over your connection, raise Compression or lower Image Quality on the session card before launching it.
The View Only (Share-able Link) button creates a link that lets someone else watch your desktop. Only share it with people you trust.
The Code Server app runs VS Code in your browser, on a compute node. It's an easier way to write and debug code than a terminal editor such as nano or vim, with syntax highlighting, a file explorer, a built-in terminal, and extensions for linting and formatting.
1. Go to Interactive Apps > Code Server.
2. Set Number of hours, Number of CPUs and Memory (GB).
3. Under Working Directory, click Select Path and choose your project folder, for example ~/bigdata/slurmExamples. If you leave it empty, VS Code opens your home directory.
4. Click Launch.
5. Wait until the session shows Running, then click Connect to VS Code. The editor opens in a new browser tab.
Your files appear in the Explorer on the left. Open the built-in terminal from the Terminal menu. It runs on the compute node, so you can run and test your programs there directly.
If something isn't working, try a private or incognito window first.
Open OnDemand signs you in with a browser login box (Apache Basic Authentication backed by PAM). Your browser remembers what you typed until every one of its windows is closed. If it remembers a mistyped or old password, sign-in keeps failing. A private window (Incognito in Chrome, Private Window in Safari and Firefox, InPrivate in Edge) starts fresh every time and fixes most sign-in problems.
I see an error saying my username "is being mapped to" another name and "they don't match".
You signed in with your full email address, such as xy12@nyu.edu, instead of just your NetID. Your browser remembers what you typed, so typing it again correctly in the same window won't help. Open a private window and sign in with your NetID only, such as xy12. To use your normal window again, close all of your browser's windows first.
The login box keeps coming back, or I get "Unauthorized".
Use a private window. Sign in with your NetID only (for example xy12, not your email address) and your NetID password. If you recently changed your NetID password, your browser may still be sending the old one, so close all of its windows or use a private window.
The page won't load or times out.
Check that you're connected to the NYU VPN. Make sure the address is https://ood.scrc.nyu.edu.
I clicked Log Out, but I'm still signed in.
With this sign-in method, your browser keeps your login until you close all of its windows. On a shared or public computer, always use a private window and close it when you're done.
My session stays Queued or Starting.
The cluster may not have the CPUs or memory you asked for free right now. Check the SCRC Cluster Status page. You can wait, or delete the session and start a new one with fewer CPUs, less memory or fewer hours.
My session ended before I was done.
Sessions end when their time runs out, and anything still running in them stops. A session can also end early if your program uses more memory than you requested. Start a new session with more hours or memory, and save your work regularly.
How do I see why a session failed?
Click the Session ID on the session card to open the session's folder. The output.log file there shows what happened when the session started and ran.
I closed the browser tab. Is my session gone?
No. It keeps running until its time runs out. Go to My Interactive Sessions and click Launch Desktop or Connect to VS Code to pick up where you left off. This also works after your computer sleeps or your connection drops.
Does clicking Delete remove my files?
No. Delete only ends the session. Saved files stay where they are. Unsaved changes in open programs are lost, so save first.
Launch Desktop or Connect to VS Code opens a blank page or an error.
The session may still be starting, so wait a minute and try again. Allow pop-ups for ood.scrc.nyu.edu, because the session opens in a new tab. If it still fails, try a private window.
Can I run programs inside a session?
Yes. A session is a Slurm job on a compute node, so you can run programs in it using the CPUs and memory you requested. Keep longer or larger work in batch jobs, which keep running when you're not connected and don't tie up resources while you're away.
The desktop is slow or blurry.
You don't need to start a new session. Go back to the session card, raise Compression or lower Image Quality, then click Launch Desktop again.
How do I copy and paste between my computer and the desktop?
Open the small panel on the left edge of the desktop tab and use its Clipboard box. Paste text there to send it to the desktop, or copy text out of it.
The desktop window is the wrong size.
Resize your browser window, or use the settings in the same left-edge panel to scale the desktop to fit.
Some keyboard shortcuts close my tab or do something unexpected.
Your browser handles some shortcuts before VS Code sees them. For example, Ctrl+W (Cmd+W on a Mac) closes the browser tab instead of the file. Use the File menu for these, or click the X on the editor tab.
Copy and paste doesn't work.
Your browser may ask for permission to use the clipboard. Click Allow.
I can't find an extension.
Code Server uses the Open VSX marketplace, which doesn't include a few Microsoft extensions such as Pylance. Search for an alternative. For example, the Python extension and Ruff are both available.
Python says "No module named ..." or uses the wrong version.
VS Code may be using the system Python instead of your virtual environment. Run "Python: Select Interpreter" from the Command Palette and choose the python inside your environment. In the built-in terminal, activate the environment with its source command, just as you would over SSH.
Can I use modules in VS Code?
Yes. The built-in terminal works like any other terminal on the cluster, so module avail and module load work there.
I can't see files that start with a dot, such as .bashrc.
In Files, tick Show Dotfiles.
I get "Disk quota exceeded".
Home directories have a small quota. VS Code extensions and caches are stored in your home directory and can fill it up. Keep your projects and data in ~/bigdata. To see what's using space in your home directory, run this in a terminal:
du -sh ~/.[!.]* ~/* 2>/dev/null | sort -h | tail
An upload or download is slow or fails.
The browser is best for small and medium files. For large files or many files, use scp or FileZilla, as described on the Get Started page
Email scrc-list@stern.nyu.edu. Include your NetID, what you were doing, and the exact error message or a screenshot. For a session problem, include the session ID and its output.log if you can.