GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - MolloiLab/hpc3-onboarding: Getting started on UCI's HPC3 cluster: access, GPU sessions, VS Code, CRSP, and Julia. A step-by-step walkthrough with screenshots.

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
images
images
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 

Repository files navigation

Working on HPC3

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.


Contents

  1. Before you start
  2. Step 1. Make sure you have access
  3. Step 2. Install HPC3 Launcher
  4. Step 3. Launch a GPU session and open it in VS Code
  5. Step 4. Get at your files with CRSP Desktop
  6. Step 5. Julia, if you use it
  7. Cheat sheet
  8. When something breaks

Before you start

Three things, all outside our control:

  1. A UCInetID. Not your student ID. If you can log into UCI webmail, you have one.
  2. 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.
  3. 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.


Step 1. Make sure you have access

1.1 Test what you already have

Open Terminal (macOS) or PowerShell (Windows) and run this, with your own UCInetID:

ssh [email protected]

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.

1.2 Check whether you are on the lab's accounts

Once you are logged in, run:

sbank balance statement -u $USER

You 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.

1.3 Request whatever you are missing

RCIC does everything through one email address. There is no form.

RCIC getting an account page

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.edu Subject: HPC3 account and Molloi Lab resource access for

Hello,

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:

  1. Slurm accounts symolloi_lab and symolloi_lab_gpu32 (I need the gpu32 account for GPU jobs)
  2. CRSP lab storage at /share/crsp/lab/symolloi
  3. DFS storage at /dfs7/symolloi-lab

Thank 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.

1.4 What those accounts actually mean

Once you are in, the launcher shows you all of them on one screen:

Account balance page in HPC3 Launcher

  • DJBLACK (your own UCInetID, in caps) is your personal starter allocation. 1,000 SUs, one time.
  • SYMOLLOI_LAB is the lab's CPU allocation.
  • SYMOLLOI_LAB_GPU and SYMOLLOI_LAB_GPU32 are 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.

HPC3 GPU partition table

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.


Step 2. Install HPC3 Launcher

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.

2.1 Download it

Go to the releases page and grab the file for your machine.

HPC3 Launcher release assets on GitHub

Your machine File
macOS HPC3-Launcher-<version>-macos.dmg
Windows HPC3-Launcher-<version>-windows-setup.exe
Linux HPC3-Launcher-<version>-linux.deb

2.2 First launch on macOS

The build is not notarized by Apple yet, so macOS blocks it once. This is a one-time thing.

  1. Open the .dmg and drag HPC3-Launcher into Applications. No admin rights on your machine? Drag it into ~/Applications instead. It runs the same.

  2. Open Terminal and clear the download quarantine flag:

    xattr -dr com.apple.quarantine "/Applications/HPC3-Launcher.app"
  3. 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.

2.3 First launch on Windows

The installer is per-user and needs no admin rights, so it works on lab machines.

  1. Double-click HPC3-Launcher-<version>-windows-setup.exe.
  2. The download will likely be initially blocked, click keep and download anyway.
  3. 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.
  4. Finally, double click on the .exe again and the app should start installing

2.4 Sign in, once

HPC3 Launcher sign-in window

The first time on a given computer, use the lower box:

  1. Type your UCInetID and your UCI password.
  2. Click Sign in and remember me.
  3. 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.


Step 3. Launch a GPU session and open it in VS Code

Why we do it this way

RCIC bans running VS Code directly on the login nodes, and they mean it:

RCIC warning about VSCode on login nodes

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.

3.1 Fill in the VSCode page

Open the launcher, click VSCode in the sidebar.

VSCode Remote Configuration page in HPC3 Launcher

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.

3.2 Wait for Ready

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:

Node Status page showing GPU nodes

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:

Job Management page

3.3 Aside: install Remote-SSH in VS Code

Do this once. If you already use VS Code remotely, skip it.

  1. Install VS Code if you do not have it.
  2. Open the Extensions panel and install Remote - SSH by Microsoft (marketplace link).

Remote - SSH extension on the VS Code marketplace

That is the whole aside. You do not need to configure it. The launcher already wrote the host entries into your ~/.ssh/config.

3.4 Connect

In VS Code press Shift+Cmd+P on macOS, or Ctrl+Shift+P on Windows, and type Remote-SSH: Connect to Host.

VS Code command palette with Remote-SSH

Pick Remote-SSH: Connect to Host... and you get the list of hosts the launcher has written:

VS Code SSH host list showing HPC3 GPU nodes

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.

3.5 Where to put your files

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.

3.6 Housekeeping

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 4. Get at your files with CRSP Desktop

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.

4.1 What it is

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

RCIC CRSP clients page

4.2 Install

  1. Go to access.crsp.uci.edu/myfiles and log in with your UCInetID and Duo. Be on the VPN if you are off campus.
  2. Open the CRSP-Desktop-Downloads tab and click CONNECT.
  3. 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.

4.3 Set up the bookmark

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.

4.4 It is the same data

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.txt

Step 5. Julia, if you use it

Skip this section entirely if you work in Python.

5b. First, install Julia with juliaup

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 | sh

Restart your shell, then check it:

juliaup status

On Windows, if you also want Julia locally: winget install --name Julia --id 9NJNWW8PVKMN -e -s msstore.

juliaup on GitHub

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.

5.1 SpaceStation

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 ~/project

Or 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:

SpaceStation SSH remotes list

Click the host and the entire workspace runs on the GPU node:

SpaceStation workspace opener


Cheat sheet

Daily loop, once you are set up:

  1. Open HPC3 Launcher, click Sign in with saved key.
  2. VSCode page, check your settings, Launch New Session.
  3. Wait for Ready, note the node name.
  4. VS Code, Shift+Cmd+P, Remote-SSH: Connect to Host, pick that node.
  5. Work.
  6. 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.
  • gpu32 is 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.
  • /dfs7 is not backed up.

When something breaks

"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.

About

Getting started on UCI's HPC3 cluster: access, GPU sessions, VS Code, CRSP, and Julia. A step-by-step walkthrough with screenshots.

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.