argonne-lcf/chemgraph/pbs-hpc
Claude Code and agent skill by argonne-lcf/chemgraph
- community
Checking that the SKILL.md file is still in the repository.
Prepare PBS HPC jobs, choose allocation and filesystem settings, submit and monitor jobs, and diagnose job output. Use for qsub, qstat, PBS scripts, allocations, and ChemGraph execution on Polaris, Aurora, or Crux; also Polaris and Aurora environments, MPI/GPU affinity, monitoring, and Aurora /soft access troubleshooting.
Install
npx vskill@latest install argonne-lcf/chemgraph/pbs-hpcSKILL.md
PBS and HPC workflows
Establish the environment
Identify the target system, submission host, project/account, queue, walltime, node count, required filesystems, and application environment. Obtain missing values from the user or deployment configuration. Do not copy another user's allocation, endpoint, private path, or environment.
Check whether execute runs on that host. A local shell on a laptop cannot run remote PBS commands merely because a skill or an HPC MCP server is attached. Preserve the user's selected execution method. If none was selected and the shell runs on the submission host, write the job files and submit with PBS commands directly. For remote submission, use iri-hpc for ALCF jobs or suitable attached HPC tools. If submission is unavailable, prepare the script and state where the user must submit it.
Read the applicable site-reference sections before choosing launch settings: Polaris, Aurora, or Crux. Consult the linked official guides for current queue limits and site policies.
For a simple Polaris job, start with queues, filesystems, application modules, and network proxy setup. For single-process ASE launch settings, use the ASE batch example. Consult the site's MPI, affinity, and MPS/MIG sections when the application needs those features.
For Aurora, start with system basics for filesystems and the application environment, and queues and submission. Consult PALS, GPU affinity, monitoring, and /soft troubleshooting sections as needed. Use the Crux reference for its site-specific settings.
Prepare and track a job
For ASE calculations, also read the chemgraph skill's Python batch example. Write the calculation script in the workspace and run it inside PBS; no MCP server or Parsl is needed.
- Read the PBS template and write a completed copy
into the execution filesystem. Replace every placeholder, keep PBS directives before executable statements, and quote shell paths. Choose the launch command for the target site and application.
- Check input visibility on compute nodes. Arrange staging first when the
submitting host and workers do not share files. Validate the script syntax with bash -n when the execution environment provides Bash.
- Submit once on the authorized submission host, following existing tool approvals.
Save submission evidence and the complete scheduler ID in the run directory.
- Inspect with
qstat -f JOB_ID; distinguish queued, held, running, and terminal
states. Explain scheduler comments rather than submitting duplicate jobs. For a submission-only request, report the accepted ID and observed status.
- When results are requested, monitor to a terminal state and inspect stdout/stderr
and application result files. A job disappearing from the active queue does not prove success. Use available job history and exit status, and report missing evidence explicitly. Cancel only the requested job.
Run this submission sequence from the fresh host run directory after completing and inspecting the files:
Keep the marker and stderr if qsub fails or returns no ID: acceptance can be uncertain. Inspect PBS by job name and run directory before any retry. A later agent session reads the existing job.id, checks that job with qstat -f (or qstat -xf for retained history), and inspects output files without resubmitting. An explicitly requested retry uses a fresh directory after resolving the prior job's state. Cancellation uses qdel JOB_ID only when requested.
PBS command reference: ALCF running jobs.
ChemGraph execution boundaries
ChemGraph's hpc_configs Parsl configurations for these systems use LocalProvider inside existing allocations; they do not acquire a PBS allocation automatically. Aurora and Crux require PBS_NODEFILE; Polaris has a local/testing fallback, which is not evidence of a valid allocation.
Use CHEMGRAPH_WORKER_INIT or the configured Python environment for worker setup. Check the deployment's shared filesystem assumption: Globus Compute workers may not see files written by the submitting server. A Globus endpoint has its own execution configuration and is distinct from direct qsub usage.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/chemgraph/skills/pbs-hpc/SKILL.md
Popularity
- Repository stars
- 161
- Repository forks
- 48
- 7-day trend score
- 30
Stars and forks are for the whole GitHub repository, not this skill alone. 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/argonne-lcf/chemgraph/pbs-hpc)