<div dir="ltr">Hi Matthias<div><br></div><p class="separator" style="text-align: center; clear: both;"><img src="cid:70579cd7-420f-4751-8a5f-af302dd89bb9" alt="TIM截图20190320230817.png" width="320" height="97" style="margin-left: 1em; margin-right: 1em;">     </p><p class="separator" style="text-align: center; clear: both;"><br></p><p class="separator" style="text-align: center; clear: both;"><br></p><div>I am having some trouble when using the BS section: non-compatible end of section BETA , File: 'Ni_surface.inp', Line: 128, Column: 1, Chunk: <BEAT> . I don't know how to solve it.</div><div><br></div><div>In example of UO2 (<a href="https://pc2.uni-paderborn.de/teaching/trainings/cp2k-tutorial/">https://pc2.uni-paderborn.de/teaching/trainings/cp2k-tutorial/</a>), there are two U of spin up and two U of spin down in UO2 cell, but we only use KIND Ua and KIND Ub to distinguish spin-up and spin-down U atoms. My question is how to let CP2K know which two U belong to KIND Ua, which two U belong to KIND Ub?</div><div><br></div><div>Thinks!</div><div><br></div><div><br></div><div><br><br>在 2018年11月8日星期四 UTC+8下午11:37:18,Matthias Krack写道:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Dear Katarina</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">you have indeed to approach each spin channel in the BS section from a “closed shell” point of view. The slides
<a href="https://pc2.uni-paderborn.de/fileadmin/pc2/cp2k_workshop/Implicit_Solvent_Methods_and_DFT_U.pdf#page=22" target="_blank" rel="nofollow" onmousedown="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fpc2.uni-paderborn.de%2Ffileadmin%2Fpc2%2Fcp2k_workshop%2FImplicit_Solvent_Methods_and_DFT_U.pdf%23page%3D22\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH4gU3JP2wHtUZrL--31alEmbPwnw';return true;" onclick="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fpc2.uni-paderborn.de%2Ffileadmin%2Fpc2%2Fcp2k_workshop%2FImplicit_Solvent_Methods_and_DFT_U.pdf%23page%3D22\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH4gU3JP2wHtUZrL--31alEmbPwnw';return true;">
22 and 23</a> from the last <a href="https://pc2.uni-paderborn.de/teaching/trainings/cp2k-tutorial" target="_blank" rel="nofollow" onmousedown="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fpc2.uni-paderborn.de%2Fteaching%2Ftrainings%2Fcp2k-tutorial\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFhi-TdnDSnjAM5mfZIIUwbpdmWyA';return true;" onclick="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fpc2.uni-paderborn.de%2Fteaching%2Ftrainings%2Fcp2k-tutorial\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFhi-TdnDSnjAM5mfZIIUwbpdmWyA';return true;">
CP2K tutorial in Paderborn</a> show an example for a BS section for UO2. The BS section is not perfectly intuitive.</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">HTH</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Matthias</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </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"> <a href="javascript:" target="_blank" gdf-obfuscated-mailto="I3bAyOMVBQAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a> <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="I3bAyOMVBQAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a>>
<b>On Behalf Of </b>katarína stanciaková<br>
<b>Sent:</b> Donnerstag, 8. November 2018 14:36<br>
<b>To:</b> cp2k <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="I3bAyOMVBQAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a>><br>
<b>Subject:</b> Re: [CP2K:10917] Re: Initial guess of the density matrix</span></p>
<p class="MsoNormal"> </p>
<div>
<div>
<p class="MsoNormal">Dear Matthias,</p>
</div>
<div>
<p class="MsoNormal">thank you for the suggestion. Could you, please, explain why NEL in alpha channel is 1?
</p>
</div>
<div>
<p class="MsoNormal">Is it becasue neutral Cu has 4s1, so we add one electron and then divide by 2? What if the result would be even number?</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Thanks!</p>
</div>
<p class="MsoNormal">Dňa štvrtok, 8. novembra 2018 11:49:26 UTC+1 Matthias Krack napísal(-a):</p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Dear Katarina</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">You may try for Cu1 alpha</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:Consolas;color:#1f497d"> </span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:Consolas;color:#1f497d">NEL 1   0</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:Consolas;color:#1f497d">L   0   2</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:Consolas;color:#1f497d">N   4   3</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">instead of</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:Consolas;color:#1f497d">NEL 0   0</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:Consolas;color:#1f497d">L   0   2</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:Consolas;color:#1f497d">N   4   3</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:Consolas;color:#1f497d"> </span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hope that works.</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Matthias</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </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">
</span><a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">cp...@googlegroups.com</span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> <</span><a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">cp...@googlegroups.com</span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">>
<b>On Behalf Of </b>katarína stanciaková<br>
<b>Sent:</b> Donnerstag, 8. November 2018 11:13<br>
<b>To:</b> cp2k <</span><a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">cp...@googlegroups.com</span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">><br>
<b>Subject:</b> Re: [CP2K:10913] Re: Initial guess of the density matrix</span></p>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Dear all,<br>
I am trying to set up calculation for my Cu+ system, however, even after reading this thread I cannot understand how the electrons are assigned to channels in CP2K. I wanna test two possible spin states (just for testing purposes) of Cu+:<br>
<br>
Cu+ with electron configuration 3d9 4s1 (Cu1) and 3d10 4s0 (Cu2). I tried to build my input sections:<br>
<br>
&KIND  Cu1<br>
      ELEMENT Cu<br>
      BASIS_SET  DZVP-MOLOPT-GTH<br>
      POTENTIAL  GTH-BLYP-q11<br>
      &BS<br>
        &ALPHA<br>
           &ALPHA<br>
          NEL 0   0<br>
          L    0   2<br>
          N    4   3<br>
        &END<br>
        &BETA<br>
          NEL -1  -2<br>
          L    0   2<br>
          N    4   3<br>
      &END<br>
    &END<br>
<br>
and <br>
<br>
&KIND  Cu2<br>
      ELEMENT Cu<br>
      BASIS_SET  DZVP-MOLOPT-GTH<br>
      POTENTIAL  GTH-BLYP-q11<br>
      &BS<br>
        &ALPHA<br>
           &ALPHA<br>
          NEL -1   0<br>
          L    0   2<br>
          N    4   3<br>
        &END<br>
        &BETA<br>
          NEL -1  0<br>
          L    0   2<br>
          N    4   3<br>
      &END<br>
    &END<br>
<br>
Is this correct?</p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Also,regarding previous example on Cl1 - what is the meaning of half-electrons in alpha/beta channel?
</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<p class="MsoNormal">Thank you very much for the help<br>
Katarina<br>
<br>
<br>
Dňa streda, 10. februára 2016 11:53:26 UTC+1 S Ling napísal(-a):</p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">You cannot have half an electron on a p orbital?</p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">In your case of Cl1, you have one extra electron in the alpha spin channel, and by doing that, you break the symmetry of alpha and beta spin channels, i.e. you MAY end up with different
 occupations in the alpha and beta spin channels after the calculation. Of course, this also depends on your specific system, that a symmetry-broken solution is energetically more stable.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">SL</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
</div>
<div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">On 9 February 2016 at 07:49, tao liu <<a>liu...@gmail.com</a>> wrote:</p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Dear All,<br>
<br>
I can understand the &BS setting for Cu1, but still confused on Cl and Cl1.<br>
<br>
    &KIND  Cl<br>
      BASIS_SET  DZVP-MOLOPT-GTH<br>
      POTENTIAL  GTH-BLYP-q7<br>
      &BS<br>
        &ALPHA<br>
          NEL 2<br>
          L   1<br>
          N   3<br>
        &END<br>
        &BETA<br>
          NEL 2<br>
          L   1<br>
          N   3<br>
        &END<br>
      &END<br>
    &END<br>
    &KIND  Cl1<br>
      ELEMENT Cl<br>
      BASIS_SET  DZVP-MOLOPT-GTH<br>
      POTENTIAL  GTH-BLYP-q7<br>
      &BS<br>
        &ALPHA<br>
          NEL 2<br>
          L   1<br>
          N   3<br>
        &END<br>
        &BETA<br>
          NEL 0<br>
          L   1<br>
          N   3<br>
        &END<br>
      &END<br>
    &END<br>
<br>
As suggested by Marcella, <br>
for 'Cl' in the input file, Alpha is (5+2)/2=3.5, and same for Beta, in the end 'Cl' should have 3s-2 3p-7<br>
for 'Cl1' in the input file, Alpha is (5+2)/2=3.5, and (5+0)/2 =2.5 for Beta, in the end 'Cl1' should have 3s-2 3p-6<br>
 <br>
Could anyone tell me if I understand correctly or not ?<br>
<br>
Thanks,<br>
Tao</p>
</div>
<p class="MsoNormal"><span style="color:#888888">--
<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
</span><a>cp2k+...@googlegroups.com</a><span style="color:#888888">.<br>
To post to this group, send email to </span><a>cp...@googlegroups.com</a><span style="color:#888888">.<br>
Visit this group at </span><a href="https://groups.google.com/group/cp2k" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/group/cp2k';return true;" onclick="this.href='https://groups.google.com/group/cp2k';return true;">https://groups.google.com/<wbr>group/cp2k</a><span style="color:#888888">.<br>
For more options, visit </span><a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/<wbr>optout</a><span style="color:#888888">.</span></p>
</blockquote>
</div>
<p class="MsoNormal"> </p>
</div>
</blockquote>
</div>
<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>cp2k+...@googlegroups.com</a>.<br>
To post to this group, send email to <a>cp...@googlegroups.com</a>.<br>
Visit this group at <a href="https://groups.google.com/group/cp2k" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/group/cp2k';return true;" onclick="this.href='https://groups.google.com/group/cp2k';return true;">
https://groups.google.com/<wbr>group/cp2k</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">
https://groups.google.com/d/<wbr>optout</a>.</p>
</div>
</div>
</blockquote>
</div>
<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="javascript:" target="_blank" gdf-obfuscated-mailto="I3bAyOMVBQAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp2k+uns...@googlegroups.<wbr>com</a>.<br>
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="I3bAyOMVBQAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a>.<br>
Visit this group at <a href="https://groups.google.com/group/cp2k" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/group/cp2k';return true;" onclick="this.href='https://groups.google.com/group/cp2k';return true;">https://groups.google.com/<wbr>group/cp2k</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/<wbr>optout</a>.</p>
</div>
</div>

</blockquote></div></div>