Skip to content

vasp-phonopy-sscha problems  #164

@caolz

Description

@caolz

First I follow the README, after this step “Which is your PHONOPY supercell? 3 ### On a 3x3x3 we could get a good harmonic guess”,The first error occurred : Traceback (most recent call last):
File "/home/ustb-clz/software/vasp-phonopy-sscha-main/vasp-phonopy-sscha/interface.py", line 298, in
run1.matrix_formatting()
File "/home/ustb-clz/software/vasp-phonopy-sscha-main/vasp-phonopy-sscha/interface.py", line 125, in matrix_formatting
self.dynamical_matrix = self.dynamical_matrix.drop(0, 1)
TypeError: DataFrame.drop() takes from 1 to 2 positional arguments but 3 were given

After that I modified lines 125 to 127 of interface.py self.dynamical_matrix = self.dynamical_matrix.drop([0, 1], axis=1)

I was able to continue using it, but after that “You want to use the Sobol sequence for the configurations? y/n” this issue came up.

Traceback (most recent call last):
File "/home/ustb-clz/software/vasp-phonopy-sscha-main/vasp-phonopy-sscha/interface.py", line 314, in
n_random,n_population,NQIRR = generate(None)
File "/home/ustb-clz/software/vasp-phonopy-sscha-main/vasp-phonopy-sscha/generate.py", line 92, in generate
ens = sscha.Ensemble.Ensemble(dyn, T, dyn.GetSupercell()) # (((dyn->new_dyn)
File "/home/ustb-clz/software/intel/oneapi/intelpython/latest/envs/sscha/lib/python3.10/site-packages/sscha/Ensemble.py", line 152, in init
self.dyn_0 = dyn0.Copy()
File "/home/ustb-clz/software/intel/oneapi/intelpython/latest/envs/sscha/lib/python3.10/site-packages/sscha/Ensemble.py", line 230, in setattr
self.w_0, self.pols_0 = value.DiagonalizeSupercell()
File "/home/ustb-clz/software/intel/oneapi/intelpython/latest/envs/sscha/lib/python3.10/site-packages/cellconstructor/Phonons.py", line 3635, in DiagonalizeSupercell
c_e_sc = tilde_e_qnu[itau_modes] * np.exp(1j*phase) / np.sqrt(supercell_size)
ValueError: operands could not be broadcast together with shapes (810,) (150,)

I really don't know how to fix this anymore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions