Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LASSISrq can't get q CI vectors in some cases due to "QR decomposition removed..." #86

Closed
JangidBhavnesh opened this issue Apr 16, 2024 · 14 comments
Labels
bug Something isn't working convergence issues The code has no trouble identifying the right answer, but has trouble getting to it

Comments

@JangidBhavnesh
Copy link
Contributor

File "/project/lgagliardi/jangidbhavnesh/LASSIS_NIL/Kramersdoublet/KramerDimerGeometry/30_22/Trash/LASSIrqT/kradoub.py", line 55, in
lsi.kernel()
File "/home/jangidbhavnesh/bin/mrh/my_pyscf/lassi/lassirq.py", line 40, in kernel
self.converged, las = self.prepare_states ()
^^^^^^^^^^^^^^^^^^^^^^
File "/home/jangidbhavnesh/bin/mrh/my_pyscf/lassi/lassirq.py", line 25, in prepare_states
las.lasci_(lroots=lroots)
File "/home/jangidbhavnesh/bin/mrh/my_pyscf/mcscf/lasci.py", line 1815, in lasci_
return self.lasci (mo_coeff=mo_coeff, ci0=ci0, lroots=lroots, lweights=lweights,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jangidbhavnesh/bin/mrh/my_pyscf/mcscf/lasci.py", line 1797, in lasci
converged, e_tot, e_states, e_cas, e_lexc, ci = run_lasci (
^^^^^^^^^^^
File "/home/jangidbhavnesh/bin/mrh/my_pyscf/mcscf/lasci.py", line 846, in run_lasci
conv, e_i, ci_i = solver.kernel (h1eff, eri_cas, ncas_sub, nelecas_sub,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jangidbhavnesh/bin/mrh/my_pyscf/mcscf/productstate.py", line 37, in kernel
h1eff, h0eff, ci0 = self.project_hfrag (h1, h2, ci0, norb_f, nelec_f,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jangidbhavnesh/bin/mrh/my_pyscf/mcscf/productstate.py", line 209, in project_hfrag
if dm1s is None: dm1s = np.stack (self.make_rdm1s (ci, norb_f, nelec_f), axis=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jangidbhavnesh/bin/mrh/my_pyscf/mcscf/productstate.py", line 263, in make_rdm1s
raise (e)
File "/home/jangidbhavnesh/bin/mrh/my_pyscf/mcscf/productstate.py", line 255, in make_rdm1s
a, b = s.make_rdm1s (c, no, nelec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jangidbhavnesh/bin/pyscf/pyscf/mcscf/addons.py", line 979, in make_rdm1s
dm1s = numpy.einsum ('r,srpq->spq', self.weights, dm1s)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/software/python-anaconda-2023.09-el8-x86_64/lib/python3.11/site-packages/numpy/core/einsumfunc.py", line 1371, in einsum
return c_einsum(*operands, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: operands could not be broadcast together with remapped shapes [original->remapped]: (5,)->(5) (2,4,11,11)->(2,11,11,4)

@MatthewRHermes
Copy link
Owner

Please provide the full input and output as well as the traceback.

@JangidBhavnesh
Copy link
Contributor Author

Input

import numpy as np
from pyscf import gto, scf, mcscf
from pyscf.lib import chkfile
from pyscf.data import nist
from pyscf.mcscf import avas
from mrh.my_pyscf.mcscf.lasscf_o0 import LASSCF
from mrh.my_pyscf.mcscf import lasscf_async as asyn
from mrh.my_pyscf import lassi
from pyscf.tools import molden

basis={'C': 'def2SVP','H': 'def2SVP','O': 'def2SVP','N': 'def2SVP','Cr': 'def2TZVP'}

mol = gto.Mole()
mol.atom = 'kramersdimer.xyz'
mol.spin = 6
mol.charge = 3
mol.max_memory = 100000
mol.basis = basis
mol.verbose = 4
mol.build()

mf=scf.ROHF(mol).density_fit()
mf.chkfile = 'kramdoub.chk'
mf.init_guess = 'chk'
mf.kernel()

assert (mf.converged)

ncas_avas, nelecas_avas, mo_coeff = avas.kernel(mf, ['Cr 3s', 'Cr 3p', 'Cr 3d', 'Cr 4d'], minao=mol.basis)
molden.from_mo(mol, 'avas.molden', mo_coeff)

las = asyn.LASSCF(mf, (11, 11),((9,6),(6, 9)),spin_sub=(4,4))
'''
mo_list = [118,120,122,124,126,128,130,132,134,136,138, 119,121,123,125,127,129,131,133,135,137,139]
mo_coeff = las.sort_mo (mo_list, mo_coeff)
guess_mo_coeff = las.set_fragments_(([0], [1]), mo_coeff)

molden.from_mo(mol, 'guess.molden', guess_mo_coeff)

las = lassi.states.spin_shuffle(las)
las.weights = [1.0/las.nroots,]*las.nroots
las.max_cycle_macro = 200
las.kernel(guess_mo_coeff)

from mrh.my_pyscf.tools import molden
molden.from_lasscf(las, 'las.molden')
'''

from mrh.my_pyscf.mcscf.lasscf_o0 import LASSCF
las1 = LASSCF(mf, (11, 11),((9,6),(6, 9)),spin_sub=(4,4))
mo_coeff = chkfile.load (las.chkfile, 'las')['mo_coeff']
las1.lasci_(mo_coeff)

lsi = lassi.LASSIrq(las1, r=3, q=5)
lsi.kernel()

from mrh.my_pyscf import mcpdft
mc = mcpdft.LASSIS(lsi, 'tPBE', (11, 11),((9,6),(6, 9)))
mc.run()

### Output

#INFO: **** input file is /project/lgagliardi/jangidbhavnesh/LASSIS_NIL/Kramersdoublet/KramerDimerGeometry/30_22/Trash/LASSIrqT/kradoub.py ****
import numpy as np
from pyscf import gto, scf, mcscf
from pyscf.lib import chkfile
from pyscf.data import nist
from pyscf.mcscf import avas
from mrh.my_pyscf.mcscf.lasscf_o0 import LASSCF
from mrh.my_pyscf.mcscf import lasscf_async as asyn
from mrh.my_pyscf import lassi
from pyscf.tools import molden

basis={'C': 'def2SVP','H': 'def2SVP','O': 'def2SVP','N': 'def2SVP','Cr': 'def2TZVP'}

mol = gto.Mole()
mol.atom = 'kramersdimer.xyz'
mol.spin = 6
mol.charge = 3
mol.max_memory = 100000
mol.basis = basis
mol.verbose = 4
mol.build()

mf=scf.ROHF(mol).density_fit()
mf.chkfile = 'kramdoub.chk'
mf.init_guess = 'chk'
mf.kernel()

assert (mf.converged)

ncas_avas, nelecas_avas, mo_coeff = avas.kernel(mf, ['Cr 3s', 'Cr 3p', 'Cr 3d', 'Cr 4d'], minao=mol.basis)
molden.from_mo(mol, 'avas.molden', mo_coeff)

las = asyn.LASSCF(mf, (11, 11),((9,6),(6, 9)),spin_sub=(4,4))
'''
mo_list = [118,120,122,124,126,128,130,132,134,136,138, 119,121,123,125,127,129,131,133,135,137,139]
mo_coeff = las.sort_mo (mo_list, mo_coeff)
guess_mo_coeff = las.set_fragments_(([0], [1]), mo_coeff)

molden.from_mo(mol, 'guess.molden', guess_mo_coeff)

las = lassi.states.spin_shuffle(las)
las.weights = [1.0/las.nroots,]*las.nroots
las.max_cycle_macro = 200
las.kernel(guess_mo_coeff)

from mrh.my_pyscf.tools import molden
molden.from_lasscf(las, 'las.molden')
'''

from mrh.my_pyscf.mcscf.lasscf_o0 import LASSCF
las1 = LASSCF(mf, (11, 11),((9,6),(6, 9)),spin_sub=(4,4))
mo_coeff = chkfile.load (las.chkfile, 'las')['mo_coeff']
las1.lasci_(mo_coeff)

lsi = lassi.LASSIrq(las1, r=3, q=5)
lsi.kernel()

from mrh.my_pyscf import mcpdft
mc = mcpdft.LASSIS(lsi, 'tPBE', (11, 11),((9,6),(6, 9)))
mc.run()

#INFO: ******************** input file end ********************

System: uname_result(system='Linux', node='midway3-0512.rcc.local', release='4.18.0-305.3.1.el8.x86_64', version='#1 SMP Tue Jun 1 16:14:33 UTC 2021', machine='x86_64') Threads 32
Python 3.11.5 (main, Sep 11 2023, 13:54:46) [GCC 11.2.0]
numpy 1.25.2 scipy 1.11.3
Date: Tue Apr 16 12:12:44 2024
PySCF version 2.4.0
PySCF path /home/jangidbhavnesh/bin/pyscf
GIT HEAD (branch master) 37be0016dab2e546110b2739aada5a50c5256dd3

[ENV] PYSCF_EXT_PATH /home/jangidbhavnesh/bin/pyscf:/home/jangidbhavnesh/bin/pyscf-forge:/home/jangidbhavnesh/bin:/home/jangidbhavnesh/bin/pyscf:/home/jangidbhavnesh/bin/pyscf-forge:/home/jangidbhavnesh/bin:
[CONFIG] conf_file None
[INPUT] verbose = 4
[INPUT] num. atoms = 74
[INPUT] num. electrons = 264
[INPUT] charge = 3
[INPUT] spin (= nelec alpha-beta = 2S) = 6
[INPUT] symmetry False subgroup None
[INPUT] Mole.unit = angstrom
[INPUT] Symbol X Y Z unit X Y Z unit Magmom
[INPUT] 1 Cr -1.320776757897 0.000045672118 -0.000070964673 AA -2.495906344116 0.000086307795 -0.000134103797 Bohr 0.0
[INPUT] 2 Cr 1.320773242834 0.000051583039 -0.000071578595 AA 2.495899701610 0.000097477816 -0.000135263940 Bohr 0.0
[INPUT] 3 O -0.000001048689 -0.165832375807 1.454675857452 AA -0.000001981734 -0.313377772862 2.748938970601 Bohr 0.0
[INPUT] 4 O -0.000004897649 1.342772929751 -0.583716271999 AA -0.000009255216 2.537473084710 -1.103063888530 Bohr 0.0
[INPUT] 5 O 0.000000674194 -1.176828968506 -0.871010261201 AA 0.000001274043 -2.223884445931 -1.645970845356 Bohr 0.0
[INPUT] 6 H 0.000017902083 0.501279815862 2.159933283032 AA 0.000033830033 0.947281563751 4.081682352262 Bohr 0.0
[INPUT] 7 H 0.000562136190 1.618691360679 -1.514484277730 AA 0.001062283445 3.058883351883 -2.861960504869 Bohr 0.0
[INPUT] 8 H -0.000441046511 -2.120785328890 -0.644132866492 AA -0.000833457114 -4.007703440597 -1.217234705501 Bohr 0.0
[INPUT] 9 N -2.649796391770 -1.445693782192 0.711419917482 AA -5.007389466305 -2.731965308329 1.344388803602 Bohr 0.0
[INPUT] 10 C -1.967238776830 -2.531503363345 1.497413163027 AA -3.717542509834 -4.783848040137 2.829700773440 Bohr 0.0
[INPUT] 11 C -3.243680373506 -2.031265648931 -0.533905244713 AA -6.129667541554 -3.838535762716 -1.008934688976 Bohr 0.0
[INPUT] 12 C -3.709717676341 -0.794826529652 1.562030251795 AA -7.010350407743 -1.502004457581 2.951809374177 Bohr 0.0
[INPUT] 13 H -1.506111095009 -2.094942872122 2.382277146665 AA -2.846137482736 -3.958868274921 4.501851360008 Bohr 0.0
[INPUT] 14 H -1.200033320726 -2.997465934468 0.877277787751 AA -2.267734316525 -5.664389683857 1.657814754013 Bohr 0.0
[INPUT] 15 H -2.697094291844 -3.294176704093 1.786805993740 AA -5.096769543713 -6.225091776658 3.376573965900 Bohr 0.0
[INPUT] 16 H -2.457130879895 -2.630823789190 -1.003680396770 AA -4.643304415214 -4.971536443559 -1.896681066490 Bohr 0.0
[INPUT] 17 H -4.064741016183 -2.713735298407 -0.281628928589 AA -7.681247287872 -5.128216488554 -0.532201543788 Bohr 0.0
[INPUT] 18 H -4.625538384587 -0.719388524284 0.971934199065 AA -8.741000725533 -1.359447288052 1.836689447332 Bohr 0.0
[INPUT] 19 H -3.941806430565 -1.432338933524 2.419568244993 AA -7.448934589818 -2.706728301911 4.572321322731 Bohr 0.0
[INPUT] 20 N -2.649802561385 1.339015568281 0.896300560285 AA -5.007401125189 2.530372700580 1.693762584232 Bohr 0.0
[INPUT] 21 N -2.649800383364 0.106772324025 -1.607768353784 AA -5.007397009326 0.201770450091 -3.038241860395 Bohr 0.0
[INPUT] 22 C -3.709718002408 -0.955314842583 -1.469404070352 AA -7.010351023919 -1.805283415214 -2.776771259287 Bohr 0.0
[INPUT] 23 C -3.243685620099 0.553315507666 2.026082718302 AA -6.129677456178 1.045614769963 3.828741443305 Bohr 0.0
[INPUT] 24 N 2.649800677945 -1.445681932300 0.711418686002 AA 5.007397566003 -2.731942915278 1.344386476442 Bohr 0.0
[INPUT] 25 N 2.649794477201 1.339027431106 0.896299327938 AA 5.007385848295 2.530395118071 1.693760255434 Bohr 0.0
[INPUT] 26 N 2.649796635448 0.106784180687 -1.607769578704 AA 5.007389926791 0.201792855935 -3.038244175157 Bohr 0.0
[INPUT] 27 C -1.967250358795 2.562612355775 1.443644061881 AA -3.717564396574 4.842635515841 2.728091898311 Bohr 0.0
[INPUT] 28 C -3.709723750601 1.750228084574 -0.092674257236 AA -7.010361886430 3.307451735368 -0.175128964973 Bohr 0.0
[INPUT] 29 C -1.967245509460 -0.031011152925 -2.941105263837 AA -3.717555232660 -0.058602585835 -5.557883452168 Bohr 0.0
[INPUT] 30 C -3.243688482458 1.478039373639 -1.492224641293 AA -6.129682865252 2.793089617501 -2.819895888371 Bohr 0.0
[INPUT] 31 H -4.625589845118 -0.482213306531 -1.108878162372 AA -8.741097971842 -0.911251082965 -2.095476032394 Bohr 0.0
[INPUT] 32 H -3.941754131567 -1.379404390280 -2.450197134333 AA -7.448835759035 -2.606696512652 -4.630201535083 Bohr 0.0
[INPUT] 33 H -2.457100238930 0.445996372157 2.780108881331 AA -4.643246512181 0.842810995926 5.253644382186 Bohr 0.0
[INPUT] 34 H -4.064807354618 1.112808480020 2.491088244098 AA -7.681372649345 2.102903256332 4.707474533469 Bohr 0.0
[INPUT] 35 C 1.967247255541 -2.531494553368 1.497412243788 AA 3.717558532274 -4.783831391693 2.829699036330 Bohr 0.0
[INPUT] 36 C 3.243685693566 -2.031251129154 -0.533906763393 AA 6.129677595010 -3.838508324314 -1.008937558865 Bohr 0.0
[INPUT] 37 C 3.709718440141 -0.794809935685 1.562028527149 AA 7.010351851115 -1.501973099529 2.951806115070 Bohr 0.0
[INPUT] 38 C 1.967236012103 2.562621144049 1.443643129335 AA 3.717537285256 4.842652123271 2.728090136053 Bohr 0.0
[INPUT] 39 C 3.243680561392 0.553330013615 2.026081207111 AA 6.129667896607 1.045642182234 3.828738587569 Bohr 0.0
[INPUT] 40 C 3.709712360835 1.750244682340 -0.092675999346 AA 7.010340362892 3.307483100599 -0.175132257085 Bohr 0.0
[INPUT] 41 C 1.967240819921 -0.031002341869 -2.941106205412 AA 3.717546370716 -0.058585935352 -5.557885231488 Bohr 0.0
[INPUT] 42 C 3.243677672162 1.478053877528 -1.492226167094 AA 6.129662436752 2.793117025879 -2.819898771717 Bohr 0.0
[INPUT] 43 C 3.709718078948 -0.955298232713 -1.469405802372 AA 7.010351168560 -1.805252027108 -2.776774532330 Bohr 0.0
[INPUT] 44 H -1.503752909901 3.109251905514 0.623540921844 AA -2.841681158730 5.875634553704 1.178321569744 Bohr 0.0
[INPUT] 45 H -1.201713138537 2.258777524502 2.159098154207 AA -2.270908712126 4.268470897631 4.080104187504 Bohr 0.0
[INPUT] 46 H -2.697673756792 3.195787103949 1.957067240100 AA -5.097864573764 6.039162378880 3.698321091147 Bohr 0.0
[INPUT] 47 H -4.625433716840 1.201169613825 0.136817380473 AA -8.740802932157 2.269881599279 0.258547378175 Bohr 0.0
[INPUT] 48 H -3.942007966661 2.811558597712 0.030593056038 AA -7.449315437843 5.313075732842 0.057812497225 Bohr 0.0
[INPUT] 49 H -1.502768648015 -1.014091552317 -3.004206496778 AA -2.839821173331 -1.916355299114 -5.677127500550 Bohr 0.0
[INPUT] 50 H -1.203094186389 0.741872067393 -3.035726001313 AA -2.273518514332 1.401935026837 -5.736690731703 Bohr 0.0
[INPUT] 51 H -2.697975754715 0.095461455269 -3.746146694511 AA -5.098435267127 0.180396005910 -7.079191275070 Bohr 0.0
[INPUT] 52 H -2.457036971004 2.184624049334 -1.776340589401 AA -4.643126953128 4.128341138380 -3.356797217916 Bohr 0.0
[INPUT] 53 H -4.064751785509 1.600907303184 -2.209358623709 AA -7.681267638948 3.025276353834 -4.175082709756 Bohr 0.0
[INPUT] 54 H 1.506148625428 -2.094943177316 2.382296607063 AA 2.846208404949 -3.958868851653 4.501888134830 Bohr 0.0
[INPUT] 55 H 1.200022650023 -2.997417097989 0.877275772681 AA 2.267714151818 -5.664297396288 1.657810946083 Bohr 0.0
[INPUT] 56 H 2.697102529326 -3.294178288097 1.786778075154 AA 5.096785110298 -6.225094769992 3.376521207419 Bohr 0.0
[INPUT] 57 H 2.457142676575 -2.630823690465 -1.003667090505 AA 4.643326707707 -4.971536256996 -1.896655921294 Bohr 0.0
[INPUT] 58 H 4.064769610900 -2.713694187704 -0.281632248427 AA 7.681301324056 -5.128138800585 -0.532207817372 Bohr 0.0
[INPUT] 59 H 4.625555654555 -0.719406051214 0.971953302686 AA 8.741033361043 -1.359480409149 1.836725547943 Bohr 0.0
[INPUT] 60 H 3.941783074988 -1.432301131851 2.419589790561 AA 7.448890454173 -2.706656867103 4.572362037953 Bohr 0.0
[INPUT] 61 H 1.503574794248 3.109182220054 0.623581030332 AA 2.841344568928 5.875502867270 1.178397363802 Bohr 0.0
[INPUT] 62 H 1.201829987986 2.258790763347 2.159243025891 AA 2.271129525584 4.268495915424 4.080377955311 Bohr 0.0
[INPUT] 63 H 2.697686809388 3.195880615027 1.956924454025 AA 5.097889239596 6.039339089207 3.698051264571 Bohr 0.0
[INPUT] 64 H 2.457084297271 0.445979620626 2.780091307375 AA 4.643216386812 0.842779340120 5.253611172222 Bohr 0.0
[INPUT] 65 H 4.064780596796 1.112841848795 2.491100605005 AA 7.681322084390 2.102966314178 4.707497892198 Bohr 0.0
[INPUT] 66 H 4.625412211599 1.201163145253 0.136800393481 AA 8.740762293141 2.269869375449 0.258515277411 Bohr 0.0
[INPUT] 67 H 3.942012246779 2.811569907511 0.030603214089 AA 7.449323526093 5.313097105265 0.057831693160 Bohr 0.0
[INPUT] 68 H 1.502678727853 -1.014044896693 -3.004164241005 AA 2.839651248852 -1.916267132762 -5.677047648710 Bohr 0.0
[INPUT] 69 H 1.203147832851 0.741935935368 -3.035799808293 AA 2.273619891453 1.402055719818 -5.736830206681 Bohr 0.0
[INPUT] 70 H 2.697982688020 0.095380997209 -3.746150884990 AA 5.098448369175 0.180243962214 -7.079199193928 Bohr 0.0
[INPUT] 71 H 2.457030837354 2.184647983066 -1.776342726680 AA 4.643115362210 4.128386366579 -3.356801256789 Bohr 0.0
[INPUT] 72 H 4.064738331255 1.600932484959 -2.209361436904 AA 7.681242214093 3.025323940492 -4.175088025924 Bohr 0.0
[INPUT] 73 H 4.625587865317 -0.482190415706 -1.108883611732 AA 8.741094230560 -0.911207825575 -2.095486330192 Bohr 0.0
[INPUT] 74 H 3.941749555153 -1.379383889640 -2.450201646691 AA 7.448827110866 -2.606657772057 -4.630210062205 Bohr 0.0

nuclear repulsion = 5005.83704137001
number of shells = 327
number of NR pGTOs = 1147
number of NR cGTOs = 693
basis = {'C': 'def2SVP', 'H': 'def2SVP', 'O': 'def2SVP', 'N': 'def2SVP', 'Cr': 'def2TZVP'}
ecp = {}
CPU time: 0.41

******** <class 'pyscf.df.df_jk.DFROHF'> ********
method = DFROHF
initial guess = chk
damping factor = 0
level_shift factor = 0
DIIS = <class 'pyscf.scf.diis.CDIIS'>
diis_start_cycle = 1
diis_space = 8
SCF conv_tol = 1e-09
SCF conv_tol_grad = None
SCF max_cycles = 50
direct_scf = False
chkfile to save SCF result = kramdoub.chk
max_memory 100000 MB (current use 87 MB)
num. doubly occ = 129 num. singly occ = 6
Set gradient conv threshold to 3.16228e-05
******** <class 'pyscf.df.df.DF'> ********
auxbasis = None
max_memory = 100000
Even tempered Gaussians are generated as DF auxbasis for H N O C Cr
init E= -3344.22813622776
HOMO = -0.505474175120368 LUMO = -0.18784226194539
cycle= 1 E= -3344.22813622754 delta_E= 2.2e-10 |g|= 2.19e-05 |ddm|= 5.35e-05
HOMO = -0.505476576361463 LUMO = -0.187842334209724
Extra cycle E= -3344.22813622711 delta_E= 4.29e-10 |g|= 2.92e-05 |ddm|= 7.13e-05
converged SCF energy = -3344.22813622711

******** AVAS flags ********
aolabels = ['Cr 3s', 'Cr 3p', 'Cr 3d', 'Cr 4d']
ncore = 0
minao = {'C': 'def2SVP', 'H': 'def2SVP', 'O': 'def2SVP', 'N': 'def2SVP', 'Cr': 'def2TZVP'}
threshold = 0.2
with_iao = False
openshell_option = 2
canonicalize = True

** AVAS **
Total number of HF MOs is equal to 693
Number of occupied HF MOs is equal to 135
reference AO indices for {'C': 'def2SVP', 'H': 'def2SVP', 'O': 'def2SVP', 'N': 'def2SVP', 'Cr': 'def2TZVP'} ['Cr 3s', 'Cr 3p', 'Cr 3d', 'Cr 4d']:
[ 2 9 10 11 18 19 20 21 22 23 24 25 26 27 47 54 55 56 63 64 65 66 67 68
69 70 71 72]
Option 2: threshold 0.2
Active from occupied = 18 , eig [0.28652158 0.286525 0.31603828 0.31606359 0.96987256 0.97072551
0.97858286 0.9785835 0.9787428 0.97874302 0.97912294 0.97977923
0.99162676 0.99249059 0.99249156 0.99328745 0.99328777 0.99412637]
Inactive from occupied = 117
Active from unoccupied = 14 , eig [0.68393641 0.68396172 0.713475 0.71347842 0.97100504 0.97775183
0.97775847 0.98470225 0.99361209 0.99361278 0.99518108 0.99518225
0.99835252 0.998353 ]
Inactive from unoccupied = 544
Dimensions of active 32

of alpha electrons 18

of beta electrons 12

Entering product-state fixed-point CI iteration
Cycle 0: max grad = 1.419919e-01 ; sigma = 0.000000e+00 ; 0/2 fragment CI solvers converged
Cycle 1: max grad = 5.810539e-05 ; sigma = 3.783953e-09 ; 2/2 fragment CI solvers converged
Cycle 2: max grad = 1.682820e-06 ; sigma = 4.007461e-12 ; 2/2 fragment CI solvers converged
Product_state fixed-point CI iteration converged after 2 cycles
LASCI energy = -3344.37924766091
Built 3 spin(local Sz)-shuffled LAS states from 1 reference LAS states
Built 28 singly-excited LAS states from 4 reference LAS states
Built 80 singly-excited LAS states from 32 reference LAS states
Built 116 singly-excited LAS states from 112 reference LAS states
Entering product-state fixed-point CI iteration
Cycle 0: max grad = 2.803289e+00 ; sigma = 0.000000e+00 ; 0/2 fragment CI solvers converged
Cycle 1: max grad = 8.764578e-07 ; sigma = 8.526513e-14 ; 2/2 fragment CI solvers converged
Product_state fixed-point CI iteration converged after 1 cycles
Entering product-state fixed-point CI iteration
Cycle 0: max grad = 2.803289e+00 ; sigma = 0.000000e+00 ; 0/2 fragment CI solvers converged
Cycle 1: max grad = 8.764581e-07 ; sigma = 1.705303e-13 ; 2/2 fragment CI solvers converged
Product_state fixed-point CI iteration converged after 1 cycles
Entering product-state fixed-point CI iteration
Cycle 0: max grad = 2.803296e+00 ; sigma = 0.000000e+00 ; 0/2 fragment CI solvers converged
Cycle 1: max grad = 8.855562e-07 ; sigma = 1.159606e-11 ; 2/2 fragment CI solvers converged
Product_state fixed-point CI iteration converged after 1 cycles
Entering product-state fixed-point CI iteration
Cycle 0: max grad = 2.803296e+00 ; sigma = 0.000000e+00 ; 0/2 fragment CI solvers converged
Cycle 1: max grad = 8.855562e-07 ; sigma = 1.153921e-11 ; 2/2 fragment CI solvers converged
Product_state fixed-point CI iteration converged after 1 cycles
Entering product-state fixed-point CI iteration
Cycle 0: max grad = 1.953060e-01 ; sigma = 0.000000e+00 ; 0/2 fragment CI solvers converged

WARN: QR decomposition removed 1 vectors.

WARN: QR decomposition removed 1 vectors.

Cycle 1: max grad = 2.588362e-03 ; sigma = 1.278745e-01 ; 1/2 fragment CI solvers converged
Cycle 2: max grad = 1.309233e-04 ; sigma = 1.142691e-04 ; 2/2 fragment CI solvers converged
Cycle 3: max grad = 1.813385e-05 ; sigma = 7.572144e-07 ; 2/2 fragment CI solvers converged
Cycle 4: max grad = 1.056605e-06 ; sigma = 4.669630e-09 ; 2/2 fragment CI solvers converged
Cycle 5: max grad = 9.466201e-07 ; sigma = 2.924594e-11 ; 2/2 fragment CI solvers converged
Product_state fixed-point CI iteration converged after 5 cycles
Entering product-state fixed-point CI iteration
Cycle 0: max grad = 2.062523e-01 ; sigma = 0.000000e+00 ; 0/2 fragment CI solvers converged

WARN: QR decomposition removed 1 vectors.

WARN: QR decomposition removed 1 vectors.

Cycle 1: max grad = 3.995156e-02 ; sigma = 1.416874e-01 ; 1/2 fragment CI solvers converged
Cycle 2: max grad = 3.988409e-02 ; sigma = 3.834121e-05 ; 1/2 fragment CI solvers converged
Cycle 3: max grad = 3.995165e-02 ; sigma = 3.678216e-05 ; 1/2 fragment CI solvers converged
Cycle 4: max grad = 3.989664e-02 ; sigma = 4.335508e-05 ; 1/2 fragment CI solvers converged
Cycle 5: max grad = 3.996116e-02 ; sigma = 3.371951e-05 ; 1/2 fragment CI solvers converged
Cycle 6: max grad = 3.990841e-02 ; sigma = 4.328208e-05 ; 1/2 fragment CI solvers converged
Cycle 7: max grad = 3.996489e-02 ; sigma = 3.080571e-05 ; 1/2 fragment CI solvers converged
Cycle 8: max grad = 3.992017e-02 ; sigma = 4.305006e-05 ; 1/2 fragment CI solvers converged
Cycle 9: max grad = 3.996355e-02 ; sigma = 2.887254e-05 ; 1/2 fragment CI solvers converged
Cycle 10: max grad = 3.993247e-02 ; sigma = 4.206453e-05 ; 1/2 fragment CI solvers converged
Cycle 11: max grad = 3.996029e-02 ; sigma = 2.789323e-05 ; 1/2 fragment CI solvers converged
Cycle 12: max grad = 3.994520e-02 ; sigma = 4.016897e-05 ; 1/2 fragment CI solvers converged
Cycle 13: max grad = 3.995716e-02 ; sigma = 2.766608e-05 ; 1/2 fragment CI solvers converged
Cycle 14: max grad = 3.995669e-02 ; sigma = 3.739316e-05 ; 1/2 fragment CI solvers converged
Cycle 15: max grad = 3.995474e-02 ; sigma = 2.816761e-05 ; 1/2 fragment CI solvers converged
Cycle 16: max grad = 3.996368e-02 ; sigma = 3.430596e-05 ; 1/2 fragment CI solvers converged
Cycle 17: max grad = 3.995302e-02 ; sigma = 2.904323e-05 ; 1/2 fragment CI solvers converged
Cycle 18: max grad = 3.996469e-02 ; sigma = 3.194596e-05 ; 1/2 fragment CI solvers converged
Cycle 19: max grad = 3.995186e-02 ; sigma = 2.965861e-05 ; 1/2 fragment CI solvers converged
Cycle 20: max grad = 3.996208e-02 ; sigma = 3.066333e-05 ; 1/2 fragment CI solvers converged
Cycle 21: max grad = 3.995107e-02 ; sigma = 2.987918e-05 ; 1/2 fragment CI solvers converged
Cycle 22: max grad = 3.995873e-02 ; sigma = 3.008596e-05 ; 1/2 fragment CI solvers converged
Cycle 23: max grad = 3.995055e-02 ; sigma = 2.989496e-05 ; 1/2 fragment CI solvers converged
Cycle 24: max grad = 3.995590e-02 ; sigma = 2.984075e-05 ; 1/2 fragment CI solvers converged
Cycle 25: max grad = 3.995021e-02 ; sigma = 2.984724e-05 ; 1/2 fragment CI solvers converged
Cycle 26: max grad = 3.995383e-02 ; sigma = 2.973589e-05 ; 1/2 fragment CI solvers converged
Cycle 27: max grad = 3.994998e-02 ; sigma = 2.979283e-05 ; 1/2 fragment CI solvers converged
Cycle 28: max grad = 3.995240e-02 ; sigma = 2.968967e-05 ; 1/2 fragment CI solvers converged
Cycle 29: max grad = 3.994983e-02 ; sigma = 2.974817e-05 ; 1/2 fragment CI solvers converged
Cycle 30: max grad = 3.995143e-02 ; sigma = 2.966843e-05 ; 1/2 fragment CI solvers converged
Cycle 31: max grad = 3.994974e-02 ; sigma = 2.971538e-05 ; 1/2 fragment CI solvers converged
Cycle 32: max grad = 3.995079e-02 ; sigma = 2.965824e-05 ; 1/2 fragment CI solvers converged
Cycle 33: max grad = 3.994967e-02 ; sigma = 2.969243e-05 ; 1/2 fragment CI solvers converged
Cycle 34: max grad = 3.995036e-02 ; sigma = 2.965311e-05 ; 1/2 fragment CI solvers converged
Cycle 35: max grad = 3.994964e-02 ; sigma = 2.967673e-05 ; 1/2 fragment CI solvers converged
Cycle 36: max grad = 3.995008e-02 ; sigma = 2.965052e-05 ; 1/2 fragment CI solvers converged
Cycle 37: max grad = 3.994961e-02 ; sigma = 2.966621e-05 ; 1/2 fragment CI solvers converged
Cycle 38: max grad = 3.994988e-02 ; sigma = 2.964905e-05 ; 1/2 fragment CI solvers converged
Cycle 39: max grad = 3.994960e-02 ; sigma = 2.965898e-05 ; 1/2 fragment CI solvers converged
Cycle 40: max grad = 3.994976e-02 ; sigma = 2.964852e-05 ; 1/2 fragment CI solvers converged
Cycle 41: max grad = 3.994959e-02 ; sigma = 2.965443e-05 ; 1/2 fragment CI solvers converged
Cycle 42: max grad = 3.994969e-02 ; sigma = 2.964804e-05 ; 1/2 fragment CI solvers converged
Cycle 43: max grad = 3.994958e-02 ; sigma = 2.965155e-05 ; 1/2 fragment CI solvers converged
Cycle 44: max grad = 3.994964e-02 ; sigma = 2.964764e-05 ; 1/2 fragment CI solvers converged
Cycle 45: max grad = 3.994958e-02 ; sigma = 2.964972e-05 ; 1/2 fragment CI solvers converged
Cycle 46: max grad = 3.994961e-02 ; sigma = 2.964731e-05 ; 1/2 fragment CI solvers converged
Cycle 47: max grad = 3.994957e-02 ; sigma = 2.964854e-05 ; 1/2 fragment CI solvers converged
Cycle 48: max grad = 3.994959e-02 ; sigma = 2.964705e-05 ; 1/2 fragment CI solvers converged
Cycle 49: max grad = 3.994956e-02 ; sigma = 2.964779e-05 ; 1/2 fragment CI solvers converged
Product_state fixed-point CI iteration NOT converged after 49 cycles
Debugging CI and gradient vectors...
Fragment 0
CI vector norm = [1. 1. 1. 1. 1.]
Gradient norm = 1.407181e-06
Previous CI vector leading components (0/5):
00uu0222222 : -8.381152e-01
0uud0222u22 : -2.323716e-01
u0ud02222u2 : -2.301707e-01
0duu0222u22 : -2.267968e-01
d0uu02222u2 : -2.244484e-01
0udu0222u22 : -1.345576e-01
u0du02222u2 : -1.325369e-01
00u0u222222 : -8.051214e-02
02uu0222022 : 5.290938e-02
20uu0222202 : 5.286756e-02
Current CI vector leading components (0/5):
00uu0222222 : -8.381150e-01
0uud0222u22 : -2.323711e-01
u0ud02222u2 : -2.301710e-01
0duu0222u22 : -2.267964e-01
d0uu02222u2 : -2.244488e-01
0udu0222u22 : -1.345573e-01
u0du02222u2 : -1.325371e-01
00u0u222222 : -8.051651e-02
02uu0222022 : 5.290938e-02
20uu0222202 : 5.286753e-02
Grad vector leading components (0/5):
0uud02u2222 : -1.295106e-07
0duu02u2222 : -1.287305e-07
d0uu022u222 : -1.229332e-07
u0ud022u222 : -1.190396e-07
0duu0222u22 : -9.407930e-08
0uud022u222 : 8.683411e-08
0duu022u222 : 8.581769e-08
d0uu0u22222 : 8.494668e-08
u0ud02u2222 : -8.414889e-08
00uud22u222 : -8.331863e-08
Previous CI vector leading components (1/5):
00u0u222222 : 8.357591e-01
0uu0d222u22 : 2.332645e-01
0du0u222u22 : 2.293754e-01
u0u0d2222u2 : 2.259390e-01
d0u0u2222u2 : 2.231665e-01
0ud0u222u22 : 1.359543e-01
u0d0u2222u2 : 1.300676e-01
00uu0222222 : -8.028225e-02
0u00u222222 : -6.218887e-02
02u0u222022 : -5.285955e-02
Current CI vector leading components (1/5):
00u0u222222 : 8.357630e-01
0uu0d222u22 : 2.332640e-01
0du0u222u22 : 2.293750e-01
u0u0d2222u2 : 2.259415e-01
d0u0u2222u2 : 2.231689e-01
0ud0u222u22 : 1.359538e-01
u0d0u2222u2 : 1.300692e-01
00uu0222222 : -8.028954e-02
0u00u222222 : -6.218364e-02
02u0u222022 : -5.285975e-02
Grad vector leading components (1/5):
0du0u2u2222 : 1.383217e-07
d0u0u22u222 : 1.220756e-07
0uu0d2u2222 : 1.193757e-07
u0u0d22u222 : 1.150944e-07
0du0u222u22 : 1.085784e-07
00udu22u222 : 1.003638e-07
d0u0uu22222 : -9.092087e-08
0du0u22u222 : -9.034355e-08
0uu0d22u222 : -8.971092e-08
0uu0d222u22 : 8.636634e-08
Previous CI vector leading components (2/5):
000uu222222 : -8.395124e-01
u00ud2222u2 : -2.342869e-01
d00uu2222u2 : -2.301645e-01
0u0ud222u22 : -2.268811e-01
0d0uu222u22 : -2.243987e-01
u00du2222u2 : -1.364417e-01
0u0du222u22 : -1.306949e-01
u000u222222 : 6.321782e-02
200uu222202 : 5.305979e-02
020uu222022 : 5.272681e-02
Current CI vector leading components (2/5):
000uu222222 : 8.395171e-01
u00ud2222u2 : 2.342863e-01
d00uu2222u2 : 2.301642e-01
0u0ud222u22 : 2.268842e-01
0d0uu222u22 : 2.244017e-01
u00du2222u2 : 1.364412e-01
0u0du222u22 : 1.306969e-01
u000u222222 : -6.321281e-02
200uu222202 : -5.306000e-02
020uu222022 : -5.272719e-02
Grad vector leading components (2/5):
d00uu22u222 : -1.288259e-07
0d0uu2u2222 : -1.200587e-07
0u0ud2u2222 : -1.123901e-07
u00ud22u222 : -1.114345e-07
d00uu2222u2 : 9.143077e-08
00duu2u2222 : 9.069696e-08
d00uuu22222 : 8.639023e-08
0d0uu22u222 : 8.313695e-08
0002u22u222 : -8.250891e-08
d00uu2u2222 : -8.204674e-08
Previous CI vector leading components (3/5):
00uud222u22 : 6.761327e-01
00uud2222u2 : 4.237995e-01
00udu222u22 : 3.913701e-01
00duu222u22 : 2.710971e-01
00udu2222u2 : 2.457600e-01
00duu2222u2 : 1.690660e-01
00uud22u222 : 1.006155e-01
00udu22u222 : 5.807543e-02
u0udd222uu2 : -5.533428e-02
0uudd222uu2 : 4.295029e-02
Current CI vector leading components (3/5):
00uud222u22 : -6.760865e-01
00uud2222u2 : -4.238732e-01
00udu222u22 : -3.913439e-01
00duu222u22 : -2.710780e-01
00udu2222u2 : -2.458020e-01
00duu2222u2 : -1.690964e-01
00uud22u222 : -1.006161e-01
00udu22u222 : -5.807576e-02
u0udd222uu2 : 5.532965e-02
0uudd222uu2 : -4.295627e-02
Grad vector leading components (3/5):
00uud2u2222 : 7.072257e-08
0uudd2u2u22 : 6.716692e-08
00udu2u2222 : 6.233463e-08
0u0u0222222 : 6.217143e-08
00u0u222222 : -5.813155e-08
00u2u22du22 : 5.735585e-08
0uu00222222 : -5.247439e-08
u0uddu22u22 : -5.111045e-08
0duud2u2u22 : 5.085771e-08
0uuddu22u22 : -5.015647e-08
Previous CI vector leading components (4/5):
00uud2222u2 : 6.759597e-01
00uud222u22 : -4.236809e-01
00udu2222u2 : 3.857995e-01
00duu2222u2 : 2.787614e-01
00udu222u22 : -2.411445e-01
00duu222u22 : -1.754750e-01
00uud2u2222 : 1.008546e-01
00udu2u2222 : 5.718668e-02
0uudd222uu2 : 5.533926e-02
u0udd222uu2 : 4.278889e-02
Current CI vector leading components (4/5):
00uud2222u2 : -6.759135e-01
00uud222u22 : 4.237546e-01
00udu2222u2 : -3.857727e-01
00duu2222u2 : -2.787429e-01
00udu222u22 : 2.411871e-01
00duu222u22 : 1.755046e-01
00uud2u2222 : -1.008552e-01
00udu2u2222 : -5.718699e-02
0uudd222uu2 : -5.533454e-02
u0udd222uu2 : -4.279497e-02
Grad vector leading components (4/5):
00uud22u222 : 6.928060e-08
u0udd22u2u2 : 6.490361e-08
002uu2d22u2 : 5.796806e-08
u00u0222222 : 5.646851e-08
000uu222222 : 5.402400e-08
u0uddu222u2 : -5.124025e-08
d0uud22u2u2 : 5.090327e-08
00duu22u222 : 5.059409e-08
00u2u22d2u2 : 4.979286e-08
0duuu222du2 : 4.704906e-08
Fragment 1
CI vector norm = [1. 1. 1. 1. 1.]
Gradient norm = 1.771112e-01
Previous CI vector leading components (0/5):
0uuuu222222 : 7.699163e-01
u0uuu222222 : -5.814738e-01
duuuu2222u2 : 1.197338e-01
02uuu222u22 : 1.179230e-01
uduuu222u22 : -9.154518e-02
20uuu2222u2 : 8.757290e-02
uuuud2222u2 : 6.742610e-02
uuuud222u22 : -4.571051e-02
uuudu2222u2 : 3.839123e-02
2uuuu202222 : -2.824584e-02
Current CI vector leading components (0/5):
0uuuu222222 : 7.698370e-01
u0uuu222222 : -5.815789e-01
duuuu2222u2 : 1.197212e-01
02uuu222u22 : 1.179107e-01
uduuu222u22 : -9.156214e-02
20uuu2222u2 : 8.758890e-02
uuuud2222u2 : 6.742009e-02
uuuud222u22 : -4.571974e-02
uuudu2222u2 : 3.838776e-02
2uuuu202222 : -2.824338e-02
Grad vector leading components (0/5):
duuuuu22222 : -1.814863e-03
0uuu2u22222 : -1.700093e-03
duuuu2u2222 : -1.694750e-03
0uu2u22u222 : -1.661860e-03
22uuu222u02 : -1.502139e-03
u0u2u22u222 : 1.436006e-03
20uuu2u2222 : -1.413063e-03
20uuuu22222 : -1.368286e-03
2222u2uuu02 : -1.336754e-03
u0uu2u22222 : 1.331227e-03
Previous CI vector leading components (1/5):
u0uuu222222 : -7.697185e-01
0uuuu222222 : -5.814021e-01
uduuu222u22 : -1.242476e-01
20uuu2222u2 : 1.172187e-01
duuuu2222u2 : -9.187816e-02
02uuu222u22 : -8.981549e-02
uuuud222u22 : -6.763824e-02
uuuud2222u2 : -4.399083e-02
uuudu222u22 : -3.921982e-02
u2uuu220222 : -2.817977e-02
Current CI vector leading components (1/5):
u0uuu222222 : -7.696391e-01
0uuuu222222 : -5.815072e-01
uduuu222u22 : -1.242351e-01
20uuu2222u2 : 1.172067e-01
duuuu2222u2 : -9.189451e-02
02uuu222u22 : -8.983159e-02
uuuud222u22 : -6.763200e-02
uuuud2222u2 : -4.400004e-02
uuudu222u22 : -3.921625e-02
u2uuu220222 : -2.817729e-02
Grad vector leading components (1/5):
22uuu2220u2 : 2.642028e-03
22uuu222u02 : 2.130351e-03
02uuu222u22 : -1.852697e-03
20uuu2u2222 : -1.740423e-03
2uuuu222202 : 1.709992e-03
u0u2u22u222 : 1.669653e-03
u0uu2u22222 : 1.652104e-03
uuuudu22222 : 1.612463e-03
u2uuu222022 : -1.569380e-03
20uuuu22222 : -1.513145e-03
Previous CI vector leading components (2/5):
uu0uu222222 : -9.645138e-01
u20uu222u22 : -1.516930e-01
2u0uu2222u2 : 1.496121e-01
uuu0u222222 : -9.837431e-02
uu2uu220222 : 3.103230e-02
u20u2u2u222 : -3.011213e-02
2u0u2uu2222 : -3.001052e-02
uu2uu202222 : 2.698348e-02
uud2u2uu222 : 2.593284e-02
2uduu2uu222 : 2.482331e-02
Current CI vector leading components (2/5):
uu0uu222222 : -9.645000e-01
u20uu222u22 : -1.516907e-01
2u0uu2222u2 : 1.496100e-01
uuu0u222222 : -9.851016e-02
uu2uu220222 : 3.103139e-02
u20u2u2u222 : -3.011169e-02
2u0u2uu2222 : -3.001010e-02
uu2uu202222 : 2.698355e-02
uud2u2uu222 : 2.593247e-02
2uduu2uu222 : 2.482300e-02
Grad vector leading components (2/5):
uu0u2u22222 : 2.381509e-03
uu02u22u222 : 2.182823e-03
2u0uuu22222 : -2.077406e-03
2u0uu2u2222 : -1.835761e-03
uuduu2u2222 : -1.615742e-03
u20uu222u22 : -1.457198e-03
2u0uu22u222 : 1.362483e-03
u20uuu22222 : 1.227206e-03
uuduuu22222 : 1.176377e-03
u20uu2222u2 : 1.079599e-03
Previous CI vector leading components (3/5):
uuu0u222222 : -9.645470e-01
u2u0u222u22 : -1.510784e-01
2uu0u2222u2 : 1.501864e-01
uu0uu222222 : 9.839174e-02
uuu2u202222 : -3.108970e-02
2uu02uu2222 : -3.009521e-02
u2u02u2u222 : -3.002879e-02
uuu2u220222 : -2.692050e-02
uu2du2uu222 : 2.593146e-02
u2udu2uu222 : 2.507988e-02
Current CI vector leading components (3/5):
uuu0u222222 : -9.645332e-01
u2u0u222u22 : -1.510763e-01
2uu0u2222u2 : 1.501841e-01
uu0uu222222 : 9.852758e-02
uuu2u202222 : -3.108880e-02
2uu02uu2222 : -3.009476e-02
u2u02u2u222 : -3.002837e-02
uuu2u220222 : -2.692056e-02
uu2du2uu222 : 2.593109e-02
u2udu2uu222 : 2.507897e-02
Grad vector leading components (3/5):
uuudu22u222 : 2.583229e-03
uuu02u22222 : 2.376163e-03
2uu0uu22222 : -1.981028e-03
2uu0u2u2222 : -1.832335e-03
uuuud22u222 : 1.472449e-03
u2u0u222u22 : -1.381080e-03
u2u0uu22222 : 1.290395e-03
uu20u2u2222 : 1.284444e-03
u2u0u2222u2 : 1.256250e-03
2uu0u222u22 : -1.193431e-03
Previous CI vector leading components (4/5):
uduuu222u22 : 3.998506e-01
duuuu2222u2 : -3.870509e-01
20uuu2222u2 : -3.458574e-01
02uuu222u22 : -3.352982e-01
uuuud2222u2 : -2.929409e-01
uuuud222u22 : 2.658468e-01
uuudu2222u2 : -1.634323e-01
u0uuu222222 : -1.622844e-01
2duuu222uu2 : 1.612747e-01
0uuuu222222 : 1.581718e-01
Current CI vector leading components (4/5):
uduuu222u22 : -3.998506e-01
duuuu2222u2 : 3.870509e-01
20uuu2222u2 : 3.458574e-01
02uuu222u22 : 3.352982e-01
uuuud2222u2 : 2.929409e-01
uuuud222u22 : -2.658468e-01
uuudu2222u2 : 1.634323e-01
u0uuu222222 : 1.622844e-01
2duuu222uu2 : -1.612747e-01
0uuuu222222 : -1.581718e-01
Grad vector leading components (4/5):
uuuud2222u2 : 3.994956e-02
uuuud222u22 : -3.672762e-02
02uuu222u22 : -3.317221e-02
20uuu2222u2 : -3.314631e-02
2duuu222uu2 : 2.749761e-02
d2uuu222uu2 : -2.651777e-02
uuudu2222u2 : 2.487061e-02
uuudu222u22 : -2.207474e-02
2u2u2u0u222 : -2.144783e-02
2222u2uuu02 : 1.993233e-02

WARN: State 5 LASCI not converged!

Entering product-state fixed-point CI iteration
Cycle 0: max grad = 1.954135e-01 ; sigma = 0.000000e+00 ; 0/2 fragment CI solvers converged

WARN: QR decomposition removed 1 vectors.

Cycle 1: max grad = 4.588748e-03 ; sigma = 3.647501e-02 ; 1/2 fragment CI solvers converged
Cycle 2: max grad = 4.514515e-03 ; sigma = 9.335869e-07 ; 2/2 fragment CI solvers converged
Cycle 3: max grad = 4.483692e-03 ; sigma = 8.980532e-06 ; 2/2 fragment CI solvers converged
Cycle 4: max grad = 4.534835e-03 ; sigma = 9.487303e-06 ; 2/2 fragment CI solvers converged
Cycle 5: max grad = 4.492680e-03 ; sigma = 1.002003e-05 ; 2/2 fragment CI solvers converged
Cycle 6: max grad = 4.534846e-03 ; sigma = 1.056698e-05 ; 2/2 fragment CI solvers converged
Cycle 7: max grad = 4.481086e-03 ; sigma = 1.110584e-05 ; 2/2 fragment CI solvers converged
Cycle 8: max grad = 4.515433e-03 ; sigma = 1.162312e-05 ; 2/2 fragment CI solvers converged
Cycle 9: max grad = 4.454426e-03 ; sigma = 1.210125e-05 ; 2/2 fragment CI solvers converged
Cycle 10: max grad = 4.482257e-03 ; sigma = 1.253308e-05 ; 2/2 fragment CI solvers converged
Cycle 11: max grad = 4.419574e-03 ; sigma = 1.291067e-05 ; 2/2 fragment CI solvers converged
Cycle 12: max grad = 4.442050e-03 ; sigma = 1.323454e-05 ; 1/2 fragment CI solvers converged
Cycle 13: max grad = 4.382710e-03 ; sigma = 1.350533e-05 ; 2/2 fragment CI solvers converged
Cycle 14: max grad = 4.400885e-03 ; sigma = 1.372830e-05 ; 1/2 fragment CI solvers converged
Cycle 15: max grad = 4.348065e-03 ; sigma = 1.390852e-05 ; 2/2 fragment CI solvers converged
Cycle 16: max grad = 4.364275e-03 ; sigma = 1.405249e-05 ; 1/2 fragment CI solvers converged
Cycle 17: max grad = 4.317868e-03 ; sigma = 1.416606e-05 ; 2/2 fragment CI solvers converged
Cycle 18: max grad = 4.339427e-03 ; sigma = 1.425482e-05 ; 1/2 fragment CI solvers converged
Cycle 19: max grad = 4.292840e-03 ; sigma = 1.432367e-05 ; 2/2 fragment CI solvers converged
Cycle 20: max grad = 4.317308e-03 ; sigma = 1.437666e-05 ; 2/2 fragment CI solvers converged
Cycle 21: max grad = 4.272798e-03 ; sigma = 1.441729e-05 ; 2/2 fragment CI solvers converged
Cycle 22: max grad = 4.298718e-03 ; sigma = 1.444822e-05 ; 2/2 fragment CI solvers converged
Cycle 23: max grad = 4.257136e-03 ; sigma = 1.447174e-05 ; 2/2 fragment CI solvers converged
Cycle 24: max grad = 4.283672e-03 ; sigma = 1.448951e-05 ; 2/2 fragment CI solvers converged
Cycle 25: max grad = 4.245106e-03 ; sigma = 1.450295e-05 ; 2/2 fragment CI solvers converged
Cycle 26: max grad = 4.271815e-03 ; sigma = 1.451304e-05 ; 2/2 fragment CI solvers converged
Cycle 27: max grad = 4.235983e-03 ; sigma = 1.452064e-05 ; 2/2 fragment CI solvers converged
Cycle 28: max grad = 4.262643e-03 ; sigma = 1.452632e-05 ; 2/2 fragment CI solvers converged
Cycle 29: max grad = 4.229132e-03 ; sigma = 1.453059e-05 ; 2/2 fragment CI solvers converged
Cycle 30: max grad = 4.255644e-03 ; sigma = 1.453376e-05 ; 2/2 fragment CI solvers converged
Cycle 31: max grad = 4.224028e-03 ; sigma = 1.453614e-05 ; 2/2 fragment CI solvers converged
Cycle 32: max grad = 4.250357e-03 ; sigma = 1.453790e-05 ; 2/2 fragment CI solvers converged
Cycle 33: max grad = 4.220247e-03 ; sigma = 1.453923e-05 ; 2/2 fragment CI solvers converged
Cycle 34: max grad = 4.246396e-03 ; sigma = 1.454020e-05 ; 2/2 fragment CI solvers converged
Cycle 35: max grad = 4.217460e-03 ; sigma = 1.454093e-05 ; 2/2 fragment CI solvers converged
Cycle 36: max grad = 4.243446e-03 ; sigma = 1.454146e-05 ; 2/2 fragment CI solvers converged
Cycle 37: max grad = 4.215410e-03 ; sigma = 1.454187e-05 ; 2/2 fragment CI solvers converged
Cycle 38: max grad = 4.241261e-03 ; sigma = 1.454216e-05 ; 2/2 fragment CI solvers converged
Cycle 39: max grad = 4.213918e-03 ; sigma = 1.454238e-05 ; 2/2 fragment CI solvers converged
Cycle 40: max grad = 4.239650e-03 ; sigma = 1.454253e-05 ; 2/2 fragment CI solvers converged
Cycle 41: max grad = 4.212835e-03 ; sigma = 1.454265e-05 ; 2/2 fragment CI solvers converged
Cycle 42: max grad = 4.238467e-03 ; sigma = 1.454273e-05 ; 2/2 fragment CI solvers converged
Cycle 43: max grad = 4.212053e-03 ; sigma = 1.454280e-05 ; 2/2 fragment CI solvers converged
Cycle 44: max grad = 4.237601e-03 ; sigma = 1.454284e-05 ; 2/2 fragment CI solvers converged
Cycle 45: max grad = 4.211489e-03 ; sigma = 1.454288e-05 ; 2/2 fragment CI solvers converged
Cycle 46: max grad = 4.236970e-03 ; sigma = 1.454290e-05 ; 2/2 fragment CI solvers converged
Cycle 47: max grad = 4.211087e-03 ; sigma = 1.454292e-05 ; 2/2 fragment CI solvers converged
Cycle 48: max grad = 4.236512e-03 ; sigma = 1.454293e-05 ; 2/2 fragment CI solvers converged
Cycle 49: max grad = 4.210800e-03 ; sigma = 1.454294e-05 ; 2/2 fragment CI solvers converged
Product_state fixed-point CI iteration NOT converged after 49 cycles
Debugging CI and gradient vectors...
Fragment 0
CI vector norm = [1. 1. 1. 1. 1.]
Gradient norm = 1.081592e-03
Previous CI vector leading components (0/5):
00uuu222u22 : 8.015333e-01
00uuu2222u2 : 5.623925e-01
00uuu22u222 : 1.253033e-01
u0uud222uu2 : -3.633182e-02
0uuud222uu2 : 3.121516e-02
20uuu222u02 : -2.990277e-02
u0udu222uu2 : -2.705937e-02
02uuu2220u2 : 2.515380e-02
0uudu222uu2 : 2.337031e-02
duuuu2220u2 : 2.281881e-02
Current CI vector leading components (0/5):
00uuu2222u2 : -9.748974e-01
00uuu2u2222 : -1.089064e-01
00uuu222u22 : 9.097653e-02
00uuu22u222 : -6.226795e-02
0uuud222uu2 : -4.703303e-02
02uuu2220u2 : -3.843518e-02
0uudu222uu2 : -3.325617e-02
uduuu222u02 : -2.939772e-02
0uduu222uu2 : -2.674863e-02
0uuuu222du2 : 2.455475e-02
Grad vector leading components (0/5):
d0uuu222uu2 : 1.448570e-04
0duuuu22u22 : -1.414087e-04
0duuuu222u2 : -9.981657e-05
0uuuud22u22 : 9.460591e-05
002uu22uu22 : -8.822959e-05
00u2u2u2u22 : 8.638185e-05
0duuu22uu22 : -8.539590e-05
0uuuu222du2 : -8.089954e-05
0uuuu222022 : 8.004032e-05
0duuu222u2u : -7.882261e-05
Previous CI vector leading components (1/5):
00uuu2222u2 : 8.014904e-01
00uuu222u22 : -5.623697e-01
00uuu2u2222 : 1.255095e-01
0uuud222uu2 : 3.644684e-02
u0uud222uu2 : 3.130813e-02
02uuu2220u2 : 2.993632e-02
20uuu222u02 : 2.516830e-02
0uudu222uu2 : 2.502716e-02
uduuu222u02 : 2.265325e-02
u0udu222uu2 : 2.166228e-02
Current CI vector leading components (1/5):
00uuu222u22 : 9.748878e-01
00uuu22u222 : 1.087700e-01
00uuu2222u2 : 9.099205e-02
00uuu2u2222 : -6.232796e-02
u0uud222uu2 : -4.716934e-02
20uuu222u02 : -3.848153e-02
u0udu222uu2 : -3.430700e-02
duuuu2220u2 : 3.002060e-02
u0duu222uu2 : -2.558526e-02
u0uuu222du2 : -2.469946e-02
Grad vector leading components (1/5):
0duuu222uu2 : 1.448424e-04
0duuuu222u2 : -1.418729e-04
0duuuu22u22 : 9.859165e-05
0uuuud222u2 : 9.406782e-05
00u2u2u22u2 : 8.845111e-05
002uu22u2u2 : -8.628163e-05
d0uuu2u22u2 : 8.529209e-05
u0uuu222du2 : -8.098710e-05
u0uuu222202 : -8.021778e-05
0duuu2222uu : -7.891318e-05
Previous CI vector leading components (2/5):
0uuu0222u22 : 6.178595e-01
u0uu02222u2 : 6.078105e-01
u0u0u222u22 : 2.237720e-01
0uu0u2222u2 : 2.169696e-01
0u0uu222u22 : 2.125891e-01
u00uu2222u2 : -2.113731e-01
0uu0u222u22 : 8.870273e-02
u0uu0222u22 : 8.580276e-02
0uuu022u222 : 6.197819e-02
u00uu222u22 : -6.099591e-02
Current CI vector leading components (2/5):
u0uu02222u2 : -6.314098e-01
0uuu0222u22 : -5.944131e-01
u00uu2222u2 : 2.455943e-01
0uu0u2222u2 : -2.196907e-01
u0u0u222u22 : -2.062963e-01
0u0uu222u22 : -1.932773e-01
u0u0u2222u2 : 7.346400e-02
0uuu02222u2 : 7.109493e-02
u0uu02u2222 : -6.241295e-02
u0uu0222u22 : -6.074443e-02
Grad vector leading components (2/5):
uduu0u222u2 : 1.103286e-04
02uu0u22u22 : 1.019622e-04
u0uu0222u22 : 9.024442e-05
0u0uu2222u2 : 8.343203e-05
u00uu222u22 : -8.287728e-05
0uuu02222u2 : 8.052036e-05
u0uu02222u2 : -7.814299e-05
uuuu0222du2 : 7.762909e-05
0uuu0222u22 : 7.149086e-05
0uu202u2u22 : 6.777685e-05
Previous CI vector leading components (3/5):
0uu0u222u22 : -6.256364e-01
u0u0u2222u2 : -5.640986e-01
0uuu02222u2 : -2.881610e-01
u0uu0222u22 : -2.800303e-01
u0u0u222u22 : -1.740427e-01
u00uu2222u2 : -1.574522e-01
u0uu02222u2 : 1.211149e-01
0u0uu222u22 : 9.850126e-02
0u0uu2222u2 : -7.901597e-02
0uu0u22u222 : -6.889613e-02
Current CI vector leading components (3/5):
u00uu2222u2 : 6.096166e-01
0u0uu222u22 : 4.567244e-01
u0u0u2222u2 : 3.474591e-01
0uuu0222u22 : 3.229988e-01
u0uu02222u2 : -2.581431e-01
0uu0u222u22 : 1.836717e-01
u0u0u222u22 : 1.673294e-01
0u0uu2222u2 : -1.274162e-01
u00uu2u2222 : 6.818727e-02
u0uu0222u22 : 6.711677e-02
Grad vector leading components (3/5):
u0u0u222u22 : -1.155087e-04
u0u0u2222u2 : 1.026223e-04
udu0uu222u2 : -1.015536e-04
02u0uu22u22 : -1.014480e-04
0uu0u222u22 : -9.041693e-05
0uuu02222u2 : 8.738400e-05
0uudu2u2u22 : 7.743266e-05
uuu0u222du2 : -7.411255e-05
20u0u222uu2 : 7.001491e-05
0u20u22uu22 : 6.836611e-05
Previous CI vector leading components (4/5):
u00uu2222u2 : 6.249683e-01
0u0uu222u22 : 5.639661e-01
0uuu0222u22 : 2.926598e-01
u0uu02222u2 : -2.877149e-01
0u0uu2222u2 : -1.732523e-01
0uu0u222u22 : -1.478496e-01
u0uu0222u22 : -9.634856e-02
u0u0u2222u2 : 8.719992e-02
u0u0u222u22 : 8.358985e-02
0uuu02222u2 : -8.159720e-02
Current CI vector leading components (4/5):
0uu0u222u22 : -6.103052e-01
u0u0u2222u2 : -4.560507e-01
0u0uu222u22 : 3.437930e-01
0uuu02222u2 : -3.033194e-01
u0uu0222u22 : -2.897457e-01
u00uu2222u2 : 1.856166e-01
0u0uu2222u2 : -1.647252e-01
u0u0u222u22 : -1.188291e-01
0uu0u22u222 : -6.801289e-02
u0uu02222u2 : -6.719955e-02
Grad vector leading components (4/5):
0u0uu2222u2 : 1.554050e-04
0uuu02222u2 : 1.321071e-04
u0uu0222u22 : -1.241411e-04
ud0uuu222u2 : 1.102992e-04
u00uu222u22 : 1.032466e-04
0u0uu222u22 : 9.441348e-05
020uuu22u22 : 9.264809e-05
u00uu2222u2 : -8.706595e-05
u0duu22u2u2 : -7.498709e-05
uu0uu222du2 : 7.438918e-05
Fragment 1
CI vector norm = [1. 1. 1. 1. 1.]
Gradient norm = 2.184196e-02
Previous CI vector leading components (0/5):
00uu2222222 : 9.485038e-01
0duu2222u22 : 1.485210e-01
d0uu22222u2 : -1.465196e-01
002uu222222 : 1.015121e-01
0uud2222u22 : 8.070882e-02
u0ud22222u2 : -7.913782e-02
0udu2222u22 : 4.619654e-02
u0du22222u2 : -4.605801e-02
0u0u2222222 : 4.286613e-02
00u2u222222 : -4.216702e-02
Current CI vector leading components (0/5):
00uu2222222 : 9.485897e-01
0duu2222u22 : 1.483164e-01
d0uu22222u2 : -1.467512e-01
00u2u222222 : 1.080996e-01
0uud2222u22 : 8.053738e-02
u0ud22222u2 : -7.929971e-02
0udu2222u22 : 4.619682e-02
u0du22222u2 : -4.610839e-02
0u0u2222222 : 4.440912e-02
u0u02222222 : -4.013177e-02
Grad vector leading components (0/5):
d0uu2u22222 : 4.210800e-03
d0uu2222u22 : 2.892856e-03
0duu22222u2 : -2.868717e-03
u0ud2u22222 : 2.666042e-03
0duu22u2222 : -2.341190e-03
d0uu222u222 : -2.340872e-03
002u22u2222 : 2.278106e-03
d0uu222222u : 2.118918e-03
00u2222u222 : 2.088794e-03
0uud22222u2 : -1.749441e-03
Previous CI vector leading components (1/5):
002uu222222 : -8.230825e-01
00u2u222222 : 4.699217e-01
0d2uu222u22 : -1.284417e-01
d02uu2222u2 : 1.275297e-01
00uu2222222 : 1.091045e-01
0du2u222u22 : 7.522597e-02
d0u2u2222u2 : -7.087087e-02
0u2ud222u22 : -6.980745e-02
u02ud2222u2 : 6.921142e-02
0u20u222222 : -4.672746e-02
Current CI vector leading components (1/5):
00u2u222222 : -9.478940e-01
0du2u222u22 : -1.486610e-01
d0u2u2222u2 : 1.461038e-01
00uu2222222 : 1.081058e-01
0uu2d222u22 : -8.087833e-02
u0u2d2222u2 : 7.924279e-02
0ud2u222u22 : -4.640751e-02
u0d2u2222u2 : 4.567563e-02
0u02u222222 : 4.463974e-02
20u0u222222 : -4.403675e-02
Grad vector leading components (1/5):
d02uuu22222 : -3.658417e-03
d02uu222u22 : -2.511454e-03
0d2uu2222u2 : 2.499156e-03
0022u2u2222 : 2.495225e-03
u02udu22222 : -2.258469e-03
d0u2uu22222 : 2.095556e-03
d02uu22u222 : 2.078810e-03
0d2uu2u2222 : 2.075718e-03
d02uu22222u : -1.839049e-03
u02ud222u22 : -1.540396e-03
Previous CI vector leading components (2/5):
00u2u222222 : -8.291536e-01
002uu222222 : -4.715683e-01
0du2u222u22 : -1.295452e-01
d0u2u2222u2 : 1.283787e-01
d02uu2222u2 : 7.462009e-02
0d2uu222u22 : -7.202044e-02
0uu2d222u22 : -7.052310e-02
u0u2d2222u2 : 6.953549e-02
u002u222222 : -4.563466e-02
u020u222222 : -4.068733e-02
Current CI vector leading components (2/5):
002uu222222 : -9.538432e-01
d02uu2222u2 : 1.483692e-01
0d2uu222u22 : -1.483176e-01
0u2ud222u22 : -8.059655e-02
u02ud2222u2 : 8.053331e-02
0u2du222u22 : -4.642116e-02
u02du2222u2 : 4.620345e-02
020uu222222 : 4.545239e-02
u020u222222 : -4.330685e-02
200uu222222 : 3.538049e-02
Grad vector leading components (2/5):
d0u2uu22222 : -3.690789e-03
d0u2u222u22 : -2.528570e-03
0du2u2222u2 : 2.516126e-03
0022u22u222 : 2.509727e-03
u0u2du22222 : -2.270394e-03
d02uuu22222 : -2.095582e-03
d0u2u22u222 : 2.091832e-03
0du2u2u2222 : 2.086645e-03
d0u2u22222u : -1.851560e-03
u0u2d222u22 : -1.545751e-03
Previous CI vector leading components (3/5):
0uudu222222 : 4.427995e-01
u0duu222222 : 4.371428e-01
u0u02222222 : -3.953869e-01
0u20u222222 : 3.237169e-01
0u0u2222222 : -3.176521e-01
u020u222222 : -2.741790e-01
0uduu222222 : 2.264043e-01
u002u222222 : -1.506345e-01
0u02u222222 : -9.971839e-02
u00u2222222 : 8.146506e-02
Current CI vector leading components (3/5):
0uudu222222 : -5.212625e-01
u002u222222 : 4.308259e-01
u00u2222222 : 3.498705e-01
u0udu222222 : 3.384588e-01
0u02u222222 : 2.792654e-01
0uu02222222 : -2.412155e-01
0u0u2222222 : 2.398731e-01
u0u02222222 : 1.624307e-01
ud02u222u22 : -7.599594e-02
duudu2222u2 : -7.088366e-02
Grad vector leading components (3/5):
20duuu22222 : 1.624717e-03
20u02u22222 : 1.530904e-03
duuduu22222 : -1.527309e-03
du20uu22222 : 1.431188e-03
du0u2u22222 : -1.410226e-03
u02022u2222 : -1.378906e-03
uudduu22222 : -1.334271e-03
duuudu22222 : 1.323513e-03
udduu2222u2 : -1.296586e-03
udu022222u2 : -1.271789e-03
Previous CI vector leading components (4/5):
u0udu222222 : 4.613810e-01
0uudu222222 : -4.068368e-01
u00u2222222 : 3.667081e-01
0uu02222222 : -3.633208e-01
u0duu222222 : 2.911170e-01
u002u222222 : 2.887858e-01
0u02u222222 : 2.491865e-01
0uduu222222 : 1.356653e-01
0u20u222222 : 1.275936e-01
u020u222222 : -8.217313e-02
Current CI vector leading components (4/5):
u0duu222222 : 4.173844e-01
0u20u222222 : 3.888569e-01
u0udu222222 : 3.572369e-01
0u0u2222222 : -3.093142e-01
u0u02222222 : -2.964347e-01
0uduu222222 : 2.919168e-01
u020u222222 : -2.540874e-01
0uudu222222 : 2.137551e-01
0uu02222222 : -2.083742e-01
u00u2222222 : 2.031751e-01
Grad vector leading components (4/5):
duuduu22222 : 1.657920e-03
duu02u22222 : -1.628646e-03
u0du22u2222 : 1.480853e-03
200u2u22222 : -1.408198e-03
20uudu22222 : -1.408112e-03
u0ud22u2222 : 1.334163e-03
u0d2u22u222 : -1.286002e-03
20uduu22222 : 1.283952e-03
0uu2d22u222 : -1.228461e-03
2002uu22222 : -1.177318e-03

WARN: State 6 LASCI not converged!

Entering product-state fixed-point CI iteration
Cycle 0: max grad = 2.063989e-01 ; sigma = 0.000000e+00 ; 0/2 fragment CI solvers converged

WARN: QR decomposition removed 1 vectors.

Cycle 1: max grad = 1.462817e-03 ; sigma = 2.014364e-02 ; 2/2 fragment CI solvers converged
Cycle 2: max grad = 1.423515e-03 ; sigma = 2.251269e-07 ; 2/2 fragment CI solvers converged
Cycle 3: max grad = 1.347026e-03 ; sigma = 4.875134e-06 ; 2/2 fragment CI solvers converged
Cycle 4: max grad = 1.434321e-03 ; sigma = 4.887167e-06 ; 2/2 fragment CI solvers converged
Cycle 5: max grad = 1.357938e-03 ; sigma = 4.898292e-06 ; 2/2 fragment CI solvers converged
Cycle 6: max grad = 1.444067e-03 ; sigma = 4.909679e-06 ; 2/2 fragment CI solvers converged
Cycle 7: max grad = 1.368959e-03 ; sigma = 4.921329e-06 ; 2/2 fragment CI solvers converged
Cycle 8: max grad = 1.453878e-03 ; sigma = 4.933250e-06 ; 2/2 fragment CI solvers converged
Cycle 9: max grad = 1.380070e-03 ; sigma = 4.945442e-06 ; 2/2 fragment CI solvers converged
Cycle 10: max grad = 1.463755e-03 ; sigma = 4.957895e-06 ; 2/2 fragment CI solvers converged
Cycle 11: max grad = 1.391271e-03 ; sigma = 4.970621e-06 ; 2/2 fragment CI solvers converged
Cycle 12: max grad = 1.473697e-03 ; sigma = 4.983616e-06 ; 2/2 fragment CI solvers converged
Cycle 13: max grad = 1.402564e-03 ; sigma = 4.996885e-06 ; 2/2 fragment CI solvers converged
Cycle 14: max grad = 1.483703e-03 ; sigma = 5.010422e-06 ; 2/2 fragment CI solvers converged
Cycle 15: max grad = 1.413950e-03 ; sigma = 5.024237e-06 ; 2/2 fragment CI solvers converged
Cycle 16: max grad = 1.493773e-03 ; sigma = 5.038322e-06 ; 2/2 fragment CI solvers converged
Cycle 17: max grad = 1.425427e-03 ; sigma = 5.052686e-06 ; 2/2 fragment CI solvers converged
Cycle 18: max grad = 1.503906e-03 ; sigma = 5.067322e-06 ; 2/2 fragment CI solvers converged
Cycle 19: max grad = 1.436998e-03 ; sigma = 5.082234e-06 ; 2/2 fragment CI solvers converged
Cycle 20: max grad = 1.514101e-03 ; sigma = 5.097424e-06 ; 2/2 fragment CI solvers converged
Cycle 21: max grad = 1.448661e-03 ; sigma = 5.112889e-06 ; 2/2 fragment CI solvers converged
Cycle 22: max grad = 1.524357e-03 ; sigma = 5.128631e-06 ; 2/2 fragment CI solvers converged
Cycle 23: max grad = 1.460417e-03 ; sigma = 5.144654e-06 ; 2/2 fragment CI solvers converged
Cycle 24: max grad = 1.534671e-03 ; sigma = 5.160950e-06 ; 2/2 fragment CI solvers converged
Cycle 25: max grad = 1.472265e-03 ; sigma = 5.177528e-06 ; 2/2 fragment CI solvers converged
Cycle 26: max grad = 1.545043e-03 ; sigma = 5.194382e-06 ; 2/2 fragment CI solvers converged
Cycle 27: max grad = 1.484204e-03 ; sigma = 5.211515e-06 ; 2/2 fragment CI solvers converged
Cycle 28: max grad = 1.555469e-03 ; sigma = 5.228928e-06 ; 2/2 fragment CI solvers converged
Cycle 29: max grad = 1.496233e-03 ; sigma = 5.246621e-06 ; 2/2 fragment CI solvers converged
Cycle 30: max grad = 1.565947e-03 ; sigma = 5.264587e-06 ; 2/2 fragment CI solvers converged
Cycle 31: max grad = 1.508352e-03 ; sigma = 5.282834e-06 ; 2/2 fragment CI solvers converged
Cycle 32: max grad = 1.576476e-03 ; sigma = 5.301358e-06 ; 2/2 fragment CI solvers converged
Cycle 33: max grad = 1.520558e-03 ; sigma = 5.320163e-06 ; 2/2 fragment CI solvers converged
Cycle 34: max grad = 1.587052e-03 ; sigma = 5.339241e-06 ; 2/2 fragment CI solvers converged
Cycle 35: max grad = 1.532851e-03 ; sigma = 5.358600e-06 ; 2/2 fragment CI solvers converged
Cycle 36: max grad = 1.597672e-03 ; sigma = 5.378233e-06 ; 2/2 fragment CI solvers converged
Cycle 37: max grad = 1.545229e-03 ; sigma = 5.398140e-06 ; 2/2 fragment CI solvers converged
Cycle 38: max grad = 1.608332e-03 ; sigma = 5.418322e-06 ; 2/2 fragment CI solvers converged
Cycle 39: max grad = 1.557689e-03 ; sigma = 5.438781e-06 ; 2/2 fragment CI solvers converged
Cycle 40: max grad = 1.619030e-03 ; sigma = 5.459509e-06 ; 2/2 fragment CI solvers converged
Cycle 41: max grad = 1.570229e-03 ; sigma = 5.480509e-06 ; 2/2 fragment CI solvers converged
Cycle 42: max grad = 1.629760e-03 ; sigma = 5.501783e-06 ; 2/2 fragment CI solvers converged
Cycle 43: max grad = 1.582847e-03 ; sigma = 5.523325e-06 ; 2/2 fragment CI solvers converged
Cycle 44: max grad = 1.640519e-03 ; sigma = 5.545135e-06 ; 2/2 fragment CI solvers converged
Cycle 45: max grad = 1.595538e-03 ; sigma = 5.567210e-06 ; 2/2 fragment CI solvers converged
Cycle 46: max grad = 1.651301e-03 ; sigma = 5.589557e-06 ; 2/2 fragment CI solvers converged
Cycle 47: max grad = 1.608302e-03 ; sigma = 5.612158e-06 ; 2/2 fragment CI solvers converged
Cycle 48: max grad = 1.662103e-03 ; sigma = 5.635026e-06 ; 2/2 fragment CI solvers converged
Cycle 49: max grad = 1.621132e-03 ; sigma = 5.658157e-06 ; 2/2 fragment CI solvers converged
Product_state fixed-point CI iteration NOT converged after 49 cycles
Debugging CI and gradient vectors...
Fragment 0
CI vector norm = [1. 1. 1. 1. 1.]
Gradient norm = 2.204770e-03
Previous CI vector leading components (0/5):
00uuu2222u2 : 8.654942e-01
00uuu222u22 : 4.576638e-01
00uuu22u222 : 1.114293e-01
00uuu2u2222 : 5.687849e-02
0uuud222uu2 : 4.483587e-02
02uuu2220u2 : 3.620213e-02
0uudu222uu2 : 3.252439e-02
uduuu222u02 : 2.801631e-02
0uduu222uu2 : 2.455052e-02
20uuu2022u2 : 2.178152e-02
Current CI vector leading components (0/5):
00uuu2222u2 : 9.757042e-01
00uuu2u2222 : 9.614092e-02
00uuu222u22 : 8.074584e-02
00uuu22u222 : 8.016086e-02
0uuud222uu2 : 4.844160e-02
02uuu2220u2 : 3.926669e-02
0uudu222uu2 : 3.451606e-02
uduuu222u02 : 3.023822e-02
0uduu222uu2 : 2.723879e-02
0uuuu222du2 : -2.482527e-02
Grad vector leading components (0/5):
d0uuu222uu2 : 3.228768e-04
0uuuu222202 : 2.726551e-04
0duuuu222u2 : -2.513338e-04
d0uuuu222u2 : 1.931967e-04
00u2u2u22u2 : 1.887030e-04
002uu22u2u2 : -1.847910e-04
0uuuu222du2 : -1.708046e-04
0duuu22u2u2 : -1.701591e-04
0uuuud222u2 : 1.668083e-04
u0uud222uu2 : 1.459167e-04
Previous CI vector leading components (1/5):
00uuu222u22 : -8.653778e-01
00uuu2222u2 : 4.575795e-01
00uuu2u2222 : 1.117100e-01
00uuu22u222 : -5.685120e-02
u0uud222uu2 : 4.556097e-02
20uuu222u02 : 3.641381e-02
u0udu222uu2 : 3.241531e-02
duuuu2220u2 : -2.896080e-02
u0duu222uu2 : 2.575799e-02
02uuu220u22 : -2.169711e-02
Current CI vector leading components (1/5):
00uuu222u22 : 9.755822e-01
00uuu22u222 : 9.612398e-02
00uuu2222u2 : -8.071603e-02
00uuu2u2222 : -8.033770e-02
u0uud222uu2 : -4.922315e-02
20uuu222u02 : -3.953967e-02
u0udu222uu2 : -3.555787e-02
duuuu2220u2 : 3.095002e-02
u0duu222uu2 : -2.703657e-02
u0uuu222du2 : -2.572067e-02
Grad vector leading components (1/5):
0duuu222uu2 : 3.219527e-04
u0uuu222022 : -2.737321e-04
0duuuu22u22 : 2.478584e-04
d0uuuu22u22 : -1.945730e-04
002uu22uu22 : 1.887802e-04
00u2u2u2u22 : -1.849988e-04
u0uuu222du2 : -1.700118e-04
d0uuu2u2u22 : -1.697521e-04
0uuuud22u22 : -1.686530e-04
0uuud222uu2 : 1.452839e-04
Previous CI vector leading components (2/5):
u0uu02222u2 : 6.493987e-01
0uuu0222u22 : 5.441587e-01
u00uu2222u2 : -3.049720e-01
0uu0u2222u2 : 2.323386e-01
u0u0u222u22 : 2.039064e-01
0uu0u222u22 : 1.498955e-01
u0uu0222u22 : 1.296428e-01
0u0uu222u22 : 1.083956e-01
u00uu222u22 : -6.721639e-02
u0uu022u222 : 6.183297e-02
Current CI vector leading components (2/5):
u0uu02222u2 : -6.822952e-01
0uuu0222u22 : -5.019381e-01
u00uu2222u2 : 3.673543e-01
0uu0u2222u2 : -2.256128e-01
u0u0u222u22 : -1.671096e-01
u0u0u2222u2 : 1.062144e-01
0u0uu222u22 : -8.311436e-02
u0uu02u2222 : -6.714655e-02
u0uu0222u22 : -6.705445e-02
0uuu02222u2 : 6.060609e-02
Grad vector leading components (2/5):
u0uu0222u22 : 2.940417e-04
u00uu222u22 : -2.494148e-04
uduu0u222u2 : 1.939303e-04
20uu0222uu2 : -1.772427e-04
uuuu0222202 : -1.697333e-04
02uu0u22u22 : 1.464801e-04
u0u202u22u2 : 1.427140e-04
u02u022u2u2 : -1.421234e-04
u0u0u2222u2 : -1.362469e-04
20uu0u222u2 : -1.356172e-04
Previous CI vector leading components (3/5):
u0u0u2222u2 : -5.634618e-01
0uu0u222u22 : -4.515026e-01
u00uu2222u2 : -4.442937e-01
0uuu02222u2 : -2.254223e-01
u0uu02222u2 : 2.159368e-01
u0u0u222u22 : -2.050357e-01
0uuu0222u22 : -1.944476e-01
0u0uu222u22 : -1.873660e-01
u0uu0222u22 : -1.624999e-01
u0u0u22u222 : -6.337548e-02
Current CI vector leading components (3/5):
u0u0u2222u2 : 4.943263e-01
u00uu2222u2 : 4.701893e-01
0uu0u222u22 : 3.682498e-01
0uuu0222u22 : 3.575636e-01
0u0uu222u22 : 3.279146e-01
u0u0u222u22 : 2.248306e-01
0uuu02222u2 : 1.579272e-01
u0uu0222u22 : 1.506124e-01
0uu0u2222u2 : 1.061191e-01
u0uu02222u2 : -9.053885e-02
Grad vector leading components (3/5):
u0u0u222u22 : -3.122612e-04
u00uu222u22 : -2.957956e-04
u0uu0222u22 : 1.710762e-04
udu0uu222u2 : -1.682070e-04
20u0u222uu2 : 1.668804e-04
uuu0u222202 : 1.553517e-04
u0udu2u22u2 : 1.325372e-04
ud0uuu222u2 : -1.284503e-04
u020u22u2u2 : 1.199996e-04
02u0uu22u22 : -1.198131e-04
Previous CI vector leading components (4/5):
0u0uu222u22 : 5.648866e-01
u00uu2222u2 : 4.243314e-01
0uu0u222u22 : -4.035947e-01
0uuu0222u22 : 3.439055e-01
0uuu02222u2 : -2.237366e-01
u0u0u2222u2 : -2.133735e-01
u0uu0222u22 : -1.980825e-01
0u0uu2222u2 : -1.970348e-01
u0uu02222u2 : -6.693488e-02
0u0uu2u2222 : -6.277051e-02
Current CI vector leading components (4/5):
0u0uu222u22 : 4.831426e-01
0uu0u222u22 : -4.803429e-01
u00uu2222u2 : 3.573807e-01
u0u0u2222u2 : -3.424217e-01
0uuu02222u2 : -2.988672e-01
0uuu0222u22 : 2.333683e-01
u0uu0222u22 : -2.245635e-01
0u0uu2222u2 : -2.245227e-01
u0uu02222u2 : -6.864925e-02
0u0uu2u2222 : -5.957478e-02
Grad vector leading components (4/5):
0u0uu2222u2 : 3.752706e-04
0uuu02222u2 : 3.337679e-04
0uu0u2222u2 : -2.155472e-04
u0uu0222u22 : -2.022080e-04
020uu222uu2 : 1.678672e-04
uu0uu222022 : 1.529618e-04
020uuu22u22 : 1.528463e-04
0uu0u222u22 : -1.515392e-04
u00uu222u22 : 1.421382e-04
0uduu22uu22 : -1.369464e-04
Fragment 1
CI vector norm = [1. 1. 1. 1. 1.]
Gradient norm = 8.927648e-03
Previous CI vector leading components (0/5):
0uuuu222222 : 9.223832e-01
u0uuu222222 : 2.822166e-01
duuuu2222u2 : 1.447370e-01
02uuu222u22 : 1.418261e-01
uuuud2222u2 : 7.562766e-02
uduuu222u22 : 4.679845e-02
uuudu2222u2 : 4.343856e-02
20uuu2222u2 : -4.313025e-02
2uuuu202222 : -3.115946e-02
uuduu2222u2 : 3.088504e-02
Current CI vector leading components (0/5):
0uuuu222222 : 9.587817e-01
duuuu2222u2 : 1.500574e-01
02uuu222u22 : 1.477453e-01
u0uuu222222 : -1.057138e-01
uuuud2222u2 : 8.067525e-02
uuudu2222u2 : 4.619375e-02
2uuuu202222 : -3.344970e-02
uuduu2222u2 : 3.313725e-02
duuu2uu2222 : -3.135934e-02
02uu2u2u222 : 2.973503e-02
Grad vector leading components (0/5):
duuuuu22222 : -1.621132e-03
duuuu222u22 : -1.145682e-03
0uu2u2u2222 : -9.797546e-04
0u2uu22u222 : 9.782149e-04
02uuu2222u2 : -9.775556e-04
duuuu22u222 : 9.355108e-04
uuuudu22222 : -9.341169e-04
duuuu22222u : -8.364721e-04
02uuu2u2222 : -8.205126e-04
uuuud222u22 : -8.157397e-04
Previous CI vector leading components (1/5):
u0uuu222222 : 9.220726e-01
0uuuu222222 : -2.821246e-01
uduuu222u22 : 1.479978e-01
20uuu2222u2 : -1.401424e-01
uuuud222u22 : 7.739805e-02
uuudu222u22 : 4.462189e-02
duuuu2222u2 : -4.392013e-02
02uuu222u22 : -4.364327e-02
uuduu222u22 : 3.137415e-02
u2uuu220222 : 3.119851e-02
Current CI vector leading components (1/5):
u0uuu222222 : -9.584589e-01
uduuu222u22 : -1.547094e-01
20uuu2222u2 : 1.455538e-01
0uuuu222222 : -1.056769e-01
uuuud222u22 : -8.257105e-02
uuudu222u22 : -4.772524e-02
u2uuu220222 : -3.349683e-02
uuduu222u22 : -3.328906e-02
uduu2u2u222 : -3.198643e-02
20uu2uu2222 : -2.970064e-02
Grad vector leading components (1/5):
20uuuu22222 : 1.513756e-03
uduuu2222u2 : -1.183706e-03
uduuu2u2222 : -1.014071e-03
20uuu222u22 : 1.001858e-03
u02uu22u222 : 9.734232e-04
u0u2u2u2222 : -9.730750e-04
20uuu22u222 : -8.678346e-04
uuuud2222u2 : -8.060037e-04
uduuuu22222 : 8.031636e-04
uuuudu22222 : 7.869412e-04
Previous CI vector leading components (2/5):
uuu0u222222 : 7.072848e-01
uu0uu222222 : -6.325310e-01
uuuu0222222 : 1.988362e-01
u2u0u222u22 : 1.115322e-01
2uu0u2222u2 : -1.097613e-01
u20uu222u22 : -1.004224e-01
2u0uu2222u2 : 9.747914e-02
u2uu0222u22 : 3.246785e-02
2uuu02222u2 : -2.978917e-02
uuu2u202222 : 2.263128e-02
Current CI vector leading components (2/5):
uu0uu222222 : -7.806021e-01
uuu0u222222 : 4.949030e-01
uuuu0222222 : 2.926269e-01
u20uu222u22 : -1.238891e-01
2u0uu2222u2 : 1.203382e-01
u2u0u222u22 : 7.847223e-02
2uu0u2222u2 : -7.637023e-02
u2uu0222u22 : 4.734023e-02
2uuu02222u2 : -4.427637e-02
u20u2u2u222 : -2.447267e-02
Grad vector leading components (2/5):
2uu0uu22222 : 1.148467e-03
uuuud2u2222 : -1.090913e-03
uuudu2u2222 : -1.085036e-03
2u0uuu22222 : -1.042447e-03
2uu0u222u22 : 7.710642e-04
u2u0u2222u2 : -7.540767e-04
uu20u22u222 : 7.525004e-04
uuduu22u222 : 7.500704e-04
2u0uu222u22 : -6.915026e-04
uu02u2u2222 : 6.784312e-04
Previous CI vector leading components (3/5):
uuu0u222222 : 6.455442e-01
uu0uu222222 : 5.906090e-01
uuuu0222222 : -4.175778e-01
2uu0u2222u2 : -1.013491e-01
u2u0u222u22 : 1.006291e-01
u20uu222u22 : 9.314336e-02
2u0uu2222u2 : -9.164701e-02
u2uu0222u22 : -6.604058e-02
2uuu02222u2 : 6.470032e-02
uu2uu202222 : -2.304386e-02
Current CI vector leading components (3/5):
uuu0u222222 : -7.936305e-01
uu0uu222222 : -5.453064e-01
u2u0u222u22 : -1.243788e-01
2uu0u2222u2 : 1.239392e-01
uuuu0222222 : -1.124780e-01
u20uu222u22 : -8.536879e-02
2u0uu2222u2 : 8.525145e-02
uuu2u202222 : -2.858209e-02
2uu02uu2222 : -2.475660e-02
u2u02u2u222 : -2.465523e-02
Grad vector leading components (3/5):
2uu0uu22222 : 1.054508e-03
2u0uuu22222 : 9.568857e-04
uuudu22u222 : -8.478313e-04
uuduu22u222 : -7.358573e-04
u2u0u2222u2 : -7.084538e-04
2uu0u222u22 : 6.980335e-04
2uuu0u22222 : -6.915659e-04
uu20u22u222 : 6.905772e-04
uuuduu22222 : -6.630422e-04
uu02u2u2222 : -6.611358e-04
Previous CI vector leading components (4/5):
uuuu0222222 : 8.522172e-01
uu0uu222222 : 4.369678e-01
uuu0u222222 : 1.512930e-01
u2uu0222u22 : 1.336791e-01
2uuu02222u2 : -1.331679e-01
2u0uu2222u2 : -6.899500e-02
u20uu222u22 : 6.773565e-02
uuuu2022222 : -3.828066e-02
u2uudu2u222 : 3.307323e-02
2uuuduu2222 : 2.847610e-02
Current CI vector leading components (4/5):
uuuu0222222 : 9.175508e-01
uuu0u222222 : -2.551168e-01
uu0uu222222 : 1.821048e-01
u2uu0222u22 : 1.442205e-01
2uuu02222u2 : -1.430809e-01
uuuu2022222 : -4.121297e-02
2uu0u2222u2 : 4.015279e-02
u2u0u222u22 : -3.967140e-02
u2uudu2u222 : 3.534951e-02
2uuuduu2222 : 3.091451e-02
Grad vector leading components (4/5):
2uuu0u22222 : 1.410974e-03
u2uu02222u2 : -9.218783e-04
2uuu0222u22 : 9.191195e-04
uu2u022u222 : 9.039197e-04
uuu202u2222 : -9.006438e-04
uuuud2u2222 : -8.704307e-04
u2uu02u2222 : -8.179119e-04
2uuu022u222 : -8.061376e-04
uuuud22u222 : -7.187886e-04
2u0uuu22222 : 7.175686e-04

WARN: State 7 LASCI not converged!

Entering product-state fixed-point CI iteration
Cycle 0: max grad = 2.059317e-01 ; sigma = 0.000000e+00 ; 0/2 fragment CI solvers converged

WARN: QR decomposition removed 1 vectors.

WARN: QR decomposition removed 1 vectors.

frag= 1 nroots= 5 no= 11 ne= (5, 9) c.shape= (4, 462, 55)
smult= 5 ncsf= 21780

###Error###
/home/jangidbhavnesh/bin/pyscf/pyscf/dft/libxc.py:772: UserWarning: Since PySCF-2.3, B3LYP (and B3P86) are changed to the VWN-RPA variant, corresponding to the original definition by Stephens et al. (issue 1480) and the same as the B3LYP functional in Gaussian. To restore the VWN5 definition, you can put the setting "B3LYP_WITH_VWN5 = True" in pyscf_conf.py
warnings.warn('Since PySCF-2.3, B3LYP (and B3P86) are changed to the VWN-RPA variant, '
/home/jangidbhavnesh/bin/pyscf/pyscf/lib/linalg_helper.py:574: UserWarning: Not enough eigenvectors (len(x0)=4, nroots=5)
warnings.warn(msg)
Traceback (most recent call last):
File "/project/lgagliardi/jangidbhavnesh/LASSIS_NIL/Kramersdoublet/KramerDimerGeometry/30_22/Trash/LASSIrqT/kradoub.py", line 55, in
lsi.kernel()
File "/home/jangidbhavnesh/bin/mrh/my_pyscf/lassi/lassirq.py", line 40, in kernel
self.converged, las = self.prepare_states ()
^^^^^^^^^^^^^^^^^^^^^^
File "/home/jangidbhavnesh/bin/mrh/my_pyscf/lassi/lassirq.py", line 25, in prepare_states
las.lasci_(lroots=lroots)
File "/home/jangidbhavnesh/bin/mrh/my_pyscf/mcscf/lasci.py", line 1815, in lasci_
return self.lasci (mo_coeff=mo_coeff, ci0=ci0, lroots=lroots, lweights=lweights,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jangidbhavnesh/bin/mrh/my_pyscf/mcscf/lasci.py", line 1797, in lasci
converged, e_tot, e_states, e_cas, e_lexc, ci = run_lasci (
^^^^^^^^^^^
File "/home/jangidbhavnesh/bin/mrh/my_pyscf/mcscf/lasci.py", line 846, in run_lasci
conv, e_i, ci_i = solver.kernel (h1eff, eri_cas, ncas_sub, nelecas_sub,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jangidbhavnesh/bin/mrh/my_pyscf/mcscf/productstate.py", line 37, in kernel
h1eff, h0eff, ci0 = self.project_hfrag (h1, h2, ci0, norb_f, nelec_f,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jangidbhavnesh/bin/mrh/my_pyscf/mcscf/productstate.py", line 209, in project_hfrag
if dm1s is None: dm1s = np.stack (self.make_rdm1s (ci, norb_f, nelec_f), axis=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jangidbhavnesh/bin/mrh/my_pyscf/mcscf/productstate.py", line 263, in make_rdm1s
raise (e)
File "/home/jangidbhavnesh/bin/mrh/my_pyscf/mcscf/productstate.py", line 255, in make_rdm1s
a, b = s.make_rdm1s (c, no, nelec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jangidbhavnesh/bin/pyscf/pyscf/mcscf/addons.py", line 979, in make_rdm1s
dm1s = numpy.einsum ('r,srpq->spq', self.weights, dm1s)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/software/python-anaconda-2023.09-el8-x86_64/lib/python3.11/site-packages/numpy/core/einsumfunc.py", line 1371, in einsum
return c_einsum(*operands, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: operands could not be broadcast together with remapped shapes [original->remapped]: (5,)->(5) (2,4,11,11)->(2,11,11,4)
Command exited with non-zero status 1
Command being timed: "python kradoub.py"
User time (seconds): 19409.35
System time (seconds): 322.09
Percent of CPU this job got: 2637%
Elapsed (wall clock) time (h:mm:ss or m:ss): 12:28.06
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 29357784
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 1435590
Voluntary context switches: 9577
Involuntary context switches: 414061
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 1

@MatthewRHermes MatthewRHermes changed the title LASSISrq is failing LASSISrq can't get q CI vectors in some cases due to "QR decomposition removed..." Apr 17, 2024
@MatthewRHermes MatthewRHermes added the convergence issues The code has no trouble identifying the right answer, but has trouble getting to it label Apr 17, 2024
@MatthewRHermes
Copy link
Owner

This is due to bad linear dependencies in the iterative FCI diagonalizer. If you increase the pspace_size parameter (see #68 (comment)), it might overcome this problem. However that is a "brute force" solution and there should also be error handling for the number of CI vectors coming out wrong.

@JangidBhavnesh
Copy link
Contributor Author

Thanks for replying.

I have tried with pspace_size = 800, but I am still getting the same error.

@MatthewRHermes
Copy link
Owner

Do you still have all the same

WARN: State x LASCI not converged!

warnings with pspace_size=800?

MatthewRHermes added a commit that referenced this issue Apr 18, 2024
In mcscf.productstate kernel function, guarantee on every cycle of
the fixed-point iteration that the correct number of CI vectors are
present by calling get_init_guess before attempting to build 1-RDMs
@MatthewRHermes
Copy link
Owner

MatthewRHermes commented Apr 18, 2024

Try branch issue_86_errhandle. If it resolves this particular crash then I'll merge with dev.

@JangidBhavnesh
Copy link
Contributor Author

Do you still have all the same

WARN: State x LASCI not converged!

warnings with pspace_size=800?

Yes, they didn't converge. Actually, all of them didn't converged.

@JangidBhavnesh
Copy link
Contributor Author

Try branch issue_86_errhandle. If it resolves this particular crash then I'll merge with dev.

I will try this.

@MatthewRHermes
Copy link
Owner

If, once the crash is resolved, all of the following statements are true:

  1. This calculation consistently converges if you set q=1, and
  2. It still fails to converge with q=5, and
  3. The lines which begin with Cycle 49: (or whatever you set max_cycle_macro to -1) in the output all end with 2/2 fragment CI solvers converged,

then you should start a new issue about the failure to converge, because in LASSIrq that's pathological: only the ground state of each fragment in each rootspace should affect other fragments.

@MatthewRHermes MatthewRHermes added the bug Something isn't working label Apr 18, 2024
@JangidBhavnesh
Copy link
Contributor Author

It is failing with new branch as well.

/home/jangidbhavnesh/bin/pyscf/pyscf/dft/libxc.py:772: UserWarning: Since PySCF-2.3, B3LYP (and B3P86) are changed to the VWN-RPA variant, corresponding to the original definition by Stephens et al. (issue 1480) and the same as the B3LYP functional in Gaussian. To restore the VWN5 definition, you can put the setting "B3LYP_WITH_VWN5 = True" in pyscf_conf.py
warnings.warn('Since PySCF-2.3, B3LYP (and B3P86) are changed to the VWN-RPA variant, '
/project/lgagliardi/jangidbhavnesh/LASSIS_NIL/Kramersdoublet/KramerDimerGeometry/30_22/Trash/LASSIrqT/mrh/my_pyscf/mcscf/lasci_sync.py:164: SyntaxWarning: "is" with a literal. Did you mean "=="?
if last_x[0] is 0:
/home/jangidbhavnesh/bin/pyscf/pyscf/lib/linalg_helper.py:574: UserWarning: Not enough eigenvectors (len(x0)=4, nroots=5)
warnings.warn(msg)
Traceback (most recent call last):
File "/project/lgagliardi/jangidbhavnesh/LASSIS_NIL/Kramersdoublet/KramerDimerGeometry/30_22/Trash/LASSIrqT/kradoub.py", line 60, in
lsi.kernel()
File "/project/lgagliardi/jangidbhavnesh/LASSIS_NIL/Kramersdoublet/KramerDimerGeometry/30_22/Trash/LASSIrqT/mrh/my_pyscf/lassi/lassirq.py", line 89, in kernel
self.converged, las = self.prepare_states ()
^^^^^^^^^^^^^^^^^^^^^^
File "/project/lgagliardi/jangidbhavnesh/LASSIS_NIL/Kramersdoublet/KramerDimerGeometry/30_22/Trash/LASSIrqT/mrh/my_pyscf/lassi/lassirq.py", line 26, in prepare_states
las.lasci_(lroots=lroots)
File "/project/lgagliardi/jangidbhavnesh/LASSIS_NIL/Kramersdoublet/KramerDimerGeometry/30_22/Trash/LASSIrqT/mrh/my_pyscf/mcscf/lasci.py", line 1815, in lasci_
return self.lasci (mo_coeff=mo_coeff, ci0=ci0, lroots=lroots, lweights=lweights,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/project/lgagliardi/jangidbhavnesh/LASSIS_NIL/Kramersdoublet/KramerDimerGeometry/30_22/Trash/LASSIrqT/mrh/my_pyscf/mcscf/lasci.py", line 1797, in lasci
converged, e_tot, e_states, e_cas, e_lexc, ci = run_lasci (
^^^^^^^^^^^
File "/project/lgagliardi/jangidbhavnesh/LASSIS_NIL/Kramersdoublet/KramerDimerGeometry/30_22/Trash/LASSIrqT/mrh/my_pyscf/mcscf/lasci.py", line 846, in run_lasci
conv, e_i, ci_i = solver.kernel (h1eff, eri_cas, ncas_sub, nelecas_sub,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/project/lgagliardi/jangidbhavnesh/LASSIS_NIL/Kramersdoublet/KramerDimerGeometry/30_22/Trash/LASSIrqT/mrh/my_pyscf/mcscf/productstate.py", line 60, in kernel
if not converged: self._debug_csfs (log, ci0, ci1, norb_f, nelec_f, grad)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/project/lgagliardi/jangidbhavnesh/LASSIS_NIL/Kramersdoublet/KramerDimerGeometry/30_22/Trash/LASSIrqT/mrh/my_pyscf/mcscf/productstate.py", line 163, in _debug_csfs
for l, c in zip (c1_lbls[i], c1_coeffs[i]):
~~~~~~~^^^
IndexError: index 4 is out of bounds for axis 0 with size 4

MatthewRHermes added a commit that referenced this issue Apr 19, 2024
In mcscf.productstate kernel function, guarantee correct number of
CI vectors if calculation ends without convergence by calling
get_init_guess.
@JangidBhavnesh
Copy link
Contributor Author

JangidBhavnesh commented Apr 19, 2024

The above problem is being solved now.

But after state preparation, it has shown this error. Idk when that should be normal, since all the states were not converged.

lsi.kernel()

File "/project/lgagliardi/jangidbhavnesh/LASSIS_NIL/Kramersdoublet/KramerDimerGeometry/30_22/Trash/LASSIrqT/mrh/my_pyscf/lassi/lassirq.py", line 97, in kernel
return LASSI.kernel (self, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/project/lgagliardi/jangidbhavnesh/LASSIS_NIL/Kramersdoublet/KramerDimerGeometry/30_22/Trash/LASSIrqT/mrh/my_pyscf/lassi/lassi.py", line 738, in kernel
e_roots, si = lassi(self, mo_coeff=mo_coeff, ci=ci, veff_c=veff_c, h2eff_sub=h2eff_sub, orbsym=orbsym,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/project/lgagliardi/jangidbhavnesh/LASSIS_NIL/Kramersdoublet/KramerDimerGeometry/30_22/Trash/LASSIrqT/mrh/my_pyscf/lassi/lassi.py", line 285, in lassi
e, c, s2_blk = _eig_block (las1, e0, h1, h2, ci_blk, nelec_blk, sym, soc,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/project/lgagliardi/jangidbhavnesh/LASSIS_NIL/Kramersdoublet/KramerDimerGeometry/30_22/Trash/LASSIrqT/mrh/my_pyscf/lassi/lassi.py", line 384, in _eig_block
ham_blk, s2_blk, ovlp_blk = op[opt].ham (las, h1, h2, ci_blk, nelec_blk, soc=soc,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/project/lgagliardi/jangidbhavnesh/LASSIS_NIL/Kramersdoublet/KramerDimerGeometry/30_22/Trash/LASSIrqT/mrh/my_pyscf/lassi/op_o1.py", line 1486, in ham
hopping_index, ints, lroots = make_ints (las, ci, nelec_frs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/project/lgagliardi/jangidbhavnesh/LASSIS_NIL/Kramersdoublet/KramerDimerGeometry/30_22/Trash/LASSIrqT/mrh/my_pyscf/lassi/op_o1.py", line 1413, in make_ints
tdmint = LSTDMint1 (ci[ifrag], hopping_index[ifrag], zerop_index, onep_index, nlas[ifrag],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/project/lgagliardi/jangidbhavnesh/LASSIS_NIL/Kramersdoublet/KramerDimerGeometry/30_22/Trash/LASSIrqT/mrh/my_pyscf/lassi/op_o1.py", line 235, in init
self.time_crunch = self.init_crunch()
^^^^^^^^^^^^^^^^^^^^
File "/project/lgagliardi/jangidbhavnesh/LASSIS_NIL/Kramersdoublet/KramerDimerGeometry/30_22/Trash/LASSIrqT/mrh/my_pyscf/lassi/op_o1.py", line 401, in init_crunch
raise RuntimeError (errmsg.format (w))
RuntimeError: States w/in single Hilbert space must be orthonormal; eigvals (ovlp) = [-1.66533454e-16 1.00000000e+00 1.00000000e+00 1.00000000e+00
1.00000000e+00]

@JangidBhavnesh
Copy link
Contributor Author

The above error was with r=3, and q=5.

Then I tried r=1, and q=5 I got the same error. It seems the latest branch has cause some isssues

MatthewRHermes added a commit that referenced this issue Apr 19, 2024
QR decomposition doesn't work if the basis has linear dependencies!
MatthewRHermes added a commit that referenced this issue Apr 19, 2024
Nevermind, I guess QR decomp just doesn't work at all!
@MatthewRHermes
Copy link
Owner

OK try now

@JangidBhavnesh
Copy link
Contributor Author

Its solved now.

There are convergence issues for which I will raise another issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working convergence issues The code has no trouble identifying the right answer, but has trouble getting to it
Projects
None yet
Development

No branches or pull requests

2 participants