<br><br>
<div class="gmail_quote">On Thu, Feb 4, 2010 at 4:18 PM, <span dir="ltr">&lt;<a href="mailto:pw_forum-request@pwscf.org">pw_forum-request@pwscf.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Send Pw_forum mailing list submissions to<br>       <a href="mailto:pw_forum@pwscf.org">pw_forum@pwscf.org</a><br>
<br>To subscribe or unsubscribe via the World Wide Web, visit<br>       <a href="http://www.democritos.it/mailman/listinfo/pw_forum" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>or, via email, send a message with subject or body &#39;help&#39; to<br>
       <a href="mailto:pw_forum-request@pwscf.org">pw_forum-request@pwscf.org</a><br><br>You can reach the person managing the list at<br>       <a href="mailto:pw_forum-owner@pwscf.org">pw_forum-owner@pwscf.org</a><br><br>
When replying, please edit your Subject line so it is more specific<br>than &quot;Re: Contents of Pw_forum digest...&quot;<br><br><br>Today&#39;s Topics:<br><br>  1. Re: Kponts generation from kpoint.x (<a href="mailto:vtmtrinh@caltech.edu">vtmtrinh@caltech.edu</a>)<br>
  2. Re: Kponts generation from kpoint.x (Paolo Giannozzi)<br>  3. Re: Kponts generation from kpoint.x (Gabriele Sclauzero)<br>  4. Re: how to conver to unit of eV/atom in supercell?<br>     (Gabriele Sclauzero)<br>  5. Re: Kponts generation from kpoint.x (Vo, Trinh (388C))<br>
<br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Wed, 3 Feb 2010 22:49:01 -0800 (PST)<br>From: <a href="mailto:vtmtrinh@caltech.edu">vtmtrinh@caltech.edu</a><br>Subject: Re: [Pw_forum] Kponts generation from kpoint.x<br>
To: &quot;PWSCF Forum&quot; &lt;<a href="mailto:pw_forum@pwscf.org">pw_forum@pwscf.org</a>&gt;<br>Message-ID:<br>       &lt;<a href="mailto:49417.66.215.89.65.1265266141.squirrel@webmail.caltech.edu">49417.66.215.89.65.1265266141.squirrel@webmail.caltech.edu</a>&gt;<br>
Content-Type: text/plain;charset=iso-8859-1<br><br>Dear PWSCF Users,<br><br>I also checked prevoius discussions in PWSCF forum.  pw.x also takes into<br>consideration of the crystal symmetry, while kpoint.x uses lattice<br>
symmetry.  (My studied system is body-cntered tetragonal cell). It seems<br>that I could not use the kpoints list given by kpoint.x.   If I would like<br>to obtain a whole list of kpoints (consistent with those generated by<br>
pw.x), how could I do so?<br><br>Thank you,<br><br>Trinh<br><br>&gt; Dear Pwscf,<br>&gt;<br>&gt; I run a nscf calculation with k-point grid of 12x12x12 (automatic).  From<br>&gt; the output of pw.x, I saw 163 kpoints were generated and computed.  Since<br>
&gt; I would like to get the whole 3D-band structure, I run kpoint.x to get<br>&gt; other kpoints.  A number of kpoints generated by pw.x (for the nscf<br>&gt; calcultion) could be found te coincide with those generated by kpoint.x.<br>
&gt; However, there many kpoints generated by pw.x could not found in the<br>&gt; output of kpoint.x.  I am not sure about the reason why there is the<br>&gt; difference here: Is it due to reverse symmetry or something else?   I<br>
&gt; appreciate very much if you could tell me why.<br>&gt;<br>&gt; Best,<br>&gt;<br>&gt; Trinh Vo<br>&gt;<br>&gt; JPL/CalTech<br>&gt;<br>&gt;<br>&gt;<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>
<br><br>------------------------------<br><br>Message: 2<br>Date: Thu, 4 Feb 2010 08:48:38 +0100<br>From: Paolo Giannozzi &lt;<a href="mailto:giannozz@democritos.it">giannozz@democritos.it</a>&gt;<br>Subject: Re: [Pw_forum] Kponts generation from kpoint.x<br>
To: PWSCF Forum &lt;<a href="mailto:pw_forum@pwscf.org">pw_forum@pwscf.org</a>&gt;<br>Message-ID: &lt;<a href="mailto:680AB988-245A-47ED-8517-BD239D213990@democritos.it">680AB988-245A-47ED-8517-BD239D213990@democritos.it</a>&gt;<br>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed<br><br><br>On Feb 4, 2010, at 7:49 , <a href="mailto:vtmtrinh@caltech.edu">vtmtrinh@caltech.edu</a> wrote:<br><br>&gt; If I would like to obtain a whole list of kpoints (consistent with<br>
&gt; those<br>&gt; generated by pw.x), how could I do so?<br><br>what do you mean by &quot;a whole list of k-points&quot;? one that covers the<br>entire<br>BZ ?  there is an option in kpoints.x . You can also use option &quot;nosym&quot;<br>
in pw.x.<br><br>P.<br>---<br>Paolo Giannozzi, Dept of Physics, University of Udine<br>via delle Scienze 208, 33100 Udine, Italy<br>Phone +39-0432-558216, fax +39-0432-558222<br><br><br><br><br><br>------------------------------<br>
<br>Message: 3<br>Date: Thu, 04 Feb 2010 09:02:45 +0100<br>From: Gabriele Sclauzero &lt;<a href="mailto:sclauzer@sissa.it">sclauzer@sissa.it</a>&gt;<br>Subject: Re: [Pw_forum] Kponts generation from kpoint.x<br>To: PWSCF Forum &lt;<a href="mailto:pw_forum@pwscf.org">pw_forum@pwscf.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:4B6A7F25.4010806@sissa.it">4B6A7F25.4010806@sissa.it</a>&gt;<br>Content-Type: text/plain; charset=us-ascii; format=flowed<br><br><br><br><a href="mailto:vtmtrinh@caltech.edu">vtmtrinh@caltech.edu</a> wrote:<br>
&gt; Dear PWSCF Users,<br>&gt;<br>&gt; I also checked prevoius discussions in PWSCF forum.  pw.x also takes into<br>&gt; consideration of the crystal symmetry, while kpoint.x uses lattice<br>&gt; symmetry.  (My studied system is body-cntered tetragonal cell). It seems<br>
&gt; that I could not use the kpoints list given by kpoint.x.   If I would like<br><br>You got the point!<br><br>&gt; to obtain a whole list of kpoints (consistent with those generated by<br>&gt; pw.x), how could I do so?<br>
<br>I&#39;m not sure that your request is totally clear to me. If you want the full list of<br>k-points, without any symmetry reduction, you can use kpoints.x: it has an option which<br>prints on output the full list, together with an index which tells you if there is in the<br>
list another k-point which is equivalent by symmetry.<br>I think you could even generate the mesh &quot;by hand&quot; in crystal coordinates: it is a<br>regularly spaced grid in a three dimensional cube, possibly shifted from the origin.<br>
Give a look inside PW/kpoint_grid.f90:<br><br>  do i=1,nk1<br>     do j=1,nk2<br>        do k=1,nk3<br>           !  this is nothing but consecutive ordering<br>           n = (k-1) + (j-1)*nk3 + (i-1)*nk2*nk3 + 1<br>           !  xkg are the components of the complete grid in crystal axis<br>
           xkg(1,n) = DBLE(i-1)/nk1 + DBLE(k1)/2/nk1<br>           xkg(2,n) = DBLE(j-1)/nk2 + DBLE(k2)/2/nk2<br>           xkg(3,n) = DBLE(k-1)/nk3 + DBLE(k3)/2/nk3<br>        end do<br>     end do<br>  end do<br><br>However maybe there is no need to do this if you simply want to run a nscf calculation on<br>
a full 3D grid of k-point; try with<br><br>nosym=.TRUE.<br>noinv=.TRUE.<br><br>It should disable any symmetry reduction in the generation of the k-point list (but also<br>symmetrization of charge).<br><br><br><br>HTH<br><br>
GS<br><br><br><br>&gt;<br>&gt; Thank you,<br>&gt;<br>&gt; Trinh<br>&gt;<br>&gt;&gt; Dear Pwscf,<br>&gt;&gt;<br>&gt;&gt; I run a nscf calculation with k-point grid of 12x12x12 (automatic).  From<br>&gt;&gt; the output of pw.x, I saw 163 kpoints were generated and computed.  Since<br>
&gt;&gt; I would like to get the whole 3D-band structure, I run kpoint.x to get<br>&gt;&gt; other kpoints.  A number of kpoints generated by pw.x (for the nscf<br>&gt;&gt; calcultion) could be found te coincide with those generated by kpoint.x.<br>
&gt;&gt; However, there many kpoints generated by pw.x could not found in the<br>&gt;&gt; output of kpoint.x.  I am not sure about the reason why there is the<br>&gt;&gt; difference here: Is it due to reverse symmetry or something else?   I<br>
&gt;&gt; appreciate very much if you could tell me why.<br>&gt;&gt;<br>&gt;&gt; Best,<br>&gt;&gt;<br>&gt;&gt; Trinh Vo<br>&gt;&gt;<br>&gt;&gt; JPL/CalTech<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>
&gt;&gt; Pw_forum mailing list<br>&gt;&gt; <a href="mailto: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;<br>&gt;<br>&gt;<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><br><br>o ------------------------------------------------ o<br>| Gabriele Sclauzero, PhD Student                  |<br>| c/o:   SISSA &amp; CNR-INFM Democritos,              |<br>|        via Beirut 2-4, 34014 Trieste (Italy)     |<br>
| email: <a href="mailto:sclauzer@sissa.it">sclauzer@sissa.it</a>                         |<br>| phone: +39 040 3787 511                          |<br>| skype: gurlonotturno                             |<br>o ------------------------------------------------ o<br>
<br><br>------------------------------<br><br>Message: 4<br>Date: Thu, 04 Feb 2010 09:08:41 +0100<br>From: Gabriele Sclauzero &lt;<a href="mailto:sclauzer@sissa.it">sclauzer@sissa.it</a>&gt;<br>Subject: Re: [Pw_forum] how to conver to unit of eV/atom in supercell?<br>
To: PWSCF Forum &lt;<a href="mailto:pw_forum@pwscf.org">pw_forum@pwscf.org</a>&gt;<br>Message-ID: &lt;<a href="mailto:4B6A8089.9080009@sissa.it">4B6A8089.9080009@sissa.it</a>&gt;<br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br><br><br>Wong Kelvin wrote:<br>&gt; Dear all<br>&gt;<br>&gt; when i calculate a single atomc Cu primitive cell, the energy is ~ -87<br><br>What are you trying to compute? An isolated atom or a bulk phase? In any case, if you are<br>
using pseudopotentials the total energy has not any physical meaning by itself. What is<br>physically relevant are energy differences.<br><br>&gt; Ry. How to convert it to the eV/atom which normally is around -3.7 eV?<br>
<br>Where did you get this value of -3.7 and what does it actually refer to? I mean, to which<br>physical quantity?<br><br><br>GS<br>&gt; Thanks<br>&gt; Wong<br>&gt;<br>&gt;<br>o ------------------------------------------------ o<br>
| Gabriele Sclauzero, PhD Student                  |<br>| c/o:   SISSA &amp; CNR-INFM Democritos,              |<br>|        via Beirut 2-4, 34014 Trieste (Italy)     |<br>| email: <a href="mailto:sclauzer@sissa.it">sclauzer@sissa.it</a>                         |<br>
| phone: +39 040 3787 511                          |<br>| skype: gurlonotturno                             |<br>o ------------------------------------------------ o<br><br></blockquote>
<div>Dear Gabriele </div>
<div>Thanks for reply!</div>
<div> </div>
<div>I am trying to calculate the grain and twin boundary energies in metals. I partially understand that absolute energy in pseudopotential calculation does not provide meaningful interpretation. </div>
<div>The reported energies in literature for copper with PP calculations use to be around -3.7 eV/atom. Is there anything significant abt this figure? and i do not understand how to get it. simple by diving the total energy calculated by number of atom in supercell? if it is so, the value (~3.7) is way too small as compare to the 87 Ry for one copper atom primitive cell.</div>

<div> </div>
<div>regards</div>
<div>Kelvin </div>
<div> </div>
<div> </div>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">------------------------------<br><br>Message: 5<br>Date: Thu, 4 Feb 2010 00:11:43 -0800<br>From: &quot;Vo, Trinh (388C)&quot; &lt;<a href="mailto:Trinh.Vo@jpl.nasa.gov">Trinh.Vo@jpl.nasa.gov</a>&gt;<br>
Subject: Re: [Pw_forum] Kponts generation from kpoint.x<br>To: PWSCF Forum &lt;<a href="mailto:pw_forum@pwscf.org">pw_forum@pwscf.org</a>&gt;<br>Message-ID: &lt;<a href="mailto:C78FC13F.128B%25Trinh.Vo@jpl.nasa.gov">C78FC13F.128B%Trinh.Vo@jpl.nasa.gov</a>&gt;<br>
Content-Type: text/plain; charset=&quot;us-ascii&quot;<br><br>Hi Paol and Gabriele,<br><br>Thank you very much for reply.<br><br>Yes, I need kpoints for entire BZ.  Yes, I used that option (kpoint.x) to<br>print out all kpoints. I then found that a number of kpoints from pw.x did<br>
not in the list of kpoints generated by kpoint.x, so I was confused.  I have<br>just made further checks, I saw that they are actually equivalent within a<br>reciprocal vector.  Thus it is fine now.  :-).<br><br>Thank you<br>
<br><br>On 2/4/10 12:02 AM, &quot;Gabriele Sclauzero&quot; &lt;<a href="mailto:sclauzer@sissa.it">sclauzer@sissa.it</a>&gt; wrote:<br><br>&gt;<br>&gt;<br>&gt; <a href="mailto:vtmtrinh@caltech.edu">vtmtrinh@caltech.edu</a> wrote:<br>
&gt;&gt; Dear PWSCF Users,<br>&gt;&gt;<br>&gt;&gt; I also checked prevoius discussions in PWSCF forum.  pw.x also takes into<br>&gt;&gt; consideration of the crystal symmetry, while kpoint.x uses lattice<br>&gt;&gt; symmetry.  (My studied system is body-cntered tetragonal cell). It seems<br>
&gt;&gt; that I could not use the kpoints list given by kpoint.x.   If I would like<br>&gt;<br>&gt; You got the point!<br>&gt;<br>&gt;&gt; to obtain a whole list of kpoints (consistent with those generated by<br>&gt;&gt; pw.x), how could I do so?<br>
&gt;<br>&gt; I&#39;m not sure that your request is totally clear to me. If you want the full<br>&gt; list of<br>&gt; k-points, without any symmetry reduction, you can use kpoints.x: it has an<br>&gt; option which<br>&gt; prints on output the full list, together with an index which tells you if<br>
&gt; there is in the<br>&gt; list another k-point which is equivalent by symmetry.<br>&gt; I think you could even generate the mesh &quot;by hand&quot; in crystal coordinates: it<br>&gt; is a<br>&gt; regularly spaced grid in a three dimensional cube, possibly shifted from the<br>
&gt; origin.<br>&gt; Give a look inside PW/kpoint_grid.f90:<br>&gt;<br>&gt;    do i=1,nk1<br>&gt;       do j=1,nk2<br>&gt;          do k=1,nk3<br>&gt;             !  this is nothing but consecutive ordering<br>&gt;             n = (k-1) + (j-1)*nk3 + (i-1)*nk2*nk3 + 1<br>
&gt;             !  xkg are the components of the complete grid in crystal axis<br>&gt;             xkg(1,n) = DBLE(i-1)/nk1 + DBLE(k1)/2/nk1<br>&gt;             xkg(2,n) = DBLE(j-1)/nk2 + DBLE(k2)/2/nk2<br>&gt;             xkg(3,n) = DBLE(k-1)/nk3 + DBLE(k3)/2/nk3<br>
&gt;          end do<br>&gt;       end do<br>&gt;    end do<br>&gt;<br>&gt; However maybe there is no need to do this if you simply want to run a nscf<br>&gt; calculation on<br>&gt; a full 3D grid of k-point; try with<br>
&gt;<br>&gt; nosym=.TRUE.<br>&gt; noinv=.TRUE.<br>&gt;<br>&gt; It should disable any symmetry reduction in the generation of the k-point list<br>&gt; (but also<br>&gt; symmetrization of charge).<br>&gt;<br>&gt;<br>&gt;<br>
&gt; HTH<br>&gt;<br>&gt; GS<br>&gt;<br>&gt;<br>&gt;<br>&gt;&gt;<br>&gt;&gt; Thank you,<br>&gt;&gt;<br>&gt;&gt; Trinh<br>&gt;&gt;<br>&gt;&gt;&gt; Dear Pwscf,<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; I run a nscf calculation with k-point grid of 12x12x12 (automatic).  From<br>
&gt;&gt;&gt; the output of pw.x, I saw 163 kpoints were generated and computed.  Since<br>&gt;&gt;&gt; I would like to get the whole 3D-band structure, I run kpoint.x to get<br>&gt;&gt;&gt; other kpoints.  A number of kpoints generated by pw.x (for the nscf<br>
&gt;&gt;&gt; calcultion) could be found te coincide with those generated by kpoint.x.<br>&gt;&gt;&gt; However, there many kpoints generated by pw.x could not found in the<br>&gt;&gt;&gt; output of kpoint.x.  I am not sure about the reason why there is the<br>
&gt;&gt;&gt; difference here: Is it due to reverse symmetry or something else?   I<br>&gt;&gt;&gt; appreciate very much if you could tell me why.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Best,<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Trinh Vo<br>
&gt;&gt;&gt;<br>&gt;&gt;&gt; JPL/CalTech<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; Pw_forum mailing list<br>&gt;&gt;&gt; <a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
&gt;&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;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>
&gt;&gt; Pw_forum mailing list<br>&gt;&gt; <a href="mailto: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;<br><br><br><br>------------------------------<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>
<br><br>End of Pw_forum Digest, Vol 32, Issue 7<br>***************************************<br></blockquote></div><br>