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

Compile scripts need to be fixed & pymatgen version #3

Open
adenchfi opened this issue Oct 14, 2023 · 2 comments
Open

Compile scripts need to be fixed & pymatgen version #3

adenchfi opened this issue Oct 14, 2023 · 2 comments

Comments

@adenchfi
Copy link

adenchfi commented Oct 14, 2023

Hi,

I'm coming back to try ComDMFT & compiling from source from the master branch.
-- The Makefiles are a bit out of whack however. I needed to change the Makefiles in ComCTQMC because labels like cxx_lmpi were hardcoded, rather than inheriting from the master makefile.
-- I'm not sure if it's syntax changes or what, but at least the flapwmbpy_ini.py script isn't working. For example running the flapwmbpt_ini.py on Na.cif still yields the same error in the other issue I opened years ago. The sp.kpath yields None.

Will open more issues as I try using the code, these are just the ones I found as I've spent an hour getting it installed.

@adenchfi
Copy link
Author

Ah, another issue:
-- Running rspflapw.exe on the /dft/ example with the .ini file already generated (I had to rename comdmft.ini to ini), I get:
mellow@pop-os:~/sys76_laptop/grad_school/Research/ElPh_DMFT/comsuite/ComDMFT/2021School_tutorials_input/dft$ ./rspflapw.exe
'method':'dft',
--------------------------^^^^^^
ERROR: reading beyond the end of the line

The same thing happens for the /tutorials/dft/NiO/ example. The llscript in that directory refers to comdmft.py, but running that yields the same python error with the crystal structure:

Traceback (most recent call last): File "/home/mellow/sys76_laptop/grad_school/Research/ElPh_DMFT/comsuite/ComDMFT/2021School_tutorials_input/dft/../../bin/comdmft.py", line 3801, in <module> run_flapwmbpt(control) File "/home/mellow/sys76_laptop/grad_school/Research/ElPh_DMFT/comsuite/ComDMFT/2021School_tutorials_input/dft/../../bin/comdmft.py", line 3527, in run_flapwmbpt flapwmbpt_ini.main() File "/home/mellow/sys76_laptop/grad_school/Research/ElPh_DMFT/comsuite/ComDMFT/bin/flapwmbpt_ini.py", line 1741, in main xtalstr = fm.crystalstructure(str_in) File "/home/mellow/sys76_laptop/grad_school/Research/ElPh_DMFT/comsuite/ComDMFT/bin/flapwmbpt_input/crystalstructure.py", line 109, in __init__ for labellist in sp.kpath["path"]: TypeError: 'NoneType' object is not subscriptable

@sandimas
Copy link

sandimas commented Nov 9, 2023

pymatgen changed their nomenclature. I fixed this issue by replacing line 104 of bin/flapwmbpt_input/crystalstructure.py with

    sp = mg.symmetry.bandstructure.HighSymmKpath(self.str, path_type='setyawan_curtarolo')

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