/hpc-rccs-cloud:rccs-cloud-submitting-jobsfrom hpc-rccs-cloud
Guides users through submitting jobs on the R-CCS Cloud HPC testbed, covering partition selection, module loading, JobSpec construction, and facility-specific gotchas.
Ships in hpc-rccs-cloud. 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.
None: SKILL.md is the whole skill.
Every tool call in this skill uses facility="rccs-cloud".
The R-CCS Cloud is a heterogeneous testbed with many partition families. The two most important choices before writing any script are: which partition (hardware family) and which modules to load (they differ per partition).
Pick the partition — get_facility(facility="rccs-cloud") has the
full table. Rules of thumb:
genoa (default; EPYC, 768 GB) or genoa-m (3 TB)fx700 (cross-compile from r340)a100, ai-l40s, qc-a100, qc-gh200, ng-dgx-m[0-3]mi100, qc-mi250, fs-mi300a, fs-mi300xqc-pvcr340attributes.queue_name must always be set explicitly.Know the module for your partition — every partition needs its own
system/<partition> module loaded first. Put the module load at the
start of executable. source /etc/profile is emitted automatically
by the rendered script — do not add it manually.
| Partition | Module command |
|---|---|
| fx700 | module load system/fx700 FJSVstclanga |
| genoa, genoa-m | module load system/genoa mpi/mpich-x86_64 |
| a100 | module load system/a100 nvhpc |
| b300 | module load system/b300 nvhpc |
| ai-h100l-pu | module load system/ai-h100l nvhpc |
| ai-h200-brc | module load system/ai-h200-brc nvhpc |
| ai-l40s | module load system/ai-l40s nvhpc |
| qc-a100 | module load system/qc-a100 nvhpc |
| qc-gh200 | module load system/qc-gh200 nvhpc |
| mi100 | module load system/mi100 rocm |
| qc-mi250 | module load system/qc-mi250 rocm |
| fs-mi300a | module load system/fs-mi300a rocm |
| fs-mi300x | module load system/fs-mi300x rocm |
| qc-pvc | module load system/qc-pvc (or source /opt/intel/oneapi/setvars.sh) |
| ng-dgx-m[0-3] | module load system/ng-dgx nvhpc |
| r340 | (none required) |
Stage any needed files with fs_upload(facility="rccs-cloud", ...) /
fs_mkdir(facility="rccs-cloud", ...).
Submit with a JobSpec via submit_job(facility="rccs-cloud", spec=...).
CPU MPI job on genoa (single node — see "MPI launch" below):
{
"name": "my-cpu-job",
"executable": "module load system/genoa mpi/mpich-x86_64 && mpirun -np 4 ./a.out",
"directory": "/home/<user>/work",
"resources": {"node_count": 1, "processes_per_node": 4},
"attributes": {"duration": "01:00:00", "queue_name": "genoa"}
}
NVIDIA GPU job on ai-l40s (needs --gpus=<n>):
{
"name": "my-gpu-job",
"executable": "module load system/ai-l40s nvhpc && mpirun -np 2 ./app",
"resources": {"node_count": 1, "gpus": 2, "processes_per_node": 2},
"attributes": {"duration": "02:00:00", "queue_name": "ai-l40s"}
}
Superchip job on qc-gh200 (no GPU flag — the GPU is always present):
{
"name": "my-gh200-job",
"executable": "module load system/qc-gh200 nvhpc && srun ./app",
"resources": {"node_count": 1},
"attributes": {"duration": "01:00:00", "queue_name": "qc-gh200"}
}
Verify: get_job_status(facility="rccs-cloud", job_id=...) right
after submission — see rccs-cloud-monitoring-jobs for the sacct-lag
caveat.
This cluster's Slurm has no PMI support, so srun cannot bootstrap MPI
ranks — an MPI program launched with srun will hang or fail to start. Load
the MPI module, then launch with mpirun (OpenMPI) instead:
module load system/genoa mpi/mpich-x86_64 && mpirun -np <n> ./a.out.
This is also why most work here should stay on a single node: mpirun
without PMI needs its own hostfile/SSH-based remote launch for multi-node
jobs, which isn't set up on this cluster. Set resources.node_count: 1 and
scale with processes_per_node unless you've separately confirmed a
multi-node mpirun launch works. (srun itself is still fine for
non-MPI/single-process work and interactive srun --pty sessions — the PMI
gap only affects MPI rank bootstrap.)
fx700's 48 cores are 4 NUMA nodes ("CMGs") of 12 cores each
(cores 0-11, 12-23, 24-35, 36-47 — confirmed via numactl --hardware).
Cross-CMG memory access is slower than local, so an MPI/hybrid job that
doesn't pin ranks to a CMG can land its processes anywhere, including
sharing or straddling CMGs. Verified live (real submitted job, mpirun --report-bindings): request one rank per CMG and bind explicitly —
mpirun -np 4 --bind-to core --map-by numa:PE=12 ./app
This binds rank 0 to cores 0-11, rank 1 to 12-23, rank 2 to 24-35, rank 3 to
36-47 — one rank per CMG, matching the standard A64FX layout. For a
different rank count, keep PE=<cores per rank> so ranks still divide
evenly across CMGs (e.g. -np 2 --map-by numa:PE=24 for 2 ranks/2 CMGs
each). Be explicit even though OpenMPI's default binding sometimes lands
in the same place for a clean 4-rank job — its default heuristic isn't
guaranteed for other rank counts, and an explicit --map-by/--bind-to is
self-documenting in the job script.
This only works launched from a real submitted job — not from mpirun
nested inside an interactive srun shell. An srun ... bash -c 'mpirun ...' wrapper under-reports available slots to OpenMPI ("not enough slots
available") because Slurm's task count, not --cpus-per-task, is what
mpirun's Slurm integration reads. Always request
resources.exclusive_node_use: true on fx700 so the whole node's cores are
available to bind against:
{
"name": "fx700-hybrid-job",
"executable": "module load system/fx700 FJSVstclanga && mpirun -np 4 --bind-to core --map-by numa:PE=12 ./app",
"resources": {"node_count": 1, "processes_per_node": 4, "exclusive_node_use": true},
"attributes": {"duration": "01:00:00", "queue_name": "fx700"}
}
For a single OpenMP-only process spanning the whole node (no MPI), set
OMP_PROC_BIND=close OMP_PLACES=cores in environment and make sure any
array initialization is done in a parallel for matching the compute
loop's split (first-touch) rather than serially from one thread — otherwise
all pages can land on one CMG's memory. Some run-to-run bandwidth variance
was observed on this shared cluster even with binding set, so treat single
process/48-thread runs as less predictable than the CMG-per-rank MPI
pattern above; prefer the latter when the workload allows it.
resources.gpus → the script emits --gpus=<n>, and
--nodes is always emitted explicitly. Exception: qc-gh200 and
ng-dgx-m[0-3] are unified CPU+GPU superchips — leave gpus unset; the
script emits no GPU flag for them and the GPU is present anyway.fx700 is A64FX (aarch64); qc-gh200 and
ng-dgx are NVIDIA Grace (aarch64). x86_64 binaries will not run on any
of those. Cross-compile fx700 code on r340.ng-dgx-m[0-3] runs Ubuntu; all others run Rocky
Linux. A binary or wheel built for Rocky may need a rebuild for ng-dgx.mpirun hostfile/SSH setup (see "MPI launch" above) — default to
single-node.~/agent/jobs/ — fs_view(facility="rccs-cloud", path=...) them to debug exactly what ran.--account use your default Slurm
account.srun — no PMI support; use mpirun instead.--bind-to core --map-by numa:PE=<n> on mpirun and resources.exclusive_node_use: true — see
"fx700 affinity" above.mpirun by nesting it inside an interactive srun shell — it
under-reports available slots. Submit a real job instead.submit_job(facility="rccs-cloud", spec=spec) — show the user the spec
(or a plain-language description of it) before submitting, unless
they've explicitly said to just run it. No exceptions for this call.{"job_id": ..., "script_path": ...} — the rendered script
is kept on the cluster; fs_view(facility="rccs-cloud", path=script_path)
to inspect exactly what was submitted.get_resources(facility="rccs-cloud") (live occupancy) and
get_facility(facility="rccs-cloud") (static limits) — don't guess.~/agent/work/<descriptive-name>/, never in the
home-directory root. ~/agent/ is the agent's visible scratch area —
~/agent/jobs already holds every submitted script — and the home
root stays the user's own.spec.directory with fs_mkdir before submission.
Schedulers enter that directory before the script body and pre_launch
runs, so a mkdir in pre_launch is too late.search_docs(facility="rccs-cloud", query=...) on the hpc-docs
server. It searches a bundled guide, not a live site — never invent a URL
to send the user to.cancel_job without confirming with the user first.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub william-dawson/hpc-rookery --plugin hpc-rccs-cloud7 skills in this plugin
/rccs-cloud-configuringUse when the user wants to set up, configure, or troubleshoot R-CCS Cloud — SSH access, the embedding endpoint for docs search (RAG), or the ~/.hpc-agent/rccs_cloud.json file. Also use when rccs-cloud tools fail with connection or embedding errors./rccs-cloud-demoInteractive demo of R-CCS Cloud — walks through configuration, facility info, live cluster status, docs search, filesystem access, and a real job end to end./rccs-cloud-monitoring-jobsUse when the user asks about the status, progress, output, history, or failure of jobs on R-CCS Cloud, or about queue and node availability. Also use this any time you (the agent) need to check on or wait for a job you submitted, even without a fresh user request./rccs-cloud-referenceUse to answer questions about R-CCS Cloud itself — hardware, partitions, storage, software, policies, or where to get help. Ground answers in the bundled guide and live tool output rather than prior knowledge./rccs-cloud-remote-commandUse when the user wants to run one or more shell commands on R-CCS Cloud's login node, or when another workflow needs run_command_on_cluster for a live check not covered by a safer typed tool. Requires an exact command preview and explicit user permission before execution./rccs-cloud-reproducingUse when the user asks to make a result on R-CCS Cloud reproducible, shareable, or turned into a notebook/script — or proactively suggest it after a chunk of exploratory job/file work that produced something worth preserving. Builds a Jupyter notebook that replays the real workflow via hpc_agent_core.client, not a hand-copied SSH script.2 plugins ship this exact skill · first indexed Nov 12, 2026