본문으로 건너뛰기
cccskills
무료GitHub에 공개

cluster_config_test

Validate an HPC/cluster configuration against the live cluster BEFORE submitting a VASP workflow, or diagnose why a remote job produced no output. Reads the user's submit script / run config, then calls the validate_hpc_config tool to probe the real cluster over SSH (POTCAR directories, per-element pseudopotentials, and VASP binary resolution under the real module-load + conda environment). Use whenever the user asks to "test my cluster config", "check if VASP will run", "verify my HPC setup", or after a job silently failed for environment/path reasons.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Hello-QM/catgo-LRG스타 208(GitHub 208 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Cluster Config Test

Provider-agnostic: works for any in-app AI (DeepSeek, Qwen, Kimi, Gemini, Anthropic, Codex, …). You validate the cluster by calling the validate_hpc_config tool — you do NOT run raw SSH yourself.

When to Use

  • The user wants to confirm their cluster settings work before running a workflow.
  • A submitted VASP job "completed" but produced no real output, or POTCAR was missing.
  • The user pasted a submit script and asks whether it will run on their cluster.

Why this matters (the failure it catches)

CatGo builds the POTCAR on the remote host by concatenating <potcar_root>/<functional>/<variant>/POTCAR in POSCAR element order. If the POTCAR root is wrong/unreachable, an element pseudopotential is missing, or the VASP binary doesn't resolve under the job's module-load/conda environment, the run fails — and a plain SLURM job can still exit 0, so the failure is easy to miss. Validate first.

Procedure

1. Gather the config

From the user's run configuration or their submit script, collect:

  • potcar_root — directory holding the POTCAR tree, e.g. /scratch/user/VASP/pot64
  • potcar_functional — e.g. potpaw_PBE (default), potpaw_PBE.54, potpaw_LDA
  • vasp_command — the run line, e.g. srun --hint=nomultithread vasp_std
  • module_loads — every module load/module switch line (newline-separated)
  • python_env — the source …/conda.sh + conda activate … lines

If the user only pasted a submit script, parse these out of it. If something is missing, ask the user for it (do not guess paths).

2. Call the tool

validate_hpc_config({
  "potcar_root": "/scratch/user/VASP/pot64",
  "potcar_functional": "potpaw_PBE",
  "vasp_command": "srun --hint=nomultithread vasp_std",
  "module_loads": "module load vasp/6.4.2",
  "python_env": "source /scratch/user/miniconda3/etc/profile.d/conda.sh\nconda activate catgo"
})

The active HPC session and the element list (from the loaded structure) are filled in automatically — only pass elements/session_id to override. The tool returns { success, checks: [{ name, ok, severity, detail }], message }.

3. Interpret and report

  • severity: "error" + ok: false → will break the run. Report the exact problem and fix (wrong POTCAR root, missing element pseudopotential, etc.).
  • severity: "warn" (e.g. the VASP binary not resolving) → advisory: the binary may live only on compute nodes, or the module-load line is wrong. Tell the user which.
  • success: true → cluster is ready; offer to run the workflow.

Map results to the common causes:

Check failsLikely cause / fix
POTCAR root directorywrong/unreachable path; fix potcar_root, check it exists on this host
Functional directorywrong functional name; pick the one that exists (e.g. potpaw_PBE.54)
Element POTCARs (missing X)that element's pseudopotential dir is absent under the functional
VASP binary (warn)wrong/absent module load, or binary only on compute nodes

4. Re-test after fixes

After the user updates a path or module line, call validate_hpc_config again. Iterate until success: true, then proceed to submit.

Notes

  • Read-only: the tool only probes; it never writes or submits.
  • If there is no connected cluster, the tool errors — tell the user to connect a cluster in the HPC panel first.
  • This is the deeper counterpart to the "Test configuration" button in the Run dialog: the button checks fixed fields; here you read the user's actual submit script.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

abinit

무료

Generate and manage ABINIT DFT calculations. Use when the user requests ABINIT, or needs DFPT phonons, GW calculations, or BSE optical spectra.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Hello-QM/catgo-LRG2082026년 10월 23일 업데이트

Use when the user asks to place an adsorbate molecule on a surface, find adsorption sites, or set up a surface+adsorbate model for DFT.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Hello-QM/catgo-LRG2082026년 10월 23일 업데이트

Use when the user asks for adsorption energy, binding energy, or wants to compare how strongly a molecule binds to a surface.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Hello-QM/catgo-LRG2082026년 10월 23일 업데이트

Use when the user asks to analyze computational results: Gibbs free energy, OER/HER/CO2RR overpotentials, adsorption energy, convergence tests, DOS/d-band analysis, or Bader charge analysis.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Hello-QM/catgo-LRG2082026년 10월 23일 업데이트

Use AmberTools antechamber for molecular force field parameterization. Generates GAFF/GAFF2 parameters and AM1-BCC or RESP charges for use in AMBER or LAMMPS classical MD simulations.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Hello-QM/catgo-LRG2082026년 10월 23일 업데이트

atom-ops

무료

One-shot recipes for adding, deleting, moving, and replacing individual atoms in the active CatGo viewer structure. Use whenever the user asks to "add an atom", "delete atoms", "remove this atom", "move atom N", "replace H with Li", or any single-atom edit — including "add a hydrogen on top of atom 12" / "delete atoms 5–9" / "swap the oxygen at site 3 for fluorine". Skips the discovery loop (no need to list structure tools or check adsorption sites first); goes straight to the matching `catgo_structure` action. Triggers in Chinese on 加原子, 删原子, 减原子, 移动原子, 替换原子, 增加氢, 删除氧, 把 ... 换成 ....

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Hello-QM/catgo-LRG2082026년 10월 23일 업데이트

Hello-QM의 스킬 모두 보기

이 스킬의 문제 신고