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

Dcore can`t fing TRIQS libraries #137

Open
MikhailFrolov-cyber opened this issue Oct 3, 2023 · 5 comments
Open

Dcore can`t fing TRIQS libraries #137

MikhailFrolov-cyber opened this issue Oct 3, 2023 · 5 comments

Comments

@MikhailFrolov-cyber
Copy link

Dear developers
I have installed Dcore and everything was fine. No mistakes or issues was in procces, But when I try to use command dcore_pre dmft_s quare.ini it gives:
triqs_dft_tools is not installed!
We can use a TRIQS-compatible library instead by setting environment variable DCORE_TRIQS_COMPAT to 1.
Traceback (most recent call last):
File "/home/users/py/mfrolov/anaconda3/envs/dmft/bin/dcore_pre", line 5, in
from dcore.dcore_pre import run
File "/home/users/py/mfrolov/anaconda3/envs/dmft/lib/python3.9/site-packages/d core/dcore_pre.py", line 24, in
from dcore._dispatcher import HDFArchive
File "/home/users/py/mfrolov/anaconda3/envs/dmft/lib/python3.9/site-packages/dcore/_dispatcher.py", line 25, in
raise RuntimeError("TRIQS is not found!")
RuntimeError: TRIQS is not found!

But TRIQS and triqs_dft_tools was instaleted. Can you tell me where does the program indicate where to look for TRIQS and triqs_dft_tools? Maybe it's just worth manually prescribing it.

@shinaoka
Copy link
Contributor

shinaoka commented Oct 3, 2023

Hi, how did you install DCore? pip install dcore on anaconda? What happens if you do pip install dcorelib?

@MikhailFrolov-cyber
Copy link
Author

Yes I have done this steps. I`ve re-install triqs_dft_tools and it works. But now when I use dcore -np 2 dmft.ini I get:
RuntimeError: Error occurred while executing MPI program!
In output file this message appears:
AssertionError: Type of indices incorrect : should be None, Gfindices, list of str, or list of list of str
Unexpected error: Type of indices incorrect : should be None, Gfindices, list of str, or list of list of str
I have installed again open mpi using conda install -c conda-forge openmpi but still mistake is happening.

@shinaoka
Copy link
Contributor

shinaoka commented Oct 9, 2023

Hi, I need more information.

  • What impurity solver did you use?
  • Do you have TRIQS (probably from Anaconda) installed on your system? (which version?)

@MikhailFrolov-cyber
Copy link
Author

MikhailFrolov-cyber commented Oct 16, 2023

TRIQS is 3.2.0 version. And whenl I try to use CTHYB TRIQS solver dcore gives me this massage when I use command dcore_pre dmft.ini:
Traceback (most recent call last):
File "/home/users/py/mfrolov/anaconda3/envs/dcore/bin/dcore_pre", line 5, in
from dcore.dcore_pre import run
File "/home/users/py/mfrolov/anaconda3/envs/dcore/lib/python3.12/site-packages/dcore/dcore_pre.py", line 24, in
from dcore._dispatcher import HDFArchive
File "/home/users/py/mfrolov/anaconda3/envs/dcore/lib/python3.12/site-packages/dcore/_dispatcher.py", line 22, in
if not importlib.util.find_spec(l):
^^^^^^^^^^^^^^
AttributeError: module 'importlib' has no attribute 'util'

@DFTsher
Copy link

DFTsher commented Mar 31, 2024

I guess the main problem here was to use approprieate version of Trqis and some packages of python 3.

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

3 participants