NPAR error in DOS calculation
Moderators: Global Moderator, Moderator
-
- Jr. Member
- Posts: 69
- Joined: Wed Feb 24, 2010 1:56 pm
- License Nr.: 4-1116 5-3053
NPAR error in DOS calculation
Hi,
I am trying to perform DFT+U calculations on an ionic compound.
I run the calculations on 8 nodes and for DOS calculation, when i dont specify NPAR tag the result is 1.8eV indirect band gap. But with exactly the same input files, when i use NPAR=2 the result is 1.3eV direct band gap.
Do you know the reason of it?
Also there is a big difference between results. Which result is reliable?
Many thanks
I am trying to perform DFT+U calculations on an ionic compound.
I run the calculations on 8 nodes and for DOS calculation, when i dont specify NPAR tag the result is 1.8eV indirect band gap. But with exactly the same input files, when i use NPAR=2 the result is 1.3eV direct band gap.
Do you know the reason of it?
Also there is a big difference between results. Which result is reliable?
Many thanks
Last edited by ccccc on Mon Nov 11, 2013 7:06 pm, edited 1 time in total.
-
- Administrator
- Posts: 2921
- Joined: Tue Aug 03, 2004 8:18 am
- License Nr.: 458
NPAR error in DOS calculation
NPAR should not change the results, please check for other differences in the two runs.
Last edited by admin on Tue Nov 12, 2013 11:50 am, edited 1 time in total.
-
- Jr. Member
- Posts: 69
- Joined: Wed Feb 24, 2010 1:56 pm
- License Nr.: 4-1116 5-3053
NPAR error in DOS calculation
Dear Admin
I checked the input files and results twice. The input files are completely same. The only difference is the NPAR=2 tag in one of them. Although starting with same geometry and same convergence parameters, the final geometries and charge densities are different in the relaxation. So DOS calculations give different results.
I checked the input files and results twice. The input files are completely same. The only difference is the NPAR=2 tag in one of them. Although starting with same geometry and same convergence parameters, the final geometries and charge densities are different in the relaxation. So DOS calculations give different results.
Last edited by ccccc on Tue Nov 12, 2013 12:44 pm, edited 1 time in total.
-
- Hero Member
- Posts: 586
- Joined: Tue Nov 16, 2004 2:21 pm
- License Nr.: 5-67
- Location: Germany
NPAR error in DOS calculation
NPAR settings affect the number of _empty_ bands, if I'm not terribly wrong. Maybe here is your trouble.
Cheers,
alex
Cheers,
alex
Last edited by alex on Wed Nov 13, 2013 5:42 pm, edited 1 time in total.
-
- Jr. Member
- Posts: 69
- Joined: Wed Feb 24, 2010 1:56 pm
- License Nr.: 4-1116 5-3053
NPAR error in DOS calculation
Dear Alex
As far as I know, NPAR is used for parallelisation to improve the performance of the job. It should not change the results. So do you have any advice to me?
As far as I know, NPAR is used for parallelisation to improve the performance of the job. It should not change the results. So do you have any advice to me?
Last edited by ccccc on Fri Nov 15, 2013 2:09 pm, edited 1 time in total.
-
- Hero Member
- Posts: 586
- Joined: Tue Nov 16, 2004 2:21 pm
- License Nr.: 5-67
- Location: Germany
NPAR error in DOS calculation
I agree, it should not change a thing. But well, you might guess that it might be more complicated in the real world. Maybe your NBANDS are simply not sufficient?
Try typing
grep NBANDS OUTCAR
for both NPAR settings and tell us the result. What is the number of your last occupied band?
Cheers,
alex
Try typing
grep NBANDS OUTCAR
for both NPAR settings and tell us the result. What is the number of your last occupied band?
Cheers,
alex
Last edited by alex on Fri Nov 15, 2013 4:37 pm, edited 1 time in total.
-
- Jr. Member
- Posts: 69
- Joined: Wed Feb 24, 2010 1:56 pm
- License Nr.: 4-1116 5-3053
NPAR error in DOS calculation
I checked the results. The number of last occupied bands in both calculations are same.
PS: Now i submitted a new calculation with increased number of bands and will see what happens.
PS: Now i submitted a new calculation with increased number of bands and will see what happens.
Last edited by ccccc on Fri Nov 15, 2013 8:00 pm, edited 1 time in total.
-
- Jr. Member
- Posts: 69
- Joined: Wed Feb 24, 2010 1:56 pm
- License Nr.: 4-1116 5-3053
NPAR error in DOS calculation
Nothing has changed!
Last edited by ccccc on Mon Nov 18, 2013 11:52 am, edited 1 time in total.
-
- Newbie
- Posts: 9
- Joined: Wed Jun 12, 2013 7:13 am
NPAR error in DOS calculation
Based on my experience, I think NPAR isn't a purely computational setting.
For some calculations involving particular materials or systems, NPAR gives us very different physical quantities as you said. It may also causes some convergence problems in some cases.
For some calculations involving particular materials or systems, NPAR gives us very different physical quantities as you said. It may also causes some convergence problems in some cases.
Last edited by Yue-Wen Fang on Thu Mar 13, 2014 12:28 pm, edited 1 time in total.