<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Dear Matteo<br>I follow&nbsp; your link and is useful for me, but when I want to study a&nbsp; nonmagnetic material like Tio2 ,how do I change the format of pos_file.? for NiO it is in tutorial ,but NiO is antiferromagnetic and in pos_nio.r16 you add a switch 1,-1 and 0 in front of atomic type. but for TiO2, it is nonmagnetic. How can I define the differnet type?<br>thanks a lot<br><br>Ali Kazempour<br>
Physics department, Isfahan University of Technology<br>
84156 Isfahan, Iran.            Tel-1:  +98 311 391 3733<br>
Fax: +98 311 391 2376      Tel-2:  +98 311 391 2375<br><br>--- On <b>Thu, 7/30/09, Matteo Cococcioni <i>&lt;matteo@umn.edu&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Matteo Cococcioni &lt;matteo@umn.edu&gt;<br>Subject: Re: [Pw_forum] occupation<br>To: "PWSCF Forum" &lt;pw_forum@pwscf.org&gt;<br>Date: Thursday, July 30, 2009, 11:18 AM<br><br><div class="plainMail"><br>the new tutorial on the calculation of U can be downloaded from this <br>webpage:<br><br><a href="http://www.quantum-espresso.org/wiki/index.php/QESB09#First_week" target="_blank">http://www.quantum-espresso.org/wiki/index.php/QESB09#First_week</a><br><br><br>Matteo Cococcioni wrote:<br>&gt; Dear Ali,<br>&gt;<br>&gt; on the wiki page of quantum-espresso you should be able to find a new <br>&gt; tutorial on the calculation of U. Please download it<br>&gt; and run the scripts in there following the
 instructions.<br>&gt;<br>&gt;<br>&gt;<br>&gt; ali kazempour wrote:<br>&gt;&nbsp;&nbsp;&nbsp;<br>&gt;&gt; Dear all<br>&gt;&gt;<br>&gt;&gt; From Linear response calculation ,I get for TiO2 bulk U=5.73, But when <br>&gt;&gt; I double the unit cell in z direction and again compute U ,I get three <br>&gt;&gt; different value for Ti atoms.(U=5.63,5.46,5.70).<br>&gt;&gt;<br>&gt;&gt;&nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;<br>&gt; what are these three values? I assume they are what you get with <br>&gt; supercells of three different sizes. is this correct? if it is the only <br>&gt; strange thing is that the intermediate value is lower than the other <br>&gt; two. otherwise you got pretty nice convergence of U which is what you <br>&gt; want to achieve. Is there any particular reason (apart computational <br>&gt; cost) why you only enlarge the cell in z direction?<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;<br>&gt;&gt; Why these values are not same . what is the main reason?
 Does it in <br>&gt;&gt; numerical variation errors?<br>&gt;&gt; ANother question:<br>&gt;&gt; When we perturb D level by alpha, it give rise to change in d <br>&gt;&gt; occupancy . Is it correct that if we impose negative alpha , the <br>&gt;&gt; occupation becomes less than initial state .?<br>&gt;&gt;<br>&gt;&gt;&nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;<br>&gt; no. positive alpha -- &gt; decrease in total n. but you need to look at the <br>&gt; right n....<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;<br>&gt;&gt; for Ti isolated atom for apha=0.1&nbsp; tr[ns(na)] after first-iteration <br>&gt;&gt; equal to the 0.002 and at the end of calculation is 2.327 while we <br>&gt;&gt; know that for Ti,&nbsp; tr[ns(na)] =2.000. Does it seems to be correct.?<br>&gt;&gt;<br>&gt;&gt;&nbsp; &nbsp; &nbsp; Number of iteration with fixed ns =&nbsp; 0<br>&gt;&gt;&nbsp; &nbsp; &nbsp; Starting ns and Hubbard U :<br>&gt;&gt;&nbsp; enter write_ns<br>&gt;&gt; U( 1) =&nbsp; 0.0000<br>&gt;&gt;
 alpha( 1) =&nbsp; 0.1000<br>&gt;&gt; atom&nbsp; 1&nbsp;&nbsp;&nbsp;Tr[ns(na)]=&nbsp;&nbsp;&nbsp;2.0000000<br>&gt;&gt; atom&nbsp; 1&nbsp; spin&nbsp; 1<br>&gt;&gt; eigenvalues:&nbsp; 0.4000000 0.4000000 0.4000000 0.4000000 0.4000000<br>&gt;&gt;&nbsp; eigenvectors<br>&gt;&gt;&nbsp; 1&nbsp;&nbsp;&nbsp;1.0000000&nbsp; 0.0000000&nbsp; 0.0000000&nbsp; 0.0000000&nbsp; 0.0000000<br>&gt;&gt;&nbsp; 2&nbsp;&nbsp;&nbsp;0.0000000&nbsp; 1.0000000&nbsp; 0.0000000&nbsp; 0.0000000&nbsp; 0.0000000<br>&gt;&gt;&nbsp; 3&nbsp;&nbsp;&nbsp;0.0000000&nbsp; 0.0000000&nbsp; 1.0000000&nbsp; 0.0000000&nbsp; 0.0000000<br>&gt;&gt;&nbsp; 4&nbsp;&nbsp;&nbsp;0.0000000&nbsp; 0.0000000&nbsp; 0.0000000&nbsp; 1.0000000&nbsp; 0.0000000<br>&gt;&gt;&nbsp; 5&nbsp;&nbsp;&nbsp;0.0000000&nbsp; 0.0000000&nbsp; 0.0000000&nbsp; 0.0000000&nbsp; 1.0000000<br>&gt;&gt;&nbsp; occupations<br>&gt;&gt;&nbsp; 0.400&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000<br>&gt;&gt;&nbsp; 0.000&nbsp; 0.400&nbsp;
 0.000&nbsp; 0.000&nbsp; 0.000<br>&gt;&gt;&nbsp; 0.000&nbsp; 0.000&nbsp; 0.400&nbsp; 0.000&nbsp; 0.000<br>&gt;&gt;&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000&nbsp; 0.400&nbsp; 0.000<br>&gt;&gt;&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000&nbsp; 0.400<br>&gt;&gt; atom&nbsp; 1&nbsp; spin&nbsp; 2<br>&gt;&gt; eigenvalues:&nbsp; 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000<br>&gt;&gt;&nbsp; eigenvectors<br>&gt;&gt;&nbsp; 1&nbsp;&nbsp;&nbsp;1.0000000&nbsp; 0.0000000&nbsp; 0.0000000&nbsp; 0.0000000&nbsp; 0.0000000<br>&gt;&gt;&nbsp; 2&nbsp;&nbsp;&nbsp;0.0000000&nbsp; 1.0000000&nbsp; 0.0000000&nbsp; 0.0000000&nbsp; 0.0000000<br>&gt;&gt;&nbsp; 3&nbsp;&nbsp;&nbsp;0.0000000&nbsp; 0.0000000&nbsp; 1.0000000&nbsp; 0.0000000&nbsp; 0.0000000<br>&gt;&gt;&nbsp; 4&nbsp;&nbsp;&nbsp;0.0000000&nbsp; 0.0000000&nbsp; 0.0000000&nbsp; 1.0000000&nbsp; 0.0000000<br>&gt;&gt;&nbsp; 5&nbsp;&nbsp;&nbsp;0.0000000&nbsp; 0.0000000&nbsp; 0.0000000&nbsp; 0.0000000&nbsp;
 1.0000000<br>&gt;&gt;&nbsp; occupations<br>&gt;&gt;&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000<br>&gt;&gt;&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000<br>&gt;&gt;&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000<br>&gt;&gt;&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000<br>&gt;&gt;&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000<br>&gt;&gt; nsum =&nbsp;&nbsp;&nbsp;2.0000000<br>&gt;&gt;&nbsp; exit write_ns<br>&gt;&gt;<br>&gt;&gt;&nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;<br>&gt; this is not the first iteration. this is what the initial guess of the <br>&gt; on-site occupations the code does to start the calculation<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;<br>&gt;&gt;&nbsp; Atomic wfc used for LDA+U Projector are NOT orthogonalized<br>&gt;&gt;&nbsp; &nbsp; &nbsp; Starting wfc are&nbsp; &nbsp; 9 atomic +&nbsp; &nbsp; 1 random wfc<br>&gt;&gt;<br>&gt;&gt;&nbsp; &nbsp; &nbsp; total cpu time spent up
 to now is&nbsp; &nbsp;&nbsp;&nbsp;13.34 secs<br>&gt;&gt;<br>&gt;&gt;&nbsp; &nbsp; &nbsp; per-process dynamical memory:&nbsp;&nbsp;&nbsp;326.3 Mb<br>&gt;&gt;<br>&gt;&gt;&nbsp; &nbsp; &nbsp; Self-consistent Calculation<br>&gt;&gt;<br>&gt;&gt;&nbsp; &nbsp; &nbsp; iteration #&nbsp; 1&nbsp; &nbsp;&nbsp;&nbsp;ecut=&nbsp; &nbsp; 45.00 Ry&nbsp; &nbsp;&nbsp;&nbsp;beta=0.70<br>&gt;&gt;&nbsp; &nbsp; &nbsp; CG style diagonalization<br>&gt;&gt;&nbsp; &nbsp; &nbsp; c_bands:&nbsp; 3 eigenvalues not converged<br>&gt;&gt;&nbsp; &nbsp; &nbsp; c_bands:&nbsp; 2 eigenvalues not converged<br>&gt;&gt;&nbsp; &nbsp; &nbsp; ethr =&nbsp; 1.00E-12,&nbsp; avg # of iterations = 40.4<br>&gt;&gt;&nbsp; enter write_ns<br>&gt;&gt; U( 1) =&nbsp; 0.0000<br>&gt;&gt; alpha( 1) =&nbsp; 0.1000<br>&gt;&gt; atom&nbsp; 1&nbsp;&nbsp;&nbsp;Tr[ns(na)]=&nbsp;&nbsp;&nbsp;0.0021401<br>&gt;&gt; atom&nbsp; 1&nbsp; spin&nbsp; 1<br>&gt;&gt; eigenvalues:&nbsp; 0.0000001 0.0000001 0.0000001 0.0009883
 0.0009883<br>&gt;&gt;&nbsp; eigenvectors<br>&gt;&gt;&nbsp; 1&nbsp;&nbsp;&nbsp;0.0000000 -0.8803392 -0.4743427&nbsp; 0.0000000&nbsp; 0.0013927<br>&gt;&gt;&nbsp; 2&nbsp;&nbsp;&nbsp;0.0000000 -0.4743432&nbsp; 0.8803400&nbsp; 0.0000000 -0.0000040<br>&gt;&gt;&nbsp; 3&nbsp;&nbsp;&nbsp;0.0000000&nbsp; 0.0012242&nbsp; 0.0006642&nbsp; 0.0000000&nbsp; 0.9999990<br>&gt;&gt;&nbsp; 4&nbsp; -0.8886820&nbsp; 0.0000000&nbsp; 0.0000000 -0.4585240&nbsp; 0.0000000<br>&gt;&gt;&nbsp; 5&nbsp;&nbsp;&nbsp;0.4585240&nbsp; 0.0000000&nbsp; 0.0000000 -0.8886820&nbsp; 0.0000000<br>&gt;&gt;&nbsp; occupations<br>&gt;&gt;&nbsp; 0.001&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000<br>&gt;&gt;&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000<br>&gt;&gt;&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000<br>&gt;&gt;&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000&nbsp; 0.001&nbsp; 0.000<br>&gt;&gt;&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000&nbsp;
 0.000<br>&gt;&gt;<br>&gt;&gt;&nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;<br>&gt; this is the first iteration! the problem is, in my opinion, that you <br>&gt; didn't start this calculation from wfc and potential saved from the scf <br>&gt; unperturbed run, but from scratch (that's why the code has to make the <br>&gt; initial guess for the n).<br>&gt;<br>&gt; regards,<br>&gt;<br>&gt; Matteo<br>&gt;&nbsp;&nbsp;&nbsp;<br>&gt;&gt; ---------------------------------- and end of the file is<br>&gt;&gt; :<br>&gt;&gt;&nbsp; &nbsp; &nbsp; End of self-consistent calculation<br>&gt;&gt;&nbsp; enter write_ns<br>&gt;&gt; U( 1) =&nbsp; 0.0000<br>&gt;&gt; alpha( 1) =&nbsp; 0.1000<br>&gt;&gt; atom&nbsp; 1&nbsp;&nbsp;&nbsp;Tr[ns(na)]=&nbsp;&nbsp;&nbsp;2.3270531<br>&gt;&gt; atom&nbsp; 1&nbsp; spin&nbsp; 1<br>&gt;&gt; eigenvalues:&nbsp; 0.1574294 0.1574294 0.1574294 0.9273825 0.9273825<br>&gt;&gt;&nbsp; eigenvectors<br>&gt;&gt;&nbsp; 1&nbsp;&nbsp;&nbsp;0.0000000 -0.4359030
 -0.7986559&nbsp; 0.0000000&nbsp; 0.4148945<br>&gt;&gt;&nbsp; 2&nbsp;&nbsp;&nbsp;0.0000000&nbsp; 0.7269732 -0.0406891&nbsp; 0.0000000&nbsp; 0.6854592<br>&gt;&gt;&nbsp; 3&nbsp;&nbsp;&nbsp;0.0000000 -0.5305643&nbsp; 0.6004109&nbsp; 0.0000000&nbsp; 0.5983379<br>&gt;&gt;&nbsp; 4&nbsp; -0.9258933&nbsp; 0.0000000&nbsp; 0.0000000 -0.3777851&nbsp; 0.0000000<br>&gt;&gt;&nbsp; 5&nbsp;&nbsp;&nbsp;0.3777851&nbsp; 0.0000000&nbsp; 0.0000000 -0.9258933&nbsp; 0.0000000<br>&gt;&gt;&nbsp; occupations<br>&gt;&gt;&nbsp; 0.927&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000<br>&gt;&gt;&nbsp; 0.000&nbsp; 0.157&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000<br>&gt;&gt;&nbsp; 0.000&nbsp; 0.000&nbsp; 0.157&nbsp; 0.000&nbsp; 0.000<br>&gt;&gt;&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000&nbsp; 0.927&nbsp; 0.000<br>&gt;&gt;&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000&nbsp; 0.000&nbsp; 0.157<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; Ali Kazempour<br>&gt;&gt; Physics department, Isfahan University of
 Technology<br>&gt;&gt; 84156 Isfahan, Iran. Tel-1: +98 311 391 3733<br>&gt;&gt; Fax: +98 311 391 2376 Tel-2: +98 311 391 2375<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; ------------------------------------------------------------------------<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; Pw_forum mailing list<br>&gt;&gt; <a ymailto="mailto:Pw_forum@pwscf.org" href="/mc/compose?to=Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>&gt;&gt; <a href="http://www.democritos.it/mailman/listinfo/pw_forum" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>&gt;&gt;&nbsp;&nbsp;&nbsp;<br>&gt;&gt;&nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;<br><br><br>-- <br>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>Matteo Cococcioni<br>Department of Chemical Engineering and Materials Science,<br>University of Minnesota<br>421 Washington Av. SE<br>Minneapolis, MN 55455<br>Tel. +1 612 624
 9056&nbsp; &nbsp; Fax +1 612 626 7246<br>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% <br><br>_______________________________________________<br>Pw_forum mailing list<br><a ymailto="mailto:Pw_forum@pwscf.org" href="/mc/compose?to=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></blockquote></td></tr></table><br>