<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt">Dear Lorenzo<br>Thank you for reply. IF I change the value of 1.98 to 0.4 then it&nbsp; should work or not? Do I choose bigger cell?Which parameter should be modified?<br>thanks<br><div>&nbsp;</div>Ali Kazempour<br><br><br><br><div><br>Fritz-Haber-Institut              fax   : ++49-30-8413 4701<br>der Max-Planck-Gesellschaft<br>Faradayweg 4-6                    e-mail: kazempou@fhi-berlin.mpg.de<br>D-14 195 Berlin-Dahlem / German<div><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Lorenzo Paulatto &lt;paulatto@sissa.it&gt;<br><b><span style="font-weight: bold;">To:</span></b> PWSCF Forum
 &lt;pw_forum@pwscf.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Mon, November 9, 2009 2:39:17 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Pw_forum] constraints<br></font><br>
In data 09 novembre 2009 alle ore 14:32:52, ali kazempour&nbsp; <br>&lt;<a ymailto="mailto:kazempoor2000@yahoo.com" href="mailto:kazempoor2000@yahoo.com">kazempoor2000@yahoo.com</a>&gt; ha scritto:<br><br>&gt; Dear All<br>&gt; I want to fix the distance between&nbsp; two atom during relaxation , the&nbsp; <br>&gt; distance is 1.98 , but the code crash and the error is<br>&gt;&nbsp; &nbsp; &nbsp; target =&nbsp;  3.67419827<br>&gt;&nbsp; &nbsp; &nbsp; dmax&nbsp;  =&nbsp;  2.79062000<br>&gt;<br>&gt;&nbsp; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>&gt;&nbsp; &nbsp; &nbsp; from init_constraint : error #&nbsp; &nbsp; &nbsp; &nbsp;  1<br>&gt;&nbsp; &nbsp; &nbsp; the target for constraint 1 is larger than the largest possible&nbsp; <br>&gt; value<br>&gt;&nbsp; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>&gt;<br>&gt; why does it happen and what can I do?<br><br>Dear Ali,<br>the
 constraint is in unit of celldm(1), in your specific case you have&nbsp; <br>asked the two atoms to be about 16 Angstrom apart, which is impossible in&nbsp; <br>periodic boundary conditions with such a unit cell.<br><br>best regards<br><br><br>-- <br>Lorenzo Paulatto<br>SISSA&nbsp; &amp;&nbsp; DEMOCRITOS (Trieste)<br>phone: +39 040 3787 511<br>skype: paulatz<br><span>www:&nbsp;  <a target="_blank" href="http://people.sissa.it/%7Epaulatto/">http://people.sissa.it/~paulatto/</a></span><br><br>&nbsp; &nbsp;  *** save italian brains ***<br><span>&nbsp; <a target="_blank" href="http://saveitalianbrains.wordpress.com/">http://saveitalianbrains.wordpress.com/</a></span><br>_______________________________________________<br>Pw_forum mailing list<br><a ymailto="mailto:Pw_forum@pwscf.org" href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br><span><a target="_blank"
 href="http://www.democritos.it/mailman/listinfo/pw_forum">http://www.democritos.it/mailman/listinfo/pw_forum</a></span><br></div></div></div>
<!-- cg14.c4.mail.gq1.yahoo.com compressed/chunked Mon Nov  9 05:15:07 PST 2009 -->
</div><br>



      </body></html>