<div dir="ltr">Dear Joerg,<div><br></div><div>Will it be possible for you to share the script with us. I am also trying to decide the box size for my system but do not know how to do it. I can estimate for my initial small test molecules. However, guessing for larger systems would be difficult. </div><div><br></div><div>Thanks, </div><div>Megha</div><div><br><br>On Friday, December 17, 2010 at 3:58:41 AM UTC-5, Teo wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Joerg,<p>the script you've been using should be the one we distributed at the CP2K tutorial.<br>It's strange that Matthias does not know anything about that since he was tutor at that tutorial.<br>Anyway: the script does exactly what I said in the previous mail.<br>It takes the linear dimensions of the molecule (atomic distances) and sums up a buffer 3-5 Angstrom.<br>This will lead to converged results for decouplers like MT. <br>Again in CP2K we do not have cheaper decoupler (you may try the others one available like :</p><p>MULTIPOLE</p><p>WAVELET</p><p>)<br>Refer to the papers cited for each of these methods for constraints about the box size: each of them is slightly different.<br>For large molecules WAVELET may be definitely much better. In fact for WAVELET is also enough that the density is zero at the border of the box.<br>But there are other constraints : for non-periodic calculations we have implemented only cubic boxes. So.. you see.. depends a lot.. <br>for MT you can use an orthorhombic (but larger in size).. for WAVELET a cubic although a bit smaller.</p><p>Up to you the final decision.<br>Teo</p><p><br>On Dec 16, 2010, at 10:54 PM, Jörg Saßmannshausen wrote:</p><p>> Hi Matthias,<br>> <br>> thanks for the reply. <br>> I was using the script from the workshop to get the box size. You are not <br>> aware of any bugs in that script which could lead to a wrong box size for <br>> rathe large but flat molecules?<br>> <br>> I will toy around with the grid size and see if I can get it going.<br>> Probably moving to a PBC calculation would not help with the problem at all I <br>> would guess, or?<br>> <br>> All the best from a rainy London<br>> <br>> Jörg<br>> <br>> <br>> <br>> On Dienstag 14 Dezember 2010 Matthias Krack wrote:<br>>> Hi Joerg,<br>>> <br>>> your simulation box size seems to be about 27 Angstrom^3 and using a<br>>> cutoff 660 Ry for such a box will result in large grids and thus huge<br>>> memory allocations. Possibly, the extreme memory request is the reason<br>>> for abnormal program termination. You may check your grid sizes using<br>>> <a href="http://cp2k.berlios.de/manual/CP2K_INPUT/FORCE_EVAL/PRINT/GRID_INFORMATION" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Fcp2k.berlios.de%2Fmanual%2FCP2K_INPUT%2FFORCE_EVAL%2FPRINT%2FGRID_INFORMATION\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGqsDC5vyUy3X8KT8kkFKPoeG2uHg';return true;" onclick="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Fcp2k.berlios.de%2Fmanual%2FCP2K_INPUT%2FFORCE_EVAL%2FPRINT%2FGRID_INFORMATION\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGqsDC5vyUy3X8KT8kkFKPoeG2uHg';return true;">http://cp2k.berlios.de/manual/<wbr>CP2K_INPUT/FORCE_EVAL/PRINT/<wbr>GRID_INFORMATION</a>.<br>>> html to get an idea of what will be used.<br>>> Afaik, SAVE_MEM helps only for systems which are large due to the<br>>> number of atoms employed. This is not the case for your system and<br>>> thus there is no impact from this keyword.<br>>> <br>>> cheers,<br>>> <br>>> Matthias<br>>> <br>>> On Dec 13, 11:54 pm, Jörg Saßmannshausen <<a>j.sassma...@ucl.ac.uk</a>><br>>> <br>>> wrote:<br>>>> Dear Juerg,<br>>>> <br>>>> ok, I am now playing around with the DFT-D in cp2k.<br>>>> I am currently trying to ascertain how much memory we would require for<br>>>> the work we are planning to do and for the new cluster. Hence, these are<br>>>> test runs of the right size of molecule but not with a really good<br>>>> optimised structure (i.e. not optimised with DFT-D).<br>>>> <br>>>> I have tried both the DFT-D2 and DFT-D3 option and I got 2 problems:<br>>>> a) the test molecule needs about > 48 GB of RAM, which is significant. Is<br>>>> there any way to get that into a more handable size? I have tried the<br>>>> SAVE_MEM in GLOBAL but that did not really had any effect it seems.<br>>>> Following Matthias' suggestion some time ago, I am using a cutoff of 660,<br>>>> which was working well for different molecules in the past.<br>>>> <br>>>> b) I get the following error for the DFT-D2 frequency calculation:<br>>>> <br>>>> [ ... ]<br>>>>  REPLICA| layout of the replica grid, number of groups                  <br>>>>       2<br>>>>  REPLICA| layout of the replica grid, size of each group                <br>>>>       1<br>>>>  REPLICA| MPI process to grid (group,rank) correspondence:<br>>>>   (   0 :    0,   0)  (   1 :    1,   0)<br>>>> <br>>>>  VIB| Vibrational Analysis Info<br>>>> <br>>>>   Pair potential vdW calculation<br>>>>   Dispersion potential type: DFTD2<br>>>>   Scaling parameter (s6)   1.00000000000000000<br>>>>   Exponential prefactor     20.000000000000000<br>>>>   Total vdW energy [au]     : -6.37708902660472643E-002<br>>>>   Total vdW energy [kcal]   :  -40.016837470249470<br>>>> <br>>>>   Dispersion Forces<br>>>>   Atom   Kind                            Forces<br>>>> [ ... ]<br>>>>  |G| =   5.08859983571732719E-002<br>>>> <br>>>>  Stress Tensor (dispersion)<br>>>>  -0.911187517690E-03 -0.491992126627E-02  0.140501262854E-01<br>>>>  -0.491992126627E-02  0.134365275526E-01  0.179254944339E-02<br>>>>   0.140501262854E-01  0.179254944339E-02 -0.155716224075E-01<br>>>>    Tr(P)/3 :   -1.01542745750825042E-003<br>>>> <br>>>>  CP2K| condition FAILED at line 253<br>>>>  CP2K| Abnormal program termination, stopped by process number 1<br>>>>  CP2K| condition FAILED at line 253<br>>>>  CP2K| Abnormal program termination, stopped by process number 0<br>>>> <br>>>> For the DFT-D3 calculation I get this error:<br>>>> [ ... ]<br>>>> <br>>>> |G| =   1.19763995420629592E-002<br>>>> <br>>>>  Stress Tensor (dispersion)<br>>>>  -0.525748742588E-02 -0.260638877285E-02  0.799232865409E-02<br>>>>  -0.260638877285E-02 -0.433023621108E-03  0.181088946886E-02<br>>>>   0.799232865409E-02  0.181088946886E-02 -0.929520614835E-02<br>>>>    Tr(P)/3 :   -4.99523906511300034E-003<br>>>> <br>>>>  CP2K| condition FAILED at line 236<br>>>>  CP2K| Abnormal program termination, stopped by process number 0<br>>>> <br>>>> It appears to me I am doing something wrong. I basically have copied and<br>>>> pasted your section into the force_eval.inc file.<br>>>> Can you or somebody be so kind and point me in the right direction? It is<br>>>> possible to do the frequency calculation with DFT-D or am I wrong here?<br>>>> <br>>>> I have attached the input files dft-d-D2.inp, force_eval-D2.inc and<br>>>> subsys.inc.<br>>>> <br>>>> All the best from London<br>>>> <br>>>> Jörg<br>>>> <br>>>> On Montag 22 November 2010 <a>hut...@pci.uzh.ch</a> wrote:<br>>>>> Hi<br>>>>> <br>>>>> here is an example for the Grimme D2 method<br>>>>>       &vdW_POTENTIAL<br>>>>>          DISPERSION_FUNCTIONAL PAIR_POTENTIAL<br>>>>>          &PAIR_POTENTIAL<br>>>>>             TYPE DFTD2<br>>>>>             R_CUTOFF 15.0<br>>>>>             SCALING 1.0<br>>>>>          &END PAIR_POTENTIAL<br>>>>>       &END vdW_POTENTIAL<br>>>>> <br>>>>> The SCALING parameter refers to the s6 term in this method.<br>>>>> Default values for some functionals are available in the<br>>>>> code through<br>>>>>              REFERENCE_FUNCTIONAL BLYP<br>>>>> <br>>>>> This is an example for the new D3 method<br>>>>>          DISPERSION_FUNCTIONAL PAIR_POTENTIAL<br>>>>>          &PAIR_POTENTIAL<br>>>>>             TYPE DFTD3<br>>>>>             REFERENCE_FUNCTIONAL BLYP<br>>>>>             CALCULATE_C9_TERM .TRUE.<br>>>>>             PARAMETER_FILE_NAME dftd3.dat<br>>>>>             R_CUTOFF 15.0<br>>>>>          &END PAIR_POTENTIAL<br>>>>>       &END vdW_POTENTIAL<br>>>>> <br>>>>> With VERBOSE_OUTPUT TRUE you can get all kinds of detailed<br>>>>> energy contributions.<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>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="uE6Qz6qnoJMJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a> wrote: -----<br>>>>> <br>>>>> To: cp2k <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="uE6Qz6qnoJMJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a>><br>>>>> From: Jörg Saßmannshausen <<a>j.sassma...@ucl.ac.uk</a>><br>>>>> Sent by: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="uE6Qz6qnoJMJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a><br>>>>> Date: 11/21/2010 11:23AM<br>>>>> Subject: [CP2K:2928] DFT-D<br>>>>> <br>>>>> Dear all<br>>>>> <br>>>>> admittingly, my skills in cp2k are a bit rusty.<br>>>>> I wanted to look into the DFT-D option of cp2k, specially how the<br>>>>> second derivatives calculation are performing on rather large<br>>>>> molecules.<br>>>>> <br>>>>>> From the manual I takt it one can do DFT-D calculations so I thought I<br>>>>>> am<br>>>>> <br>>>>> using the water example and play around with that. I decided, mainly<br>>>>> for speed reasons, to go with the BP functional and compare that MD run<br>>>>> with one where DFT-D is switched on, i.e. BP-D.<br>>>>> However, I am not sure whether I done the setup correctly, so I thought<br>>>>> I might as well print out whether or not dispension is actually switch<br>>>>> on. Playing around with various option in<br>>>>> __ROOT__%FORCE_EVAL%DFT%PRINT%<wbr>DFT_CONTROL_PARAMETERS<br>>>>> where somehow unsuccesful in this respect. Would somebody just briefly<br>>>>> comment on whether my input file (attached below) is correct and how to<br>>>>> print out the DFT parameters?<br>>>>> I have omitted the coordination section to save some space.<br>>>>> <br>>>>> All the best from London!<br>>>>> <br>>>>> Jörg<br>>>>> <br>>>>> Input file:<br>>>>> &FORCE_EVAL<br>>>>>   METHOD QS<br>>>>>   &DFT<br>>>>>     BASIS_SET_FILE_NAME ../BASIS_SET<br>>>>>     POTENTIAL_FILE_NAME ../POTENTIAL<br>>>>>     &MGRID<br>>>>>       CUTOFF 280<br>>>>>     &END MGRID<br>>>>>     &QS<br>>>>>       EPS_DEFAULT 1.0E-12<br>>>>>       WF_INTERPOLATION PS<br>>>>>       EXTRAPOLATION_ORDER 3<br>>>>>     &END QS<br>>>>>     &SCF<br>>>>>       SCF_GUESS ATOMIC<br>>>>>       &OT ON<br>>>>>         MINIMIZER DIIS<br>>>>>       &END OT<br>>>>>     # SCF_GUESS        RESTART<br>>>>>     # EPS_SCF      1.0E-7<br>>>>>       &PRINT<br>>>>>         &RESTART OFF<br>>>>>         &END<br>>>>>       &END<br>>>>>     &END SCF<br>>>>>     &XC<br>>>>>       &XC_FUNCTIONAL BP<br>>>>>       &END XC_FUNCTIONAL<br>>>>>       &VDW_POTENTIAL<br>>>>>        &PAIR_POTENTIAL<br>>>>>         Type Grimme<br>>>>>        &end PAIR_POTENTIAL<br>>>>> #      POTENTIAL_TYPE DISPERSION_FUNCTIONAL<br>>>>>       &END VDW_POTENTIAL<br>>>>>     &END XC<br>>>>>    &print<br>>>>>     &DFT_CONTROL_PARAMETERS high<br>>>>>     &end DFT_CONTROL_PARAMETERS<br>>>>>    &end print<br>>>>>   &END DFT<br>>>>>   &SUBSYS<br>>>>>     &CELL<br>>>>>       ABC 9.8528 9.8528 9.8528<br>>>>>     &END CELL<br>>>>>     # 32 H2O (TIP5P,1bar,300K) a = 9.8528<br>>>>>     &COORD<br>>>>> [ ... ]<br>>>>>     &END COORD<br>>>>>     &KIND H<br>>>>>       BASIS_SET TZV2P-GTH<br>>>>>       POTENTIAL GTH-PADE-q1<br>>>>>     &END KIND<br>>>>>     &KIND O<br>>>>>       BASIS_SET TZV2P-GTH<br>>>>>       POTENTIAL GTH-PADE-q6<br>>>>>     &END KIND<br>>>>>   &END SUBSYS<br>>>>> &END FORCE_EVAL<br>>>>> &GLOBAL<br>>>>>   PROJECT H2O-32-vdw<br>>>>>   RUN_TYPE MD<br>>>>>   PRINT_LEVEL low<br>>>>>   &TIMINGS<br>>>>>      THRESHOLD 0.000001<br>>>>>   &END<br>>>>> &END GLOBAL<br>>>>> &MOTION<br>>>>>   &MD<br>>>>>     ENSEMBLE NVE<br>>>>>     STEPS 300<br>>>>>     TIMESTEP 0.5<br>>>>>     TEMPERATURE 300.0<br>>>>>   &END MD<br>>>>> &END MOTION<br>>>>> <br>>>>> --<br>>>>> ******************************<wbr>******************************<wbr>*<br>>>>> Jörg Saßmannshausen<br>>>>> University College London<br>>>>> Department of Chemistry<br>>>>> Gordon Street<br>>>>> London<br>>>>> WC1H 0AJ<br>>>>> <br>>>>> email: <a>j.sassma...@ucl.ac.uk</a><br>>>>> web:<a href="http://sassy.formativ.net" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Fsassy.formativ.net\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE9o9WkpTCH9I54nkUfQDVTZ3MyXg';return true;" onclick="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Fsassy.formativ.net\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE9o9WkpTCH9I54nkUfQDVTZ3MyXg';return true;">http://sassy.formativ.net</a><br>>>>> <br>>>>> Please avoid sending me Word or PowerPoint attachments.<br>>>>> Seehttp://<a href="http://www.gnu.org/philosophy/no-word-attachments.html" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.gnu.org%2Fphilosophy%2Fno-word-attachments.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEjON8UjWwcCChP9-0mlwmJs_iU7g';return true;" onclick="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.gnu.org%2Fphilosophy%2Fno-word-attachments.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEjON8UjWwcCChP9-0mlwmJs_iU7g';return true;">www.gnu.org/<wbr>philosophy/no-word-<wbr>attachments.html</a><br>>>>> <br>>>>> --<br>>>>> You received this message because you are subscribed to the Google<br>>>>> Groups "cp2k" group. To post to this group, send email to<br>>>>> <a href="javascript:" target="_blank" gdf-obfuscated-mailto="uE6Qz6qnoJMJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a>. To unsubscribe from this group, send email to<br>>>>> <a href="javascript:" target="_blank" gdf-obfuscated-mailto="uE6Qz6qnoJMJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp2k+uns...@googlegroups.<wbr>com</a>. For more options, visit this group<br>>>>> at <a href="http://groups.google.com/group/cp2k?hl=en" target="_blank" rel="nofollow" onmousedown="this.href='http://groups.google.com/group/cp2k?hl\x3den';return true;" onclick="this.href='http://groups.google.com/group/cp2k?hl\x3den';return true;">http://groups.google.com/<wbr>group/cp2k?hl=en</a>.<br>>>> <br>>>> --<br>>>> ******************************<wbr>******************************<wbr>*<br>>>> Jörg Saßmannshausen<br>>>> University College London<br>>>> Department of Chemistry<br>>>> Gordon Street<br>>>> London<br>>>> WC1H 0AJ<br>>>> <br>>>> email: <a>j.sassma...@ucl.ac.uk</a><br>>>> web:<a href="http://sassy.formativ.net" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Fsassy.formativ.net\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE9o9WkpTCH9I54nkUfQDVTZ3MyXg';return true;" onclick="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Fsassy.formativ.net\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE9o9WkpTCH9I54nkUfQDVTZ3MyXg';return true;">http://sassy.formativ.net</a><br>>>> <br>>>> Please avoid sending me Word or PowerPoint attachments.<br>>>> Seehttp://<a href="http://www.gnu.org/philosophy/no-word-attachments.html" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.gnu.org%2Fphilosophy%2Fno-word-attachments.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEjON8UjWwcCChP9-0mlwmJs_iU7g';return true;" onclick="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.gnu.org%2Fphilosophy%2Fno-word-attachments.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEjON8UjWwcCChP9-0mlwmJs_iU7g';return true;">www.gnu.org/<wbr>philosophy/no-word-<wbr>attachments.html</a><br>>>> <br>>>>  dft-d-D2.inp<br>>>> < 1KViewDownload<br>>>> <br>>>>  subsys.inc<br>>>> 4KViewDownload<br>>>> <br>>>>  force_eval-D2.inc<br>>>> 1KViewDownload<br>> <br>> <br>> <br>> -- <br>> ******************************<wbr>******************************<wbr>*<br>> Jörg Saßmannshausen<br>> University College London<br>> Department of Chemistry<br>> Gordon Street<br>> London<br>> WC1H 0AJ <br>> <br>> email: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="uE6Qz6qnoJMJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">j.sas...@ucl.ac.uk</a><br>> web: <a href="http://sassy.formativ.net" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Fsassy.formativ.net\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE9o9WkpTCH9I54nkUfQDVTZ3MyXg';return true;" onclick="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Fsassy.formativ.net\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE9o9WkpTCH9I54nkUfQDVTZ3MyXg';return true;">http://sassy.formativ.net</a><br>> <br>> Please avoid sending me Word or PowerPoint attachments.<br>> See <a href="http://www.gnu.org/philosophy/no-word-attachments.html" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.gnu.org%2Fphilosophy%2Fno-word-attachments.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEjON8UjWwcCChP9-0mlwmJs_iU7g';return true;" onclick="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.gnu.org%2Fphilosophy%2Fno-word-attachments.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEjON8UjWwcCChP9-0mlwmJs_iU7g';return true;">http://www.gnu.org/philosophy/<wbr>no-word-attachments.html</a><br>> <br>> -- <br>> You received this message because you are subscribed to the Google Groups "cp2k" group.<br>> To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="uE6Qz6qnoJMJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a>.<br>> To unsubscribe from this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="uE6Qz6qnoJMJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp2k+uns...@googlegroups.<wbr>com</a>.<br>> For more options, visit this group at <a href="http://groups.google.com/group/cp2k?hl=en" target="_blank" rel="nofollow" onmousedown="this.href='http://groups.google.com/group/cp2k?hl\x3den';return true;" onclick="this.href='http://groups.google.com/group/cp2k?hl\x3den';return true;">http://groups.google.com/<wbr>group/cp2k?hl=en</a>.<br>> </p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p></blockquote></div></div>