14integer,
parameter :: maxit=1000
16real(8) e0,e1,e,chg,chgk
19 write(*,
'("Info(gwefermi): finding the GW Fermi energy")')
33 if (
mp_mpi.and.(mod(it,10) == 0))
then
34 write(*,
'("Info(gwefermi): done ",I4," iterations")') it
54 call mpi_allreduce(mpi_in_place,chg,1,mpi_double_precision,mpi_sum,
mpicom, &
63 if ((e1-e0) < 1.d-12) done=.true.
69write(*,
'("Warning(gwefermi): could not find GW Fermi energy")')
real(8), dimension(:,:), allocatable evalsv