Page 1 of 1
LOCPROJ in v6.5.1
Posted: Sun Dec 21, 2025 7:47 pm
by daniel_kaplan
Hello all,
I'm encountering the following issue when specifying LOCPROJ using a range specification of sites, i.e.,
As opposed to
.
Specifying using 1-6 returns
LPRJ_READER: ERROR: site index of function: 9 out of range: -6
While the latter works (apparently).
Any advice? POSCAR and INCAR are attached.
Re: LOCPROJ in v6.5.1
Posted: Mon Dec 22, 2025 2:15 pm
by ferenc_karsai
Please upload all necessary files according to the forum guidelines.
Re: LOCPROJ in v6.5.1
Posted: Tue Dec 23, 2025 3:23 am
by daniel_kaplan
Re: LOCPROJ in v6.5.1
Posted: Tue Dec 23, 2025 8:30 am
by ferenc_karsai
Thanks for reporting that. I could reproduce the behavior with VASP.6.5.1 and also with our latest development version.
I see the LOCPROJ description says that "1-6" should be a permitted way of setting the atomic sites.
I will report this problem to a colleague who works on the LOCPROJ file. He is now on christmas holidays so it will take a while until he will be able to work on a fix.
Until that please specify each atomic site explicitely.
Re: LOCPROJ in v6.5.1
Posted: Fri Jan 23, 2026 9:56 am
by henrique_miranda
Sorry for my delayed answer.
Indeed this is wrong behaviour from our parser.
We will try to fix it as soon as possible.
In the meantime a workaround is to use (add spaces around the dash):