HPC Starter GitHub

Meet the Machine

Before we work, let’s see what we’re on. Run these (the comments are what you’ll see):

whoami        # your username
hostname      # which node you're on
nproc         # cores you can use here   ->  1
lscpu         # the machine's full spec  ->  144 cores
free -h       # memory (237 GB, shared)
module list   # software switched on right now

Wait, 1 core or 144?

THE MACHINE HAS
144 cores
237 GB RAM · ARM (Grace)
from lscpu
YOU GET, RIGHT NOW
1 core
you're on the login node
from nproc
Same machine, different access. The login node is the shared lobby. Want all 144 cores and the GPUs? You reserve a compute node. (That's why heavy work never runs here, you only have one core.)
Why only 1 core? (click)

The login node is shared by everyone logged in. The system caps each person to a sliver so no one slows it down for the class. The 144 cores are real, run nproc --all and you'll see all of them. You just can't use them here.

What’s a module?

Software you switch on when you need it

The supercomputer is a workshop with every tool on locked shelves. Nothing's on by default. module load python3 takes Python off the shelf and onto your bench. Log out, and the bench clears.

The module commands (click)
module availWhat's on the shelves?
module load python3Put a tool on my bench
module listWhat's on my bench now?
module purgeClear the bench

Modules don't stick around. Every login starts with a fresh bench, so you reload what you need.

Checkpoint. You saw the machine is huge, that you get a sliver of it on the login node, and what a module is.

Next: Look Around