<div dir="ltr"><div>This bug has now been fixed in the latest development version of CP2K. See <a href="https://github.com/cp2k/cp2k/issues/847">https://github.com/cp2k/cp2k/issues/847</a></div><div><br></div><br><br>On Thursday, 19 March 2020 18:31:58 UTC, Chris Ahart  wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Dear all,<div><br></div><div>When performing CDFT with Hirshfeld I am getting the following error: "Program received signal SIGSEGV: Segmentation fault - invalid memory reference." This appears to be an issue reported previously (<a href="https://github.com/cp2k/cp2k/issues/560" target="_blank" rel="nofollow" onmousedown="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fcp2k%2Fcp2k%2Fissues%2F560\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFUGKkBt2t1CZS0ysAmKBoFfcuztg';return true;" onclick="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fcp2k%2Fcp2k%2Fissues%2F560\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFUGKkBt2t1CZS0ysAmKBoFfcuztg';return true;">https://github.com/cp2k/cp2k/<wbr>issues/560</a>), however I am encountering it again in CP2K 7.1. This error occurs on both my local machine and on a cluster.</div><div><br></div><div>I have found this error to be sensitive to the system and to the atoms included in &ATOM_GROUP, as for certain combinations of atoms CP2K runs while with other combinations it crashes. Becke constraint runs in all cases, so this is isolated to Hirshfeld. I have attached two example input and output files, one with an atom combination that runs while another which fails. I have confirmed that Hirshfeld runs for the input files included in the CP2K CDFT tutorial.</div><div><br></div><div>Any guidance or insight to resolve this problem would be greatly appreciated.</div><div><br></div><div>Thank you for your help and time.</div><div><br></div><div>Regards,</div><div>Chris</div></div></blockquote></div>