Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: list index out of range with FHI-aims #64

Open
derLeere opened this issue Jul 16, 2023 · 2 comments
Open

IndexError: list index out of range with FHI-aims #64

derLeere opened this issue Jul 16, 2023 · 2 comments

Comments

@derLeere
Copy link

Dear Lucy,

I'm getting following error while using effmass for FHI-aims band structure calculation:

IndexError                                Traceback (most recent call last)
Input In [8], in <cell line: 1>()
----> 1 mos2_mos2_hhh = inputs.DataAims('hhh/')

File ~\anaconda3\lib\site-packages\effmass\inputs.py:688, in DataAims.__init__(self, directory_path, output_name)
    686 kpoints[int(kpoint_counter), 2] = float(words[3])
    687 for i in range(number_of_bands):
--> 688     energies[i, int(kpoint_counter)] = float(words[5 + 2 * i])
    689     occupancy[i, int(kpoint_counter)] = float(words[4 + 2 * i])
    690 kpoint_counter += 1

IndexError: list index out of range

I have tried the all the possible solutions mentioned in similar issues posted and installed effmass using all posible methods. However, nothing solved the problem.

You can find my input files attached to this post
hhh.zip

@lucydot
Copy link
Owner

lucydot commented Sep 11, 2023

Hi @derLeere can you let us know which version of fhi-aims and effmass you are using? @MatthiasGolomb do you know which version of fhi-aims effmass is compatible with - I'm thinking there may be a fhi-aims update which breaks effmass interface?

@derLeere
Copy link
Author

Hi @lucydot I use versions:

FHI-aims: 201231
effmass: 2.3.2.dev2

best regards

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

No branches or pull requests

2 participants