A walkthrough for the Molloi Lab, from "I have never logged in" to "I am editing code on a GPU node."
Follow it top to bottom the first time. After that you only ever need Step 3.
What you have at the end: a GPU node of your own, running for up to 3 days, that you edit code on from VS Code on your laptop exactly as if the files were local. Plus your lab's shared storage mounted on your laptop like a normal drive.
- Before you start
- Step 1. Make sure you have access
- Step 2. Install HPC3 Launcher
- Step 3. Launch a GPU session and open it in VS Code
- Step 4. Get at your files with CRSP Desktop
- Step 5. Julia, if you use it
- Cheat sheet
- When something breaks
Three things, all outside our control:
- A UCInetID. Not your student ID. If you can log into UCI webmail, you have one.
- Duo set up on your phone. Every password login to HPC3 sends a Duo push. Enroll at oit.uci.edu/duo if you have not.
- The UCI VPN, if you are off campus. HPC3 and CRSP are not reachable from home without it. Get it at oit.uci.edu/vpn.
You do not need to know Slurm. The launcher writes the job scripts.
Open Terminal (macOS) or PowerShell (Windows) and run this, with your own UCInetID:
Approve the Duo push. Three outcomes:
- You get a shell prompt. You have an account. Go to 1.2 to check your lab access.
- Permission denied / invalid account. You have no account. Go to 1.3.
- It hangs forever. You are off campus without the VPN. Connect and try again.
Once you are logged in, run:
sbank balance statement -u $USERYou want to see SYMOLLOI_LAB_GPU32 in the list. Then check storage:
ls /dfs7/symolloi-lab ls /share/crsp/lab/symolloi
If any of those say "No such file or directory" or "Permission denied", you are missing that piece. Ask for it in 1.3.
RCIC does everything through one email address. There is no form.
Send to [email protected], and cc Dr. Molloi and Dale. The cc is not a courtesy. RCIC will not grant lab resources until Dr. Molloi replies on the thread confirming it.
Copy this and fill in your details:
To: [email protected] Cc:
symolloi [at] uci.edu,djblack [at] uci.eduSubject: HPC3 account and Molloi Lab resource access forHello,
I am a new member of Dr. Sabee Molloi's lab and would like an HPC3 account.
Name: UCInetID: <your UCInetID, not your student ID> PI: Sabee Molloi (symolloi), cc'd on this email
Please also add me to the following Molloi Lab resources:
- Slurm accounts
symolloi_labandsymolloi_lab_gpu32(I need the gpu32 account for GPU jobs)- CRSP lab storage at
/share/crsp/lab/symolloi- DFS storage at
/dfs7/symolloi-labThank you,
The two cc addresses are written as name [at] uci.edu because this repo is public and we would
rather not feed address scrapers. Type them normally in your mail client.
Send it from your UCI address. You get a ticket number back automatically. RCIC usually answers within a business day.
Once you are in, the launcher shows you all of them on one screen:
DJBLACK(your own UCInetID, in caps) is your personal starter allocation. 1,000 SUs, one time.SYMOLLOI_LABis the lab's CPU allocation.SYMOLLOI_LAB_GPUandSYMOLLOI_LAB_GPU32are the lab's GPU allocations.
The one confusing thing on HPC3: gpu32 does not mean 32 GB. It is the name of the partition
holding the cards that only do fast 32-bit floating point. Those happen to be the newest and biggest
cards we have: L40S at 48 GB and RTX 6000 Blackwell at 96 GB. The older gpu partition holds the
V100 (16 GB), A30 (24 GB) and A100 (80 GB).
To submit to a partition you need a Slurm account whose name ends in that partition's name. That is
why the request in 1.3 asks for symolloi_lab_gpu32 by name.
Note the free-gpu32 row: cost 0, and a 3 day limit. That is the one you will use almost always.
The tradeoff is that a free job can be preempted if someone paying wants the node. In practice this
is rare, and 3 days is longer than most of our work.
This is our own app. It signs you in once, installs an SSH key so you never type a password again, and turns "write a Slurm script for an interactive GPU session" into picking things from dropdowns.
Go to the releases page and grab the file for your machine.
| Your machine | File |
|---|---|
| macOS | HPC3-Launcher-<version>-macos.dmg |
| Windows | HPC3-Launcher-<version>-windows-setup.exe |
| Linux | HPC3-Launcher-<version>-linux.deb |
The build is not notarized by Apple yet, so macOS blocks it once. This is a one-time thing.
-
Open the
.dmgand drag HPC3-Launcher into Applications. No admin rights on your machine? Drag it into~/Applicationsinstead. It runs the same. -
Open Terminal and clear the download quarantine flag:
xattr -dr com.apple.quarantine "/Applications/HPC3-Launcher.app" -
Open the app normally.
If you would rather not touch Terminal: double-click the app, let macOS block it, then go to System Settings → Privacy & Security, scroll to the message about HPC3-Launcher, and click Open Anyway.
The installer is per-user and needs no admin rights, so it works on lab machines.
- Double-click
HPC3-Launcher-<version>-windows-setup.exe. - The download will likely be initially blocked, click keep and download anyway.
- After download, click on the .exe in the file panel, right click and select properties, then on the bottom click the checkbox to trust (or something like that) the file.
- Finally, double click on the .exe again and the app should start installing
The first time on a given computer, use the lower box:
- Type your UCInetID and your UCI password.
- Click Sign in and remember me.
- Approve the Duo push on your phone. The status line at the bottom tells you when it is waiting on you.
What happens behind the scenes: the app generates an SSH key, uses your password once to install the public half on HPC3, and then forgets the password. It is never stored.
From then on your UCInetID appears under Saved accounts at the top, and you just click Sign in with saved key. No password, no Duo.
RCIC bans running VS Code directly on the login nodes, and they mean it:
The supported path is to run a Slurm job that starts a private SSH server on a compute node, then
point VS Code at that node. That is exactly what the launcher automates. You never have to write the
job script or hand-edit ~/.ssh/config.
Open the launcher, click VSCode in the sidebar.
Set it up like this:
| Field | What to pick | Why |
|---|---|---|
| Account | SYMOLLOI_LAB_GPU32 |
Picking the account is what selects your partition. Available SUs are shown next to it. |
| GPU Type | Any GPU (recommended), or a specific card |
"Any" schedules faster. Pick RTX6000 GPU (96 GB) only if you actually need the VRAM. |
| Memory Size | What your job needs | Start at 32G or 64G. Do not ask for 128G out of habit. |
| Number of GPUs | 1 |
Almost nothing we run uses more than one. |
| Number of CPUs | Leave it | The app computes this from your memory choice, because Slurm caps RAM per core and would silently bump it anyway. |
| Run Time | Up to 3-00:00:00 |
3 days is the free-queue ceiling. |
| Use Free Resources | Yes |
Costs no SUs. Use this unless you have a deadline and cannot risk preemption. |
Then click Launch New Session.
Your job appears in the table at the bottom as PENDING, then flips to RUNNING with a node name
like hpc3-gpu-n54-01, and the Connect column turns to Ready.
Free-queue waits are usually seconds to a few minutes. You can watch the whole cluster on the Node Status page while you wait:
Green means room, red means busy. It is a decent way to guess whether to ask for a V100 or an L40S right now.
The Job Management page shows everything you have running, including jobs you started elsewhere:
Do this once. If you already use VS Code remotely, skip it.
- Install VS Code if you do not have it.
- Open the Extensions panel and install Remote - SSH by Microsoft (marketplace link).
That is the whole aside. You do not need to configure it. The launcher already wrote the host
entries into your ~/.ssh/config.
In VS Code press Shift+Cmd+P on macOS, or Ctrl+Shift+P on Windows, and type
Remote-SSH: Connect to Host.
Pick Remote-SSH: Connect to Host... and you get the list of hosts the launcher has written:
Pick the hpc3-gpu-... entry matching the node from 3.2. Ignore the hpc_login_... entries, those
are the jump hosts the launcher uses internally.
A new window opens. The bottom-left corner turns green and says the node name. You are now editing on the GPU node. File → Open Folder and go to your work.
| Path | Size | Backed up | Use it for |
|---|---|---|---|
~ (home) |
50 GB | Yes, snapshots | Config and small scripts only |
/pub/<ucinetid> |
1 TB | Selective | Your own datasets, job output, scratch |
/dfs7/symolloi-lab |
Lab purchase | No. Deleted is gone forever. | Fast scratch for big shared jobs |
/share/crsp/lab/symolloi |
10 TB lab quota | Yes, two copies plus offsite | Anything you cannot lose |
Put working data in /pub/<ucinetid> or /dfs7/symolloi-lab. Put results you care about in CRSP.
Cancel sessions you are done with. Even free jobs hold a node. Select the session in the launcher and click Cancel Selected Session.
Watch your home directory. VS Code installs a ~/.vscode-server directory on the cluster and it
grows. Your home quota is only 50 GB. If VS Code starts refusing to connect, that is usually why:
du -sh ~/.vscode-server rm -rf ~/.vscode-server # safe, VS Code reinstalls it on next connect
Step 3 gets you a terminal and an editor. CRSP Desktop gets you the lab's shared storage as a folder
in Finder or File Explorer, so you can drag files in and out without scp.
CRSP is the campus research storage pool. Our lab has 10 TB of it at /share/crsp/lab/symolloi,
replicated across two campus data centers and backed up offsite. CRSP Desktop is a UCI-licensed SFTP
client that mounts that space as a drive.
Use the RCIC install page as the source of truth, since the download is behind UCI login:
rcic.uci.edu/storage/crsp-clients.html
- Go to access.crsp.uci.edu/myfiles and log in with your UCInetID and Duo. Be on the VPN if you are off campus.
- Open the CRSP-Desktop-Downloads tab and click CONNECT.
- Download the installer for your platform. macOS gets a
.pkg, Windows gets an.exe. Windows will ask you to reboot.
Do not install plain Mountain Duck from the internet. RCIC's build has the license key embedded. If you already have Mountain Duck, uninstall it first.
The installer gives you a bookmark template. Five fields:
| Field | Value |
|---|---|
| Nickname | CRSP LAB - Molloi |
| Username | your UCInetID, nothing else, no domain prefix |
| SSH Private Key | path to your SSH key |
| Path | /mmfs1/crsp/lab/symolloi |
| Connect Mode | Online |
Two notes that save pain. The path is /mmfs1/crsp/..., not /share/crsp/.... That second form is
only how it looks from inside HPC3. And use the SSH key rather than your password, otherwise Duo
prompts you every single time the connection re-establishes.
Set Connect Mode to Online so files stay on CRSP instead of filling your laptop's disk.
Once mounted, you will see a share/ folder that everyone in the lab can read and write, plus a
folder named after each of us. Anything you drop there shows up on HPC3 under
/share/crsp/lab/symolloi immediately. Same bytes, two doors.
Check the lab's remaining space any time:
cat /share/crsp/home/$USER/quotas.txtSkip this section entirely if you work in Python.
Do this on the cluster, inside a VS Code terminal on your GPU node.
There are Julia modules on HPC3 (module avail julia shows 1.6.0, 1.8.2, 1.9.3 and 1.12.4), but
juliaup is better for us. It installs into your home directory, needs no admin rights, and lets you
switch versions per project.
curl -fsSL https://install.julialang.org | shRestart your shell, then check it:
juliaup status
On Windows, if you also want Julia locally: winget install --name Julia --id 9NJNWW8PVKMN -e -s msstore.
Useful commands: juliaup update, juliaup add 1.11, juliaup default 1.11.
One warning. juliaup puts packages in ~/.julia, and your HPC3 home is only 50 GB. If you install a
lot of packages, move the depot:
export JULIA_DEPOT_PATH=/pub/$USER/.julia
Put that in your ~/.bashrc so it sticks.
SpaceStation is our Pluto notebook workspace. It has the same remote model as VS Code Remote-SSH:
pick a host from your ~/.ssh/config and the whole workspace, files, kernels and terminal, runs
there over an SSH tunnel.
Install the CLI from inside Julia:
julia> import Pkg; Pkg.Apps.add(url="https://github.com/GroupTherapyOrg/SpaceStation.jl")
Then run it:
spacestation ~/projectOr use the desktop app from the latest release, which bundles Julia so a machine with nothing installed still works. On macOS you need the same two unquarantine commands the README lists.
Because the launcher already wrote your GPU node into ~/.ssh/config, that node shows up in
SpaceStation's opener with no extra setup:
Click the host and the entire workspace runs on the GPU node:
Daily loop, once you are set up:
- Open HPC3 Launcher, click Sign in with saved key.
- VSCode page, check your settings, Launch New Session.
- Wait for Ready, note the node name.
- VS Code,
Shift+Cmd+P,Remote-SSH: Connect to Host, pick that node. - Work.
- Cancel Selected Session when you are done.
Commands worth knowing on the cluster:
squeue -u $USER # what am I running sbank balance statement -u $USER # how many SUs are left seff -j <jobid> # did my finished job actually use what it asked for scancel <jobid> # kill a job module avail # what software is installed du -sh ~/.vscode-server # the usual cause of a full home directory cat /share/crsp/home/$USER/quotas.txt # CRSP space left
Key facts to remember:
- Off campus means VPN. Always.
gpu32is a partition name, not a memory size.- Free queues cost nothing and cap at 3 days.
- Your home is 50 GB. Real data goes in
/pub,/dfs7/symolloi-lab, or CRSP. /dfs7is not backed up.
"It just hangs when I try to connect." VPN. This is the answer more than half the time.
VS Code cannot connect to a node that worked yesterday. The job ended. Nodes are per-job. Launch a new session and connect to the new node name.
VS Code connects then immediately drops. Home directory is full. See 3.6.
"Requested node configuration is not available." You picked a card that does not live in your account's partition. Set GPU Type back to "Any GPU" and let the launcher route it.
Your job sits PENDING for a long time. The free queue is busy. Check Node Status for a card type with room, or switch Use Free Resources to No if you have SUs and a deadline.
Duo prompts you every time in CRSP Desktop. You are using password auth. Switch the bookmark to the SSH key.
Anything else, email [email protected] from your UCI address. Include your UCInetID, the exact command you ran, and the exact error as text rather than a screenshot. They answer within a business day and do not work weekends.















