KeyError: 'QPkrange' while running gw+bse calculation

Post here any question you encounter when running the scripts of the yambo-py suite. Post here problem strictly to the python interface as problem coming from the yambo runs should go in the appropriate subforum.

Moderators: palful, amolina, mbonacci

Post Reply
amal_kishore
Posts: 4
Joined: Fri Nov 05, 2021 7:04 pm

KeyError: 'QPkrange' while running gw+bse calculation

Post by amal_kishore » Sun Nov 07, 2021 10:30 am

Dear all,
Greetings of the day!!
May I have your attention, please?

I tried running gw_bse_bn.py but ended up in error, as given below:

[amalk@ramanujan bn]$ python gw_bse_bn.py -r -t 8
nscf calculation found!
Traceback (most recent call last):
File "gw_bse_bn.py", line 108, in <module>
if args.run: run(nthreads,cut)
File "gw_bse_bn.py", line 49, in run
QPKrange,_ = y['QPkrange']
File "/home/amalk/.local/lib/python3.6/site-packages/yambopy-0.1-py3.6.egg/yambopy/io/inputfile.py", line 150, in __getitem__
return self.variables[key]
KeyError: 'QPkrange'
[amalk@ramanujan bn]$ cd gw+bse/
[amalk@ramanujan gw+bse]$ ls
SAVE yambo.in

Please find below the bn_nscf_input, nscf.log and gw_bse_bn.py files.
Can we figure out the problem?

Thanks,
amal
You do not have the required permissions to view the files attached to this post.
Amal Kishore
Ph.D. Student
Institute of Nano Science and Technology, Mohali, India
https://inst.ac.in/

User avatar
palful
Posts: 56
Joined: Tue Jan 26, 2016 11:23 am
Location: Modena and Milan

Re: KeyError: 'QPkrange' while running gw+bse calculation

Post by palful » Mon Nov 08, 2021 5:36 pm

Hi Amal,

Try to rerun everything following my reply to your other posting!

Cheers,
Fulvio
Dr. Fulvio Paleari
S3-CNR Institute of Nanoscience and MaX Center
Modena, Italy

Post Reply