Skip to main content
This walkthrough is for organization members with Slurm SSH access. If someone shared a Kubernetes cluster or namespace with you, start with Access to a shared cluster.

Before you start

You need:
  • An Andromeda account in an organization that has a running Slurm cluster.
  • The clusters.read and clusters.ssh permissions in that organization. The Engineer profile includes both. If you’re not sure, continue: step 2 shows how to check.
  • The andromeda CLI, jq, and OpenSSH. Authentication explains how to get the CLI.
1

Sign in

Open the URL the CLI prints, sign in, and enter the code. See Authentication for details.
2

Find your organization

Save the organization ID:
If this prints nothing, you belong to more than one organization. Set ORG_ID to the org_id of the one that owns the cluster, from the list above.Check which permissions you have in it:
organization.owner or organization.admin also covers everything on this page. If you have neither, and clusters.read or clusters.ssh is missing, ask an owner or admin of the organization to grant it. See Permissions.
3

Find your cluster

Save the ID of the first active cluster. If the organization has several, set CLUSTER_ID to the one you want instead.
Check that the cluster runs Slurm and that Slurm is ready:
sunk means the cluster runs Slurm. If it shows kubernetes, the cluster has no Slurm login node; use kubectl instead.
4

Register your SSH key

The key must be Ed25519. Create one with ssh-keygen -t ed25519 if you don’t have one.
Your first key adds you to the user list of every cluster where you have SSH access, which restarts their compute nodes and ends the jobs running on them. If others are running jobs, register your key when they are done; see Access changes restart nodes.
The cluster now sets up your login. Wait until it is ready:
While your login is being set up, the endpoint returns 200 with ready: false and a reason, which the loop prints. The loop gives up after ten minutes, or at the first HTTP error. If it ends without printing SSH access is ready, see Troubleshooting.srun can still fail for a few minutes after this, while compute nodes and Slurm accounting catch up; see Wait for access.
5

Connect

The login name is the cluster ID, a dot, and your username. You land in your home directory on the cluster’s login node.
6

Run on a GPU

On the login node, sinfo lists the partitions and nodes. Run nvidia-smi on one node, with all 8 of its GPUs:

Next steps