Skip to content

fix(abacus): use --config flag for phonopy 4.1.0 load mode compatibility#120

Open
Letian88 wants to merge 1 commit into
deepmodeling:mainfrom
Letian88:main
Open

fix(abacus): use --config flag for phonopy 4.1.0 load mode compatibility#120
Letian88 wants to merge 1 commit into
deepmodeling:mainfrom
Letian88:main

Conversation

@Letian88

@Letian88 Letian88 commented Jul 3, 2026

Copy link
Copy Markdown

phonopy 4.1.0 ignores positional conf file arguments when in 'load mode' (triggered by phonopy_disp.yaml). This caused band.yaml/mesh.yaml to not be generated during the Post step for ABACUS phonon and gruneisen properties.

Fix: pass band.conf explicitly via --config flag, which phonopy 4.1.0 correctly reads as a configuration file even in load mode.

Tested with Cu FCC (ABACUS DFT, 2x2x2 supercell):

  • phonon: band.yaml + band.dat + mesh.yaml generated successfully
  • gruneisen: FORCE_CONSTANTS + mesh.yaml (3 volumes) generated successfully

phonopy 4.1.0 ignores positional conf file arguments when in 'load mode'
(triggered by phonopy_disp.yaml). This caused band.yaml/mesh.yaml to not
be generated during the Post step for ABACUS phonon and gruneisen properties.

Fix: pass band.conf explicitly via --config flag, which phonopy 4.1.0
correctly reads as a configuration file even in load mode.

Tested with Cu FCC (ABACUS DFT, 2x2x2 supercell):
- phonon: band.yaml + band.dat + mesh.yaml generated successfully
- gruneisen: FORCE_CONSTANTS + mesh.yaml (3 volumes) generated successfully
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant