Dear Juerg,<br><br>  Thank you for taking care of this issue. I have another trivial question: what is the unit of the output core Hamiltonian matrix?  Are those matrix elements in Hartree ?<br><br>  Best regards,<br><br>Hanning<br>
<br><br><br><br><br><div class="gmail_quote">On Sun, Oct 10, 2010 at 8:09 AM,  <span dir="ltr"><<a href="mailto:hut...@pci.uzh.ch">hut...@pci.uzh.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi<br>
<br>
I think this is bug that has been recently introduced with the new matrix routines.<br>
We will try to locate and fix the bug in the next days.<br>
<br>
regards<br>
<br>
Juerg<br>
<br>
-----<a href="mailto:cp...@googlegroups.com">cp...@googlegroups.com</a> wrote: -----<br>
<br>
To: cp2k <<a href="mailto:cp...@googlegroups.com">cp...@googlegroups.com</a>><br>
From: NUCP2K <<a href="mailto:chenh...@gmail.com">chenh...@gmail.com</a>><br>
Sent by: <a href="mailto:cp...@googlegroups.com">cp...@googlegroups.com</a><br>
Date: 10/09/2010 11:32PM<br>
Subject: [CP2K:2875] Re: Core Hamiltonian matrix output<br>
<br>
Hi, CP2k developers,<br>
<br>
&nbsp;I just found that if I reduce the number of ghost atoms from 9 to 4<br>
as shown below:<br>
<br>
&nbsp;&nbsp;Fe &nbsp; 5.0 10.0 10.0<br>
&nbsp;&nbsp;Fe &nbsp;15.0 10.0 10.0<br>
&nbsp;&nbsp;FX &nbsp; 7.0 10.0 10.0<br>
&nbsp;&nbsp;FX &nbsp; 9.0 10.0 10.0<br>
&nbsp;&nbsp;FX &nbsp;11.0 10.0 10.0<br>
&nbsp;&nbsp;FX &nbsp;13.0 10.0 10.0 ,<br>
<div class="im"><br>
the output of Hamiltonian matrix suddenly looks reasonable. Now, I am<br>
wondering if there is a limitation on the number of ghost atoms in<br>
CP2k? I recall that they are primarily for the completeness of basis<br>
set. Am I right?<br>
<br>
Thanks.<br>
<br>
Hanning<br>
<br>
<br>
<br>
</div><div class="im">On Oct 9, 10:37&nbsp;am, Hanning Chen <<a href="mailto:chenh...@gmail.com">chenh...@gmail.com</a>> wrote:<br>
> Dear CP2k developers,<br>
><br>
</div>> &nbsp; What is the easiest way to print out the core Hamiltonian matrix of<br>
<div class="im">> <Phi_m | H | Phi_n > where Phi_m and Phi_n are the m th and n th basis set<br>
> functions, respectively.<br>
><br>
</div>> &nbsp; I tried to do that using the input file below, but the output Hamiltonian<br>
<div class="im">> matrix in file "ao.out" is not sensible to me with many diagonal terms being<br>
> zero.<br>
><br>
</div>> &nbsp; Any help is appreciated.<br>
><br>
> &nbsp; Thanks.<br>
<div class="im">><br>
> Hanning Chen<br>
><br>
> Department of Chemistry<br>
> Northwestern University<br>
> Evasnton, IL 60201<br>
><br>
> &FORCE_EVAL<br>
</div>> &nbsp; METHOD Quickstep<br>
> &nbsp; &DFT<br>
> &nbsp; &nbsp; UKS<br>
> &nbsp; &nbsp; CHARGE +5<br>
> &nbsp; &nbsp; &MGRID<br>
> &nbsp; &nbsp; &nbsp; CUTOFF 300<br>
> &nbsp; &nbsp; &END MGRID<br>
> &nbsp; &nbsp; &QS<br>
> &nbsp; &nbsp; &nbsp; MAP_CONSISTENT<br>
> &nbsp; &nbsp; &nbsp; EXTRAPOLATION PS<br>
> &nbsp; &nbsp; &nbsp; EXTRAPOLATION_ORDER 3<br>
> &nbsp; &nbsp; &nbsp; EPS_DEFAULT 1.0E-12<br>
> &nbsp; &nbsp; &END QS<br>
> &nbsp; &nbsp; &SCF<br>
> &nbsp; &nbsp; &nbsp; EPS_SCF 1.0E-7<br>
> &nbsp; &nbsp; &nbsp; SCF_GUESS RESTART<br>
> &nbsp; &nbsp; &nbsp; MAX_SCF 10<br>
> &nbsp; &nbsp; &END SCF<br>
> &nbsp; &nbsp; &XC<br>
> &nbsp; &nbsp; &nbsp; &XC_FUNCTIONAL PADE<br>
> &nbsp; &nbsp; &nbsp; &END XC_FUNCTIONAL<br>
> &nbsp; &nbsp; &END XC<br>
> &nbsp; &nbsp; &POISSON<br>
> &nbsp; &nbsp; &nbsp;POISSON_SOLVER WAVELET<br>
> &nbsp; &nbsp; &nbsp;PERIODIC NONE<br>
> &nbsp; &nbsp; &END POISSON<br>
> &nbsp; &nbsp; &PRINT<br>
> &nbsp; &nbsp; &nbsp;&AO_MATRICES<br>
> &nbsp; &nbsp; &nbsp; &EACH<br>
> &nbsp; &nbsp; &nbsp; &nbsp;QS_SCF 1000<br>
> &nbsp; &nbsp; &nbsp; &nbsp;JUST_ENERGY 1<br>
> &nbsp; &nbsp; &nbsp; &END EACH<br>
> &nbsp; &nbsp; &nbsp; CORE_HAMILTONIAN<br>
> &nbsp; &nbsp; &nbsp; FILENAME =ao.out<br>
> &nbsp; &nbsp; &nbsp;&END AO_MATRICES<br>
> &nbsp; &nbsp; &nbsp;&MO<br>
> &nbsp; &nbsp; &nbsp;&END MO<br>
> &nbsp; &nbsp; &END PRINT<br>
> &nbsp; &END DFT<br>
> &nbsp; &SUBSYS<br>
> &nbsp; &nbsp; &CELL<br>
> &nbsp; &nbsp; &nbsp; ABC 20.0 20.0 20.0<br>
> &nbsp; &nbsp; &nbsp; PERIODIC NONE<br>
> &nbsp; &nbsp; &END CELL<br>
> &nbsp; &nbsp; &COORD<br>
> &nbsp; Fe &nbsp; 5.0 10.0 10.0<br>
> &nbsp; Fe &nbsp;15.0 10.0 10.0<br>
> &nbsp; FX &nbsp; 6.0 10.0 10.0<br>
> &nbsp; FX &nbsp; 7.0 10.0 10.0<br>
> &nbsp; FX &nbsp; 8.0 10.0 10.0<br>
> &nbsp; FX &nbsp; 9.0 10.0 10.0<br>
> &nbsp; FX &nbsp;10.0 10.0 10.0<br>
> &nbsp; FX &nbsp;11.0 10.0 10.0<br>
> &nbsp; FX &nbsp;12.0 10.0 10.0<br>
> &nbsp; FX &nbsp;13.0 10.0 10.0<br>
> &nbsp; FX &nbsp;14.0 10.0 10.0<br>
> &nbsp; &nbsp; &END COORD<br>
> &nbsp; &nbsp; &KIND Fe<br>
> &nbsp; &nbsp; &nbsp; BASIS_SET DZV-GTH-PADE<br>
> &nbsp; &nbsp; &nbsp; POTENTIAL GTH-PADE-q16<br>
> &nbsp; &nbsp; &END KIND<br>
> &nbsp; &nbsp; &KIND FX<br>
> &nbsp; &nbsp; &nbsp; ELEMENT Fe<br>
> &nbsp; &nbsp; &nbsp; GHOST T<br>
> &nbsp; &nbsp; &nbsp; BASIS_SET DZV-GTH-PADE<br>
> &nbsp; &nbsp; &nbsp; POTENTIAL GTH-PADE-q16<br>
> &nbsp; &nbsp; &END KIND<br>
> &nbsp; &END SUBSYS<br>
> &END FORCE_EVAL<br>
> &GLOBAL<br>
> &nbsp; PROJECT Fe<br>
> &nbsp; RUN_TYPE ENERGY<br>
> &nbsp; PRINT_LEVEL MEDIUM<br>
<div><div></div><div class="h5">> &END GLOBAL<br>
<br>
--<br>
You received this message because you are subscribed to the Google Groups "cp2k" group.<br>
To post to this group, send email to <a href="mailto:cp...@googlegroups.com">cp...@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href="mailto:cp2k%2Bun...@googlegroups.com">cp2k+uns...@googlegroups.com</a>.<br>
For more options, visit this group at <a href="http://groups.google.com/group/cp2k?hl=en" target="_blank">http://groups.google.com/group/cp2k?hl=en</a>.<br>
<br>
<br>
<br>
--<br>
You received this message because you are subscribed to the Google Groups "cp2k" group.<br>
To post to this group, send email to <a href="mailto:cp...@googlegroups.com">cp...@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href="mailto:cp2k%2Bun...@googlegroups.com">cp2k+uns...@googlegroups.com</a>.<br>
For more options, visit this group at <a href="http://groups.google.com/group/cp2k?hl=en" target="_blank">http://groups.google.com/group/cp2k?hl=en</a>.<br>
<br>
</div></div></blockquote></div><br>