Skip to content
cccskills
FreePublished on GitHub

abinit

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

The English summary is being prepared. Showing the original description.

Hello-QM/catgo-LRG208 stars(GitHub 208 + cccskills 0)

Run score Not tested

See how to install

Files included (1)

  • SKILL.md3.8 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

ABINIT

When to Use

  • User explicitly requests ABINIT
  • User needs DFPT (density-functional perturbation theory) phonons natively
  • User needs GW quasiparticle calculations or BSE optical spectra
  • User wants multi-dataset calculations in a single input file

Prerequisites

  1. ABINIT binaries accessible on HPC (abinit --version)
  2. Pseudopotentials available (JTH PAW or PseudoDojo NC recommended)
  3. Structure loaded in viewer — verify with catgo_view(action="get_state")

Workflow Steps

1. Verify structure

catgo_view(action="get_state")

2. Create workflow

catgo_workflow_engine(action="create", params={"name": "ABINIT GW band gap"})

3. Add ABINIT task via shell

CatGo does not yet have a native ABINIT engine. Use task_type: "shell".

catgo_workflow_engine(action="add_task", params={
  "workflow_id": "wf_xxx",
  "task_type": "shell",
  "name": "abinit_scf",
  "command": "abinit < abinit.files > abinit.log 2>&1",
  "input_files": {
    "abinit.in": "<input content>",
    "abinit.files": "<files file content>"
  },
  "system_name": "Si_GW"
})

When a @register_engine("abinit") is added, use task_type: "geo_opt" with software: "abinit".

Input File Template — SCF

# SCF ground state
ndtset 1

# System
natom  <natoms>
ntypat <ntypes>
typat  <type_list>
znucl  <Z_list>

acell  3*1.0
rprim
  <a1x> <a1y> <a1z>
  <a2x> <a2y> <a2z>
  <a3x> <a3y> <a3z>

xred
  <x1> <y1> <z1>
  <x2> <y2> <z2>

# Plane-wave basis
ecut    40.0    # Ha (= 2x Ry)
pawecutdg 80.0  # PAW fine grid

# K-points
ngkpt   <k1> <k2> <k3>
nshiftk 1
shiftk  0.0 0.0 0.0

# SCF
nstep   100
toldfe  1.0d-8   # Ha

# Smearing
occopt  3        # Fermi-Dirac
tsmear  0.002    # Ha (~0.05 eV)

# XC
ixc     11       # PBE

The .files File

ABINIT uses a .files file listing input/output/pseudo paths:

abinit.in
abinit.out
abiniti
abinito
abinit_tmp
pseudo/Si.paw

Lines: input, output, root_input, root_output, tmp_dir, then one pseudo per atom type.

Parameter Guidance

ParameterTypical valueNotes
ecut30-50 HaIn Hartree (1 Ha = 27.2 eV); check pseudo recommendations
pawecutdg2x ecutPAW augmentation grid; only for PAW pseudos
toldfe1.0d-8Energy convergence in Ha
toldff1.0d-5Force convergence in Ha/Bohr (for relaxation)
ngkptauto from cellMonkhorst-Pack grid
occopt3 (FD) or 7 (Gaussian)Smearing type
ionmov2 (BFGS)Ion relaxation algorithm
optcell0 (ions) / 2 (full)Cell optimization level

Multi-Dataset Calculations

ABINIT supports chaining calculations in one input via ndtset:

ndtset 3

# Dataset 1: SCF
toldfe1 1.0d-8

# Dataset 2: NSCF for DOS
iscf2    -2
tolwfr2  1.0d-12
getden2  1

# Dataset 3: DFPT phonons
rfphon3  1
nqpt3    1
qpt3     0.0 0.0 0.0
toldfe3  1.0d-10
getden3  1
getwfk3  1

Common Pitfalls

  1. ecut in Hartree, not eV — ABINIT uses Hartree (1 Ha = 27.2 eV). A 40 Ha cutoff is ~1088 eV.
  2. Coordinates default to reduced (xred) — use xred (fractional) or xcart (Bohr). Not Angstrom.
  3. Missing .files file — ABINIT reads file paths from stdin or a .files file; forgetting it causes silent failure
  4. PAW augmentation grid — if using PAW pseudos, pawecutdg must be set (typically 2x ecut)
  5. GW convergence — GW calculations need many empty bands (nband) and careful ecuteps convergence
  6. Large tmp files — ABINIT writes wave functions to _TMP; ensure sufficient disk space

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

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.

The English summary is being prepared. Showing the original description.

Hello-QM/catgo-LRG208Updated Oct 23, 2026

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

The English summary is being prepared. Showing the original description.

Hello-QM/catgo-LRG208Updated Oct 23, 2026

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.

The English summary is being prepared. Showing the original description.

Hello-QM/catgo-LRG208Updated Oct 23, 2026

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.

The English summary is being prepared. Showing the original description.

Hello-QM/catgo-LRG208Updated Oct 23, 2026

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 加原子, 删原子, 减原子, 移动原子, 替换原子, 增加氢, 删除氧, 把 ... 换成 ....

The English summary is being prepared. Showing the original description.

Hello-QM/catgo-LRG208Updated Oct 23, 2026

Diagnose and fix the CatGo backend. Use whenever the user asks to "check the backend", "diagnose the backend", "fix the backend", "why isn't X working", reports connection problems, a blank/failing UI, "router not loaded", "deps missing", or "can't reach the server". Reads GET /api/diagnostics, explains each issue from its fix_hint, auto-applies SAFE fixes (reconnect HPC, pip install a missing dep via the terminal), confirms risky actions first, and — if diagnostics itself is unreachable — tells the user how to start the backend instead of pretending to fix one that is down.

The English summary is being prepared. Showing the original description.

Hello-QM/catgo-LRG208Updated Oct 23, 2026

See all skills by Hello-QM

Report a problem with this skill