Dear Andrea,
many many thanks for the detailed descriptions and bug fixes.
* force_symmorphic=.TRUE. , nosym=.FALSE. , noinv=.FALSE.
only force_symmorphic=.TRUE. is actually needed
That's true, this was an older input file, and i just wanted to check whether the results are consistent with and without symmetries.
* scf calculation + nine = 60
always perform a scf calculation followed by a nscf calculation to compute a larger number of bands
(symmetry restrictions can be applied in the second step only)
This was just a test to be able to quickly run the scf and spot the problem because of the crash.
What i do generally, i optimize a relatively large number of bands (400-600)
self-consistently, instead of running only one nscf cycle.
Since i noticed that it can affect absorption peaks by up to 0.4 eV. It is off course system-dependent.
more subtle: in scf a lower thr of convergence is used for empty states (they do not contribute to the charge density),
while in nscf a full convergence is performed for all states. in the QE language: diago_full_acc = .false. by default in
scf, while .true. in nscf.
This can somehow impact the quality of the results in a non-negligible way
I generally set the threshold to 1.0e-08 in scf for a large number of bands (400-600). I think it should be good enough.
I further noticed that even for simple small sized systems (made out of Hydrogen and Oxygen) kinetic energy cut-off should be set to really high values up to 100 Rydberg,
in order to prevent errors in the position of absorption peaks as large as 0.2 eV.
I see in many publications people often use energy cut-off between 50 to 85 Rydberg, and this may be not very accurate.
diago_david_ndim=32 : when using davidson, recent tests seem to point out that the smaller diago_david_ndim the
better. the default value is 4, one can try with diago_david_ndim=2 (should take more iterations, but with matrices with
a smaller size)
Actually what i observed, was that the higher diago_david_ndim, the faster is calculation at the expense of more memory consummation.
I found that diago_david_ndim=32 or diago_david_ndim=16 depending on the large number of bands in scf and number of k-points turns out to result in fast DFT performance.
Thanks a lot and best wishes
Luca