<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
h3
        {mso-style-priority:9;
        mso-style-link:"Heading 3 Char";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:13.5pt;
        font-family:"Times New Roman","serif";
        font-weight:bold;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.Heading3Char
        {mso-style-name:"Heading 3 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 3";
        font-family:"Cambria","serif";
        color:#4F81BD;
        mso-fareast-language:EN-GB;
        font-weight:bold;}
span.gmail-gd
        {mso-style-name:gmail-gd;}
span.gmail-
        {mso-style-name:gmail-;}
span.gmail-hoenzb
        {mso-style-name:gmail-hoenzb;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-GB;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Dear Sudhir<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">You enforce a smearing of the projected d orbital occupations until an SCF convergence threshold of 1.0E-8 is reached (and for at least 10 SCF iteration steps).
 This will imply that the occupation constraint is never released during the SCF iteration loop unless your SCF convergence limit is even smaller than 1.0E-8 (well, you possibly never get there). That is also most likely the reason for the persistence of the
 warning. I suggest to comment/remove the EPS_SCF 1.0E-8 line. After 10 SCF iteration steps the SCF cycle will then evolve without occupation constraint. You may even set “&ENFORCE_OCCUPATION off” and drop the occupation constraint completely, since you do
 not want to enforce any specific d orbital occupation pattern obviously as you are smearing over all d orbitals anyway. You may also drop the U_RAMPING unless that is crucially needed to achieve convergence.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Best regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Matthias<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> cp...@googlegroups.com [mailto:cp...@googlegroups.com]
<b>On Behalf Of </b>Sudhir K. Sahoo<br>
<b>Sent:</b> 18 September 2017 16:40<br>
<b>To:</b> cp...@googlegroups.com<br>
<b>Subject:</b> Re: [CP2K:9424] DFT+U Calculation<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<h3><span class="gmail-gd"><span style="font-weight:normal">Dear Matthias, </span>
</span><o:p></o:p></h3>
<p>Many thanks for your reply and explanation. I have done one calculation with a lower value of U (2 eV), but got the same warning. 
<o:p></o:p></p>
<p>Below is the input for DFT+U.  <o:p></o:p></p>
<p>       &DFT_PLUS_U  T<br>
         L  2<br>
         U_MINUS_J [eV] 2.0<br>
         INIT_U_RAMPING_EACH_SCF<br>
         U_RAMPING [eV] 0.10<br>
         &ENFORCE_OCCUPATION<br>
            EPS_SCF 1.0E-8<br>
            MAX_SCF 10<br>
            ORBITALS -2 -1 0 1 2<br>
            SMEAR<br>
         &END ENFORCE_OCCUPATION<br>
       &END DFT_PLUS_U<o:p></o:p></p>
<p>I will give a try to print the detail orbital occupation. <o:p></o:p></p>
<p>Thanks, <o:p></o:p></p>
<p class="MsoNormal">Sudhir <o:p></o:p></p>
<div>
<p><o:p> </o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Mon, Sep 18, 2017 at 4:03 PM, Krack Matthias (PSI) <<a href="mailto:matthia...@psi.ch" target="_blank">matthia...@psi.ch</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Dear Sudhir</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">This warning pops up when the Mulliken population analysis (MPA) returns an orbital occupation larger
 than the maximum number of electrons allowed for the actual l value specified in the +U section, e.g. more than 10 electrons are assigned by the MPA to the Cu 3d (l=2) orbitals. This can be an indicator for a too large U value enforcing a too high on-site
 localisation. Please, note that the U(eff) values successfully employed by PW codes are not transferable to CP2K. The corresponding U values for CP2K are usually smaller, roughly by a factor of two, e.g. with respect to their impact on the band gap. You can
 specifically print the detailed orbital occupations of the +U atoms using this <a href="https://manual.cp2k.org/cp2k-4_1-branch/CP2K_INPUT/FORCE_EVAL/DFT/PRINT/PLUS_U.html" target="_blank">
CP2K print key</a> with “QS_SCF 1” in its &EACH section. The warning appears easily for systems like ZnO with a 3d10 configuration when the MPA assigns for instance 10.04 electrons to the Zn 3d orbitals of some Zn atoms. The warning can then be ignored possibly
 for such spurious violations of the maximum orbital occupation. It is up to the user eventually to decide, if the obtained results are still physically meaningful. There is always the option to employ another method when DFT+U troubles, e.g. DFT with hybrid
 functionals.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Best regards</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Matthias</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<a href="mailto:cp...@googlegroups.com" target="_blank">cp...@googlegroups.com</a> [mailto:<a href="mailto:cp...@googlegroups.com" target="_blank">cp...@googlegroups.com</a>]
<b>On Behalf Of </b>sudhir kumar Sahoo<br>
<b>Sent:</b> 18 September 2017 15:03<br>
<b>To:</b> cp2k<br>
<b>Subject:</b> [CP2K:9422] DFT+U Calculation</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">Dear cp2k users,
<br>
<br>
I am using DFT+U method for modelling CuInSe2 (U=5.0 eV for 3d electrons of Cu), particularly, using Mulliken method as implemented in cp2k program.
<br>
However, a warning is repeatedly written in the output file.  <br>
<br>
 *** WARNING in dft_plus_u.F:1455 :: DFT+U energy contibution is negative ***<br>
 *** possibly due to unphysical Mulliken charges. Check your input, if    ***<br>
 *** this warning persists or try a different method!                     ***<br>
<br>
After reading the cp2k google group discussion, I have tried to perform DFT+U calculations as explained below,
<br>
but each time I got the same warning in the output file. <br>
<br>
1) Restarting the calculation U=5 eV, from an optimized wavefunction obtained from U=0 eV.
<br>
2) Point 1 + u_ramping option <br>
3) Point 2 + &enforce_occupation <br>
<br>
Can someone please help me in this. <br>
<br>
Thanking You, <br>
Sudhir<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span class="gmail-hoenzb"><span style="color:#888888">--
</span></span><span style="color:#888888"><br>
<span class="gmail-hoenzb">You received this message because you are subscribed to the Google Groups "cp2k" group.</span><br>
<span class="gmail-hoenzb">To unsubscribe from this group and stop receiving emails from it, send an email to
<a href="mailto:cp2k+unsu...@googlegroups.com" target="_blank">cp2k+unsu...@googlegroups.com</a>.</span></span><br>
<span class="gmail-">To post to this group, send email to <a href="mailto:cp...@googlegroups.com" target="_blank">
cp...@googlegroups.com</a>.</span><br>
<span class="gmail-">Visit this group at <a href="https://groups.google.com/group/cp2k" target="_blank">
https://groups.google.com/group/cp2k</a>.</span><br>
<span class="gmail-">For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">
https://groups.google.com/d/optout</a>.</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">-- <br>
You received this message because you are subscribed to a topic in the Google Groups "cp2k" group.<br>
To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/cp2k/t0tJh9KSCBs/unsubscribe" target="_blank">
https://groups.google.com/d/topic/cp2k/t0tJh9KSCBs/unsubscribe</a>.<br>
To unsubscribe from this group and all its topics, send an email to <a href="mailto:cp2k+unsu...@googlegroups.com" target="_blank">
cp2k+unsu...@googlegroups.com</a>.<br>
To post to this group, send email to <a href="mailto:cp...@googlegroups.com" target="_blank">
cp...@googlegroups.com</a>.<br>
Visit this group at <a href="https://groups.google.com/group/cp2k" target="_blank">
https://groups.google.com/group/cp2k</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">
https://groups.google.com/d/optout</a>.<o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">Sudhir Kumar Sahoo<br>
C/O - Prof. Thomas D. Kühne <br>
Post-doc Researcher <o:p></o:p></p>
<div>
<p class="MsoNormal">Department of Chemistry<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">University of Paderborn <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</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="mailto:cp2k+unsu...@googlegroups.com">cp2k+unsu...@googlegroups.com</a>.<br>
To post to this group, send email to <a href="mailto:cp...@googlegroups.com">cp...@googlegroups.com</a>.<br>
Visit this group at <a href="https://groups.google.com/group/cp2k">https://groups.google.com/group/cp2k</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<o:p></o:p></p>
</div>
</body>
</html>