/hpc-assistant-skills:frontier-resource-managementfrom hpc-assistant-skills
Checks compute allocations, storage quotas, and project access on the Frontier supercomputer (OLCF). Useful for monitoring node-hour usage, filesystem limits, and purge risk.
Ships in hpc-assistant-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Helps users check compute allocations, filesystem usage and quota, and user/project information on the Frontier supercomputer (OLCF) using the documented OLCF commands and the myOLCF portal.
Frontier charges compute in node-hours: requested nodes × elapsed running time. A node has 4 AMD MI250X packages (8 GCDs, 64 GB HBM2E each), 512 GB host memory, and 56 application cores by default (64 physical, 8 reserved). A job that uses one core or one GCD is still charged for the whole node.
Data sources and freshness differ:
showusage reports usage from January 1 through midnight of the previous day, computed daily from completed jobs. Jobs that finished today may not appear yet.sacct shows recent job and step accounting. It is useful context, not the allocation ledger.id/groups show Unix group memberships for the session. Use myOLCF for authoritative account and project metadata.Set PROJECT to the charge account and PROJECT_DIR to the project's directory name; the two can differ in case.
The data guide documents these storage areas for standard projects (enhanced/sensitive projects may differ):
| Area | Path | Default quota | Backup / purge |
|---|---|---|---|
| User Home | $HOME / /ccs/home/USER | 50 GB | Backed up; not purged |
| Project Home | /ccs/proj/PROJECT_DIR | 50 GB | Backed up; not purged |
| Orion Member Work | /lustre/orion/PROJECT_DIR/scratch/USER | 50 TB | Not backed up; 90-day purge |
| Orion Project Work | /lustre/orion/PROJECT_DIR/proj-shared | 50 TB | Not backed up; 90-day purge |
| Orion World Work | /lustre/orion/PROJECT_DIR/world-shared | 50 TB | Not backed up; 90-day purge; readable outside the project |
| Kronos archive | /nl/kronos/olcf/PROJECT_DIR/{users/USER,proj-shared,world-shared} | 200 TB shared across the three areas | Not purged; retention rules apply after project end |
$MEMBERWORK, $PROJWORK, and $WORLDWORK point to the Orion work roots (append /PROJECT_DIR).
User home:
quota -Qs
Distinguish block (bytes) and file (inode) limits. A full home directory can break job startup even if application output goes to Orion.
Project Home:
df -h "/ccs/proj/$PROJECT_DIR"
Orion work areas: the public documentation gives paths, defaults, and purge policy, but no project quota command. df on Orion shows filesystem capacity, not remaining project quota, and du -sh -- DIR measures usage only. Ask OLCF ([email protected]) for the project's Orion quota. Avoid project-wide recursive du scans on the shared metadata servers.
Kronos archive (from a host where Kronos is mounted; it is not mounted on Frontier compute nodes):
mmlsquota -g "$PROJECT_DIR" --block-size 1T kronos
showusage
showusage -h
showusage lists your projects' allocation and usage; for one project, read its row or its usage page in myOLCF. The guide documents no project-selection flag.
Recent jobs for one project, at allocation level (-X excludes step rows):
sacct -X --account="$PROJECT" --starttime="$START_DATE" \
--format=JobID,Account,State,ExitCode,AllocNodes,Elapsed,Start,End
Estimate charge as AllocNodes × Elapsed hours. Failed jobs are charged too.
OLCF has no single "am I about to run out" command. To check:
showusage and note that it lags by a day; add running and recent jobs.Exceeding an allocation lowers job priority and adds restrictions (see Allocation Overuse Policy in the Frontier guide) rather than blocking jobs outright.
id
groups
For account details use myOLCF → My Account → My Profile. The myOLCF project pages show project metadata, allocation, usage, and membership (visibility depends on your role); joining another project is requested there and approved by the PI.
| Need | Command / source |
|---|---|
| Storage locations | Table above; $MEMBERWORK, $PROJWORK, $WORLDWORK |
| Home quota (bytes and inodes) | quota -Qs |
| Project Home usage | df -h /ccs/proj/PROJECT_DIR |
| Orion project quota | Not documented publicly; check with OLCF support |
| Kronos project quota | mmlsquota -g PROJECT_DIR --block-size 1T kronos |
| Remaining compute allocation | showusage, myOLCF project usage (updated daily) |
| Recent job accounting | sacct -X --account=... --starttime=... |
| User/project metadata | id/groups, myOLCF |
--constraint=nvme, mounted at /mnt/bb/USER) lasts only for the job; copy results out before it ends.showusage, storage.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub silogen/hpc-assistant --plugin hpc-assistant-skills8 skills in this plugin
/energy-profilingUse when profiling GPU job energy or power consumption on AMD systems with Omnistat. Handles Omnistat/VictoriaMetrics setup, Slurm job instrumentation, report-card interpretation, and troubleshooting. Covers LUMI and Frontier. Do NOT use for rocprofv3 kernel/API performance profiling./frontier-frequency-power-cappingUse when running GPU frequency-cap or power-cap experiments on Frontier (AMD MI250X). Covers the power cap in the job header (#SBATCH --gpu-power-cap, one job per cap), the max frequency changed at runtime with /usr/bin/set_gpu_max_sclk, the sclk min/max range (#SBATCH --gpu-srange), checking which caps were applied, sysfs/pm_counters telemetry, sweep planning and submission, and runtime/energy/EDP analysis. Do NOT use for rocprofv3 kernel profiling (profiling) or general Omnistat setup (energy-profiling)./frontier-slurm-job-managementSubmit, monitor, and debug Slurm jobs on Frontier./geak-optimizationInstall and run GEAK (GPU Energy-Aware Kernel optimizer) on HPC clusters with AMD Instinct GPUs. Covers kernel_workflow (single kernel) and e2e_workflow (whole-model serving). Use only when the user explicitly asks for GEAK, kernel_workflow, e2e_workflow, or to submit a kernel or model to the GEAK optimizer. Do not use for ordinary rocprof, HIP, or Triton performance advice./lumi-resource-managementCheck LUMI project quotas and allocations using lumi-workspaces, lumi-quota, lumi-allocations, lumi-check-quota, lumi-ldap-userinfo, and lumi-ldap-projectinfo. Use when the user asks about quota, billing units, allocations, or project/user info on LUMI./lumi-slurm-job-managementSubmits and manages jobs on LUMI via Slurm (sbatch, srun, squeue, scancel, sinfo). Covers project account, partitions, LUMI-G (AMD MI250x, 8 GPUs/node), Singularity/Apptainer, and Python and PyTorch jobs. Use when the user mentions LUMI, Slurm, partitions, project account, LUMI-G, MI250x, container jobs, or Python jobs on LUMI.Other plugins' skills for the same job