Page 1 of 1

Changing parameters in RPA

Posted: Sun Mar 05, 2023 5:04 pm
by sc_han
Dear users of this forum,

While performing RPA-related calculations using VASP, I came across several questions and wondered if you could help me.


Firstly, I wanted to understand why it is suggested that ENCUTGW is best when it is 2/3 of ENCUT. I wondered if this was because it strikes a balance between accuracy and computational cost for extrapolation. If this is the case, I was curious to know if it is still possible to obtain good results using ENCUT = ENCUTGW, even if the extrapolation calculation is a bit expensive.

Secondly, I have a question about running the calculation at low ENCUT while holding NBANDS and ENCUT through WAVECAR generated at high ENCUT (ISTART = 1). I have attached the inputs and outputs related to this calculation, but I had to exclude the WAVECAR file due to its large size. Would this cause an orbital orthonormalization error? Also, I was curious to know why the GENERATE_KPOINTS_TRANS process causes a bug on some systems and what circumstances usually lead to this phenomenon. Why can add one molecule alternate between errors and bugs?

Finally, I encountered a similar error when calculating RPA using high ENCUTGW while maintaining NBANDS and ENCUT through WAVECAR generated at low ENCUT.


Thank you for taking the time to read this post, and I appreciate any insights you can offer.

Best regards,

sc_han

Re: Changing parameters in RPA

Posted: Mon Mar 06, 2023 12:13 pm
by pedro_melo
Dear sc_han,

Please include the INCAR file for the ground state run that you used for this system, as well as the corresponding output files, with the exception of the WAVECAR file.

Kind regards,
Pedro Melo

Re: Changing parameters in RPA

Posted: Mon Mar 06, 2023 12:31 pm
by sc_han
Dear pedro_melo,


Here are my inputs and outputs for generating larger WAVECAR for RPA calculation using ALGO = EXACT.

I used SYMPREC = 1E-06 in this case, but the situation did not change when using the same setting for the RPA calculation.


Please tell me if you need anything more.

Best regards,

sc_han

Re: Changing parameters in RPA

Posted: Wed Sep 20, 2023 6:47 am
by kresse_georg
I apologize for the late answer, but since the issue is important, I will answer the first part of the question:
I will try to explain, why using ENCUTGW < ENCUT leads to a reliable extrapolation.

In Jiří Klimeš, Merzuk Kaltak, and Georg Kresse, Phys. Rev. B 90, 075125, https://doi.org/10.1103/PhysRevB.90.075125
we discuss the basis set corrections. However there are many related and similar papers.

The essence of the basis set extrapolation procedure is that if one uses an infinite set of orbitals (ENCUT -> infinifty), then and only then one obtains a convergence like 1/(number of plane waves in the response function) for the correlation energy. Internally, VASP uses a set of different ENCUTGW to perform this extrapolation. Although the extrapolation is in principle only accurate for very large ENCUT (formally ENCUT -> infinity), we found that it is usually sufficiently accurate, if ENCUT > 3/2 ENCUTGW. Sometimes however ENCUT > 1/2 ENCUTGW is required for highly accurate results.

So contrary to intuition, setting ENCUT = ENCUTGW generally yields less accurate results and not more reliable results (smaller absolute correlation energies)!

To test the accuracy of the extrapolation, the best procedure is to run different calculations using an ever increasing ENCUT and keeping ENCUTGW = 2/3 ENCUT. Maybe there are other procedures that also work reliably, but we have not found any other competitive and accurate procedure, despite extensive tests.

Re: Changing parameters in RPA

Posted: Wed Sep 20, 2023 6:57 am
by kresse_georg
I do not understand the second question, so will first try to extrapolate what you might elude to:

It seems you want to generate a WAVECAR using a specific ENCUT and NBANDS.
In a second step, you would like to read this WAVECAR file but vary ENCUT and NBANDS via the INCAR file.

Let me be very clear: this does not yield reliable results at all. RPA is a postprocessing step that requires to read a WAVECAR file that has been generated with exactly the same set of bands and plane wave cutoff.
Although VASP can read pretty much any WAVECAR (i.e. one generated with a different NBANDS and ENCUT), the RPA and GW energies can have huge errors if you change NBANDS or ENCUT in the postprocessing (RPA) step.

If you want to change ENCUT or NBANDS, please rerun the self-consistency step.