detcas(1)
π detcas β bestie, it's the CASSCF era
okay so hi, welcome to detcas, aka the Determinant Configuration Interaction / Complete Active Space Self-Consistent-Field Program. that's the whole name, it's a mouthful, we say it with our chest anyway. β¨
πΈ NAME πΈ
detcas β Determinant Configuration Interaction / Complete Active Space Self-Consistent-Field Program. she does orbitals. she does them self-consistently. periodt.
π¦ DESCRIPTION π¦
so like, detcas does a complete-active-space self-consistent-field (CASSCF) optimization of molecular orbitals, and she does it via a two-step procedure working together with the determinant configuration interaction program DETCI. iconic duo, no cap.
the program is fairly simple (her words, not mine) and currently uses a Newton-Raphson approach to update the orbitals, employing a simple approximate orbital Hessian. convergence gets accelerated using Pulay's direct inversion of the iterative subspace (DIIS) procedure. π«
the code has been written to allow more general wavefunctions that don't necessarily feature a full CI treatment of the active space. in particular, any restricted active space (RAS) CI wavefunction supported by DETCI can be used, which means you can get MCSCF wavefunctions of the RASSCF type. we love range. π
π REFERENCES π
Approximate Orbital Hessian:
- G. Chaban, M. W. Schmidt, and M. S. Gordon, Theor. Chim. Acta 97, 88-95 (1997).
Restricted Active Space CI:
- Determinant Based Configuration Interaction Algorithms for Complete and Restricted Configuration Interaction Spaces, J. Olsen, B. O. Roos, P. Jorgensen, and H. J. Aa. Jensen, J. Chem. Phys. 89, 2185 (1988).
Restricted Active Space SCF:
- P.-A. Malmqvist, A. Rendell, and B. O. Roos, J. Phys. Chem. 94, 5477 (1990).
DETCI Program:
- C. D. Sherrill, Computational Algorithms for Large-Scale Full and Multi-Reference Configuration Interaction Wavefunctions, PhD thesis, University of Georgia, Athens, GA, 1996.
- C. D. Sherrill and H. F. Schaefer, The Configuration Interaction Method: Advances in Highly Correlated Approaches, Adv. Quantum Chem. 34, 143-269 (1999).
like she CITED her sources, she's an academic baddie, we stan. π
π FILES REQUIRED π
these ones she needs, bestie. no negotiating:
input.dat - Input file
file78 - MO one-electron integrals (fzc operator)
file72 - MO two-electron integrals
file73 - MO one-particle density matrix
file74 - MO two-particle density matrix
file75 - MO Lagrangian
β¨ FILES UPDATED β¨
and these ones she writes to, so watch out:
output.dat - Output file
file14.dat - Record of energies and orbital gradients
π INPUT FORMAT π
The following command-line arguments are available:
-quietβ same result asPRINT=0, she's just being quiet about it. π€«-ofname β gives the filename for the output file. defaults tooutput.dat.
Additional input for this program is read from the file input.dat. the more commonly used keywords are:
π the ones you'll actually use π
WFN = stringβ the supported wave function types areCASSCFandRASSCF. pick your fighter.CONVERGENCE = integerβ convergence desired on the orbital gradient. convergence is achieved when the RMS of the error in the orbital gradient is less than10**(-n). the default is4for energy calculations and7for gradients.DOCC = integer_arrayβ this vector gives the number of doubly occupied orbitals in each irrep. there is no default. ngl you gotta bring your own.SOCC = integer_arrayβ this vector gives the number of singly occupied orbitals in each irrep. there is no default. same energy.ENERGY_CONVERGENCE = integerβ convergence desired on the total MCSCF energy. the default is7.FROZEN_DOCC = integer_arrayβ the number of lowest energy doubly occupied orbitals in each irreducible representation which will literally be frozen (not updated in the MCSCF). the Cotton ordering of the irredicible representations is used. the default is the zero vector.FROZEN_UOCC = integer_vectorβ the number of highest energy unoccupied orbitals in each irreducible representation which will literally be frozen (not updated in the MCSCF). the default is the zero vector.RESTRICTED_DOCC = integer_arrayβ the number of lowest energy doubly occupied orbitals in each irreducible representation which will be optimized but kept doubly occupied in the MCSCF. these orbitals come after theFROZEN_DOCCorbitals. the default is the zero vector.RESTRICTED_UOCC = integer_arrayβ the number of highest energy unoccupied orbitals in each irreducible representation which will be optimized but kept unoccupied in the MCSCF. these orbitals come before theFROZEN_UOCCorbitals. the default is the zero vector.NCASITER = integerβ maximum number of iterations to optimize the orbitals. > this option should be specified in theDEFAULTsection of input, because it needs to be visible to the control programPSI. defaults to1.PRINT = integerβ this option determines the verbosity of the output. a value of1or2specifies minimal printing, a value of3specifies verbose printing. values of4or5are used for debugging. do not use level 5 unless the test case is very small (e.g.STO H2O CISD). π she said be careful.
π§ the less commonly used keywords π§
these are the deep cuts, the b-sides, the iykyk. πΈ
DIIS_FREQ = integerβ the DIIS extrapolation procedure will be attempted every n iterations. the default is1.DIIS_MAX_VECS = integerβ the maximum number of subspace vectors for the DIIS procedure. after this number of vectors are reached, older vectors will be dropped from the subspace as necessary. the default is8.DIIS_MIN_VECS = integerβ the minimum number of subspace vectors before a DIIS interpolation can be performed. the default is2. it doesn't make sense to have values less than2. (fr fr, don't.)DIIS_START = integerβ the iteration number when Pulay's Direct Inversion of the Iterative Subspace (DIIS) procedure for acceleration of convergence should be turned on. the default is3. prior to this iteration, vectors are not added to the DIIS subspace. the first DIIS step will not be taken untilDIIS_MIN_VECSvectors are in the DIIS subspace.LAG_FILE = integerβ file (unit number) for reading the lagrangian matrix. the default value is currently75.OPDM_FILE = integerβ file (unit number) for reading the one-particle density matrix. the default value is currently73.SCALE_GRAD = booleanβ tells whether to scale the orbital gradient by the approximate (diagonal) orbital Hessian. the default isTRUE.SCALE_STEP = realβ scale factor for the orbital rotation step. default is1.0.TPDM_FILE = integerβ file (unit number) for reading the two-particle density matrix. the default value is currently74.LEVEL_SHIFT = booleanβ tells whether to allow for level shifting of the hessian matrix. this can be used to ensure that the hessian is positive definite for the beginning iterations. > if the hessian is not positive definite near convergence, then this may be a sign of numerical instabilities in the MCSCF. the default isTRUE.SHIFT = realβ tells how much the diagonal elements of the hessian should be shifted for level shifting. default is0.01.DETERM_MIN = realβ minimum allowed valued for the determinant of the hessian matrix if level shifting is on. this is not used ifLEVEL_SHIFT=FALSE. default is0.00001.STEP_MAX = realβ this is the maximum allowed single orbital rotation. default is0.30.FORCE_STEP = booleanβ this allows the user to overide the calculated step and to force a step in a particular direction. this can be useful if trying to force the calculation away from a saddle point. the default isFALSE.FORCE_PAIR = integerβ this is the index for the independent pair which is to be rotated ifFORCE_STEP=TRUE. this is ignored otherwise. there is no default.FORCE_VALUE = realβ this is the orbital rotation value for rotating the orbitals specified byFORCE_PAIR. this is only used ifFORCE_STEPis set toTRUE. the default value is0.0.CHECK_HESSIAN = booleanβ calculate the eigenvalues of the orbital hessian. this is good for checking for saddle-point solutions. should be used without level shifting. the default isFALSE.EIGEN_VECTORS = booleanβ do you want to calculate the eigenvectors of the orbital hessian as well. this is ignored ifCHECK_HESSIAN=FALSE. default isFALSE.
and that's the whole page, bestie!! go optimize some orbitals, you're literally the main character of quantum chemistry πβ¨
this was detcas(1), brought to you by the good people at source/version detcas(1), dated 8 May, 1998 β yeah she's a vintage icon, an elder, and she still ate. π«Άπ
π¦ where this page comes from
- debian bookworm: psi3 3.4.0-6+b3
- ubuntu jammy: psi3 3.4.0-6ubuntu1
- ubuntu noble: psi3 3.4.0-6ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms