Dear Dr. Hutter,<div><br></div><div>Thanks for the reply.</div><div><br></div><div>Best,<br>Vishal</div><div><br>On Tuesday, March 26, 2013 1:30:21 AM UTC-7, jgh wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hi <br> <br>the input to the EWALD routines is for historical reasons <br>rather complicated. There are three parameters that define <br>an Ewald calculation: <br>- alpha (width of the Gaussian compensation charge) <br>- the real space cutoff (equal to the cutoff of nonbonded forces in CP2K!) <br>- the reciprocal space cutoff <br> <br>Given a desired accuracy and anyone of the above three parameters <br>determines the possible range of the other two parameters. <br>However, in CP2K you have to define all three parameters independently <br>in the input. In addition, the reciprocal cutoff is given by <br>the number of grid points, this means depends on the box size! <br> <br>And finally, the regression tests are not 'real' inputs. You <br>cannot rely on the parameters used there to give you converged <br>results. You have to find them yourself. <br> <br>regards <br> <br>Juerg Hutter <br> <br>------------------------------<wbr>------------------------------<wbr>-- <br>Juerg Hutter                         Phone : ++41 44 635 4491 <br>Physical Chemistry Institute   FAX   : ++41 44 635 6838 <br>University of Zurich               E-mail:  <a href="javascript:" target="_blank" gdf-obfuscated-mailto="lH-Fn8NDo5MJ">hut...@pci.uzh.ch</a> <br>Winterthurerstrasse 190 <br>CH-8057 Zurich, Switzerland <br>------------------------------<wbr>------------------------------<wbr>--- <br> <br>-----<a href="javascript:" target="_blank" gdf-obfuscated-mailto="lH-Fn8NDo5MJ">cp...@googlegroups.com</a> wrote: ----- <br>To: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="lH-Fn8NDo5MJ">cp...@googlegroups.com</a> <br>From: vish <br>Sent by: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="lH-Fn8NDo5MJ">cp...@googlegroups.com</a> <br>Date: 03/26/2013 01:17AM <br>Subject: [CP2K:4359] possible bug in Ewald routine ? <br> <br>Dear CP2K users, <br> <br>EWALD section requires one to input ALPHA (ang -1) parameter. In general, I would expect changing this value should not have any affect on the total potential energy of the system. However, when I change ALPHA in the tests files in CP2K tests files, the total potential energy changes a lot (for example water512.inp in tests/Fist folder). I was wondering if there is a bug in ewald routine or I am understanding this wrongly? <br> <br>Any help on this is greatly appreciated.  <br> <br>Thanks in advance, <br>Vishal   <br>  -- <br> You received this message because you are subscribed to the Google Groups "cp2k" group. <br> To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="lH-Fn8NDo5MJ">cp2k+uns...@googlegroups.<wbr>com</a>. <br> To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="lH-Fn8NDo5MJ">cp...@googlegroups.com</a>. <br> Visit this group at <a href="http://groups.google.com/group/cp2k?hl=en" target="_blank">http://groups.google.com/<wbr>group/cp2k?hl=en</a>. <br> For more options, visit <a href="https://groups.google.com/groups/opt_out" target="_blank">https://groups.google.com/<wbr>groups/opt_out</a>. <br>   <br>   <br> </blockquote></div>