In my opinion, the stricter the criterion, the more ecut and more K points sampling.<br><br>
<div class="gmail_quote">2009/9/2 Huiqun Zhou <span dir="ltr">&lt;<a href="mailto:hqzhou@nju.edu.cn">hqzhou@nju.edu.cn</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Pablo,<br><br>Usually, setting conv_thr = 1d-8 is sufficient, please make sure if you<br>need such strict convergence criterion.<br>
<font color="#888888"><br><br>Huiqun Zhou<br>@Earth Sciences, Nanjing University, China<br></font>
<div>
<div></div>
<div class="h5"><br><br>----- Original Message -----<br>From: &quot;Pablo Aguado&quot; &lt;<a href="mailto:paguado@gmail.com">paguado@gmail.com</a>&gt;<br>To: &lt;<a href="mailto:pw_forum@pwscf.org">pw_forum@pwscf.org</a>&gt;<br>
Sent: Tuesday, September 01, 2009 6:38 PM<br>Subject: [Pw_forum] Relaxation doesn&#39;t converge<br><br><br>&gt; Dear all,<br>&gt;<br>&gt; I&#39;m doing some tests on the structural optimization with pw. I&#39;m<br>&gt; currently testing with the tetragonal structure of PbTiO3, using the<br>
&gt; following input:<br>&gt;<br>&gt; &amp;control<br>&gt;    calculation  = &#39;vc-relax&#39;<br>&gt;    restart_mode = &#39;restart&#39;<br>&gt;    pseudo_dir   = &#39;/****/espresso-4.1/pseudo/&#39;<br>&gt;    outdir       = &#39;/***/tmp&#39;<br>
&gt;    forc_conv_thr = 1d-3<br>&gt;    nstep = 50<br>&gt; /<br>&gt; &amp;system<br>&gt;    ibrav=6<br>&gt;    celldm(1)=7.3699<br>&gt;    celldm(3)=1.04<br>&gt;    nat=5<br>&gt;    ntyp=3<br>&gt;    nbnd=28<br>&gt;    ecutwfc=30.0<br>
&gt;    occupations = &#39;fixed&#39;<br>&gt; /<br>&gt; &amp;electrons<br>&gt;    conv_thr = 1d-12,<br>&gt;    mixing_beta=0.4,<br>&gt; /<br>&gt; &amp;ions<br>&gt;    ion_dynamics = &#39;bfgs&#39;<br>&gt;    bfgs_ndim = 5<br>
&gt; /<br>&gt; &amp;cell<br>&gt;    cell_dynamics = &#39;damp-pr&#39;<br>&gt;    press_conv_thr = 1.0d0<br>&gt;    cell_dofree = &#39;z&#39;<br>&gt; /<br>&gt; ATOMIC_SPECIES<br>&gt;  Pb   207.2      Pb.pz-d-van.UPF<br>&gt;  Ti    47.867    Ti.pz-sp-van_ak.UPF<br>
&gt;  O     15.9994   O.pz-van_ak.UPF<br>&gt; ATOMIC_POSITIONS crystal<br>&gt;  Pb    0.000    0.000    0.040   0 0 1<br>&gt;  Ti    0.500    0.500    0.520   0 0 1<br>&gt;  O     0.000    0.500    0.500   0 0 1<br>&gt;  O     0.500    0.500    0.000   0 0 1<br>
&gt;  O     0.500    0.000    0.500   0 0 1<br>&gt; K_POINTS automatic<br>&gt;  6 6 6 1 1 1<br>&gt;<br>&gt; The relaxation is taking forever so I&#39;ve checked the output and I&#39;ve<br>&gt; found several steps where everything seems to be converged (notice I&#39;m<br>
&gt; only relaxing out-of-plane lattice vector) but the code keeps running.<br>&gt; An example:<br>&gt;<br>&gt; - Energy difference = 4e-7<br>&gt; - Forces acting on atoms (Ry/au):<br>&gt;<br>&gt;     atom   1 type  1   force =     0.00000000    0.00000000    0.00085679<br>
&gt;     atom   2 type  2   force =     0.00000000    0.00000000   -0.00001779<br>&gt;     atom   3 type  3   force =     0.00000000    0.00000000   -0.00024617<br>&gt;     atom   4 type  3   force =     0.00000000    0.00000000   -0.00034665<br>
&gt;     atom   5 type  3   force =     0.00000000    0.00000000   -0.00024617<br>&gt;<br>&gt;     Total force =     0.000988     Total SCF correction =     0.000002<br>&gt;<br>&gt;          total   stress  (Ry/bohr**3)                   (kbar)<br>
&gt;   P=   -0.84<br>&gt;  -0.00001150   0.00000000   0.00000000         -1.69      0.00      0.00<br>&gt;   0.00000000  -0.00001150   0.00000000          0.00     -1.69      0.00<br>&gt;   0.00000000   0.00000000   0.00000591          0.00      0.00      0.87<br>
&gt;<br>&gt; Any idea of what&#39;s going on?<br>&gt;<br>&gt; Thank you very much<br>&gt;<br>&gt; Pablo<br>&gt; _______________________________________________<br>&gt; Pw_forum mailing list<br>&gt; <a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
&gt; <a href="http://www.democritos.it/mailman/listinfo/pw_forum" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>&gt;<br><br>_______________________________________________<br>Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br><a href="http://www.democritos.it/mailman/listinfo/pw_forum" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br></div></div></blockquote>
</div><br><br clear="all">
<div></div><br>-- <br>Y. C. Cheng<br>Department of Physics<br>Nanjing University<br>Nanjing 210093<br>P. R. China<br>Tel: 86-25-83592907<br>Email: <a href="mailto:yccheng.nju@gmail.com">yccheng.nju@gmail.com</a><br>