Different NBANDS value from two computer resources

Problems running VASP: crashes, internal errors, "wrong" results.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
pnita

Different NBANDS value from two computer resources

#1 Post by pnita » Wed Apr 25, 2012 9:09 pm

Dear All,

I have calculated the DOS on the clean vanadium surface using two computer resources (school's cluster VS TeraGrid). When I plotted the LDOS of d-orbital, I found dissimilarity between two results I obtained and I figured out that the NBANDS value is the reason. I didn't explicitly set NBANDS in the INCAR so I assumed that the value should be default.

According to VASP manual, the NBANDS for the non-spinpolarized calculation is NELECT/2 + NIONS/2. In my system, NELECT = 140 and NIONS = 28. Therefore, I should expect the NBANDS is 140/2 + 28/2 = 84. However, the NBANDS value from two calculations are

School's cluster --> 88
TeraGrid --> 128

So, here is my questions
1. Why is the real NBANDS value different from the expected one?
2. Why do two computer clusters give different NBANDS value?

Both calculations were done with vasp.4.6.36.

Thank you very much.
Last edited by pnita on Wed Apr 25, 2012 9:09 pm, edited 1 time in total.

alex
Hero Member
Hero Member
Posts: 585
Joined: Tue Nov 16, 2004 2:21 pm
License Nr.: 5-67
Location: Germany

Different NBANDS value from two computer resources

#2 Post by alex » Thu Apr 26, 2012 9:53 am

As far as I know the numer is a multiple of either NPAR or the number of processor cores?!

Cheers,

alex
Last edited by alex on Thu Apr 26, 2012 9:53 am, edited 1 time in total.

pnita

Different NBANDS value from two computer resources

#3 Post by pnita » Thu Apr 26, 2012 7:57 pm

Dear Alex,

Thank you for your response. So does it partly has anything to do with NELECT and NIONS? Or it's relied only with NPAR or number of processors?

Thank you.
Last edited by pnita on Thu Apr 26, 2012 7:57 pm, edited 1 time in total.

admin
Administrator
Administrator
Posts: 2921
Joined: Tue Aug 03, 2004 8:18 am
License Nr.: 458

Different NBANDS value from two computer resources

#4 Post by admin » Fri Apr 27, 2012 12:33 pm

NBANDS= N x #CPUs overrules this setting
Last edited by admin on Fri Apr 27, 2012 12:33 pm, edited 1 time in total.

pnita

Different NBANDS value from two computer resources

#5 Post by pnita » Mon Apr 30, 2012 12:10 am

Dear Admin,

Thank you for the clarification. By the way, what does N refer to here in NBANDS = N x #CPUs?

Thank you.
Last edited by pnita on Mon Apr 30, 2012 12:10 am, edited 1 time in total.

gevolo
Newbie
Newbie
Posts: 11
Joined: Tue May 05, 2009 3:57 pm

Different NBANDS value from two computer resources

#6 Post by gevolo » Sun Jun 10, 2012 4:33 pm

N should be just an integer, so your two clusters have probably diff number of CPUs. In order NBANDS to be a multiple of the cores used, VASP modifies its value. If you check the core number of each case, it should make sense.
Last edited by gevolo on Sun Jun 10, 2012 4:33 pm, edited 1 time in total.

Post Reply