Skip to content

Problems when calculating phonon dispersion together with DOS. #267

@TheGreatDeadOne

Description

@TheGreatDeadOne

I tried to calculate the DOS of phonons in a 2D material, but it was not possible due to the following error:

k-point path:
	\Gamma -> X -> M -> \Gamma

k-points:
	\Gamma: 0.0 0.0 0.0
	X: 0.5 0.0 0.0
	M: 0.5 0.5 0.0
Traceback (most recent call last):
  File "/home/gabrielelyas/.pixi/envs/lab/bin/sumo-phonon-bandplot", line 10, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/gabrielelyas/.pixi/envs/lab/lib/python3.12/site-packages/sumo/cli/phonon_bandplot.py", line 733, in main
    phonon_bandplot(
  File "/home/gabrielelyas/.pixi/envs/lab/lib/python3.12/site-packages/sumo/cli/phonon_bandplot.py", line 266, in phonon_bandplot
    phonon.set_mesh(
    ^^^^^^^^^^^^^^^
AttributeError: 'Phonopy' object has no attribute 'set_mesh'. Did you mean: 'init_mesh'?

I also tested it with other calculations I had already done and plotted the graphs, and I got the same error.

Package info (conda):

Name phonopy
Version 2.43.2
Build py314ha0b5721_1
Size 1903853
License BSD-3-Clause
Subdir linux-64
File Name phonopy-2.43.2-py314ha0b5721_1.conda
URL https://conda.anaconda.org/conda-forge/linux-64/phonopy-2.43.2-py314ha0b5721_1.conda
MD5 bc9ebf71a443590caa466888bc95d221
SHA256 d48bb3eab9dedaf14fafd831e810526f187be1d7a499c4786ba1620a490d4258

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions