<div dir="ltr">Using &quot;-1.0&quot; is correct.  <div><br></div><div>I tried the files and the amount of charge that sloshes around is just enormous ...  Maybe there&#39;s a way of getting it to converge, but I think you need a supercell for ZnO EELS anyway, so I&#39;d recommend getting a 2x2x2 supercell started and seeing if that converges normally.</div>
<div><br></div><div>Cheers</div><div><br></div><div>Kevin</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 26, 2014 at 9:16 AM, Hajar Nejati <span dir="ltr">&lt;<a href="mailto:hajar.nejatipoor@yahoo.com" target="_blank">hajar.nejatipoor@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:bookman old style,new york,times,serif;font-size:14pt"><div>
<span>Dear McDermott</span></div><div style="color:rgb(0,0,0);font-size:19px;font-family:&#39;bookman old style&#39;,&#39;new york&#39;,times,serif;font-style:normal;background-color:transparent"><span>Thanks for your help.</span></div>
<div style="color:rgb(0,0,0);font-size:19px;font-family:&#39;bookman old style&#39;,&#39;new york&#39;,times,serif;font-style:normal;background-color:transparent">As there is in the page 122 of the latest version of wien2k user&#39;s guide, for core hole approximation, I set -1.0 in the case.inm because I have not neutralized the bulk of the ZnO by additional valence electron. are you sure about you comment? can you explain it?</div>
<div style="color:rgb(0,0,0);font-size:19px;font-family:&#39;bookman old style&#39;,&#39;new york&#39;,times,serif;font-style:normal;background-color:transparent"><br></div><div style="color:rgb(0,0,0);font-size:19px;font-family:&#39;bookman old style&#39;,&#39;new york&#39;,times,serif;font-style:normal;background-color:transparent">
As you recommended, I use the super cell for Zn K ELNES.</div><div style="color:rgb(0,0,0);font-size:19px;font-family:&#39;bookman old style&#39;,&#39;new york&#39;,times,serif;font-style:normal;background-color:transparent">
<br></div><div><br></div>  <div style="font-family:&#39;bookman old style&#39;,&#39;new york&#39;,times,serif;font-size:14pt"> <div style="font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif;font-size:12pt">
 <div dir="ltr"> <hr size="1">  <font face="Arial"> <b><span style="font-weight:bold">From:</span></b> McDermott Eamon John Gordon &lt;<a href="mailto:eamon.mcdermott@tuwien.ac.at" target="_blank">eamon.mcdermott@tuwien.ac.at</a>&gt;<br>
 <b><span style="font-weight:bold">To:</span></b> &quot;<a href="mailto:wien@zeus.theochem.tuwien.ac.at" target="_blank">wien@zeus.theochem.tuwien.ac.at</a>&quot; &lt;<a href="mailto:wien@zeus.theochem.tuwien.ac.at" target="_blank">wien@zeus.theochem.tuwien.ac.at</a>&gt; <br>

 <b><span style="font-weight:bold">Sent:</span></b> Tuesday, August 26, 2014 4:21 AM<div><div class="h5"><br> <b><span style="font-weight:bold">Subject:</span></b> Re: [Wien] QTL-B error for Zn K-edge ELNES<br> </div></div>
</font> </div><div><div class="h5"> <div><br>You should use an &quot;extra electron charge&quot; of 1.0 in case.inm when<br clear="none">removing a core electron, not -1.0 as you have. Currently you are<br clear="none">effectively removing two electrons from the system (the core and a<br clear="none">
background charge).<br clear="none"><br clear="none">I would also recommend using a supercell when doing a core hole<br clear="none">calculation. I have had experience in the past with QTL-B errors when a<br clear="none">
core hole is not sufficiently isolated.<br clear="none"><br clear="none">Regards,<br clear="none"><br clear="none">-- <br clear="none">Eamon McDermott, M.Sc.<br clear="none">Institute of Materials Chemistry, TU Wien<br clear="none">
<a shape="rect" href="mailto:eamon.mcdermott@tuwien.ac.at" target="_blank">eamon.mcdermott@tuwien.ac.at</a><br clear="none">Office: +43 (1) 58801-165304<br clear="none">Scheduling: <a shape="rect" href="http://doodle.com/eamon.mcdermott" target="_blank">http://doodle.com/eamon.mcdermott</a><br clear="none">
<br clear="none"><br clear="none"><br clear="none">On Tue, 2014-08-26 at 04:12 -0700, Hajar Nejati wrote:<br clear="none">&gt; Dear Dr. Jorissen<br clear="none">&gt; I attached zno.strcuct, zno.in1c, zno.in2c, zno.inc and zno.inm for<br clear="none">
&gt; corehole in the unit-cell.<br clear="none">&gt; Can you cheak my input files and help what is wrong?<br clear="none">&gt; Thank you for your help<br clear="none">&gt; <br clear="none">&gt; <br clear="none">&gt; <br clear="none">
&gt; ______________________________________________________________________<br clear="none">&gt; From: Kevin Jorissen &lt;<a shape="rect" href="mailto:kevinjorissenpdx@gmail.com" target="_blank">kevinjorissenpdx@gmail.com</a>&gt;<br clear="none">
&gt; To: A Mailing list for WIEN2k users &lt;<a shape="rect" href="mailto:wien@zeus.theochem.tuwien.ac.at" target="_blank">wien@zeus.theochem.tuwien.ac.at</a>&gt; <br clear="none">&gt; Sent: Tuesday, August 26, 2014 1:20 AM<br clear="none">
&gt; Subject: Re: [Wien] QTL-B error for Zn K-edge ELNES<br clear="none">&gt; <br clear="none">&gt; <br clear="none">&gt; In recent versions of WIEN such a large version of QTL-B almost always<br clear="none">&gt; indicates an error in the input files.  Case.struct is likely fine<br clear="none">
&gt; since the ground-state calculation works fine.  There may be a problem<br clear="none">&gt; with the core hole?  Are you sure that case.struct, case.inc, and<br clear="none">&gt; case.in2(c) match?  <br clear="none">
&gt; <br clear="none">&gt; <br clear="none">&gt; Cheers,<br clear="none">&gt; <br clear="none">&gt; <br clear="none">&gt; <br clear="none">&gt; <br clear="none">&gt; Kevin Jorissen<br clear="none">&gt; <br clear="none">&gt; <br clear="none">
&gt; <br clear="none">&gt; <br clear="none">&gt; On Mon, Aug 25, 2014 at 6:20 AM, Hajar Nejati<br clear="none">&gt; &lt;<a shape="rect" href="mailto:hajar.nejatipoor@yahoo.com" target="_blank">hajar.nejatipoor@yahoo.com</a>&gt; wrote:<br clear="none">
&gt;         <br clear="none">&gt;         <br clear="none">&gt;         <br clear="none">&gt;         <br clear="none">&gt;         <br clear="none">&gt;         <br clear="none">&gt;         Dear wien2k users and developers<br clear="none">
&gt;         <br clear="none">&gt;     
    <br clear="none">&gt;         I want to calculate Zn K-edge ELNES of the bulk wurtzite ZnO.<br clear="none">&gt;         For calculating the ELNES of bulk without core-hole<br clear="none">&gt;         approximation, I have no problem. The scf run succesfully as<br clear="none">
&gt;         well as ELNES.<br clear="none">&gt;         for core-hole, I set in the structure:<br clear="none">&gt;         <br clear="none">&gt;         <br clear="none">&gt;         spacegroup=156 (P3m1)<br clear="none">
&gt;         Zn1 1/3 2/3 0 RMT=2.2<br clear="none">&gt;         Zn 2/3 1/3 0.5 RMT=2.2<br clear="none">&gt;         O 1/3 2/3 0.383 RMT=1.3<br clear="none">&gt;         O 2/3 1/3 0.883 RMT=1.3<br clear="none">&gt;         ---------------------------------------<br clear="none">
&gt;         I labled one of the Zn atoms to 1, for core-hole calc.<br clear="none">&gt;         spacegroup changes from 186(p63mc) to 156 (p3m1)<br clear="none">&gt;         ---------------------------------------<br clear="none">
&gt;         <br clear="none">&gt;         <br clear="none">&gt;         When I want to use corehole approximation (for Zn 1s ELNES) in<br clear="none">&gt;         the bulk of wurtzite ZnO, the L2main - QTL-B Error appears.<br clear="none">
&gt;         All recommendations about the solve of this error listed in<br clear="none">&gt;         mailing list and FAQ could not solve this error in my case!!!<br clear="none">&gt;        
 such as reducing the mixing factor, removing the local orbital<br clear="none">&gt;         in zno.in1c, or using the switch -in1new.<br clear="none">&gt;         <br clear="none">&gt;         <br clear="none">&gt;         I listed zno.scf2 and zno.scf1 in below:<br clear="none">
&gt;         <br clear="none">&gt;         <br clear="none">&gt;         zno.scf2:<br clear="none">&gt;         ================================<br clear="none">&gt;         <br clear="none">&gt;         <br clear="none">
&gt;         QTL-B VALUE .EQ. 62.71953 in Band of energy -0.42747 ATOM= 1<br clear="none">&gt;         L= 0<br clear="none">&gt;         Check for ghostbands or EIGENVALUES BELOW XX messages<br clear="none">&gt;         Adjust your Energy-parameters for this ATOM and L (or use<br clear="none">
&gt;         -in1new switch), check RMTs !!!<br clear="none">&gt;         <br clear="none">&gt;         <br clear="none">&gt;         <br clear="none">&gt;         <br clear="none">&gt;         :WARN : QTL-B value eq. 62.72 in Band of energy -0.42747 ATOM=<br clear="none">
&gt;         1 L= 0<br clear="none">&gt;         :WARN : You should change the E-parameter for this atom and<br clear="none">&gt;         L-value in cas<br clear="none">&gt;         <br clear="none">&gt;         <br clear="none">
&gt;         ================================<br clear="none">&gt;         <br clear="none">&gt;         <br clear="none">&gt;         zno.scf1<br clear="none">&gt;         ================================<br clear="none">
&gt;         <br clear="none">&gt;         <br clear="none">&gt;         <br clear="none">&gt;         <br clear="none">&gt;         ATOMIC SPHERE DEPENDENT PARAMETERS FOR ATOM Zn1 <br clear="none">&gt;         :e__0001: OVERALL ENERGY PARAMETER IS 0.9383<br clear="none">
&gt;         OVERALL BASIS SET ON ATOM IS LAPW<br clear="none">&gt;         :E2_0001: E( 2)= 0.9383 E(BOTTOM)= 0.405 E(TOP)= -200.000 1 -1<br clear="none">&gt;         113<br clear="none">&gt;         APW+lo<br clear="none">
&gt;         :E0_0001: E( 0)= 0.9383<br clear="none">&gt;         APW+lo<br clear="none">&gt;         <br clear="none">&gt;         <br clear="none">&gt;         ATOMIC SPHERE DEPENDENT PARAMETERS FOR ATOM Zn <br clear="none">
&gt;         :e__0002: OVERALL ENERGY PARAMETER IS 0.9383<br clear="none">&gt;         OVERALL BASIS SET ON ATOM IS LAPW<br clear="none">&gt;         :E2_0002: E( 2)= 0.0971 E(BOTTOM)= 0.012 E(TOP)= 0.182 0 0 189<br clear="none">
&gt;         APW+lo<br clear="none">&gt;         :E0_0002: E( 0)= 0.9383<br clear="none">&gt;         APW+lo<br clear="none">&gt;         <br clear="none">&gt;         <br clear="none">&gt;         ATOMIC SPHERE DEPENDENT PARAMETERS FOR ATOM O <br clear="none">
&gt;       
  :e__0003: OVERALL ENERGY PARAMETER IS 0.9383<br clear="none">&gt;         OVERALL BASIS SET ON ATOM IS LAPW<br clear="none">&gt;         :E0_0003: E( 0)= -1.4600 E(BOTTOM)= -3.138 E(TOP)= -200.000 1<br clear="none">&gt;         -1 285<br clear="none">
&gt;         APW+lo<br clear="none">&gt;         :E0_0003: E( 0)= 0.9383<br clear="none">&gt;         LOCAL ORBITAL<br clear="none">&gt;         :E1_0003: E( 1)= 0.9383<br clear="none">&gt;         APW+lo<br clear="none">
&gt;         ...and so on<br clear="none">&gt;         ================================<br clear="none">&gt;         <br clear="none">&gt;         <br clear="none">&gt;         <br clear="none">&gt;         <br clear="none">
&gt;         by attention to the WIEN2k-FAQ: QTL-B page, seems that error<br clear="none">&gt;         is concerned to the Zn 1s orbital (Atom 1 L 0) that I want to<br clear="none">&gt;         calculate its ELNES!!<br clear="none">
&gt;         <br clear="none">&gt;         <br clear="none">&gt;         Please help me for this error<br clear="none">&gt;         Thanks<br clear="none">&gt;         <br clear="none">&gt;         <br clear="none">&gt;         <br clear="none">
&gt;         <br clear="none">&gt;         <br clear="none">&gt;         _______________________________________________<br clear="none">&gt;         Wien mailing list<br clear="none">&gt; 
        <a shape="rect" href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank">Wien@zeus.theochem.tuwien.ac.at</a><br clear="none">&gt;         <a shape="rect" href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br clear="none">
&gt;         SEARCH the MAILING-LIST at:<br clear="none">&gt;         <a shape="rect" href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html" target="_blank">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a><br clear="none">
&gt;         <br clear="none">&gt; <br clear="none">&gt; <br clear="none">&gt; <br clear="none">&gt; _______________________________________________<br clear="none">&gt; Wien mailing list<br clear="none">&gt; <a shape="rect" href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank">Wien@zeus.theochem.tuwien.ac.at</a><br clear="none">
&gt; <a shape="rect" href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br clear="none">&gt; SEARCH the MAILING-LIST at:<br clear="none">
&gt; <a shape="rect" href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html" target="_blank">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a><div><br><br></div><div><br clear="none">
&gt; <br clear="none">&gt; <br clear="none">&gt; <br clear="none">&gt; <br clear="none">&gt; _______________________________________________<br clear="none">&gt; Wien mailing list<br clear="none">&gt; <a shape="rect" href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank">Wien@zeus.theochem.tuwien.ac.at</a><br clear="none">
&gt; <a shape="rect" href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br clear="none">&gt; SEARCH the MAILING-LIST at:  <a shape="rect" href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html" target="_blank">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a><br clear="none">
<br clear="none"><br clear="none">_______________________________________________<br clear="none">Wien mailing list<br clear="none"><a shape="rect" href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank">Wien@zeus.theochem.tuwien.ac.at</a><br clear="none">
<a shape="rect" href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br clear="none">SEARCH the MAILING-LIST at:  <a shape="rect" href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html" target="_blank">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a><br clear="none">
</div><br><br></div> </div></div></div> </div>  </div></div><br>_______________________________________________<br>
Wien mailing list<br>
<a href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a><br>
<a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br>
SEARCH the MAILING-LIST at:  <a href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html" target="_blank">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a><br>
<br></blockquote></div><br></div>