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

problem with triqs version #156

Closed
Reyhanehe opened this issue Jan 2, 2021 · 2 comments
Closed

problem with triqs version #156

Reyhanehe opened this issue Jan 2, 2021 · 2 comments
Assignees
Labels

Comments

@Reyhanehe
Copy link

Dear all
Hi
Happy new year:)
I want use hubbardI method using triqs 3.0.0 and using WIEN2k codes. But when I want to run "python ce_gamma.py" from "triqs webpage", I have following error:
from triqs.applications.impurity_solvers.hubbard_I.hubbard_solver import Solver ModuleNotFoundError: No module named 'triqs.applications'
Can you please help me to solve this error?
noticable that I installed triqs and hubbardI package without any errors. I should add some lines similar to triqs.install in my bashrs? if yes, what?
Thanks a lot
Sincerely yours
Reyhaneh

@Reyhanehe Reyhanehe added the bug label Jan 2, 2021
@the-hampel
Copy link
Member

the-hampel commented Jan 4, 2021

Hi,

I guess this line is not correct anymore for triqs 3.x.x . Taking a look here: https://triqs.github.io/hubbardI/latest/ce.html and in the script provided in the documentation of the HubbardI solver: https://github.com/TRIQS/hubbardI/blob/3.0.x/doc/ce_input/ce.py the line to import the solver is:

from triqs_hubbardI import Solver

However, the rest of the example is also very outdated and needs to be updated. We will work on that. I the mean time you can try the up-to-date script here: https://github.com/TRIQS/hubbardI/blob/3.0.x/doc/ce_input/ce.py and the according example here: https://triqs.github.io/hubbardI/latest/ce.html . Just use the h5 file from the wien2k converter as an input.

Best,
Alex

@the-hampel
Copy link
Member

I will close this issue now since it will be worked on in issue #160

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants