Self-Energy in double precision
Posted: Thu Nov 19, 2009 5:29 pm
Dear developers,
we have compiled the yambo code (version 3.2.1-448) with flag --enable-dp.
In order to succesfully compile the code we have done the following change:
from
serial_number=pickup_a_random(10000.)
to
serial_number=pickup_a_random(10000._SP)
in the interface files.
We have run a simple test on GaAs bulk and we have checked how Hartree-Fock Self-Energy and Vxc depend on the precision.
In single precision we get:
S_x/V_xc [eV] @ K [1] (iku): 0.000 0.000 0.000
<1|S_x|1> = -17.63821 0.3359E-7 <1|V_xc|1> = -10.85130 0.204E-12
<2|S_x|2> = -12.70886 -.1143E-7 <2|V_xc|2> = -11.39071 -.1539E-8
<3|S_x|3> = -12.70886 0.1345E-7 <3|V_xc|3> = -11.39062 -.6378E-9
<4|S_x|4> = -12.70886 -.4144E-8 <4|V_xc|4> = -11.39067 0.4134E-8
<5|S_x|5> = -6.453350 -.8065E-8 <5|V_xc|5> = -10.37455 -.1002E-8
<6|S_x|6> = -5.149593 -.2198E-8 <6|V_xc|6> = -9.544415 0.2515E-9
<7|S_x|7> = -5.149593 0.3619E-9 <7|V_xc|7> = -9.544482 0.4986E-9
<8|S_x|8> = -5.149593 -.3917E-8 <8|V_xc|8> = -9.544437 -.1059E-8
<9|S_x|9> = -2.312710 -.129E-10 <9|V_xc|9> = -7.621466 0.1462E-8
<10|S_x|10> = -3.988679 0.1474E-8 <10|V_xc|10> = -9.557715 0.3722E-8
<11|S_x|11> = -3.988681 -.2269E-8 <11|V_xc|11> = -9.557673 0.508E-10
....
In double precision we have:
S_x/V_xc [eV] @ K [1] (iku): 0.000 0.000 0.000
<1|S_x|1> = -17.63830 -.607E-18 <1|V_xc|1> = -Inf NaN
<2|S_x|2> = -12.70891 -.297E-16 <2|V_xc|2> = -Inf NaN
<3|S_x|3> = -12.70891 -.975E-17 <3|V_xc|3> = -Inf NaN
<4|S_x|4> = -12.70891 0.185E-17 <4|V_xc|4> = -Inf NaN
<5|S_x|5> = -6.453395 0.263E-17 <5|V_xc|5> = -Inf NaN
<6|S_x|6> = -5.149614 -.613E-18 <6|V_xc|6> = -Inf NaN
<7|S_x|7> = -5.149614 0.630E-17 <7|V_xc|7> = -Inf NaN
<8|S_x|8> = -5.149614 0.601E-17 <8|V_xc|8> = -Inf NaN
<9|S_x|9> = -2.312721 -.337E-18 <9|V_xc|9> = -Inf NaN
<10|S_x|10> = -3.988698 0.102E-17 <10|V_xc|10> = -Inf NaN
<11|S_x|11> = -3.988698 0.323E-17 <11|V_xc|11> = -Inf NaN
….
Can you help us?
Thanks.
Sincerely,
Marco Govoni and Ivan Marri
we have compiled the yambo code (version 3.2.1-448) with flag --enable-dp.
In order to succesfully compile the code we have done the following change:
from
serial_number=pickup_a_random(10000.)
to
serial_number=pickup_a_random(10000._SP)
in the interface files.
We have run a simple test on GaAs bulk and we have checked how Hartree-Fock Self-Energy and Vxc depend on the precision.
In single precision we get:
S_x/V_xc [eV] @ K [1] (iku): 0.000 0.000 0.000
<1|S_x|1> = -17.63821 0.3359E-7 <1|V_xc|1> = -10.85130 0.204E-12
<2|S_x|2> = -12.70886 -.1143E-7 <2|V_xc|2> = -11.39071 -.1539E-8
<3|S_x|3> = -12.70886 0.1345E-7 <3|V_xc|3> = -11.39062 -.6378E-9
<4|S_x|4> = -12.70886 -.4144E-8 <4|V_xc|4> = -11.39067 0.4134E-8
<5|S_x|5> = -6.453350 -.8065E-8 <5|V_xc|5> = -10.37455 -.1002E-8
<6|S_x|6> = -5.149593 -.2198E-8 <6|V_xc|6> = -9.544415 0.2515E-9
<7|S_x|7> = -5.149593 0.3619E-9 <7|V_xc|7> = -9.544482 0.4986E-9
<8|S_x|8> = -5.149593 -.3917E-8 <8|V_xc|8> = -9.544437 -.1059E-8
<9|S_x|9> = -2.312710 -.129E-10 <9|V_xc|9> = -7.621466 0.1462E-8
<10|S_x|10> = -3.988679 0.1474E-8 <10|V_xc|10> = -9.557715 0.3722E-8
<11|S_x|11> = -3.988681 -.2269E-8 <11|V_xc|11> = -9.557673 0.508E-10
....
In double precision we have:
S_x/V_xc [eV] @ K [1] (iku): 0.000 0.000 0.000
<1|S_x|1> = -17.63830 -.607E-18 <1|V_xc|1> = -Inf NaN
<2|S_x|2> = -12.70891 -.297E-16 <2|V_xc|2> = -Inf NaN
<3|S_x|3> = -12.70891 -.975E-17 <3|V_xc|3> = -Inf NaN
<4|S_x|4> = -12.70891 0.185E-17 <4|V_xc|4> = -Inf NaN
<5|S_x|5> = -6.453395 0.263E-17 <5|V_xc|5> = -Inf NaN
<6|S_x|6> = -5.149614 -.613E-18 <6|V_xc|6> = -Inf NaN
<7|S_x|7> = -5.149614 0.630E-17 <7|V_xc|7> = -Inf NaN
<8|S_x|8> = -5.149614 0.601E-17 <8|V_xc|8> = -Inf NaN
<9|S_x|9> = -2.312721 -.337E-18 <9|V_xc|9> = -Inf NaN
<10|S_x|10> = -3.988698 0.102E-17 <10|V_xc|10> = -Inf NaN
<11|S_x|11> = -3.988698 0.323E-17 <11|V_xc|11> = -Inf NaN
….
Can you help us?
Thanks.
Sincerely,
Marco Govoni and Ivan Marri