VeloxChem enables the exploration of potential energy surfaces through efficient geometry optimizations and transition‑state searches, using the geomeTRIC module as a robust engine that provides stable structure updates for molecular systems.
Ground state optimization¶
Python script
import veloxchem as vlx
molecule = vlx.Molecule.read_name("water")
basis = vlx.MolecularBasis.read(molecule, "def2-svp")
scf_drv = vlx.ScfRestrictedDriver()
scf_drv.xcfun = "b3lyp"
results = scf_drv.compute(molecule, basis)
opt_drv = vlx.OptimizationDriver(scf_drv)
opt_results = opt_drv.compute(molecule, basis, results)Reading water from PubChem...
Reference: S. Kim, J. Chen, T. Cheng, A. Gindulyte, J. He, S. He, Q. Li, B. A. Shoemaker, P. A. Thiessen, B. Yu, L. Zaslavsky, J. Zhang, E. E. Bolton, Nucleic Acids Res., 2025, 53, D1516-D1525.
Please double-check the compound since names may refer to more than one record.
Self Consistent Field Driver Setup
====================================
Wave Function Model : Spin-Restricted Kohn-Sham
Initial Guess Model : Superposition of Atomic Densities
Convergence Accelerator : Two Level Direct Inversion of Iterative Subspace
Max. Number of Iterations : 50
Max. Number of Error Vectors : 10
Convergence Threshold : 1.0e-06
ERI Screening Threshold : 1.0e-12
Linear Dependence Threshold : 1.0e-06
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
* Info * Using the B3LYP functional.
P. J. Stephens, F. J. Devlin, C. F. Chabalowski, and M. J. Frisch., J. Phys. Chem. 98, 11623 (1994)
* Info * Using the Libxc library (v7.0.0).
S. Lehtola, C. Steigemann, M. J.T. Oliveira, and M. A.L. Marques., SoftwareX 7, 1–5 (2018)
* Info * Using the following algorithm for XC numerical integration.
J. Kussmann, H. Laqua and C. Ochsenfeld, J. Chem. Theory Comput. 2021, 17, 1512-1521
* Info * Starting Reduced Basis SCF calculation...
* Info * ...done. SCF energy in reduced basis set: -75.914424353230 a.u. Time: 0.56 sec.
Iter. | Kohn-Sham Energy | Energy Change | Gradient Norm | Max. Gradient | Density Change
--------------------------------------------------------------------------------------------
1 -76.354544625775 0.0000000000 0.17580836 0.02347998 0.00000000
2 -76.356750787539 -0.0022061618 0.07278443 0.00993177 0.04631304
3 -76.357023560109 -0.0002727726 0.04650173 0.00521592 0.02403964
4 -76.357217260522 -0.0001937004 0.00031128 0.00005140 0.01027668
5 -76.357217270761 -0.0000000102 0.00001019 0.00000111 0.00008250
6 -76.357217270774 -0.0000000000 0.00000173 0.00000024 0.00000491
7 -76.357217270774 -0.0000000000 0.00000010 0.00000002 0.00000068
*** SCF converged in 7 iterations. Time: 3.32 sec.
Spin-Restricted Kohn-Sham:
--------------------------
Total Energy : -76.3572172708 a.u.
Electronic Energy : -85.2452833708 a.u.
Nuclear Repulsion Energy : 8.8880661000 a.u.
------------------------------------
Gradient Norm : 0.0000000992 a.u.
Ground State Information
------------------------
Charge of Molecule : 0.0
Multiplicity (2S+1) : 1
Magnetic Quantum Number (M_S) : 0.0
Optimization Driver Setup
===========================
Coordinate System : TRIC
Constraints : No
Max. Number of Steps : 300
Transition State : No
IRC : No
Hessian : never
* Info * Using geomeTRIC for geometry optimization.
L.-P. Wang and C.C. Song, J. Chem. Phys. 2016, 144, 214108
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -2.972803000000 0.616643000000 0.437549000000
H -2.711441000000 1.354416000000 -0.169068000000
H -2.344331000000 0.687504000000 1.199523000000
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O -0.015838409048 -0.014394478093 -0.002765529056
H 0.003311469506 0.015604775325 -0.015844474979
H 0.012554266273 -0.001186748661 0.018614401867
*** Time spent in gradient calculation: 1.08 sec ***
* Info * Energy : -76.3572172708 a.u.
* Info * Gradient : 2.218664e-02 a.u. (RMS)
* Info * 2.248382e-02 a.u. (Max)
* Info * Time : 3.00 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -2.973639318721 0.615900947360 0.437408621922
H -2.704153425129 1.341143686566 -0.141827208419
H -2.351649897160 0.700770684051 1.172282952526
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O -0.001039000116 -0.000945418937 -0.000185869809
H 0.000873103598 -0.000172932914 0.001412826157
H 0.000163671087 0.001115298579 -0.001231541903
*** Time spent in gradient calculation: 1.43 sec ***
* Info * Energy : -76.3582959538 a.u.
* Info * Gradient : 1.589922e-03 a.u. (RMS)
* Info * 1.669818e-03 a.u. (Max)
* Info * Time : 2.80 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -2.970920012957 0.618385035035 0.437941928050
H -2.706664594651 1.342034457138 -0.146362118203
H -2.351804062225 0.697475749422 1.176417639173
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O -0.000257698135 -0.000236657308 -0.000046651479
H 0.000112827931 0.000147741018 -0.000038842352
H 0.000144232583 0.000087259505 0.000082455064
*** Time spent in gradient calculation: 1.41 sec ***
* Info * Energy : -76.3583188797 a.u.
* Info * Gradient : 2.555215e-04 a.u. (RMS)
* Info * 3.529750e-04 a.u. (Max)
* Info * Time : 5.50 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -2.970626262742 0.618668318651 0.438040210476
H -2.706861356448 1.341990341921 -0.146535996752
H -2.351880327677 0.697291937434 1.176596295641
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.000008735409 0.000005849656 -0.000000642586
H -0.000002589715 -0.000006770609 0.000005723543
H -0.000007042252 -0.000001012072 -0.000008089225
*** Time spent in gradient calculation: 1.15 sec ***
* Info * Energy : -76.3583190766 a.u.
* Info * Gradient : 1.020292e-05 a.u. (RMS)
* Info * 1.077280e-05 a.u. (Max)
* Info * Time : 2.33 sec
* Info * Geometry optimization completed.
Final Geometry (Angstroms)
============================
Atom Coordinate X Coordinate Y Coordinate Z
O -2.970626262742 0.618668318651 0.438040210476
H -2.706861356448 1.341990341921 -0.146535996752
H -2.351880327677 0.697291937434 1.176596295641
Summary of Geometry Optimization
==================================
Opt.Step Energy (a.u.) Energy Change (a.u.) Displacement (RMS, Max)
-------------------------------------------------------------------------------------
0 -76.357217270774 0.000000000000 0.000e+00 0.000e+00
1 -76.358295953780 -0.001078683006 2.545e-02 3.117e-02
2 -76.358318879704 -0.000022925924 4.812e-03 5.287e-03
3 -76.358319076596 -0.000000196892 3.229e-04 3.954e-04
Statistical Deviation between
Optimized Geometry and Initial Geometry
=========================================
Internal Coord. RMS deviation Max. deviation
-----------------------------------------------------------
Bonds 0.024 Angstrom 0.024 Angstrom
Angles 1.419 degree 1.419 degree
*** Time spent in Optimization Driver: 13.68 sec
* Info * Optimization results written to file: vlx_20260306_d415dcdb.h5
Text file
Please refer to the keyword list for a complete set of options. Dispersion can be activated in the @method settings section by using the keyword dispersion.
@jobs
task: optimize
@end
@method settings
xcfun: b3lyp
basis: def2-svp
dispersion: yes # use dft-d4 correction
@end
@molecule
charge: 0
multiplicity: 1
xyz:
...
@end
Figure: Optimization of the molecular structure in the ground state, S0.
Excited state optimization¶
Python script
import veloxchem as vlx
molecule = vlx.Molecule.read_smiles("F[H]")
basis = vlx.MolecularBasis.read(molecule, 'def2-svp')
scf_drv = vlx.ScfRestrictedDriver()
scf_drv.xcfun = 'b3lyp'
scf_results = scf_drv.compute(molecule, basis)
rsp_drv = vlx.LinearResponseEigenSolver()
rsp_drv.nstates = 2
rsp_results = rsp_drv.compute(molecule, basis, scf_results)
grad_drv = vlx.TddftGradientDriver(scf_drv)
grad_drv.state_deriv_index = 1
opt_drv = vlx.OptimizationDriver(grad_drv)
opt_results = opt_drv.compute(molecule, basis, scf_drv, rsp_drv, rsp_results)
Self Consistent Field Driver Setup
====================================
Wave Function Model : Spin-Restricted Kohn-Sham
Initial Guess Model : Superposition of Atomic Densities
Convergence Accelerator : Two Level Direct Inversion of Iterative Subspace
Max. Number of Iterations : 50
Max. Number of Error Vectors : 10
Convergence Threshold : 1.0e-06
ERI Screening Threshold : 1.0e-12
Linear Dependence Threshold : 1.0e-06
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
* Info * Using the B3LYP functional.
P. J. Stephens, F. J. Devlin, C. F. Chabalowski, and M. J. Frisch., J. Phys. Chem. 98, 11623 (1994)
* Info * Using the Libxc library (v7.0.0).
S. Lehtola, C. Steigemann, M. J.T. Oliveira, and M. A.L. Marques., SoftwareX 7, 1–5 (2018)
* Info * Using the following algorithm for XC numerical integration.
J. Kussmann, H. Laqua and C. Ochsenfeld, J. Chem. Theory Comput. 2021, 17, 1512-1521
* Info * Starting Reduced Basis SCF calculation...
* Info * ...done. SCF energy in reduced basis set: -99.899016267941 a.u. Time: 0.59 sec.
Iter. | Kohn-Sham Energy | Energy Change | Gradient Norm | Max. Gradient | Density Change
--------------------------------------------------------------------------------------------
1 -100.347975393056 0.0000000000 0.15274869 0.02336531 0.00000000
2 -100.349745817478 -0.0017704244 0.02616630 0.00439399 0.03844461
3 -100.349790012060 -0.0000441946 0.00625285 0.00077349 0.00532489
4 -100.349792768781 -0.0000027567 0.00174242 0.00019250 0.00146665
5 -100.349793003344 -0.0000002346 0.00001764 0.00000214 0.00033092
6 -100.349793003381 -0.0000000000 0.00000315 0.00000036 0.00000659
7 -100.349793003382 -0.0000000000 0.00000005 0.00000001 0.00000062
*** SCF converged in 7 iterations. Time: 1.10 sec.
Spin-Restricted Kohn-Sham:
--------------------------
Total Energy : -100.3497930034 a.u.
Electronic Energy : -105.1823956726 a.u.
Nuclear Repulsion Energy : 4.8326026692 a.u.
------------------------------------
Gradient Norm : 0.0000000540 a.u.
Ground State Information
------------------------
Charge of Molecule : 0.0
Multiplicity (2S+1) : 1
Magnetic Quantum Number (M_S) : 0.0
Linear Response EigenSolver Setup
===================================
Number of States : 2
Max. Number of Iterations : 150
Convergence Threshold : 1.0e-04
ERI Screening Threshold : 1.0e-12
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
* Info * Using the B3LYP functional.
P. J. Stephens, F. J. Devlin, C. F. Chabalowski, and M. J. Frisch., J. Phys. Chem. 98, 11623 (1994)
* Info * Using the Libxc library (v7.0.0).
S. Lehtola, C. Steigemann, M. J.T. Oliveira, and M. A.L. Marques., SoftwareX 7, 1–5 (2018)
* Info * Using the following algorithm for XC numerical integration.
J. Kussmann, H. Laqua and C. Ochsenfeld, J. Chem. Theory Comput. 2021, 17, 1512-1521
* Info * 2 gerade trial vectors in reduced space
* Info * 2 ungerade trial vectors in reduced space
*** Iteration: 1 * Residuals (Max,Min): 1.48e-01 and 1.48e-01
* Info * 4 gerade trial vectors in reduced space
* Info * 4 ungerade trial vectors in reduced space
*** Iteration: 2 * Residuals (Max,Min): 1.88e-02 and 1.88e-02
* Info * 6 gerade trial vectors in reduced space
* Info * 6 ungerade trial vectors in reduced space
*** Iteration: 3 * Residuals (Max,Min): 1.25e-03 and 1.25e-03
* Info * 8 gerade trial vectors in reduced space
* Info * 8 ungerade trial vectors in reduced space
*** Iteration: 4 * Residuals (Max,Min): 3.59e-05 and 3.48e-05
*** Linear response converged in 4 iterations. Time: 0.96 sec
Electric Transition Dipole Moments (dipole length, a.u.)
--------------------------------------------------------
X Y Z
Excited State S1: 0.102670 -0.115897 -0.150932
Excited State S2: 0.170911 -0.019252 0.131043
Electric Transition Dipole Moments (dipole velocity, a.u.)
----------------------------------------------------------
X Y Z
Excited State S1: 0.238183 -0.268869 -0.350147
Excited State S2: 0.396495 -0.044663 0.304006
Magnetic Transition Dipole Moments (a.u.)
-----------------------------------------
X Y Z
Excited State S1: 0.202886 0.293759 -0.087559
Excited State S2: -0.034436 0.052375 0.052608
One-Photon Absorption
---------------------
Excited State S1: 0.33433061 a.u. 9.09760 eV Osc.Str. 0.0104
Excited State S2: 0.33433111 a.u. 9.09761 eV Osc.Str. 0.0104
Electronic Circular Dichroism
-----------------------------
Excited State S1: Rot.Str. -0.000000 a.u. -0.0000 [10**(-40) cgs]
Excited State S2: Rot.Str. 0.000000 a.u. 0.0000 [10**(-40) cgs]
Character of excitations:
Excited state 1
---------------
HOMO -> LUMO -0.9993
Excited state 2
---------------
HOMO-1 -> LUMO 0.9993
Optimization Driver Setup
===========================
Coordinate System : TRIC
Constraints : No
Max. Number of Steps : 300
Transition State : No
IRC : No
Hessian : never
* Info * Using geomeTRIC for geometry optimization.
L.-P. Wang and C.C. Song, J. Chem. Phys. 2016, 144, 214108
* Info * Computing energy and gradient...
RPA Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Excited States of Interest : 1
* Info * Computing orbital response...
* Info * Using the B3LYP functional.
P. J. Stephens, F. J. Devlin, C. F. Chabalowski, and M. J. Frisch., J. Phys. Chem. 98, 11623 (1994)
* Info * Using the Libxc library (v7.0.0).
S. Lehtola, C. Steigemann, M. J.T. Oliveira, and M. A.L. Marques., SoftwareX 7, 1–5 (2018)
* Info * Using the following algorithm for XC numerical integration.
J. Kussmann, H. Laqua and C. Ochsenfeld, J. Chem. Theory Comput. 2021, 17, 1512-1521
* Info * Computing the right-hand side (RHS) of CPHF/CPKS equations...
* Info * RHS of CPHF/CPKS equations computed in 0.15 sec.
Coupled-Perturbed Kohn-Sham Solver Setup
------------------------------------------
Solver Type : Iterative Subspace Algorithm
Max. Number of Iterations : 150
Convergence Threshold : 1.0e-04
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
* Info * 1 trial vectors in reduced space
*** Iteration: 1 * Residuals (Max,Min): 2.81e-01 and 2.81e-01
* Info * 2 trial vectors in reduced space
*** Iteration: 2 * Residuals (Max,Min): 3.78e-02 and 3.78e-02
* Info * 3 trial vectors in reduced space
*** Iteration: 3 * Residuals (Max,Min): 5.51e-03 and 5.51e-03
* Info * 4 trial vectors in reduced space
*** Iteration: 4 * Residuals (Max,Min): 2.99e-04 and 2.99e-04
* Info * 5 trial vectors in reduced space
*** Iteration: 5 * Residuals (Max,Min): 9.87e-06 and 9.87e-06
*** Coupled-Perturbed Kohn-Sham converged in 5 iterations. Time: 1.01 sec
* Info * Computing the omega Lagrange multipliers...
* Info * The omega Lagrange multipliers computed in 0.37 sec.
* Info * Computing ground-state gradient...
* Info * Computing excited-state gradient...
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
F 1.170662000000 -1.436922000000 1.995343000000
H 1.552048000000 -0.609574000000 1.619475000000
Analytical Gradient (Hartree/Bohr)
------------------------------------
Excited State 1
Atom Gradient X Gradient Y Gradient Z
F 0.066233780598 0.143687450823 -0.065278483392
H -0.066230780554 -0.143675689603 0.065272541503
*** Time spent in gradient calculation: 3.92 sec ***
* Info * Energy : -100.0154623903 a.u.
* Info * Gradient : 1.397426e-01 a.u. (RMS)
* Info * 2.031964e-01 a.u. (Max)
* Info * Time : 8.57 sec
* Info * Computing energy and gradient...
RPA Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Excited States of Interest : 1
* Info * Computing orbital response...
* Info * Using the B3LYP functional.
P. J. Stephens, F. J. Devlin, C. F. Chabalowski, and M. J. Frisch., J. Phys. Chem. 98, 11623 (1994)
* Info * Using the Libxc library (v7.0.0).
S. Lehtola, C. Steigemann, M. J.T. Oliveira, and M. A.L. Marques., SoftwareX 7, 1–5 (2018)
* Info * Using the following algorithm for XC numerical integration.
J. Kussmann, H. Laqua and C. Ochsenfeld, J. Chem. Theory Comput. 2021, 17, 1512-1521
* Info * Computing the right-hand side (RHS) of CPHF/CPKS equations...
* Info * RHS of CPHF/CPKS equations computed in 1.54 sec.
Coupled-Perturbed Kohn-Sham Solver Setup
------------------------------------------
Solver Type : Iterative Subspace Algorithm
Max. Number of Iterations : 150
Convergence Threshold : 1.0e-04
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
* Info * 1 trial vectors in reduced space
*** Iteration: 1 * Residuals (Max,Min): 2.98e-01 and 2.98e-01
* Info * 2 trial vectors in reduced space
*** Iteration: 2 * Residuals (Max,Min): 3.87e-02 and 3.87e-02
* Info * 3 trial vectors in reduced space
*** Iteration: 3 * Residuals (Max,Min): 6.35e-03 and 6.35e-03
* Info * 4 trial vectors in reduced space
*** Iteration: 4 * Residuals (Max,Min): 3.62e-04 and 3.62e-04
* Info * 5 trial vectors in reduced space
*** Iteration: 5 * Residuals (Max,Min): 1.01e-05 and 1.01e-05
*** Coupled-Perturbed Kohn-Sham converged in 5 iterations. Time: 2.18 sec
* Info * Computing the omega Lagrange multipliers...
* Info * The omega Lagrange multipliers computed in 0.20 sec.
* Info * Computing ground-state gradient...
* Info * Computing excited-state gradient...
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
F 1.135839259801 -1.512590671391 2.029734578822
H 1.586807238013 -0.534154279384 1.585209193688
Analytical Gradient (Hartree/Bohr)
------------------------------------
Excited State 1
Atom Gradient X Gradient Y Gradient Z
F 0.039480055605 0.085697210826 -0.038915042467
H -0.039487704433 -0.085682805900 0.038924215976
*** Time spent in gradient calculation: 4.88 sec ***
* Info * Energy : -100.0606649152 a.u.
* Info * Gradient : 8.333263e-02 a.u. (RMS)
* Info * 1.211840e-01 a.u. (Max)
* Info * Time : 8.06 sec
* Info * Computing energy and gradient...
RPA Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Excited States of Interest : 1
* Info * Computing orbital response...
* Info * Using the B3LYP functional.
P. J. Stephens, F. J. Devlin, C. F. Chabalowski, and M. J. Frisch., J. Phys. Chem. 98, 11623 (1994)
* Info * Using the Libxc library (v7.0.0).
S. Lehtola, C. Steigemann, M. J.T. Oliveira, and M. A.L. Marques., SoftwareX 7, 1–5 (2018)
* Info * Using the following algorithm for XC numerical integration.
J. Kussmann, H. Laqua and C. Ochsenfeld, J. Chem. Theory Comput. 2021, 17, 1512-1521
* Info * Computing the right-hand side (RHS) of CPHF/CPKS equations...
* Info * RHS of CPHF/CPKS equations computed in 1.80 sec.
Coupled-Perturbed Kohn-Sham Solver Setup
------------------------------------------
Solver Type : Iterative Subspace Algorithm
Max. Number of Iterations : 150
Convergence Threshold : 1.0e-04
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
* Info * 1 trial vectors in reduced space
*** Iteration: 1 * Residuals (Max,Min): 2.74e-01 and 2.74e-01
* Info * 2 trial vectors in reduced space
*** Iteration: 2 * Residuals (Max,Min): 3.69e-02 and 3.69e-02
* Info * 3 trial vectors in reduced space
*** Iteration: 3 * Residuals (Max,Min): 6.12e-03 and 6.12e-03
* Info * 4 trial vectors in reduced space
*** Iteration: 4 * Residuals (Max,Min): 4.67e-04 and 4.67e-04
* Info * 5 trial vectors in reduced space
*** Iteration: 5 * Residuals (Max,Min): 9.21e-06 and 9.21e-06
*** Coupled-Perturbed Kohn-Sham converged in 5 iterations. Time: 2.50 sec
* Info * Computing the omega Lagrange multipliers...
* Info * The omega Lagrange multipliers computed in 0.22 sec.
* Info * Computing ground-state gradient...
* Info * Computing excited-state gradient...
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
F 1.085373486173 -1.625260346269 2.079418845609
H 1.637674089502 -0.422239949631 1.535043900238
Analytical Gradient (Hartree/Bohr)
------------------------------------
Excited State 1
Atom Gradient X Gradient Y Gradient Z
F 0.014436033789 0.031438925867 -0.014230291389
H -0.014443226911 -0.031459968579 0.014235838253
*** Time spent in gradient calculation: 4.89 sec ***
* Info * Energy : -100.0944383749 a.u.
* Info * Gradient : 3.055215e-02 a.u. (RMS)
* Info * 4.447624e-02 a.u. (Max)
* Info * Time : 7.87 sec
* Info * Computing energy and gradient...
RPA Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Excited States of Interest : 1
* Info * Computing orbital response...
* Info * Using the B3LYP functional.
P. J. Stephens, F. J. Devlin, C. F. Chabalowski, and M. J. Frisch., J. Phys. Chem. 98, 11623 (1994)
* Info * Using the Libxc library (v7.0.0).
S. Lehtola, C. Steigemann, M. J.T. Oliveira, and M. A.L. Marques., SoftwareX 7, 1–5 (2018)
* Info * Using the following algorithm for XC numerical integration.
J. Kussmann, H. Laqua and C. Ochsenfeld, J. Chem. Theory Comput. 2021, 17, 1512-1521
* Info * Computing the right-hand side (RHS) of CPHF/CPKS equations...
* Info * RHS of CPHF/CPKS equations computed in 0.33 sec.
Coupled-Perturbed Kohn-Sham Solver Setup
------------------------------------------
Solver Type : Iterative Subspace Algorithm
Max. Number of Iterations : 150
Convergence Threshold : 1.0e-04
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
* Info * 1 trial vectors in reduced space
*** Iteration: 1 * Residuals (Max,Min): 2.51e-01 and 2.51e-01
* Info * 2 trial vectors in reduced space
*** Iteration: 2 * Residuals (Max,Min): 3.63e-02 and 3.63e-02
* Info * 3 trial vectors in reduced space
*** Iteration: 3 * Residuals (Max,Min): 5.28e-03 and 5.28e-03
* Info * 4 trial vectors in reduced space
*** Iteration: 4 * Residuals (Max,Min): 5.00e-04 and 5.00e-04
* Info * 5 trial vectors in reduced space
*** Iteration: 5 * Residuals (Max,Min): 8.22e-06 and 8.22e-06
*** Coupled-Perturbed Kohn-Sham converged in 5 iterations. Time: 3.96 sec
* Info * Computing the omega Lagrange multipliers...
* Info * The omega Lagrange multipliers computed in 0.24 sec.
* Info * Computing ground-state gradient...
* Info * Computing excited-state gradient...
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
F 1.056091499082 -1.689884247074 2.108338752367
H 1.667334915492 -0.357173543815 1.505772574651
Analytical Gradient (Hartree/Bohr)
------------------------------------
Excited State 1
Atom Gradient X Gradient Y Gradient Z
F 0.005630885789 0.012263821498 -0.005551966126
H -0.005638215251 -0.012293124363 0.005558233074
*** Time spent in gradient calculation: 6.77 sec ***
* Info * Energy : -100.1017571191 a.u.
* Info * Gradient : 1.192668e-02 a.u. (RMS)
* Info * 1.736440e-02 a.u. (Max)
* Info * Time : 14.38 sec
* Info * Computing energy and gradient...
RPA Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Excited States of Interest : 1
* Info * Computing orbital response...
* Info * Using the B3LYP functional.
P. J. Stephens, F. J. Devlin, C. F. Chabalowski, and M. J. Frisch., J. Phys. Chem. 98, 11623 (1994)
* Info * Using the Libxc library (v7.0.0).
S. Lehtola, C. Steigemann, M. J.T. Oliveira, and M. A.L. Marques., SoftwareX 7, 1–5 (2018)
* Info * Using the following algorithm for XC numerical integration.
J. Kussmann, H. Laqua and C. Ochsenfeld, J. Chem. Theory Comput. 2021, 17, 1512-1521
* Info * Computing the right-hand side (RHS) of CPHF/CPKS equations...
* Info * RHS of CPHF/CPKS equations computed in 2.19 sec.
Coupled-Perturbed Kohn-Sham Solver Setup
------------------------------------------
Solver Type : Iterative Subspace Algorithm
Max. Number of Iterations : 150
Convergence Threshold : 1.0e-04
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
* Info * 1 trial vectors in reduced space
*** Iteration: 1 * Residuals (Max,Min): 2.36e-01 and 2.36e-01
* Info * 2 trial vectors in reduced space
*** Iteration: 2 * Residuals (Max,Min): 3.61e-02 and 3.61e-02
* Info * 3 trial vectors in reduced space
*** Iteration: 3 * Residuals (Max,Min): 4.64e-03 and 4.64e-03
* Info * 4 trial vectors in reduced space
*** Iteration: 4 * Residuals (Max,Min): 5.09e-04 and 5.09e-04
* Info * 5 trial vectors in reduced space
*** Iteration: 5 * Residuals (Max,Min): 7.45e-06 and 7.45e-06
*** Coupled-Perturbed Kohn-Sham converged in 5 iterations. Time: 2.80 sec
* Info * Computing the omega Lagrange multipliers...
* Info * The omega Lagrange multipliers computed in 0.18 sec.
* Info * Computing ground-state gradient...
* Info * Computing excited-state gradient...
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
F 1.037260303067 -1.730739508640 2.126979056166
H 1.686565690668 -0.315302710261 1.486764828064
Analytical Gradient (Hartree/Bohr)
------------------------------------
Excited State 1
Atom Gradient X Gradient Y Gradient Z
F 0.001921234469 0.004203171799 -0.001895427991
H -0.001918403286 -0.004181387200 0.001891505661
*** Time spent in gradient calculation: 5.58 sec ***
* Info * Energy : -100.1035195280 a.u.
* Info * Gradient : 4.069910e-03 a.u. (RMS)
* Info * 5.928799e-03 a.u. (Max)
* Info * Time : 9.62 sec
* Info * Computing energy and gradient...
RPA Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Excited States of Interest : 1
* Info * Computing orbital response...
* Info * Using the B3LYP functional.
P. J. Stephens, F. J. Devlin, C. F. Chabalowski, and M. J. Frisch., J. Phys. Chem. 98, 11623 (1994)
* Info * Using the Libxc library (v7.0.0).
S. Lehtola, C. Steigemann, M. J.T. Oliveira, and M. A.L. Marques., SoftwareX 7, 1–5 (2018)
* Info * Using the following algorithm for XC numerical integration.
J. Kussmann, H. Laqua and C. Ochsenfeld, J. Chem. Theory Comput. 2021, 17, 1512-1521
* Info * Computing the right-hand side (RHS) of CPHF/CPKS equations...
* Info * RHS of CPHF/CPKS equations computed in 0.27 sec.
Coupled-Perturbed Kohn-Sham Solver Setup
------------------------------------------
Solver Type : Iterative Subspace Algorithm
Max. Number of Iterations : 150
Convergence Threshold : 1.0e-04
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
* Info * 1 trial vectors in reduced space
*** Iteration: 1 * Residuals (Max,Min): 2.29e-01 and 2.29e-01
* Info * 2 trial vectors in reduced space
*** Iteration: 2 * Residuals (Max,Min): 3.61e-02 and 3.61e-02
* Info * 3 trial vectors in reduced space
*** Iteration: 3 * Residuals (Max,Min): 4.31e-03 and 4.31e-03
* Info * 4 trial vectors in reduced space
*** Iteration: 4 * Residuals (Max,Min): 5.11e-04 and 5.11e-04
* Info * 5 trial vectors in reduced space
*** Iteration: 5 * Residuals (Max,Min): 7.05e-06 and 7.05e-06
*** Coupled-Perturbed Kohn-Sham converged in 5 iterations. Time: 1.03 sec
* Info * Computing the omega Lagrange multipliers...
* Info * The omega Lagrange multipliers computed in 0.12 sec.
* Info * Computing ground-state gradient...
* Info * Computing excited-state gradient...
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
F 1.027734507484 -1.752680796314 2.136461242323
H 1.696127142103 -0.293856593389 1.477287043386
Analytical Gradient (Hartree/Bohr)
------------------------------------
Excited State 1
Atom Gradient X Gradient Y Gradient Z
F 0.000471366596 0.001000969876 -0.000463545576
H -0.000464751762 -0.001015962548 0.000458336499
*** Time spent in gradient calculation: 3.57 sec ***
* Info * Energy : -100.1038183138 a.u.
* Info * Gradient : 9.827255e-04 a.u. (RMS)
* Info * 1.426226e-03 a.u. (Max)
* Info * Time : 10.67 sec
* Info * Computing energy and gradient...
RPA Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Excited States of Interest : 1
* Info * Computing orbital response...
* Info * Using the B3LYP functional.
P. J. Stephens, F. J. Devlin, C. F. Chabalowski, and M. J. Frisch., J. Phys. Chem. 98, 11623 (1994)
* Info * Using the Libxc library (v7.0.0).
S. Lehtola, C. Steigemann, M. J.T. Oliveira, and M. A.L. Marques., SoftwareX 7, 1–5 (2018)
* Info * Using the following algorithm for XC numerical integration.
J. Kussmann, H. Laqua and C. Ochsenfeld, J. Chem. Theory Comput. 2021, 17, 1512-1521
* Info * Computing the right-hand side (RHS) of CPHF/CPKS equations...
* Info * RHS of CPHF/CPKS equations computed in 0.33 sec.
Coupled-Perturbed Kohn-Sham Solver Setup
------------------------------------------
Solver Type : Iterative Subspace Algorithm
Max. Number of Iterations : 150
Convergence Threshold : 1.0e-04
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
* Info * 1 trial vectors in reduced space
*** Iteration: 1 * Residuals (Max,Min): 2.27e-01 and 2.27e-01
* Info * 2 trial vectors in reduced space
*** Iteration: 2 * Residuals (Max,Min): 3.61e-02 and 3.61e-02
* Info * 3 trial vectors in reduced space
*** Iteration: 3 * Residuals (Max,Min): 4.21e-03 and 4.21e-03
* Info * 4 trial vectors in reduced space
*** Iteration: 4 * Residuals (Max,Min): 5.11e-04 and 5.11e-04
* Info * 5 trial vectors in reduced space
*** Iteration: 5 * Residuals (Max,Min): 6.92e-06 and 6.92e-06
*** Coupled-Perturbed Kohn-Sham converged in 5 iterations. Time: 5.35 sec
* Info * Computing the omega Lagrange multipliers...
* Info * The omega Lagrange multipliers computed in 0.13 sec.
* Info * Computing ground-state gradient...
* Info * Computing excited-state gradient...
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
F 1.024169511115 -1.759009192912 2.139911122152
H 1.699537985498 -0.287120758946 1.473957493367
Analytical Gradient (Hartree/Bohr)
------------------------------------
Excited State 1
Atom Gradient X Gradient Y Gradient Z
F 0.000064080712 0.000113379802 -0.000062568001
H -0.000062205033 -0.000136861111 0.000061086337
*** Time spent in gradient calculation: 7.80 sec ***
* Info * Energy : -100.1038407545 a.u.
* Info * Gradient : 1.254433e-04 a.u. (RMS)
* Info * 1.777243e-04 a.u. (Max)
* Info * Time : 11.02 sec
* Info * Computing energy and gradient...
RPA Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Excited States of Interest : 1
* Info * Computing orbital response...
* Info * Using the B3LYP functional.
P. J. Stephens, F. J. Devlin, C. F. Chabalowski, and M. J. Frisch., J. Phys. Chem. 98, 11623 (1994)
* Info * Using the Libxc library (v7.0.0).
S. Lehtola, C. Steigemann, M. J.T. Oliveira, and M. A.L. Marques., SoftwareX 7, 1–5 (2018)
* Info * Using the following algorithm for XC numerical integration.
J. Kussmann, H. Laqua and C. Ochsenfeld, J. Chem. Theory Comput. 2021, 17, 1512-1521
* Info * Computing the right-hand side (RHS) of CPHF/CPKS equations...
* Info * RHS of CPHF/CPKS equations computed in 0.85 sec.
Coupled-Perturbed Kohn-Sham Solver Setup
------------------------------------------
Solver Type : Iterative Subspace Algorithm
Max. Number of Iterations : 150
Convergence Threshold : 1.0e-04
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
* Info * 1 trial vectors in reduced space
*** Iteration: 1 * Residuals (Max,Min): 2.27e-01 and 2.27e-01
* Info * 2 trial vectors in reduced space
*** Iteration: 2 * Residuals (Max,Min): 3.61e-02 and 3.61e-02
* Info * 3 trial vectors in reduced space
*** Iteration: 3 * Residuals (Max,Min): 4.19e-03 and 4.19e-03
* Info * 4 trial vectors in reduced space
*** Iteration: 4 * Residuals (Max,Min): 5.11e-04 and 5.11e-04
* Info * 5 trial vectors in reduced space
*** Iteration: 5 * Residuals (Max,Min): 6.90e-06 and 6.90e-06
*** Coupled-Perturbed Kohn-Sham converged in 5 iterations. Time: 1.60 sec
* Info * Computing the omega Lagrange multipliers...
* Info * The omega Lagrange multipliers computed in 0.09 sec.
* Info * Computing ground-state gradient...
* Info * Computing excited-state gradient...
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
F 1.023345390105 -1.759425955684 2.140683174221
H 1.700314437250 -0.286120869230 1.473222938861
Analytical Gradient (Hartree/Bohr)
------------------------------------
Excited State 1
Atom Gradient X Gradient Y Gradient Z
F 0.000006132778 -0.000011322394 -0.000005826519
H -0.000005545897 -0.000012987500 0.000005066676
*** Time spent in gradient calculation: 4.56 sec ***
* Info * Energy : -100.1038413592 a.u.
* Info * Gradient : 1.190041e-05 a.u. (RMS)
* Info * 1.722997e-05 a.u. (Max)
* Info * Time : 9.57 sec
* Info * Geometry optimization completed.
Final Geometry (Angstroms)
============================
Atom Coordinate X Coordinate Y Coordinate Z
F 1.023345390105 -1.759425955684 2.140683174221
H 1.700314437250 -0.286120869230 1.473222938861
Summary of Geometry Optimization
==================================
Opt.Step Energy (a.u.) Energy Change (a.u.) Displacement (RMS, Max)
-------------------------------------------------------------------------------------
0 -100.015462390260 0.000000000000 0.000e+00 0.000e+00
1 -100.060664915215 -0.045202524955 8.998e-02 8.998e-02
2 -100.094438374905 -0.033773459690 1.329e-01 1.329e-01
3 -100.101757119075 -0.007318744171 7.694e-02 7.694e-02
4 -100.103519528004 -0.001762408929 4.927e-02 4.927e-02
5 -100.103818313841 -0.000298785837 2.552e-02 2.552e-02
6 -100.103840754509 -0.000022440668 8.125e-03 8.125e-03
7 -100.103841359184 -0.000000604675 1.191e-03 1.191e-03
Statistical Deviation between
Optimized Geometry and Initial Geometry
=========================================
Internal Coord. RMS deviation Max. deviation
-----------------------------------------------------------
Bonds 0.768 Angstrom 0.768 Angstrom
*** Time spent in Optimization Driver: 79.85 sec
Text file
To optimize an excited state, you need to use the task optimize and to specify which state you want to optimize with the state_deriv_index: keyword in the @gradient section.
@jobs
task: optimize
@end
@response
property: absorption
nstates: 2
@end
@gradient
state_deriv_index: 1
@end
@method settings
xcfun: b3lyp
basis: def2-svp
@end
@molecule
charge: 0
multiplicity: 1
xyz:
...
@end
Figure: Optimization of the molecular structure in the excited state, S1.
Constrained optimization¶
Internal coordinates (distances, angles, dihedrals) can be constrained during the molecular structure optimization with use of either the set, freeze, or scan options.
Set or freeze internal coordinate¶
set will aim at converging an internal coordinate to a desired value while freeze will keep it at its initial value.
Python script
import veloxchem as vlx
molecule = vlx.Molecule.read_xyz_string("""4
Hydrogen peroxide
O -0.65564532 -0.06106286 -0.03621403
O 0.65564532 0.06106286 -0.03621403
H -0.97628735 0.65082652 0.57474201
H 0.97628735 -0.65082652 0.57474201
""")
basis = vlx.MolecularBasis.read(molecule, "def2-svp")
scf_drv = vlx.ScfRestrictedDriver()
scf_drv.xcfun = "b3lyp"
scf_results = scf_drv.compute(molecule, basis)
opt_drv = vlx.OptimizationDriver(scf_drv)
opt_drv.constraints = ["set dihedral 3 1 2 4 90.0", "freeze distance 1 2"]
opt_results = opt_drv.compute(molecule, basis, results)
Self Consistent Field Driver Setup
====================================
Wave Function Model : Spin-Restricted Kohn-Sham
Initial Guess Model : Superposition of Atomic Densities
Convergence Accelerator : Two Level Direct Inversion of Iterative Subspace
Max. Number of Iterations : 50
Max. Number of Error Vectors : 10
Convergence Threshold : 1.0e-06
ERI Screening Threshold : 1.0e-12
Linear Dependence Threshold : 1.0e-06
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
* Info * Using the B3LYP functional.
P. J. Stephens, F. J. Devlin, C. F. Chabalowski, and M. J. Frisch., J. Phys. Chem. 98, 11623 (1994)
* Info * Using the Libxc library (v7.0.0).
S. Lehtola, C. Steigemann, M. J.T. Oliveira, and M. A.L. Marques., SoftwareX 7, 1–5 (2018)
* Info * Using the following algorithm for XC numerical integration.
J. Kussmann, H. Laqua and C. Ochsenfeld, J. Chem. Theory Comput. 2021, 17, 1512-1521
* Info * Starting Reduced Basis SCF calculation...
* Info * ...done. SCF energy in reduced basis set: -150.566870316128 a.u. Time: 0.55 sec.
Iter. | Kohn-Sham Energy | Energy Change | Gradient Norm | Max. Gradient | Density Change
--------------------------------------------------------------------------------------------
1 -151.406804810656 0.0000000000 0.27078081 0.02660328 0.00000000
2 -151.411334957276 -0.0045301466 0.13322283 0.01097957 0.08231252
3 -151.412693221739 -0.0013582645 0.04908508 0.00385097 0.04187676
4 -151.412920027338 -0.0002268056 0.00164964 0.00014196 0.01318922
5 -151.412920267939 -0.0000002406 0.00027308 0.00002415 0.00055360
6 -151.412920273972 -0.0000000060 0.00002388 0.00000204 0.00007218
7 -151.412920274032 -0.0000000001 0.00000517 0.00000058 0.00000911
8 -151.412920274036 -0.0000000000 0.00000059 0.00000005 0.00000339
*** SCF converged in 8 iterations. Time: 8.18 sec.
Spin-Restricted Kohn-Sham:
--------------------------
Total Energy : -151.4129202740 a.u.
Electronic Energy : -190.4973689348 a.u.
Nuclear Repulsion Energy : 39.0844486607 a.u.
------------------------------------
Gradient Norm : 0.0000005911 a.u.
Ground State Information
------------------------
Charge of Molecule : 0.0
Multiplicity (2S+1) : 1
Magnetic Quantum Number (M_S) : 0.0
Optimization Driver Setup
===========================
Coordinate System : TRIC
Constraints : Yes
Max. Number of Steps : 300
Transition State : No
IRC : No
Hessian : never
* Info * Using geomeTRIC for geometry optimization.
L.-P. Wang and C.C. Song, J. Chem. Phys. 2016, 144, 214108
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.655645320000 -0.061062860000 -0.036214030000
O 0.655645320000 0.061062860000 -0.036214030000
H -0.976287350000 0.650826520000 0.574742010000
H 0.976287350000 -0.650826520000 0.574742010000
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.094374642400 -0.004996735059 -0.010571898023
O -0.094374642400 0.004996735059 -0.010571898023
H -0.003327133734 0.011492816291 0.010587064551
H 0.003327133734 -0.011492816291 0.010587064551
*** Time spent in gradient calculation: 2.05 sec ***
* Info * Energy : -151.4129202740 a.u.
* Info * Gradient : 6.818558e-02 a.u. (RMS)
* Info * 9.509630e-02 a.u. (Max)
* Info * Time : 5.26 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.657751162683 -0.031030090284 -0.062128628935
O 0.657751162682 0.031030090284 -0.062128628935
H -0.957953168286 0.617687161609 0.600014546459
H 0.957953168286 -0.617687161609 0.600014546459
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.088429558495 0.006395682269 -0.002076242399
O -0.088429558495 -0.006395682269 -0.002076242399
H -0.000409939942 -0.001257538401 0.002083620864
H 0.000409939942 0.001257538401 0.002083620864
*** Time spent in gradient calculation: 2.01 sec ***
* Info * Energy : -151.4130236484 a.u.
* Info * Gradient : 6.273394e-02 a.u. (RMS)
* Info * 8.868485e-02 a.u. (Max)
* Info * Time : 9.71 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.657704939310 -0.031994863724 -0.062334862244
O 0.657704939329 0.031994863722 -0.062334862240
H -0.955539745134 0.616538821682 0.599904246071
H 0.955539745146 -0.616538821684 0.599904246077
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.088403679131 0.006422325478 -0.001747712099
O -0.088403679130 -0.006422325478 -0.001747712100
H 0.000258344596 -0.001622413396 0.001754646400
H -0.000258344597 0.001622413396 0.001754646399
*** Time spent in gradient calculation: 2.16 sec ***
* Info * Energy : -151.4130258681 a.u.
* Info * Gradient : 6.271080e-02 a.u. (RMS)
* Info * 8.865388e-02 a.u. (Max)
* Info * Time : 8.85 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.657722872238 -0.031624070507 -0.062308908632
O 0.657722872252 0.031624070506 -0.062308908628
H -0.956417524062 0.616738788622 0.599650815681
H 0.956417524073 -0.616738788623 0.599650815686
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.088332905952 0.006634067195 -0.001664418552
O -0.088332905954 -0.006634067195 -0.001664418552
H 0.000084322470 -0.001691208305 0.001671143423
H -0.000084322470 0.001691208305 0.001671143423
*** Time spent in gradient calculation: 2.11 sec ***
* Info * Energy : -151.4130262190 a.u.
* Info * Gradient : 6.267034e-02 a.u. (RMS)
* Info * 8.859731e-02 a.u. (Max)
* Info * Time : 3.40 sec
* Info * Geometry optimization completed.
Final Geometry (Angstroms)
============================
Atom Coordinate X Coordinate Y Coordinate Z
O -0.657722872238 -0.031624070507 -0.062308908632
O 0.657722872252 0.031624070506 -0.062308908628
H -0.956417524062 0.616738788622 0.599650815681
H 0.956417524073 -0.616738788623 0.599650815686
Summary of Geometry Optimization
==================================
Opt.Step Energy (a.u.) Energy Change (a.u.) Displacement (RMS, Max)
-------------------------------------------------------------------------------------
0 -151.412920274036 0.000000000000 0.000e+00 0.000e+00
1 -151.413023648424 -0.000103374388 4.272e-02 4.556e-02
2 -151.413025868149 -0.000002219726 2.006e-03 2.699e-03
3 -151.413026219042 -0.000000350893 7.003e-04 8.900e-04
Statistical Deviation between
Optimized Geometry and Initial Geometry
=========================================
Internal Coord. RMS deviation Max. deviation
-----------------------------------------------------------
Bonds 0.015 Angstrom 0.018 Angstrom
Angles 1.131 degree 1.131 degree
Dihedrals 10.803 degree 10.803 degree
*** Time spent in Optimization Driver: 27.31 sec
* Info * Optimization results written to file: vlx_20260306_d415dcdb.h5
molecule_opt = vlx.Molecule.read_xyz_string(opt_results['final_geometry'])
molecule_opt.show(atom_indices=True)Text file
@jobs
task: optimize
@end
@method settings
xcfun: b3lyp
basis: def2-svp
@end
@optimize
set dihedral 1 3 4 2 90.0
freeze distance 3 4
@end
@molecule
charge: 0
multiplicity: 1
xyz:
...
@end
Figure: Constrained optimization of the molecular structure in the ground state, S0.
Scan coordinate¶
The scan directive will perform a relaxed scan of an internal coordinate from an initial to a final value in a given number of steps.
scan distance 6 1 1.4 1.5 9
scan angle 6 1 2 100 110 9
scan dihedral 6 1 2 3 0 360 19Python script
import veloxchem as vlx
molecule = vlx.Molecule.read_xyz_string("""4
Hydrogen peroxide
O -0.65564532 -0.06106286 -0.03621403
O 0.65564532 0.06106286 -0.03621403
H -0.97628735 0.65082652 0.57474201
H 0.97628735 -0.65082652 0.57474201
""")
basis = vlx.MolecularBasis.read(molecule, "def2-svp")
scf_drv = vlx.ScfRestrictedDriver()
scf_drv.xcfun = "b3lyp"
scf_results = scf_drv.compute(molecule, basis)
opt_drv = vlx.OptimizationDriver(scf_drv)
opt_drv.constraints = ["scan dihedral 3 1 2 4 0 180 7"]
opt_results = opt_drv.compute(molecule, basis, scf_results)
Self Consistent Field Driver Setup
====================================
Wave Function Model : Spin-Restricted Kohn-Sham
Initial Guess Model : Superposition of Atomic Densities
Convergence Accelerator : Two Level Direct Inversion of Iterative Subspace
Max. Number of Iterations : 50
Max. Number of Error Vectors : 10
Convergence Threshold : 1.0e-06
ERI Screening Threshold : 1.0e-12
Linear Dependence Threshold : 1.0e-06
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
* Info * Using the B3LYP functional.
P. J. Stephens, F. J. Devlin, C. F. Chabalowski, and M. J. Frisch., J. Phys. Chem. 98, 11623 (1994)
* Info * Using the Libxc library (v7.0.0).
S. Lehtola, C. Steigemann, M. J.T. Oliveira, and M. A.L. Marques., SoftwareX 7, 1–5 (2018)
* Info * Using the following algorithm for XC numerical integration.
J. Kussmann, H. Laqua and C. Ochsenfeld, J. Chem. Theory Comput. 2021, 17, 1512-1521
* Info * Starting Reduced Basis SCF calculation...
* Info * ...done. SCF energy in reduced basis set: -150.566870316128 a.u. Time: 0.38 sec.
Iter. | Kohn-Sham Energy | Energy Change | Gradient Norm | Max. Gradient | Density Change
--------------------------------------------------------------------------------------------
1 -151.406804810657 0.0000000000 0.27078081 0.02660328 0.00000000
2 -151.411334957276 -0.0045301466 0.13322283 0.01097957 0.08231252
3 -151.412693221739 -0.0013582645 0.04908508 0.00385097 0.04187676
4 -151.412920027338 -0.0002268056 0.00164964 0.00014196 0.01318922
5 -151.412920267939 -0.0000002406 0.00027308 0.00002415 0.00055360
6 -151.412920273972 -0.0000000060 0.00002388 0.00000204 0.00007218
7 -151.412920274032 -0.0000000001 0.00000517 0.00000058 0.00000911
8 -151.412920274035 -0.0000000000 0.00000059 0.00000005 0.00000339
*** SCF converged in 8 iterations. Time: 5.74 sec.
Spin-Restricted Kohn-Sham:
--------------------------
Total Energy : -151.4129202740 a.u.
Electronic Energy : -190.4973689348 a.u.
Nuclear Repulsion Energy : 39.0844486607 a.u.
------------------------------------
Gradient Norm : 0.0000005911 a.u.
Ground State Information
------------------------
Charge of Molecule : 0.0
Multiplicity (2S+1) : 1
Magnetic Quantum Number (M_S) : 0.0
Optimization Driver Setup
===========================
Coordinate System : TRIC
Constraints : Yes
Max. Number of Steps : 300
Transition State : No
IRC : No
Hessian : never
* Info * Using geomeTRIC for geometry optimization.
L.-P. Wang and C.C. Song, J. Chem. Phys. 2016, 144, 214108
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.655645320000 -0.061062860000 -0.036214030000
O 0.655645320000 0.061062860000 -0.036214030000
H -0.976287350000 0.650826520000 0.574742010000
H 0.976287350000 -0.650826520000 0.574742010000
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.094374642400 -0.004996735059 -0.010571898023
O -0.094374642400 0.004996735059 -0.010571898023
H -0.003327133734 0.011492816291 0.010587064551
H 0.003327133734 -0.011492816291 0.010587064551
*** Time spent in gradient calculation: 2.29 sec ***
* Info * Energy : -151.4129202740 a.u.
* Info * Gradient : 6.818558e-02 a.u. (RMS)
* Info * 9.509630e-02 a.u. (Max)
* Info * Time : 7.07 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.607437155842 0.254202346373 -0.209988671444
O 0.607437155842 -0.254202346373 -0.209988671444
H -0.841050779935 0.351965765067 0.748516652179
H 0.841050779935 -0.351965765067 0.748516652179
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.102331183505 -0.042824213349 -0.023924684393
O -0.102331183507 0.042824213350 -0.023924684393
H 0.005605720590 -0.002345907069 0.023956392933
H -0.005605720590 0.002345907069 0.023956392933
*** Time spent in gradient calculation: 2.15 sec ***
* Info * Energy : -151.3960943561 a.u.
* Info * Gradient : 8.212433e-02 a.u. (RMS)
* Info * 1.134812e-01 a.u. (Max)
* Info * Time : 18.25 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.644940505725 0.276480307912 -0.187660016255
O 0.644940505745 -0.276480307921 -0.187660016250
H -0.949857234752 0.407195420977 0.725706273311
H 0.949857234761 -0.407195420981 0.725706273319
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.024415543079 -0.010466618888 0.001907810766
O -0.024415543077 0.010466618888 0.001907810765
H -0.006598062441 0.002828265264 -0.001899763551
H 0.006598062439 -0.002828265264 -0.001899763552
*** Time spent in gradient calculation: 1.47 sec ***
* Info * Energy : -151.4079142300 a.u.
* Info * Gradient : 1.955059e-02 a.u. (RMS)
* Info * 2.663285e-02 a.u. (Max)
* Info * Time : 3.39 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.662280522496 0.275644359447 -0.196933256234
O 0.662280522513 -0.275644359463 -0.196933256226
H -0.904560662538 0.376482526572 0.734572988335
H 0.904560662553 -0.376482526583 0.734572988344
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.006377310336 -0.002654261568 0.002661460043
O -0.006377310331 0.002654261565 0.002661460047
H 0.000086063660 -0.000036098832 -0.002660441247
H -0.000086063665 0.000036098834 -0.002660441255
*** Time spent in gradient calculation: 2.30 sec ***
* Info * Energy : -151.4097528264 a.u.
* Info * Gradient : 5.562608e-03 a.u. (RMS)
* Info * 7.402605e-03 a.u. (Max)
* Info * Time : 13.64 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.667957927713 0.276490824197 -0.199898756531
O 0.667957927722 -0.276490824182 -0.199898756522
H -0.900047498952 0.372560702892 0.737477859482
H 0.900047498989 -0.372560702896 0.737477859496
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.001540794594 -0.000638441080 -0.000055416118
O -0.001540794640 0.000638441098 -0.000055416143
H 0.000231799987 -0.000096226244 0.000061644661
H -0.000231799942 0.000096226225 0.000061644728
*** Time spent in gradient calculation: 1.39 sec ***
* Info * Energy : -151.4098666673 a.u.
* Info * Gradient : 1.194051e-03 a.u. (RMS)
* Info * 1.668750e-03 a.u. (Max)
* Info * Time : 8.25 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.669276713458 0.276992147864 -0.200112687389
O 0.669276713631 -0.276992147900 -0.200112687453
H -0.901360834314 0.373044284675 0.737389033257
H 0.901360834233 -0.373044284626 0.737389033181
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.000175457753 -0.000073221935 -0.000052926451
O -0.000175457839 0.000073221972 -0.000052926535
H 0.000066111353 -0.000027630137 0.000059379152
H -0.000066111266 0.000027630101 0.000059379312
*** Time spent in gradient calculation: 2.05 sec ***
* Info * Energy : -151.4098723346 a.u.
* Info * Gradient : 1.542857e-04 a.u. (RMS)
* Info * 1.973528e-04 a.u. (Max)
* Info * Time : 7.69 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.669416942340 0.277104873941 -0.200208296807
O 0.669416942723 -0.277104874103 -0.200208297044
H -0.901885158038 0.373334970902 0.737165341172
H 0.901885157742 -0.373334970763 0.737165340823
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O -0.000002649909 0.000000530455 -0.000002865019
O 0.000002650555 -0.000000530721 -0.000002864670
H 0.000004427035 -0.000002098577 0.000009306973
H -0.000004427680 0.000002098843 0.000009306024
*** Time spent in gradient calculation: 2.11 sec ***
* Info * Energy : -151.4098725055 a.u.
* Info * Gradient : 7.941335e-06 a.u. (RMS)
* Info * 1.051772e-05 a.u. (Max)
* Info * Time : 8.68 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.669416942340 0.277104873941 -0.200208296807
O 0.669416942723 -0.277104874103 -0.200208297044
H -0.901885158038 0.373334970902 0.737165341172
H 0.901885157742 -0.373334970763 0.737165340823
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O -0.000002649909 0.000000530455 -0.000002865019
O 0.000002650555 -0.000000530721 -0.000002864670
H 0.000004427035 -0.000002098577 0.000009306973
H -0.000004427680 0.000002098843 0.000009306024
*** Time spent in gradient calculation: 2.36 sec ***
* Info * Energy : -151.4098725055 a.u.
* Info * Gradient : 7.941335e-06 a.u. (RMS)
* Info * 1.051772e-05 a.u. (Max)
* Info * Time : 2.91 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.704829233771 0.167702552010 -0.184363614885
O 0.704829232592 -0.167702551556 -0.184363613809
H -0.893503238962 0.461971405337 0.721047955745
H 0.893503240184 -0.461971405851 0.721047956843
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O -0.000802383122 0.007555971838 0.000038370295
O 0.000802371900 -0.007555965298 0.000038363877
H -0.002334083696 -0.004604031042 -0.000030657214
H 0.002334094917 0.004604024502 -0.000030640537
*** Time spent in gradient calculation: 2.25 sec ***
* Info * Energy : -151.4123656257 a.u.
* Info * Gradient : 6.495534e-03 a.u. (RMS)
* Info * 7.598553e-03 a.u. (Max)
* Info * Time : 4.00 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.702821587485 0.165002745014 -0.187015283463
O 0.702821614573 -0.165002750067 -0.187015305725
H -0.876477549387 0.456342559770 0.723372906842
H 0.876477522357 -0.456342554769 0.723372878104
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.002014553190 0.005737201976 -0.001838930758
O -0.002014543867 -0.005737206552 -0.001838932824
H -0.000319708222 -0.004813038661 0.001847431957
H 0.000319698892 0.004813043242 0.001847424227
*** Time spent in gradient calculation: 1.77 sec ***
* Info * Energy : -151.4123988656 a.u.
* Info * Gradient : 5.789480e-03 a.u. (RMS)
* Info * 6.352606e-03 a.u. (Max)
* Info * Time : 3.58 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.703263326889 0.165904599922 -0.186264463119
O 0.703263334846 -0.165904595650 -0.186264473701
H -0.882758467357 0.458404035762 0.722386102435
H 0.882758459660 -0.458404040228 0.722386079135
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.001305037431 0.006301066771 -0.001286914358
O -0.001305059747 -0.006301054198 -0.001286926632
H -0.001096387651 -0.004695934517 0.001295403422
H 0.001096409959 0.004695921949 0.001295437230
*** Time spent in gradient calculation: 1.40 sec ***
* Info * Energy : -151.4124112394 a.u.
* Info * Gradient : 5.830721e-03 a.u. (RMS)
* Info * 6.562219e-03 a.u. (Max)
* Info * Time : 2.43 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.703154790142 0.165883031961 -0.186426933908
O 0.703154849894 -0.165883032937 -0.186427001944
H -0.882801288069 0.458409677071 0.722187898890
H 0.882801228970 -0.458409676499 0.722187800538
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.001419000177 0.006278650312 -0.001289752084
O -0.001418976753 -0.006278662975 -0.001289752102
H -0.001102639542 -0.004695246991 0.001298275536
H 0.001102616090 0.004695259670 0.001298251823
*** Time spent in gradient calculation: 1.76 sec ***
* Info * Energy : -151.4124112711 a.u.
* Info * Gradient : 5.832889e-03 a.u. (RMS)
* Info * 6.564950e-03 a.u. (Max)
* Info * Time : 3.35 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.703154790142 0.165883031961 -0.186426933908
O 0.703154849894 -0.165883032937 -0.186427001944
H -0.882801288069 0.458409677071 0.722187898890
H 0.882801228970 -0.458409676499 0.722187800538
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.001419000177 0.006278650312 -0.001289752084
O -0.001418976753 -0.006278662975 -0.001289752102
H -0.001102639542 -0.004695246991 0.001298275536
H 0.001102616090 0.004695259670 0.001298251823
*** Time spent in gradient calculation: 1.84 sec ***
* Info * Energy : -151.4124112711 a.u.
* Info * Gradient : 5.832889e-03 a.u. (RMS)
* Info * 6.564950e-03 a.u. (Max)
* Info * Time : 2.77 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.719341027415 0.067024810789 -0.139440401276
O 0.719341086798 -0.067024812505 -0.139440475515
H -0.916676585873 0.557782463893 0.675201372752
H 0.916676527142 -0.557782462582 0.675201268371
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O -0.003532411123 0.009665157682 -0.000857671679
O 0.003532441923 -0.009665178915 -0.000857666651
H -0.003162087571 -0.005401854799 0.000860653376
H 0.003162056759 0.005401876098 0.000860621485
*** Time spent in gradient calculation: 2.10 sec ***
* Info * Energy : -151.4176009680 a.u.
* Info * Gradient : 8.560043e-03 a.u. (RMS)
* Info * 1.032615e-02 a.u. (Max)
* Info * Time : 9.85 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.715325388504 0.057794379594 -0.143532041757
O 0.715325359048 -0.057794350681 -0.143532047004
H -0.885264850064 0.548058112370 0.679167298637
H 0.885264880671 -0.548058144501 0.679167236293
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.001884081556 0.004739429813 -0.003668957689
O -0.001884066862 -0.004739453344 -0.003668925412
H 0.001301770946 -0.004759702415 0.003678021651
H -0.001301785628 0.004759725952 0.003677979931
*** Time spent in gradient calculation: 1.38 sec ***
* Info * Energy : -151.4177255913 a.u.
* Info * Gradient : 6.218938e-03 a.u. (RMS)
* Info * 6.282771e-03 a.u. (Max)
* Info * Time : 8.65 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.716431590365 0.061148809342 -0.142275020736
O 0.716431547855 -0.061148779682 -0.142275004108
H -0.896908283716 0.551665713250 0.677663490480
H 0.896908327052 -0.551665746293 0.677663480337
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.000236808974 0.006435063275 -0.002820909244
O -0.000236823592 -0.006435054428 -0.002820909059
H -0.000417761987 -0.004900015306 0.002827748019
H 0.000417776623 0.004900006427 0.002827760853
*** Time spent in gradient calculation: 2.14 sec ***
* Info * Energy : -151.4177778994 a.u.
* Info * Gradient : 6.387661e-03 a.u. (RMS)
* Info * 7.030195e-03 a.u. (Max)
* Info * Time : 19.48 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.716239701588 0.061122378991 -0.142411478314
O 0.716239703055 -0.061122365174 -0.142411493984
H -0.896841064016 0.551637870327 0.677511547148
H 0.896841062627 -0.551637886229 0.677511523921
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.000441850519 0.006408545072 -0.002833852221
O -0.000441857981 -0.006408533289 -0.002833868432
H -0.000408556606 -0.004897458525 0.002840683570
H 0.000408564074 0.004897446735 0.002840703872
*** Time spent in gradient calculation: 2.01 sec ***
* Info * Energy : -151.4177780331 a.u.
* Info * Gradient : 6.384234e-03 a.u. (RMS)
* Info * 7.021068e-03 a.u. (Max)
* Info * Time : 3.37 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.716239701588 0.061122378991 -0.142411478314
O 0.716239703055 -0.061122365174 -0.142411493984
H -0.896841064016 0.551637870327 0.677511547148
H 0.896841062627 -0.551637886229 0.677511523921
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.000441850519 0.006408545072 -0.002833852221
O -0.000441857981 -0.006408533289 -0.002833868432
H -0.000408556606 -0.004897458525 0.002840683570
H 0.000408564074 0.004897446735 0.002840703872
*** Time spent in gradient calculation: 1.73 sec ***
* Info * Energy : -151.4177780331 a.u.
* Info * Gradient : 6.384234e-03 a.u. (RMS)
* Info * 7.021068e-03 a.u. (Max)
* Info * Time : 2.03 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.718672380198 -0.015662357840 -0.067182236138
O 0.718672381990 0.015662368606 -0.067182251356
H -0.954861386817 0.648813590366 0.602282306134
H 0.954861385104 -0.648813603217 0.602282280464
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O -0.001345971628 0.005726052211 -0.001322328954
O 0.001345971137 -0.005726045184 -0.001322337842
H -0.002971410313 -0.002303044854 0.001335752704
H 0.002971410805 0.002303037813 0.001335759674
*** Time spent in gradient calculation: 2.15 sec ***
* Info * Energy : -151.4217549881 a.u.
* Info * Gradient : 5.112013e-03 a.u. (RMS)
* Info * 6.028919e-03 a.u. (Max)
* Info * Time : 11.33 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.715951525645 -0.025104612075 -0.069684559637
O 0.715951524937 0.025104621159 -0.069684567812
H -0.931831510226 0.641677642766 0.604253219596
H 0.931831510938 -0.641677653396 0.604253186482
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.001894886282 0.001120205074 -0.002446914499
O -0.001894876509 -0.001120217414 -0.002446907652
H 0.001129059180 -0.001578690609 0.002459043762
H -0.001129068953 0.001578702955 0.002459030899
*** Time spent in gradient calculation: 1.49 sec ***
* Info * Energy : -151.4218695702 a.u.
* Info * Gradient : 3.213001e-03 a.u. (RMS)
* Info * 3.291329e-03 a.u. (Max)
* Info * Time : 8.80 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.717326969669 -0.022576312984 -0.069233490084
O 0.717326952499 0.022576327524 -0.069233479839
H -0.938264375635 0.643460611212 0.603423926929
H 0.938264392799 -0.643460627441 0.603423911064
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.000235615601 0.002562905679 -0.001975674203
O -0.000235620517 -0.002562902258 -0.001975674448
H 0.000019087398 -0.001958210689 0.001987978613
H -0.000019082470 0.001958207251 0.001987982158
*** Time spent in gradient calculation: 5.45 sec ***
* Info * Energy : -151.4218947077 a.u.
* Info * Gradient : 3.026078e-03 a.u. (RMS)
* Info * 3.244578e-03 a.u. (Max)
* Info * Time : 10.97 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.717512780698 -0.022769574522 -0.069518015808
O 0.717512778858 0.022769585821 -0.069518016377
H -0.938220049446 0.643263780486 0.603180754770
H 0.938220050755 -0.643263792727 0.603180737222
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.000032055524 0.002545588940 -0.001966377907
O -0.000032064436 -0.002545576275 -0.001966386067
H 0.000049376150 -0.001971291002 0.001978629599
H -0.000049367237 0.001971278328 0.001978642675
*** Time spent in gradient calculation: 2.15 sec ***
* Info * Energy : -151.4218948643 a.u.
* Info * Gradient : 3.012564e-03 a.u. (RMS)
* Info * 3.216783e-03 a.u. (Max)
* Info * Time : 3.77 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.717512780698 -0.022769574522 -0.069518015808
O 0.717512778858 0.022769585821 -0.069518016377
H -0.938220049446 0.643263780486 0.603180754770
H 0.938220050755 -0.643263792727 0.603180737222
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.000032055524 0.002545588940 -0.001966377907
O -0.000032064436 -0.002545576275 -0.001966386066
H 0.000049376150 -0.001971291002 0.001978629599
H -0.000049367237 0.001971278328 0.001978642675
*** Time spent in gradient calculation: 3.32 sec ***
* Info * Energy : -151.4218948643 a.u.
* Info * Gradient : 3.012564e-03 a.u. (RMS)
* Info * 3.216783e-03 a.u. (Max)
* Info * Time : 3.68 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.713982746765 -0.074643760745 0.028996441117
O 0.713982744937 0.074643768840 0.028996441933
H -0.998039031103 0.724033909626 0.504666299152
H 0.998039032400 -0.724033918662 0.504666279750
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.003016326891 0.002971903939 -0.000102248967
O -0.003016299600 -0.002971938076 -0.000102239681
H -0.003119567273 0.000366970110 0.000113969496
H 0.003119539988 -0.000366935979 0.000113949452
*** Time spent in gradient calculation: 4.48 sec ***
* Info * Energy : -151.4229608508 a.u.
* Info * Gradient : 3.729623e-03 a.u. (RMS)
* Info * 4.235674e-03 a.u. (Max)
* Info * Time : 14.41 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.713123455099 -0.083740479219 0.027663432029
O 0.713123392014 0.083740503092 0.027663479956
H -0.979752222958 0.718275263247 0.505500838360
H 0.979752285320 -0.718275287778 0.505500823191
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.003421916048 -0.001293246435 -0.000322437691
O -0.003421931552 0.001293258500 -0.000322439578
H 0.000925400361 0.000557011187 0.000332525299
H -0.000925384854 -0.000557023328 0.000332533595
*** Time spent in gradient calculation: 1.56 sec ***
* Info * Energy : -151.4230624477 a.u.
* Info * Gradient : 2.716912e-03 a.u. (RMS)
* Info * 3.672343e-03 a.u. (Max)
* Info * Time : 3.26 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.715472442209 -0.081507986342 0.027826796568
O 0.715472407926 0.081508011553 0.027826828819
H -0.984425169286 0.719650945383 0.504979638991
H 0.984425202736 -0.719650968844 0.504979622221
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.000807051259 0.000189092138 0.000030852686
O -0.000807066818 -0.000189069936 0.000030843926
H 0.000017096093 -0.000081695345 -0.000020859887
H -0.000017080527 0.000081673085 -0.000020846034
*** Time spent in gradient calculation: 2.12 sec ***
* Info * Energy : -151.4230933927 a.u.
* Info * Gradient : 5.896807e-04 a.u. (RMS)
* Info * 8.294912e-04 a.u. (Max)
* Info * Time : 12.34 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.716143884924 -0.081611720059 0.027536300866
O 0.716143893236 0.081611737529 0.027536308670
H -0.984575068189 0.719744431985 0.504772009567
H 0.984575058690 -0.719744444857 0.504771981153
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.000100856031 0.000097804866 0.000000798755
O -0.000100843828 -0.000097818616 0.000000801433
H -0.000012882640 -0.000051940877 0.000009227671
H 0.000012870443 0.000051954625 0.000009219395
*** Time spent in gradient calculation: 2.48 sec ***
* Info * Energy : -151.4230945691 a.u.
* Info * Gradient : 1.065081e-04 a.u. (RMS)
* Info * 1.404941e-04 a.u. (Max)
* Info * Time : 4.13 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.716249469597 -0.081719838261 0.027257963237
O 0.716249439450 0.081719863750 0.027258008088
H -0.984513764420 0.719710517962 0.504538790756
H 0.984513793080 -0.719710538666 0.504538772307
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O -0.000006573057 0.000025805260 -0.000021686085
O 0.000006557168 -0.000025787679 -0.000021690637
H 0.000000489128 -0.000018217919 0.000031726673
H -0.000000473237 0.000018200295 0.000031737767
*** Time spent in gradient calculation: 1.23 sec ***
* Info * Energy : -151.4230945900 a.u.
* Info * Gradient : 3.548014e-05 a.u. (RMS)
* Info * 3.658908e-05 a.u. (Max)
* Info * Time : 6.53 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.716249469597 -0.081719838261 0.027257963237
O 0.716249439450 0.081719863750 0.027258008088
H -0.984513764420 0.719710517962 0.504538790756
H 0.984513793080 -0.719710538666 0.504538772307
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O -0.000006573057 0.000025805260 -0.000021686085
O 0.000006557168 -0.000025787679 -0.000021690637
H 0.000000489128 -0.000018217919 0.000031726673
H -0.000000473237 0.000018200295 0.000031737767
*** Time spent in gradient calculation: 2.03 sec ***
* Info * Energy : -151.4230945900 a.u.
* Info * Gradient : 3.548014e-05 a.u. (RMS)
* Info * 3.658908e-05 a.u. (Max)
* Info * Time : 2.41 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.712301459113 -0.110986799204 0.142368994960
O 0.712301424704 0.110986813328 0.142369053232
H -1.027846427618 0.773007946743 0.389427754734
H 1.027846460540 -0.773007956083 0.389427734471
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.003825145713 0.002605167262 0.000642467484
O -0.003825164170 -0.002605145042 0.000642463993
H -0.002523078578 0.000506695469 -0.000634212479
H 0.002523097048 -0.000506717749 -0.000634205807
*** Time spent in gradient calculation: 2.01 sec ***
* Info * Energy : -151.4225352499 a.u.
* Info * Gradient : 3.798444e-03 a.u. (RMS)
* Info * 4.672411e-03 a.u. (Max)
* Info * Time : 10.16 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.712221557482 -0.117377910303 0.141861826019
O 0.712221574538 0.117377925150 0.141861854288
H -1.016608681896 0.769384440237 0.389569249050
H 1.016608662877 -0.769384447925 0.389569225472
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.003078159260 -0.000688196245 0.000597830225
O -0.003078154461 0.000688192675 0.000597830065
H 0.000368989235 0.000558037477 -0.000591119869
H -0.000368994034 -0.000558033904 -0.000591121039
*** Time spent in gradient calculation: 2.23 sec ***
* Info * Energy : -151.4226108521 a.u.
* Info * Gradient : 2.356167e-03 a.u. (RMS)
* Info * 3.210308e-03 a.u. (Max)
* Info * Time : 4.62 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.714557232967 -0.116558360133 0.141782851659
O 0.714557242974 0.116558373527 0.141782885374
H -1.018509728787 0.769983212463 0.389344136316
H 1.018509716749 -0.769983218435 0.389344112407
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.000499551402 0.000014392131 0.000720267676
O -0.000499544159 -0.000014403158 0.000720269358
H 0.000037893561 0.000017763503 -0.000713745929
H -0.000037900805 -0.000017752473 -0.000713748993
*** Time spent in gradient calculation: 1.94 sec ***
* Info * Energy : -151.4226283037 a.u.
* Info * Gradient : 7.999153e-04 a.u. (RMS)
* Info * 8.766666e-04 a.u. (Max)
* Info * Time : 22.14 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.715028535265 -0.116637808409 0.141585198752
O 0.715028525091 0.116637824111 0.141585244772
H -1.018704145143 0.770175068005 0.389206441103
H 1.018704153361 -0.770175076366 0.389206418953
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.000046222874 -0.000185873474 0.000676098504
O -0.000046204112 0.000185840426 0.000676103796
H -0.000027063704 0.000155825456 -0.000669517567
H 0.000027044946 -0.000155792434 -0.000669526299
*** Time spent in gradient calculation: 3.32 sec ***
* Info * Energy : -151.4226288556 a.u.
* Info * Gradient : 6.953629e-04 a.u. (RMS)
* Info * 7.027053e-04 a.u. (Max)
* Info * Time : 8.10 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.715028535265 -0.116637808409 0.141585198752
O 0.715028525091 0.116637824111 0.141585244772
H -1.018704145143 0.770175068005 0.389206441103
H 1.018704153361 -0.770175076366 0.389206418953
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.000046222874 -0.000185873474 0.000676098504
O -0.000046204111 0.000185840426 0.000676103796
H -0.000027063704 0.000155825456 -0.000669517567
H 0.000027044946 -0.000155792434 -0.000669526299
*** Time spent in gradient calculation: 2.12 sec ***
* Info * Energy : -151.4226288556 a.u.
* Info * Gradient : 6.953629e-04 a.u. (RMS)
* Info * 7.027053e-04 a.u. (Max)
* Info * Time : 2.74 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.713433684492 -0.126026073630 0.265395794074
O 0.713433668255 0.126026077435 0.265395845191
H -1.034410232803 0.788821638780 0.265395844480
H 1.034410247084 -0.788821635245 0.265395822048
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.001524682888 0.001258013711 -0.000000001637
O -0.001524699685 -0.001257987383 -0.000000001852
H -0.000929794890 0.000030505811 0.000000001723
H 0.000929811692 -0.000030532157 0.000000001770
*** Time spent in gradient calculation: 1.17 sec ***
* Info * Energy : -151.4222290378 a.u.
* Info * Gradient : 1.544784e-03 a.u. (RMS)
* Info * 1.976678e-03 a.u. (Max)
* Info * Time : 8.59 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.713419399656 -0.129270145139 0.265395806443
O 0.713419425644 0.129270148086 0.265395846369
H -1.029214053578 0.787028047301 0.265395838696
H 1.029214025440 -0.787028042089 0.265395814117
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.001071799858 -0.000524388713 0.000000000004
O -0.001071788908 0.000524372780 -0.000000000002
H 0.000486763750 0.000129014674 0.000000000015
H -0.000486774710 -0.000128998707 -0.000000000016
*** Time spent in gradient calculation: 1.26 sec ***
* Info * Energy : -151.4222379855 a.u.
* Info * Gradient : 9.157798e-04 a.u. (RMS)
* Info * 1.193205e-03 a.u. (Max)
* Info * Time : 4.25 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.714373021229 -0.128305916565 0.265395804153
O 0.714373032143 0.128305918487 0.265395848642
H -1.031186373961 0.787622130787 0.265395838381
H 1.031186361163 -0.787622125446 0.265395814414
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.000144865498 0.000085973920 0.000000000010
O -0.000144857954 -0.000085986687 -0.000000000010
H 0.000030096962 -0.000061359213 -0.000000000002
H -0.000030104511 0.000061372000 0.000000000002
*** Time spent in gradient calculation: 1.63 sec ***
* Info * Energy : -151.4222430261 a.u.
* Info * Gradient : 1.285483e-04 a.u. (RMS)
* Info * 1.684563e-04 a.u. (Max)
* Info * Time : 3.20 sec
* Info * Computing energy and gradient...
SCF Gradient Driver Setup
===========================
Gradient Type : Analytical
Exchange-Correlation Functional : B3LYP
Molecular Grid Level : 4
Molecular Geometry (Angstroms)
--------------------------------
Atom Coordinate X Coordinate Y Coordinate Z
O -0.714508917465 -0.128375811492 0.265395801774
O 0.714508910092 0.128375814474 0.265395851021
H -1.031333507117 0.787618734644 0.265395837747
H 1.031333512878 -0.787618731247 0.265395815048
Analytical Gradient (Hartree/Bohr)
------------------------------------
Atom Gradient X Gradient Y Gradient Z
O 0.000010651696 0.000016732968 0.000000000004
O -0.000010660585 -0.000016718737 -0.000000000003
H 0.000001154572 -0.000007944237 -0.000000000001
H -0.000001145682 0.000007929998 0.000000000001
*** Time spent in gradient calculation: 1.65 sec ***
* Info * Energy : -151.4222430845 a.u.
* Info * Gradient : 1.512660e-05 a.u. (RMS)
* Info * 1.983560e-05 a.u. (Max)
* Info * Time : 3.00 sec
* Info * Geometry optimization completed.
Final Geometry (Angstroms)
============================
Atom Coordinate X Coordinate Y Coordinate Z
O -0.714508917465 -0.128375811492 0.265395801774
O 0.714508910092 0.128375814474 0.265395851021
H -1.031333507117 0.787618734644 0.265395837747
H 1.031333512878 -0.787618731247 0.265395815048
Summary of Geometry Scan
==========================
Scan Energy (a.u.) Relative Energy (a.u.) Relative Energy (kJ/mol)
----------------------------------------------------------------------------------
1 -151.409872505542 0.013222084488 34.7145780575
2 -151.412411271133 0.010683318897 28.0490499125
3 -151.417778033109 0.005316556922 13.9586182808
4 -151.421894864263 0.001199725767 3.1498795699
5 -151.423094590030 0.000000000000 0.0000000000
6 -151.422628855617 0.000465734413 1.2227855335
7 -151.422243084473 0.000851505557 2.2356275336
*** Time spent in Optimization Driver: 278.77 sec
* Info * Optimization results written to file: vlx_20260306_e0f3cd52.h5
import numpy as np
import matplotlib.pyplot as plt
from scipy.interpolate import CubicSpline
au2kJmol = 2625.50
npoints = len(opt_results["scan_energies"])
x = np.linspace(0, 180, npoints)
y = np.array(opt_results["scan_energies"])
y = (y - np.min(y)) * au2kJmol
cs = CubicSpline(x, y)
x_fine = np.linspace(x.min(), x.max(), 400)
y_fine = cs(x_fine)
plt.figure(figsize=(6, 4))
plt.plot(x_fine, y_fine, '-')
plt.plot(x, y, 'o')
plt.grid(True)
plt.title("Dihedral scan for hydrogen peroxide")
plt.xlabel('dihedrag angle (deg)')
plt.ylabel('Energy (kJ/mol)')
plt.show()
Text file
@jobs
task: optimize
@end
@method settings
xcfun: b3lyp
basis: def2-svp
@end
@optimize
scan dihedral 1 3 4 2 180 0 9
@end
@molecule
charge: 0
multiplicity: 1
xyz:
...
@end
Figure: Relaxed scan of dihedral angle in the ground state, S0.