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

vasp_errors

Diagnose and fix common VASP errors including ZBRENT, BRMIX, EDDDAV, VERY BAD NEWS, POTCAR mismatch, and memory errors.

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

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

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.9 KB

SKILL.md(원문)

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

VASP Error Troubleshooting Skill

When to Use

Use this skill when a VASP calculation has failed with a recognized error message. These are runtime errors from the VASP executable, distinct from convergence issues (see convergence_issues skill) and CatGo engine errors (see workflow_errors skill).

Diagnostic Steps

Step 1: Get the error message

catgo_workflow_engine(action: "get_result", params: {
  workflow_id: "<wf_id>",
  task_id: "<task_id>"
})

Or check the step-level error:

catgo_workflow_engine(action: "status", params: { workflow_id: "<wf_id>" })

Step 2: Match the error and apply fix

Error Reference

ZBRENT: Fatal error in bracketing

Cause: VASP cannot find the electronic groundstate within the bracketing interval during volume/cell relaxation (ISIF=3 or ISIF=7).

Fix:

catgo_workflow_engine(action: "modify_params", params: {
  workflow_id: "<wf_id>",
  task_id: "<task_id>",
  params: {
    "IBRION": 1,
    "EDIFF": 1e-6,
    "NELM": 200,
    "NSW": 200
  }
})

Then retry:

catgo_workflow_engine(action: "retry", params: {
  workflow_id: "<wf_id>",
  task_id: "<task_id>"
})

Alternative: switch from IBRION=2 (CG) to IBRION=1 (quasi-Newton), or reduce POTIM from 0.5 to 0.1.

BRMIX: Very serious problems

Cause: Charge density mixing fails. Common with slabs, surfaces, and systems with vacuum regions.

Fix:

catgo_workflow_engine(action: "modify_params", params: {
  workflow_id: "<wf_id>",
  task_id: "<task_id>",
  params: {
    "ALGO": "All",
    "AMIX": 0.1,
    "BMIX": 0.01,
    "AMIX_MAG": 0.2,
    "BMIX_MAG": 0.01
  }
})

For severe cases, also add LREAL = .FALSE. and increase NELM.

EDDDAV: Sub-space rotation failed / warning

Cause: Davidson iterative diagonalization failed. Common for systems with many bands near the Fermi level (metals, small-gap semiconductors).

Fix:

catgo_workflow_engine(action: "modify_params", params: {
  workflow_id: "<wf_id>",
  task_id: "<task_id>",
  params: {
    "ALGO": "All"
  }
})

ALGO=All uses a combination of Davidson and RMM-DIIS that is more robust. If that still fails, try ALGO=Damped.

VERY BAD NEWS: Internal error in subroutine

Cause: Usually POSCAR has overlapping atoms (two atoms at the same position) or the structure is severely distorted.

Fix:

  1. Check the structure for overlapping atoms:
catgo_view(action: "get_state")
  1. If atoms overlap, fix the structure:
catgo_structure(action: "delete", indices: [<overlapping_index>])
  1. If the structure is distorted from a previous failed relaxation, reload the original structure and restart.

POTCAR mismatch / POTCAR not found

Cause: The pseudopotential file does not match the elements in POSCAR, or the POTCAR path on the HPC is not configured correctly.

Fix:

  1. Check system configuration:
catgo_system(action: "status")
  1. Verify the element order matches. If the user has added/removed elements, the POTCAR needs to be regenerated. The CatGo engine handles this automatically, but manual HPC runs may have stale POTCARs.

  2. Check that VASP_PP_PATH is set on the HPC.

Memory errors (SBROUTINE / segfault / killed by OOM)

Cause: Not enough memory for the calculation. Common with large systems, high ENCUT, or too many k-points.

Fix options:

Reduce memory usage:

catgo_workflow_engine(action: "modify_params", params: {
  workflow_id: "<wf_id>",
  task_id: "<task_id>",
  params: {
    "NCORE": 4,
    "KPAR": 2,
    "LREAL": ".TRUE.",
    "LWAVE": ".FALSE.",
    "LCHARG": ".FALSE."
  }
})

Or request more resources in the run config (increase nodes/memory).

RSPHER: Internal error

Cause: Augmentation sphere overlap. Atoms are too close together.

Fix: Similar to VERY BAD NEWS -- check for overlapping or very close atoms. Sometimes caused by too-aggressive ionic relaxation. Reduce POTIM:

catgo_workflow_engine(action: "modify_params", params: {
  workflow_id: "<wf_id>",
  task_id: "<task_id>",
  params: { "POTIM": 0.1 }
})

PRICEL: Internal error / symmetry detection

Cause: VASP symmetry detection fails on distorted or defective structures.

Fix:

catgo_workflow_engine(action: "modify_params", params: {
  workflow_id: "<wf_id>",
  task_id: "<task_id>",
  params: { "SYMPREC": 1e-4, "ISYM": 0 }
})

Setting ISYM=0 disables symmetry entirely (safe but slower).

General Recovery Pattern

For any VASP error: diagnose (get error from task result), modify parameters, retry, then verify. If the same error recurs after two attempts, the structure itself may be problematic. If errors appear on every system, the HPC environment may be misconfigured -- route to workflow_errors.

리뷰

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

댓글

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

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

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. 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의 스킬 모두 보기

이 스킬의 문제 신고