Yambopy- Converge
Posted: Wed May 21, 2025 4:11 am
Dear Dr. Daniele Varsano,
I also, tried to use yambopy to converge parameters as the following link: https://wiki.yambo-code.eu/wiki/index.p ... ption_(BN) and modifies the python script (bse_conv_bn.py) and produced the adsorption spectrum for different amount of each variable, but the script doesn't give me the plots and return the following error :
File "/gpfs1/home/s/g/sghanbar/Yambo/back-tem1/bse_conv_bn.py", line 180, in <module>
if args.plot: plot(what)
^^^^^^^^^^
File "/gpfs1/home/s/g/sghanbar/Yambo/back-tem1/bse_conv_bn.py", line 133, in plot
y.plot_bse(['eps','FFTGvecs'],ax=ax)
File "/users/s/g/sghanbar/yamboenv/lib/python3.11/site-packages/yambopy/analyse.py", line 270, in plot_bse
x = data['E/ev[1]']
~~~~^^^^^^^^^^^
KeyError: 'E/ev[1]' means what step by step each line
even though I went : "/users/s/g/sghanbar/yamboenv/lib/python3.11/site-packages/yambopy/analyse.py" and changed ev to eV , but this time making eV as a problem. Could you please look at also this one. In my "o-FFTGvecs_00010.eps_q1_diago_bse" files , the E is based on eV! (bse_conv_bn.txt file attached for your consideration)
I sincerely appreciate your help.
I also, tried to use yambopy to converge parameters as the following link: https://wiki.yambo-code.eu/wiki/index.p ... ption_(BN) and modifies the python script (bse_conv_bn.py) and produced the adsorption spectrum for different amount of each variable, but the script doesn't give me the plots and return the following error :
File "/gpfs1/home/s/g/sghanbar/Yambo/back-tem1/bse_conv_bn.py", line 180, in <module>
if args.plot: plot(what)
^^^^^^^^^^
File "/gpfs1/home/s/g/sghanbar/Yambo/back-tem1/bse_conv_bn.py", line 133, in plot
y.plot_bse(['eps','FFTGvecs'],ax=ax)
File "/users/s/g/sghanbar/yamboenv/lib/python3.11/site-packages/yambopy/analyse.py", line 270, in plot_bse
x = data['E/ev[1]']
~~~~^^^^^^^^^^^
KeyError: 'E/ev[1]' means what step by step each line
even though I went : "/users/s/g/sghanbar/yamboenv/lib/python3.11/site-packages/yambopy/analyse.py" and changed ev to eV , but this time making eV as a problem. Could you please look at also this one. In my "o-FFTGvecs_00010.eps_q1_diago_bse" files , the E is based on eV! (bse_conv_bn.txt file attached for your consideration)
I sincerely appreciate your help.