I am trying to understand how FFTGvecs are automatically set.
I have built a first database from a QE calculation and the r_setup file shows "G-vectors : 76163 [RL space]" (same as the output of nscf). However, r_setup also shows:
Code: Select all
[WARNING] Found non closed shells. Max cutoff will be reduced.
[WARNING] Set Gthresh>1.E-5 in input to avoid this. Too big Gthresh will pack shells together
Full and reduced cutoff: 11635.2 299813. [mHa]
So I tried to increase Gthresh and did the initialization again and now all 76163 G-vectors appear in nG charge and MaxGvecs doesn't appear at the end of r_setup, as expected.
However, when I generate a script for an optical (RPA) calculation, the variable FFTGvecs is set to 11153 RL (when I should have 76163 G-vectors usable). And if I remove this line and run the simulation, the input file at the end of the output shows FFTGvecs = 11153 RL. And even if I try to set FFTGvecs to 76163 RL, the result is the same.
Could you please clarify why it seems that the FFTGvecs variable is automatically set to a lower value than what is available in the SAVE database?
Many thanks in advance!
(I can provide a minimal test on request)