<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi Martin<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">The timings for the core Hamiltonian forces, especially the nonlocal PP part (pnnl), are quite large in the MD run. This is most likely due to the tight EPS_PGF_ORB
parameter (1.0E-18). Remove that parameter in the MD input and just rely on EPS_DEFAULT like in the CEL_OPT run. The *_CUTOFF parameters in the &XC section are also dispensable.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">HTH<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Matthias<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> cp...@googlegroups.com <...@googlegroups.com>
<b>On Behalf Of </b>mar...@gmail.com<br>
<b>Sent:</b> Freitag, 16. Oktober 2020 09:55<br>
<b>To:</b> cp2k <...@googlegroups.com><br>
<b>Subject:</b> Re: [CP2K:14065] Force calculation in CELL_OPT vs MD<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hello,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Below are the inputs and timings for the cell opt and 20 subsequent md steps:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><b>CELL_OPT:</b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&GLOBAL<br>
PROJECT uio66-half<br>
RUN_TYPE CELL_OPT<br>
PRINT_LEVEL LOW<br>
&END GLOBAL<br>
&FORCE_EVAL<br>
METHOD QS<br>
&SUBSYS<br>
&CELL<br>
ABC 14.8 14.8 20.910<br>
ALPHA_BETA_GAMMA 90 90 90<br>
&END CELL<br>
&TOPOLOGY<br>
COORD_FILE_FORMAT CIF<br>
COORD_FILE_NAME uio66-pristine-half-cell.cif<br>
&END TOPOLOGY<br>
&KIND O<br>
BASIS_SET DZVP-MOLOPT-GTH<br>
POTENTIAL GTH-PBE-q6<br>
&END KIND<br>
&KIND Zr<br>
BASIS_SET DZVP-MOLOPT-SR-GTH<br>
POTENTIAL GTH-PBE-q12<br>
&END KIND<br>
&KIND C<br>
BASIS_SET DZVP-MOLOPT-GTH<br>
POTENTIAL GTH-PBE-q4<br>
&END KIND<br>
&KIND H<br>
BASIS_SET DZVP-MOLOPT-GTH<br>
POTENTIAL GTH-PBE-q1<br>
&END KIND<br>
&END SUBSYS<br>
&DFT<br>
BASIS_SET_FILE_NAME BASIS_MOLOPT<br>
POTENTIAL_FILE_NAME GTH_POTENTIALS<br>
&QS<br>
EPS_DEFAULT 1.0E-12<br>
&END QS<br>
&MGRID<br>
CUTOFF 600<br>
NGRIDS 5<br>
REL_CUTOFF 50<br>
&END MGRID<br>
&SCF<br>
SCF_GUESS ATOMIC<br>
EPS_SCF 1.0E-08<br>
MAX_SCF 30<br>
&OT<br>
MINIMIZER DIIS<br>
PRECONDITIONER FULL_KINETIC<br>
LINESEARCH 2PNT<br>
&END OT<br>
&OUTER_SCF<br>
EPS_SCF 1.0E-08<br>
MAX_SCF 25<br>
&END OUTER_SCF<br>
&END SCF<br>
&XC<br>
&XC_FUNCTIONAL PBE<br>
&END XC_FUNCTIONAL<br>
&vdW_POTENTIAL<br>
DISPERSION_FUNCTIONAL PAIR_POTENTIAL<br>
&PAIR_POTENTIAL<br>
TYPE DFTD3<br>
CALCULATE_C9_TERM TRUE<br>
PARAMETER_FILE_NAME dftd3.dat<br>
REFERENCE_FUNCTIONAL PBE<br>
&END PAIR_POTENTIAL<br>
&END vdW_POTENTIAL<br>
&END XC<br>
&END DFT<br>
STRESS_TENSOR ANALYTICAL<br>
&END FORCE_EVAL<br>
&MOTION<br>
&CELL_OPT<br>
KEEP_ANGLES TRUE<br>
TYPE DIRECT_CELL_OPT<br>
MAX_DR 4.5E-04<br>
MAX_FORCE 1.0E-04<br>
RMS_DR 4.5E-04<br>
RMS_FORCE 4.5E-04<br>
MAX_ITER 400<br>
OPTIMIZER BFGS<br>
&END CELL_OPT<br>
&END MOTION<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><b>MD</b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&GLOBAL<br>
PRINT_LEVEL LOW<br>
PROJECT_NAME uio66-defect-md<br>
RUN_TYPE MD<br>
&END GLOBAL<br>
&MOTION<br>
&MD<br>
ENSEMBLE NVT<br>
STEPS 20<br>
TIMESTEP 4.9999999999999989E-01<br>
STEP_START_VAL 20<br>
TIME_START_VAL 1.0000000000000002E+01<br>
ECONS_START_VAL -2.2805855491897287E+03<br>
TEMPERATURE 3.0000000000000000E+02<br>
&THERMOSTAT<br>
TYPE CSVR<br>
&CSVR<br>
TIMECON 9.9999999999999978E-01<br>
&THERMOSTAT_ENERGY<br>
-3.1503507886676752E-01<br>
&END THERMOSTAT_ENERGY<br>
&RNG_INIT<br>
Wiener process for Thermostat # 1 1 F T F -5.2769235486593846E-01 1600409560.0 760341491.0 3744745813.0 3560625215.0 548769459.0 3217800586.0 12345.0 12345.0 12345.0
12345.0 12345.0 12345.0 12345.0 12345.0 12345.0 12345.0 12345.0 12345.0<br>
&END RNG_INIT<br>
&END CSVR<br>
&END THERMOSTAT<br>
&AVERAGES T<br>
&RESTART_AVERAGES<br>
ITIMES_START 1<br>
AVECPU 9.3657589755114145E+01<br>
AVEHUGONIOT 0.0000000000000000E+00<br>
AVETEMP_BARO 0.0000000000000000E+00<br>
AVEPOT -2.1740421539898202E+03<br>
AVEKIN 3.2332755503992078E-01<br>
AVETEMP 2.9984917723950269E+02<br>
AVEKIN_QM 0.0000000000000000E+00<br>
AVETEMP_QM 0.0000000000000000E+00<br>
AVEVOL 3.0842651782127203E+04<br>
AVECELL_A 2.7971726218973288E+01<br>
AVECELL_B 2.7971726218973288E+01<br>
AVECELL_C 3.9419687131994479E+01<br>
AVEALPHA 9.0000000000000000E+01<br>
AVEBETA 9.0000000000000000E+01<br>
AVEGAMMA 9.0000000000000000E+01<br>
AVE_ECONS 1.4016569135616819E+05<br>
AVE_PRESS -1.6562449007126843E+03<br>
AVE_PXX -3.4950333563135082E+03<br>
&END RESTART_AVERAGES<br>
&END AVERAGES<br>
&END MD<br>
&PRINT<br>
&TRAJECTORY SILENT<br>
&EACH<br>
MD 1<br>
&END EACH<br>
&END TRAJECTORY<br>
&VELOCITIES SILENT<br>
&EACH<br>
MD 500<br>
&END EACH<br>
&END VELOCITIES<br>
&RESTART SILENT<br>
&EACH<br>
MD 1<br>
&END EACH<br>
&END RESTART<br>
&RESTART_HISTORY SILENT<br>
&EACH<br>
MD 50<br>
&END EACH<br>
&END RESTART_HISTORY<br>
&END PRINT<br>
&END MOTION<br>
&FORCE_EVAL<br>
METHOD QS<br>
STRESS_TENSOR ANALYTICAL<br>
&DFT<br>
BASIS_SET_FILE_NAME BASIS_MOLOPT<br>
POTENTIAL_FILE_NAME POTENTIAL<br>
&SCF<br>
MAX_SCF 30<br>
EPS_SCF 1.0000000000000000E-08<br>
SCF_GUESS RESTART<br>
&OT T<br>
MINIMIZER DIIS<br>
LINESEARCH 2PNT<br>
PRECONDITIONER FULL_ALL<br>
&END OT<br>
&OUTER_SCF T<br>
EPS_SCF 1.0000000000000000E-08<br>
MAX_SCF 100<br>
&END OUTER_SCF<br>
&END SCF<br>
&QS<br>
EPS_DEFAULT 1.0000000000000002E-12<br>
EPS_PGF_ORB 1.0000000000000001E-18<br>
&END QS<br>
&MGRID<br>
NGRIDS 5<br>
CUTOFF 6.0000000000000000E+02<br>
REL_CUTOFF 5.0000000000000000E+01<br>
&END MGRID<br>
&XC<br>
DENSITY_CUTOFF 1.0000000000000000E-10<br>
GRADIENT_CUTOFF 1.0000000000000000E-10<br>
TAU_CUTOFF 1.0000000000000000E-10<br>
&XC_FUNCTIONAL NO_SHORTCUT<br>
&PBE T<br>
&END PBE<br>
&END XC_FUNCTIONAL<br>
&VDW_POTENTIAL<br>
POTENTIAL_TYPE PAIR_POTENTIAL<br>
&PAIR_POTENTIAL<br>
TYPE DFTD3<br>
PARAMETER_FILE_NAME dftd3.dat<br>
REFERENCE_FUNCTIONAL PBE<br>
CALCULATE_C9_TERM T<br>
&END PAIR_POTENTIAL<br>
&END VDW_POTENTIAL<br>
&END XC<br>
&END DFT<br>
&SUBSYS<br>
&CELL<br>
A 1.4802000000000001E+01 0.0000000000000000E+00 0.0000000000000000E+00<br>
B 0.0000000000000000E+00 1.4802000000000001E+01 0.0000000000000000E+00<br>
C 0.0000000000000000E+00 0.0000000000000000E+00 2.0859999999999999E+01<br>
MULTIPLE_UNIT_CELL 1 1 1<br>
&END CELL<br>
&KIND H<br>
BASIS_SET DZVP-MOLOPT-GTH<br>
POTENTIAL GTH-PBE-q1<br>
&END KIND<br>
&KIND O<br>
BASIS_SET DZVP-MOLOPT-GTH<br>
POTENTIAL GTH-PBE-q6<br>
&END KIND<br>
&KIND C<br>
BASIS_SET DZVP-MOLOPT-GTH<br>
POTENTIAL GTH-PBE-q4<br>
&END KIND<br>
&KIND Zr<br>
BASIS_SET DZVP-MOLOPT-SR-GTH<br>
POTENTIAL GTH-PBE-q12<br>
&END KIND<br>
&TOPOLOGY<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> COORD_FILE_FORMAT XYZ<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> COORD_FILE_NAME half-cell-optimised.xyz<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> NUMBER_OF_ATOMS 228<br>
MULTIPLE_UNIT_CELL 1 1 1<br>
&END TOPOLOGY<br>
&END SUBSYS<br>
&END FORCE_EVAL<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">The latter is a restart file from which ive removed coordinates and velocities to reduce cluttering. The preconditioner changes from full_kinetic to full_all for md, but using full_kinetic for both leads to no major difference. The timings
are attached as text files to preserve sensible formatting.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Best regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Martin<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">-- <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="mailto:cp2k+unsu...@googlegroups.com">cp2k+unsu...@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/e9f76caa-dbce-49a3-a778-17912e6c2915n%40googlegroups.com?utm_medium=email&utm_source=footer">
https://groups.google.com/d/msgid/cp2k/e9f76caa-dbce-49a3-a778-17912e6c2915n%40googlegroups.com</a>.<o:p></o:p></p>
</div>
</body>
</html>