<br>Dear Vi,<br><br>with this little information nobody can help you. please provide the lines you added in the two routines. also<br>provide the name of the pseudopotential you used or specified the electronic configuration they were built on.<br>
maybe in set_hubbard_l you specified a value for l that the specific PP does not contain. or something like this.<br><br>regards,<br><br>Matteo<br><br><br><br><div class="gmail_quote">On Thu, Aug 18, 2011 at 8:25 PM, Vi Vo <span dir="ltr"><<a href="mailto:vovi47@yahoo.com">vovi47@yahoo.com</a>></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:times new roman, new york, times, serif;font-size:12pt">
<div>Dear All,</div><div><br></div><div>I am doing LDA+U for a compound (YBCO),  which contains Y, Ba.  These 2 species are not in the list in<span style="text-decoration:underline"> </span><span style="text-decoration:underline"></span>set_hubbard_I.f90 and tabd.f90.  I added these 2 species in these subroutines.  However, when I run, I got the error:</div>
<div>from offset_atom_wfc : error #         2<br>     wrong offset</div><div><br></div><div>I appreciate if you could let me know if I need to modify something else in other subroutines and what should I change?  <br></div>
<div><br></div><div>Thank you very much,<br></div><div><br></div><div>Vi</div><div>University of Houston<br></div><div><br></div></div></div><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></blockquote></div><br><br clear="all"><br>-- <br><font color="#888888">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    Fax +1 612 626 7246</font><br>