PARCHG writing error for LSEPB = T and LSEPK = T
Posted: Thu Oct 28, 2021 10:26 pm
Dear VASP developers,
I have recently noticed what appears to be a writing error for partial charge density files (PARCHG) separated per-band (LSEPB=T) and per-kpoint (LSEPK=T). Alternatively, it might be a computation error that manifests in the printed files, perhaps a buffer overflow error, for example. I am not exactly sure, but I will explain the issue below.
The error is as follows: at seemingly random points within the files, asterisk (*) marks take the place of expected numerical values. I have attached the corresponding INCAR and OUTCAR files, as well as a screenshot of my terminal output where I have used 'grep' to extract the asterisk marks from the affected files. I attempted to attach an example PARCHG file, but it was too large. The screenshot contains all affected data points, so hopefully that is sufficient.
Overall, I ran a job that wrote 7 PARCHG files, and across these files, 19 errors occurred in total (see attached screenshot named PARCHG_pb_pk_error.png). Each PARCHG file contains about 500 million numerical values, so 19 errors is exceedingly rare. However, it was enough to cause issues for me while analyzing the results. Not all files were affected: 4 printed correctly, and 3 printed incorrectly. One comment I have is that these are spin-polarized calculations, restricted to a total triplet multiplicity (ISPIN=2, NUPDOWN=2). And furthermore, the asterisks only occur in the up - down densities. All up + down data points are correctly printed as numerical values. I'm not sure if this is relevant considering how rare the error is, but it is something I noticed.
Any help would be appreciated.
Many thanks,
Peyton Cline
Postdoctoral Researcher
Dr. Joel Eaves' Group
University of Colorado, Boulder
I have recently noticed what appears to be a writing error for partial charge density files (PARCHG) separated per-band (LSEPB=T) and per-kpoint (LSEPK=T). Alternatively, it might be a computation error that manifests in the printed files, perhaps a buffer overflow error, for example. I am not exactly sure, but I will explain the issue below.
The error is as follows: at seemingly random points within the files, asterisk (*) marks take the place of expected numerical values. I have attached the corresponding INCAR and OUTCAR files, as well as a screenshot of my terminal output where I have used 'grep' to extract the asterisk marks from the affected files. I attempted to attach an example PARCHG file, but it was too large. The screenshot contains all affected data points, so hopefully that is sufficient.
Overall, I ran a job that wrote 7 PARCHG files, and across these files, 19 errors occurred in total (see attached screenshot named PARCHG_pb_pk_error.png). Each PARCHG file contains about 500 million numerical values, so 19 errors is exceedingly rare. However, it was enough to cause issues for me while analyzing the results. Not all files were affected: 4 printed correctly, and 3 printed incorrectly. One comment I have is that these are spin-polarized calculations, restricted to a total triplet multiplicity (ISPIN=2, NUPDOWN=2). And furthermore, the asterisks only occur in the up - down densities. All up + down data points are correctly printed as numerical values. I'm not sure if this is relevant considering how rare the error is, but it is something I noticed.
Any help would be appreciated.
Many thanks,
Peyton Cline
Postdoctoral Researcher
Dr. Joel Eaves' Group
University of Colorado, Boulder