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>
I just found that if I reduce the number of ghost atoms from 9 to 4<br>
as shown below:<br>
<br>
Fe 5.0 10.0 10.0<br>
Fe 15.0 10.0 10.0<br>
FX 7.0 10.0 10.0<br>
FX 9.0 10.0 10.0<br>
FX 11.0 10.0 10.0<br>
FX 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 am, Hanning Chen <<a href="mailto:chenh...@gmail.com">chenh...@gmail.com</a>> wrote:<br>
> Dear CP2k developers,<br>
><br>
</div>> 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>> 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>> Any help is appreciated.<br>
><br>
> 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>> METHOD Quickstep<br>
> &DFT<br>
> UKS<br>
> CHARGE +5<br>
> &MGRID<br>
> CUTOFF 300<br>
> &END MGRID<br>
> &QS<br>
> MAP_CONSISTENT<br>
> EXTRAPOLATION PS<br>
> EXTRAPOLATION_ORDER 3<br>
> EPS_DEFAULT 1.0E-12<br>
> &END QS<br>
> &SCF<br>
> EPS_SCF 1.0E-7<br>
> SCF_GUESS RESTART<br>
> MAX_SCF 10<br>
> &END SCF<br>
> &XC<br>
> &XC_FUNCTIONAL PADE<br>
> &END XC_FUNCTIONAL<br>
> &END XC<br>
> &POISSON<br>
> POISSON_SOLVER WAVELET<br>
> PERIODIC NONE<br>
> &END POISSON<br>
> &PRINT<br>
> &AO_MATRICES<br>
> &EACH<br>
> QS_SCF 1000<br>
> JUST_ENERGY 1<br>
> &END EACH<br>
> CORE_HAMILTONIAN<br>
> FILENAME =ao.out<br>
> &END AO_MATRICES<br>
> &MO<br>
> &END MO<br>
> &END PRINT<br>
> &END DFT<br>
> &SUBSYS<br>
> &CELL<br>
> ABC 20.0 20.0 20.0<br>
> PERIODIC NONE<br>
> &END CELL<br>
> &COORD<br>
> Fe 5.0 10.0 10.0<br>
> Fe 15.0 10.0 10.0<br>
> FX 6.0 10.0 10.0<br>
> FX 7.0 10.0 10.0<br>
> FX 8.0 10.0 10.0<br>
> FX 9.0 10.0 10.0<br>
> FX 10.0 10.0 10.0<br>
> FX 11.0 10.0 10.0<br>
> FX 12.0 10.0 10.0<br>
> FX 13.0 10.0 10.0<br>
> FX 14.0 10.0 10.0<br>
> &END COORD<br>
> &KIND Fe<br>
> BASIS_SET DZV-GTH-PADE<br>
> POTENTIAL GTH-PADE-q16<br>
> &END KIND<br>
> &KIND FX<br>
> ELEMENT Fe<br>
> GHOST T<br>
> BASIS_SET DZV-GTH-PADE<br>
> POTENTIAL GTH-PADE-q16<br>
> &END KIND<br>
> &END SUBSYS<br>
> &END FORCE_EVAL<br>
> &GLOBAL<br>
> PROJECT Fe<br>
> RUN_TYPE ENERGY<br>
> 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>