abacus-kpt

Generate and validate ABACUS KPT files for Monkhorst-Pack grids, explicit k-point lists, and line paths.

27|6|Updated Jan 18, 2023
One-click install
npx skills add https://github.com/pxlxingliang/abacus-test --skill abacus-kpt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: abacus-kpt
Source: https://github.com/pxlxingliang/abacus-test/tree/main/skills/abacus-kpt
Command: npx skills add https://github.com/pxlxingliang/abacus-test --skill abacus-kpt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you create and troubleshoot ABACUS KPT files so your SCF, NSCF, DOS, and band-structure calculations use the intended k-point sampling instead of incorrect grids or malformed formats.

Core Features & Use Cases

  • Monkhorst-Pack grid authoring (Auto MP Grid): Generate Γ-centered or standard MP k-point meshes with controllable grid density and shifts.
  • Explicit k-point lists (Explicit K-Points): Define fractional or Cartesian k-point coordinates with weights for specialized sampling and reproducing exact setups.
  • High-symmetry line paths (Line Mode): Build band-structure k-paths using interpolation between labeled points, including correct end-point handling.
  • Guardrails against INPUT overrides: Understand and plan around situations where INPUT options like gamma_only or kspacing overwrite the KPT file.

Quick Start

Ask this skill to write a KPT file for an 8×8×8 Monkhorst-Pack MP grid for a metallic SCF calculation with a 0.5 shift.

Frequently Asked Questions about abacus-kpt

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate an ABACUS KPT file for a Monkhorst-Pack grid?

To generate an ABACUS KPT file for a Monkhorst-Pack grid, specify your grid divisions and shifts to produce a Γ-centered or standard mesh for SCF or NSCF calculations. This ensures correct k-point sampling syntax.

What is the correct ABACUS KPT format for high-symmetry line paths in band structures?

The correct ABACUS KPT format for high-symmetry line paths requires line mode, using interpolation between labeled endpoints for band-structure calculations. This ensures accurate Brillouin zone traversal and proper end-point handling.

Can I use explicit k-point lists with weights in ABACUS?

Yes, you can use explicit k-point lists in ABACUS by defining fractional or Cartesian coordinates with corresponding weights. This supports specialized sampling and reproducing exact setups for SCF and DOS workflows.

Why does my ABACUS k-point sampling not match the KPT file?

Your ABACUS k-point sampling may not match the KPT file due to INPUT option overrides like gamma_only or kspacing. These settings bypass the KPT file, overwriting your intended Monkhorst-Pack grid or explicit k-point configurations.

Does ABACUS support Cartesian coordinates for k-point generation?

Yes, ABACUS supports Cartesian coordinates for k-point generation within explicit k-point lists. You can define these coordinates alongside their weights to ensure format compliance for your specific sampling needs.

What is the best way to set up k-point sampling for DOS calculations in ABACUS?

The best way to set up k-point sampling for DOS calculations in ABACUS is using a dense Monkhorst-Pack grid in the KPT file. This ensures comprehensive Brillouin zone integration while avoiding conflicts with INPUT overrides.