BSE Calculation: dielectric matrix contains only zeros and ones

Queries about input and output files, running specific calculations, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
shuo_tao
Newbie
Newbie
Posts: 8
Joined: Tue Nov 30, 2021 2:30 pm

BSE Calculation: dielectric matrix contains only zeros and ones

#1 Post by shuo_tao » Mon Apr 17, 2023 6:38 pm

Hi All,

I'm having trouble with BSE calculation to find the imaginary part of the dielectric of Silicon-like bulk crystal system.

I followed the guide on this tutorial, the first 3 steps are fine but final steps gives me only ones and zeros in dielectric matrix in vasprun.xml.

Here is my INCAR:

PREC = Normal ; ENCUT = 500.0
ALGO = BSE
ANTIRES = 0
ISMEAR = 0 ; SIGMA = 0.01
ENCUTGW = 350
EDIFF = 1.E-8
NBANDS = 160
NBANDSO = 4
NBANDSV = 8
LOPTICS = .TRUE. ; LPEAD = .TRUE.
OMEGAMAX = 40
PRECFOCK = Normal

I've tried to increase NBANDSO and NBANDSV, also tried to change PRECFOCK to Accurate, but the issue remains the same. Also I noticed in the tutorial, there is no LOPTICS = .TRUE. ; LPEAD = .TRUE. line in step5, but I added it and copied all the *.tmp files from GW0 step as well as the WAVECAR and WAVEDER from DIAG step.


Thanks in advance,
Shuo

alexey.tal
Global Moderator
Global Moderator
Posts: 314
Joined: Mon Sep 13, 2021 12:45 pm

Re: BSE Calculation: dielectric matrix contains only zeros and ones

#2 Post by alexey.tal » Tue Apr 18, 2023 8:32 am

Dear shuo_tao,

Could you please provide the input and output files as described in the guidelines.

Also, you should not add LOPTICS = .TRUE. and LPEAD = .TRUE., if the BSE algorithm is selected.

shuo_tao
Newbie
Newbie
Posts: 8
Joined: Tue Nov 30, 2021 2:30 pm

Re: BSE Calculation: dielectric matrix contains only zeros and ones

#3 Post by shuo_tao » Tue Apr 18, 2023 11:06 am

Hi, here are the input and output files.
You do not have the required permissions to view the files attached to this post.

alexey.tal
Global Moderator
Global Moderator
Posts: 314
Joined: Mon Sep 13, 2021 12:45 pm

Re: BSE Calculation: dielectric matrix contains only zeros and ones

#4 Post by alexey.tal » Tue Apr 18, 2023 11:55 am

Thank you for providing the input files. It would be also helpful to see the stdout file.

shuo_tao
Newbie
Newbie
Posts: 8
Joined: Tue Nov 30, 2021 2:30 pm

Re: BSE Calculation: dielectric matrix contains only zeros and ones

#5 Post by shuo_tao » Tue Apr 18, 2023 12:47 pm

For stdout file do you mean the VASP log or slurm job output?
You do not have the required permissions to view the files attached to this post.

alexey.tal
Global Moderator
Global Moderator
Posts: 314
Joined: Mon Sep 13, 2021 12:45 pm

Re: BSE Calculation: dielectric matrix contains only zeros and ones

#6 Post by alexey.tal » Tue Apr 18, 2023 1:18 pm

Thank you. I meant the log that VASP prints into the standard output, in your script it is written into a log file.

The warning in your log file indicates that the band gap is very small. What band gap did you find in the GW calculation? Could you please provide the GW input and output files?

shuo_tao
Newbie
Newbie
Posts: 8
Joined: Tue Nov 30, 2021 2:30 pm

Re: BSE Calculation: dielectric matrix contains only zeros and ones

#7 Post by shuo_tao » Tue Apr 18, 2023 1:24 pm

Sure
You do not have the required permissions to view the files attached to this post.

alexey.tal
Global Moderator
Global Moderator
Posts: 314
Joined: Mon Sep 13, 2021 12:45 pm

Re: BSE Calculation: dielectric matrix contains only zeros and ones

#8 Post by alexey.tal » Tue Apr 18, 2023 1:43 pm

Super!
Here are some things that look odd to me:
- The RPA dielectric constant in your GW calculation is 1, which clearly means that something is wrong in this calculation.
- NBANDSGW is too small (see wiki). There is 48 electrons or 24 occupied states in your system, while only NBANDSGW states updated in your GW calculation. I would recommend using the default value NBANDSGW in this case.

What was the gap in the DFT calculation? Could you please provide the input and output files?

shuo_tao
Newbie
Newbie
Posts: 8
Joined: Tue Nov 30, 2021 2:30 pm

Re: BSE Calculation: dielectric matrix contains only zeros and ones

#9 Post by shuo_tao » Tue Apr 18, 2023 2:22 pm

0.0557 eV direct gap for DFT band, 0.0163 eV indirect gap for GW0 band.
You do not have the required permissions to view the files attached to this post.

alexey.tal
Global Moderator
Global Moderator
Posts: 314
Joined: Mon Sep 13, 2021 12:45 pm

Re: BSE Calculation: dielectric matrix contains only zeros and ones

#10 Post by alexey.tal » Tue Apr 18, 2023 3:21 pm

There are partially occupied states in the OUTCAR file, which means that the system is metallic. It might be because the band gap is small and the SIGMA value is too large. Also, I assume this is the DFT calculation you used for plotting the bandstructure. However, I meant that it would be useful to see how you set up the ground state calculation for the GW step, it would correspond to Step 2 of the tutorial. Since the RPA dielectric constant is 1, I would assume that something is wrong with the DFT calculation.

shuo_tao
Newbie
Newbie
Posts: 8
Joined: Tue Nov 30, 2021 2:30 pm

Re: BSE Calculation: dielectric matrix contains only zeros and ones

#11 Post by shuo_tao » Tue Apr 18, 2023 3:32 pm

Ok, right now I don't have access to that directory, since our cluster is down for maintenance.

But I basically use the same INCAR from tutorial except for different KPAR, ENCUT and NBANDS

System = SiGe
PREC = Normal ; ENCUT = 500.0
ALGO = EXACT ; NELM = 1
ISMEAR = 0 ; SIGMA = 0.01
KPAR = 4
NBANDS = 160
LOPTICS = .TRUE. ; LPEAD = .TRUE.
OMEGAMAX = 40

alexey.tal
Global Moderator
Global Moderator
Posts: 314
Joined: Mon Sep 13, 2021 12:45 pm

Re: BSE Calculation: dielectric matrix contains only zeros and ones

#12 Post by alexey.tal » Tue Apr 18, 2023 4:15 pm

The INCAR from the tutorial is fine. However, the NBANDS is probably too small for the GW calculation with 12 atoms in the cell. It is hard to identify the problem without seeing all the files, so I would appreciate if you could share these files when the access is restored.
Perhaps you should try to reproduce the results from the tutorial first and then try to run the calculation for your system.

shuo_tao
Newbie
Newbie
Posts: 8
Joined: Tue Nov 30, 2021 2:30 pm

Re: BSE Calculation: dielectric matrix contains only zeros and ones

#13 Post by shuo_tao » Mon Apr 24, 2023 1:02 pm

Hi,

I redid the whole calculation and increase NBANDS to 768 and NBANDSGW to 48, however the issue remains the same.

I put the SC and DIAG calculations in the attachment.
You do not have the required permissions to view the files attached to this post.

alexey.tal
Global Moderator
Global Moderator
Posts: 314
Joined: Mon Sep 13, 2021 12:45 pm

Re: BSE Calculation: dielectric matrix contains only zeros and ones

#14 Post by alexey.tal » Mon Apr 24, 2023 3:07 pm

The number of k-points in SC and DIAG is different because in the SC calculation the symmetry is switched off (ISYM=0). This mismatch is probably the reason why the dielectric function is not calculated correctly. Why do you need to switch the symmetry off?

Post Reply