Perlmutter logo

Perlmutter

Organization
AI-ModCon
perlmutter

NERSC Perlmutter supercomputer (Lawrence Berkeley National Lab). Use when submitting Slurm jobs on Perlmutter, choosing CPU vs GPU node types (-C cpu or -C gpu), selecting QOS tiers (debug, regular, premium, preempt, shared), checking NERSC allocations with the iris command or iris.nersc.gov, working with scratch storage ($SCRATCH/$PSCRATCH), loading modules, or writing job scripts for Perlmutter's NVIDIA A100 GPU nodes or AMD Milan CPU nodes.

Overview

PublisherAI-ModCon
Repositorygenesis-skills
Skill nameperlmutter
Stars
37
Forks
16
Bundled files
3
LicenseBSD-2-Clause
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by AI-ModCon on GitHub. Read the source before you install it.

Installation

Install the Perlmutter AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/AI-ModCon/genesis-skills/tree/main/skills/hpc-skills/perlmutter
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AI-ModCon/genesis-skills.git /tmp/genesis-skills
mkdir -p .claude/skills
cp -r /tmp/genesis-skills/skills/hpc-skills/perlmutter .claude/skills/perlmutter
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Perlmutter in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Perlmutter on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Perlmutter is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Perlmutter — NERSC Supercomputer

Perlmutter is NERSC's GPU-accelerated Cray EX system at Lawrence Berkeley National Laboratory. It uses Slurm as its workload manager.

System Overview

ComponentSpecification
CPU nodes3,072 × 2× AMD EPYC 7763 "Milan" (128 cores/node, 512 GB RAM)
GPU nodes1,792 × 1× AMD Milan + 4× NVIDIA A100 40 GB (256 GB RAM)
NetworkHPE Slingshot-11, 3-hop dragonfly
Scratch44 PB Lustre (all-flash, >6 TB/s)

Critical Requirements

Every Perlmutter job MUST include -A <account> and -C cpu or -C gpu. Jobs without these will fail or target the wrong node type.

bash
#SBATCH -A myproject       # your NERSC project name (required)
#SBATCH -C gpu             # or -C cpu (required)

Partitions and QOS

QOSMax walltimeMax nodesSU costNotes
debug30 min8 (GPU), 8 (CPU)1×Fast start; use for testing
regular12 hr256 (GPU), 512 (CPU)1×Standard production
premium24 hrsame as regular2×Higher priority
preempt48 hrlarger0.25× (GPU) / 0.5× (CPU)Discounted; may be preempted
shared12 hr—fractionalPartial node, billed per resource

Big job discount: jobs using ≥128 GPU nodes or ≥256 CPU nodes are charged at 50% SU rate.

Specify with --qos=<name>, e.g. #SBATCH --qos=debug.

Quick Slurm Reference

bash
sbatch script.sh                   # submit
squeue -u $USER                    # your jobs
squeue -j 12345 --start            # estimated start time
scontrol show job 12345            # full detail
scancel 12345                      # cancel
sacct -j 12345 --format=JobID,State,Elapsed,MaxRSS,ExitCode
salloc -N1 -C gpu --qos=debug -t 30:00 -A myproject   # interactive

Job state codes: PD=Pending, R=Running, CD=Completed, CA=Cancelled, F=Failed, TO=Timeout

Minimal Job Script — GPU

bash
#!/bin/bash
#SBATCH -A myproject
#SBATCH -C gpu
#SBATCH -q regular
#SBATCH -N 1
#SBATCH --ntasks-per-node=4
#SBATCH --gpus-per-task=1
#SBATCH -c 32                    # CPU cores per task (128 cores / 4 tasks)
#SBATCH -t 2:00:00
#SBATCH -o job_%j.out
#SBATCH -e job_%j.err

module load cudatoolkit
export SLURM_CPU_BIND="cores"
srun ./my_gpu_app

Minimal Job Script — CPU

bash
#!/bin/bash
#SBATCH -A myproject
#SBATCH -C cpu
#SBATCH -q regular
#SBATCH -N 4
#SBATCH --ntasks-per-node=128
#SBATCH -t 4:00:00
#SBATCH -o job_%j.out

module load PrgEnv-gnu cray-mpich
srun ./my_mpi_app

Checking Allocations

bash
# CLI (run on any Perlmutter login node)
iris                          # summary of your projects
iris hours                    # CPU/GPU hours used vs. allocated
iris jobs                     # recent job history with charges
iris jobs --project myproject # filter by project

# Web
# https://iris.nersc.gov  — "My Account" tab shows remaining balance

Storage

FilesystemPathQuotaPurge policyUse for
$HOME/global/homes/u/user40 GBNoneCode, configs
$SCRATCH / $PSCRATCH/pscratch/sd/u/user20 TB8-week auto-purgeJob I/O
$CFS/global/cfs/cdirs/<proj>variesNoneLong-term project data
$TMPDIRnode-local~200 GBJob lifetimeFast temporary scratch

Warning: Files in $SCRATCH not accessed for 8 weeks are automatically deleted without notice. Always check ages with lfs find $SCRATCH --atime +56 -maxdepth 2.

Always write job output to $SCRATCH, not $HOME.

Modules

bash
module avail                      # list available modules
module spider <pkg>               # search for a package
module load PrgEnv-gnu            # GCC-based Cray PE
module load cudatoolkit           # NVIDIA CUDA for GPU nodes
module load cray-mpich            # Cray MPI library
module list                       # show what's loaded
module purge                      # unload everything

Cray compiler wrappers (cc, CC, ftn) link the correct MPI and libraries automatically when the appropriate PrgEnv module is loaded.

Interactive Jobs

bash
# GPU interactive session (debug QOS, 30 min)
salloc -N 1 -C gpu --qos=debug -t 30:00 -A myproject \
  --ntasks-per-node=4 --gpus-per-task=1 -c 32

# CPU interactive session
salloc -N 2 -C cpu --qos=debug -t 30:00 -A myproject \
  --ntasks-per-node=128

# Once inside, run steps with srun
srun -n 4 --gpus-per-task=1 ./my_app

Common Gotchas

  • Forget -C cpu/-C gpu → job may queue indefinitely or hit wrong partition
  • Write to $HOME instead of $SCRATCH → quota exceeded, job fails
  • $SCRATCH files older than 8 weeks → silently deleted
  • Not setting SLURM_CPU_BIND=cores on GPU nodes → suboptimal CPU affinity
  • Using wrong account name → charges wrong allocation or job rejected

Additional Resources

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Perlmutter AI skill do?

NERSC Perlmutter supercomputer (Lawrence Berkeley National Lab). Use when submitting Slurm jobs on Perlmutter, choosing CPU vs GPU node types (-C cpu or -C gpu), selecting QOS tiers (debug, regular, premium, preempt, shared), checking NERSC allocations with the iris command or iris.nersc.gov, working with scratch storage ($SCRATCH/$PSCRATCH), loading modules, or writing job scripts for Perlmutter's NVIDIA A100 GPU nodes or AMD Milan CPU nodes.

Why use Perlmutter on TypingMind?

Because you install it once and use it with any model. Perlmutter is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Perlmutter in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/AI-ModCon/genesis-skills/tree/main/skills/hpc-skills/perlmutter. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Perlmutter?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Perlmutter?

As many as you like. As long as a model supports skills, you can use Perlmutter with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Perlmutter AI skill free?

Yes. It is published on GitHub by AI-ModCon under the BSD-2-Clause license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇