ai-modcon/genesis-skills/perlmutter
Claude Code and agent skill by ai-modcon/genesis-skills
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install ai-modcon/genesis-skills/perlmutterSKILL.md
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
| Component | Specification | |
|---|---|---|
| CPU nodes | 3,072 × 2× AMD EPYC 7763 "Milan" (128 cores/node, 512 GB RAM) | |
| GPU nodes | 1,792 × 1× AMD Milan + 4× NVIDIA A100 40 GB (256 GB RAM) | |
| Network | HPE Slingshot-11, 3-hop dragonfly | |
| Scratch | 44 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.
Partitions and QOS
| QOS | Max walltime | Max nodes | SU cost | Notes | |
|---|---|---|---|---|---|
debug | 30 min | 8 (GPU), 8 (CPU) | 1× | Fast start; use for testing | |
regular | 12 hr | 256 (GPU), 512 (CPU) | 1× | Standard production | |
premium | 24 hr | same as regular | 2× | Higher priority | |
preempt | 48 hr | larger | 0.25× (GPU) / 0.5× (CPU) | Discounted; may be preempted | |
shared | 12 hr | — | fractional | Partial 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
Job state codes: PD=Pending, R=Running, CD=Completed, CA=Cancelled, F=Failed, TO=Timeout
Minimal Job Script — GPU
Minimal Job Script — CPU
Checking Allocations
Storage
| Filesystem | Path | Quota | Purge policy | Use for | |
|---|---|---|---|---|---|
$HOME | /global/homes/u/user | 40 GB | None | Code, configs | |
$SCRATCH / $PSCRATCH | /pscratch/sd/u/user | 20 TB | 8-week auto-purge | Job I/O | |
$CFS | /global/cfs/cdirs/<proj> | varies | None | Long-term project data | |
$TMPDIR | node-local | ~200 GB | Job lifetime | Fast temporary scratch |
Warning: Files in$SCRATCHnot accessed for 8 weeks are automatically deleted without notice. Always check ages withlfs find $SCRATCH --atime +56 -maxdepth 2.
Always write job output to $SCRATCH, not $HOME.
Modules
Cray compiler wrappers (cc, CC, ftn) link the correct MPI and libraries automatically when the appropriate PrgEnv module is loaded.
Interactive Jobs
Common Gotchas
- Forget
-C cpu/-C gpu→ job may queue indefinitely or hit wrong partition - Write to
$HOMEinstead of$SCRATCH→ quota exceeded, job fails $SCRATCHfiles older than 8 weeks → silently deleted- Not setting
SLURM_CPU_BIND=coreson GPU nodes → suboptimal CPU affinity - Using wrong account name → charges wrong allocation or job rejected
Additional Resources
- Annotated job script examples: references/job-scripts.md
- Storage details, Lustre striping, HPSS archiving: references/storage.md
- Allocation system, iris, ERCAP, sacct: references/allocations.md
- NERSC docs: https://docs.nersc.gov/
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/hpc-skills/perlmutter/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ai-modcon/genesis-skills/perlmutter)