cp2k segmentation fault on PDOS

If you get a segfault with cp2k and a backtrace similar to this one:

while performing calculations to get the projected density of states, then your problem may be CP2K_INPUT / FORCE_EVAL / DFT / PRINT / PDOS / LDOS / LIST. According to the manual, this gives the indices of the atoms to be taken into account for the projection. It you have added any index that is out of range of your current system atom count, there will be no warning from cp2k but rather the segfault described above.

This has been tested with cp2k 2.5.1, rev. 13632.

Leave a comment

Your email address will not be published.