Dear Sir,
I am using QE-6.4.1 stable version downloaded from GitHub and installed it using a patch file as given on the website since without patch file it does not link to wannier90.
Using QE-6.4.1 stable version and wannier90-3.0.0, I see the following:
1(a) If I use wannier90 as a standalone program then it works perfectly fine with USPP (PBE+SOC), with proper spread of wannier functions and I am able to obtain the electronic band structure accurately which is superimposing the electronic band structure computed using usual Quantum ESPRESSO methods.
This is screen shot of case.wout when wannier90 is used as standalone program using PBE+SOC for USPPs.
Cycle: 4420
WF centre and spread 1 ( -0.000004, 2.128701, 9.123921 ) 1.26767900
WF centre and spread 2 ( -0.000004, 2.128701, 9.123921 ) 1.26767902
WF centre and spread 3 ( -0.559684, 2.451758, 8.308179 ) 1.45804631
WF centre and spread 4 ( 0.559679, 2.451755, 8.308179 ) 1.45805250
WF centre and spread 5 ( -0.000001, 1.482548, 8.308081 ) 1.45816933
WF centre and spread 6 ( -0.000000, 1.482548, 8.308081 ) 1.45816931
WF centre and spread 7 ( 1.843517, 1.064358, 5.276143 ) 1.26732163
WF centre and spread 8 ( 1.843517, 1.064358, 5.276143 ) 1.26732161
WF centre and spread 9 ( 1.283677, 0.741212, 6.091920 ) 1.45855980
WF centre and spread 10 ( 2.403354, 0.741210, 6.091920 ) 1.45855386
WF centre and spread 11 ( 1.843514, 1.710693, 6.092018 ) 1.45867762
WF centre and spread 12 ( 1.843514, 1.710693, 6.092018 ) 1.45867759
WF centre and spread 13 ( 0.000000, -0.000001, 7.199974 ) 2.08932502
WF centre and spread 14 ( 0.000000, -0.000001, 7.199974 ) 2.08932493
WF centre and spread 15 ( -1.283672, 0.741210, 6.091920 ) 1.45855347
WF centre and spread 16 ( 1.283830, -0.741301, 8.308179 ) 1.45804569
WF centre and spread 17 ( 1.283677, 0.741212, 6.091920 ) 1.45855986
WF centre and spread 18 ( -1.283834, -0.741303, 8.308179 ) 1.45805190
WF centre and spread 19 ( -0.000000, 0.000010, 7.199993 ) 2.35647021
WF centre and spread 20 ( -0.000000, 0.000010, 7.199993 ) 2.35648214
WF centre and spread 21 ( 0.000000, -0.000008, 7.199993 ) 2.36252326
WF centre and spread 22 ( 0.000000, -0.000008, 7.199993 ) 2.36250186
Sum of centres and spreads ( 11.061079, 19.158352,158.400644 ) 36.18674593
4420 -0.637E-10 0.0001202077 36.1867394148 307.38 <– CONV
O_D= 0.0198180 O_OD= 3.7432054 O_TOT= 36.1867394 <– SPRD
Delta: O_D= 0.1283411E-11 O_OD= -0.6494183E-10 O_TOT= -0.6365042E-10 <– DLTA
<<< Delta < 1.000E-10 over 3 iterations >>>
<<< Wannierisation convergence criteria satisfied >>>
1(b) However, when I am using wannier90 through EPW code, then it does not function properly for USPP (PBE+SOC). I am getting negative values for the spread of the wannier functions.
this is a screen shot of case.wout file when using wannier90 through EPW code using PBE+SOC for USPPs.
Cycle: 1900
WF centre and spread 1 ( -0.018064, 0.015564, 7.215867 ) -3.59493083
WF centre and spread 2 ( -0.012818, 0.010867, 7.214204 ) -3.69301099
WF centre and spread 3 ( -0.346671, 0.231294, 7.128486 ) -19.36065631
WF centre and spread 4 ( 0.855645, -0.459047, 7.748742 ) -25.71614284
WF centre and spread 5 ( -0.316112, 0.653469, 7.060301 ) -23.46206674
WF centre and spread 6 ( 0.232388, -1.121790, 6.545472 ) -29.56140242
WF centre and spread 7 ( -0.098692, 0.317067, 7.297382 ) -8.43031009
WF centre and spread 8 ( -0.005728, -0.004691, 7.219264 ) -6.88013196
WF centre and spread 9 ( -0.298676, 0.232059, 7.001261 ) -9.98295138
WF centre and spread 10 ( 0.077482, 0.048029, 7.191064 ) -5.85536684
WF centre and spread 11 ( 0.050472, 2.155304, 8.857608 ) -19.25430293
WF centre and spread 12 ( 0.046595, 2.146807, 8.839971 ) -18.51962533
WF centre and spread 13 ( 0.018529, 2.303748, 8.267695 ) -6.28610637
WF centre and spread 14 ( 0.152053, 2.293421, 8.269241 ) -6.09383937
WF centre and spread 15 ( -0.044362, 2.192186, 8.286461 ) -5.43347022
WF centre and spread 16 ( -0.063543, 1.964205, 8.387294 ) -7.07388678
WF centre and spread 17 ( 1.803844, 1.079801, 5.622937 ) -17.79182924
WF centre and spread 18 ( 1.805724, 1.065768, 5.603740 ) -18.28185838
WF centre and spread 19 ( 1.628611, 0.819957, 6.176104 ) -7.78723402
WF centre and spread 20 ( 1.773585, 0.840445, 6.141179 ) -7.61481942
WF centre and spread 21 ( 1.833917, 1.366712, 6.063676 ) -8.74961753
WF centre and spread 22 ( 1.903480, 0.970270, 6.230122 ) -7.70461853
Sum of centres and spreads ( 10.977657, 19.121447,158.368069 ) -267.12817851
1900 -0.141E-01 2.6165271888 -267.1281842669 269.17 <– CONV
O_D= 1.8370546 O_OD= 65.0916882 O_TOT= -267.1281843 <– SPRD
Delta: O_D= -0.1567362E-02 O_OD= -0.1249986E-01 O_TOT= -0.1406722E-01 <– DLTA
done
- I am not able to use QE developer version (referred by you GitLab) because it has poor or no link to wannier90. I don’t have a proper patch file that will link it to wannier90. The patch which
I generated links the wannier90 to EPW but it also gives the negative spread of wannier functions.
I guess some modification is needed in the subroutine named as "compute_amn_with_scdm_spinor" present at line number 3618 in pw2wannier90.f90 file.