<div dir="ltr">Hi Juerg,<div><br></div><div>Yes, that's the problem!! LSD works for CHARGE -1. I just wonder why the results of ROKS and LSD are different. I am going to use SIC which needs ROKS calculations.</div><div>Btw, I also checked CHARGE +1, ROKS works in this case!</div><div><br></div><div><br></div><div>Best,<br><br>On Friday, February 23, 2018 at 10:25:59 AM UTC-5, jgh wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hi
<br>
<br>maybe the problem is related with ROKS? Try to run with LSD
<br>to see if the problem persists.
<br>
<br>Juerg
<br>------------------------------<wbr>------------------------------<wbr>--
<br>Juerg Hutter Phone : ++41 44 635 4491
<br>Institut für Chemie C FAX : ++41 44 635 6838
<br>Universität Zürich E-mail: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="Lyu7TH1-AgAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">hut...@chem.uzh.ch</a>
<br>Winterthurerstrasse 190
<br>CH-8057 Zürich, Switzerland
<br>------------------------------<wbr>------------------------------<wbr>---
<br>
<br>-----<a href="javascript:" target="_blank" gdf-obfuscated-mailto="Lyu7TH1-AgAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a> wrote: -----
<br>To: cp2k <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="Lyu7TH1-AgAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a>>
<br>From: Xiaoming Wang
<br>Sent by: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="Lyu7TH1-AgAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a>
<br>Date: 02/23/2018 04:14PM
<br>Subject: [CP2K:10027] Re: charged solid
<br>
<br>Dear Vladimir,
<br>
<br>Thanks for your quick reply. I changed to integer (-1). But the problem persists. From the output, CP2K did realize the charge set. Btw, I am using version 5.1.
<br>
<br>Followings are part of the output:
<br>
<br> DFT| Spin restricted open Kohn-Sham calculation ROKS
<br> DFT| Multiplicity 2
<br> DFT| Number of spin states 2
<br> DFT| Charge -1
<br> DFT| Self-interaction correction (SIC) NO
<br> DFT| Cutoffs: density 1.000000E-10
<br> DFT| gradient 1.000000E-10
<br> DFT| tau 1.000000E-10
<br> DFT| cutoff_smoothing_range 0.000000E+00
<br> DFT| XC density smoothing NONE
<br> DFT| XC derivatives PW
<br>
<br>
<br>------
<br> Spin 1
<br>
<br>
<br> Number of electrons: 129
<br> Number of occupied orbitals: 129
<br> Number of molecular orbitals: 129
<br>
<br>
<br> Spin 2
<br>
<br>
<br> Number of electrons: 128
<br> Number of occupied orbitals: 128
<br> Number of molecular orbitals: 128
<br>
<br>
<br> Number of orbital functions: 416
<br>
<br> Number of independent orbital functions: 416
<br>
<br>
<br>------
<br> Integrated absolute spin density : 0.0000000000
<br> Ideal and single determinant S**2 : 0.750000 0.750000
<br>
<br>
<br> !----------------------------<wbr>------------------------------<wbr>-------------------!
<br> Hirshfeld Charges
<br>
<br>
<br> #Atom Element Kind Ref Charge Population Spin moment Net charge
<br> 1 Ne 1 8.000 4.000 4.000 0.000 0.000
<br> 2 Ne 1 8.000 4.000 4.000 0.000 -0.000
<br> 3 Ne 1 8.000 4.000 4.000 0.000 -0.000
<br> 4 Ne 1 8.000 4.000 4.000 0.000 -0.000
<br> 5 Ne 1 8.000 4.000 4.000 0.000 -0.000
<br> 6 Ne 1 8.000 4.000 4.000 0.000 0.000
<br> 7 Ne 1 8.000 4.000 4.000 0.000 -0.000
<br> 8 Ne 1 8.000 4.000 4.000 0.000 -0.000
<br> 9 Ne 1 8.000 4.000 4.000 0.000 -0.000
<br> 10 Ne 1 8.000 4.000 4.000 0.000 0.000
<br> 11 Ne 1 8.000 4.000 4.000 0.000 0.000
<br> 12 Ne 1 8.000 4.000 4.000 0.000 0.000
<br> 13 Ne 1 8.000 4.000 4.000 0.000 -0.000
<br> 14 Ne 1 8.000 4.000 4.000 0.000 -0.000
<br> 15 Ne 1 8.000 4.000 4.000 0.000 -0.000
<br> 16 Ne 1 8.000 4.000 4.000 0.000 -0.000
<br> 17 Ne 1 8.000 4.000 4.000 0.000 -0.000
<br> 18 Ne 1 8.000 4.000 4.000 0.000 0.000
<br> 19 Ne 1 8.000 4.000 4.000 0.000 -0.000
<br> 20 Ne 1 8.000 4.000 4.000 0.000 -0.000
<br> 21 Ne 1 8.000 4.000 4.000 0.000 0.000
<br> 22 Ne 1 8.000 4.000 4.000 0.000 0.000
<br> 23 Ne 1 8.000 4.000 4.000 0.000 -0.000
<br> 24 Ne 1 8.000 4.000 4.000 0.000 0.000
<br> 25 Ne 1 8.000 4.000 4.000 0.000 0.000
<br> 26 Ne 1 8.000 4.000 4.000 0.000 0.000
<br> 27 Ne 1 8.000 4.000 4.000 0.000 0.000
<br> 28 Ne 1 8.000 4.000 4.000 0.000 0.000
<br> 29 Ne 1 8.000 4.000 4.000 0.000 0.000
<br> 30 Ne 1 8.000 4.000 4.000 0.000 0.000
<br> 31 Ne 1 8.000 4.000 4.000 0.000 -0.000
<br> 32 Ne 1 8.000 4.000 4.000 0.000 0.000
<br>
<br>
<br> Total Charge 0.000
<br>
<br> !----------------------------<wbr>------------------------------<wbr>-------------------!
<br>
<br>
<br>
<br>
<br>
<br>
<br>Best,
<br>Xiaoming Wang
<br>
<br>On Friday, February 23, 2018 at 10:07:11 AM UTC-5, Vladimir Rybkin wrote:
<br>Dear Xiaoming,
<br>
<br>the charge should be integer (-1) rather than real (-1.0). Newer versions of CP2K will actually generate an error. I believe your version ignores the improper input and uses the default, which is 0.
<br>
<br>Yours,
<br>
<br>Vladimir
<br>
<br>пятница, 23 февраля 2018 г., 15:52:57 UTC+1 пользователь Xiaoming Wang написал:
<br>Hello,
<br>
<br>I am doing a charged calculation on solid Ne with CHARGE -1.0. However, in the output the total charge from Hirshfield analysis is 0. And the total energy is the same as that of neutral system. What's going wrong?
<br>
<br>My input
<br>
<br>&GLOBAL
<br> PROJECT_NAME neon
<br> RUN_TYPE ENERGY
<br> PRINT_LEVEL MEDIUM
<br> &END GLOBAL
<br> &FORCE_EVAL
<br> METHOD QS
<br> &DFT
<br> BASIS_SET_FILE_NAME BASIS_MOLOPT
<br> POTENTIAL_FILE_NAME GTH_POTENTIALS
<br> CHARGE -1.0
<br> ROKS
<br> &MGRID
<br> CUTOFF 1000
<br> &END MGRID
<br> &XC
<br> &XC_FUNCTIONAL PBE
<br> &END XC_FUNCTIONAL
<br> &END XC
<br> &SCF
<br> MAX_SCF 20
<br> EPS_SCF 1.0e-6
<br> CHOLESKY INVERSE
<br> SCF_GUESS ATOMIC
<br> &OT
<br> ROTATION
<br> PRECONDITIONER FULL_SINGLE_INVERSE
<br> ENERGY_GAP 0.001
<br> &END OT
<br> &OUTER_SCF
<br> EPS_SCF 1.0e-6
<br> MAX_SCF 50
<br> &END OUTER_SCF
<br> &END SCF
<br> &END DFT
<br> &SUBSYS
<br> &CELL
<br> ABC [angstrom] 8.924 8.924 8.924
<br> ALPHA_BETA_GAMMA [deg] 90 90 90
<br> PERIODIC XYZ
<br> SYMMETRY CUBIC
<br> &END CELL
<br> &TOPOLOGY
<br> COORD_FILE_FORMAT XYZ
<br> COORD_FILE_NAME <a href="http://input.xyz" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Finput.xyz\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFNxoposfRyZZc-RlsGL3IiOCpPcw';return true;" onclick="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Finput.xyz\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFNxoposfRyZZc-RlsGL3IiOCpPcw';return true;">input.xyz</a>
<br> &END TOPOLOGY
<br> &KIND Ne
<br> ELEMENT Ne
<br> BASIS_SET DZVP-MOLOPT-SR-GTH
<br> POTENTIAL GTH-PBE-q8
<br> &END KIND
<br> &END SUBSYS
<br> &END FORCE_EVAL
<br>
<br>
<br>
<br>
<br>
<br>
<br>Best,
<br>Xiaoming Wang
<br> --
<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="javascript:" target="_blank" gdf-obfuscated-mailto="Lyu7TH1-AgAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp2k+uns...@googlegroups.<wbr>com</a>.
<br> To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="Lyu7TH1-AgAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a>.
<br> Visit this group at <a href="https://groups.google.com/group/cp2k" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/group/cp2k';return true;" onclick="this.href='https://groups.google.com/group/cp2k';return true;">https://groups.google.com/<wbr>group/cp2k</a>.
<br> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/<wbr>optout</a>.
<br>
<br></blockquote></div></div>