ORCA

Table of Contents

- ORCA forum - no GPU support in ORCA 4.x
- ORCA forum- Known Bug: Analytic Hessian with RI for (ORCA <= 4.2.1)
- ORCA forum - VPT2 anharmonic force field
- The anharmonic treatment needs a method which is implemented with analytical hessian, otherwise the results are dominated by numerical noise.
- A note on the side and a remark for VPT2 - small vibrational frequencies are always troublesome. Small frequency means shallow potential and hence the molecule can move quite a bit in its zero-point motion, so it is likely to experience anharmonicity in the potential. VPT2, as a perturbative method, naturally has a problem when the perturbation increases, so often one finds that when you need it the most, it does not perform so well. AIMD with snapshot sampling is an -expernsive- alternative here. For temperature corrections using VPT2 I even observed that frequencies below 50-100 wavenumbers have to be excluded as the VPT2 expression becomes singular for small frequencies ...

- 2021 - JCP - DLPNO-MP2 second derivatives for the computation of polarizabilities and NMR shieldings
- Harmonic frequency calculations are not available yet, since an efficient evaluation of Hessian is needed.

- 2017 - ORCA4 review paper
- ORCA has been optimized for best single node performance, not for multi nodes.
- External packages:
- basic linear algebra system (BLAS)
- message passing interface (MPI)
- linear algebra package (LAPACK)
- LIBINT

- 2016 - JPCL - Molecules absorption on TiO2 clusters with DLPNO-CCSD(T)

System | Charge | Multiplicity |
---|---|---|

neutral molecule | 0 | 1 |

protonated PAHs C16H15+ | 1 | 1 |

cation H2O+ | 1 | 2 |

radical cation PAHs C16H14+ | 1 | 2 |

- Linear molecules have to align with z-axis for vibrational analysis |

$$\text{multiplicity} = \text{number of } \alpha \text{ electrons} - \text{number of } \beta \text{ electrons} + 1$$ - When #electrons is odd, then multiplicity must be even (2, 4, 6, ...). - When #electrons is even, then multiplicity must be old (1, 3, 5, ...).

`NOPOP`

: Turns off all population analysis (Mulliken, Loewdin, Mayer)

- Approximations to the Hartree-Fock exchange term
- Two electron integrals: the first integral is performed numerically on the grid and the second is done analytically.

`M06-2x`

should use`D3zero`

instead of`D3BJ`

D3不应当理解为是用来描述色散作用的，而是对你选择的泛函基础上进行校正以提高精度，只不过是对于色散作用描述极差的诸如B3LYP，D3主要作用才是起到描述色散作用的作用。D3的参数对每种泛函是不同的。M06-2X已经能很好描述色散作用，所以加了D3只会稍微改进一点精度，完全不会double-counting。明尼苏达系列泛函不能用BJ阻尼的D3是因为BJ阻尼下必然导致double-counting。这些问题Grimme都已经充分考虑了。 - [量化理论] M06-2X加D3校正的问题

- It is recommanded to use
`Grid6`

for minnesota meta-GGA

Using MN15 functional in ORCA 4.2.1 from libxc

! RIJCOSX def2-TZVP def2/J Opt nopop %scf maxiter 600 end %method method dft exchange hyb_mgga_x_mn15 correlation mgga_c_mn15 end %maxcore 1000 %pal nprocs 16 end *xyz 0 1 C -0.047131 0.664389 0.0 O -0.047131 -0.758551 0.0 H -1.092995 0.969785 0.0 H 0.878534 -1.048458 0.0 H 0.437145 1.080376 0.891772 H 0.437145 1.080376 -0.891772 *

- https://sites.google.com/site/orcainputlibrary/dft/broken-symmetry-dft
- https://chemistry.stackexchange.com/questions/42005/initial-guess-for-unrestricted-hartree-fock-calculation
- http://wwwuser.gwdg.de/~ggroenh/exercise_H2/h2.html
- http://sobereva.com/474

Complete Active Space Self-Consistent Field (CASSCF) - CASSCF(N,M): N-electrons are active in M orbitals.

%casscf nel N norb M end

- CASSCF provides analytical gradients, so it may be used for structure optimizations and numerical frequency calculations.

ORCA 5.0.0 and 5.0.1 has a bug in interpreting the second Colvar. This can be solved by adding 3 more zeros in the end.

Metadynamics Colvar 1 Scale 1.0_A Wall Lower 0.0 50.0 Upper 10.0 50.0 Range 0.0 10.0 100 Metadynamics Colvar 2 Scale 1.0_A Wall Lower 0.0 50.0 Upper 10.0 50.0 Range 0.0 10.0 100 0 0 0

Alternatively, putting two Colvars in the same line also solves this bug

Metadynamics Colvar 1 Scale 1.0_A Wall Lower 0.0 50.0 Upper 10.0 50.0 Colvar 2 Scale 1.0_A Wall Lower 0.0 50.0 Upper 10.0 50.0 Range 0.0 10.0 100 0.0 10.0 100

For a big system (e.g. around 200 atoms), the local optimization in new redundant internal coordinates can be very slow.
For example, updating positions could take several minutes.
Diagonalizing the G-matrix is also slow.
- `%geom MaxIter 200 end`

sets the maximum optimization cycle to 200.

Observation | Parameter | TS OPTIMIZATION |
---|---|---|

Energy Change | TolE | 5.0000e-06 Eh |

Max. Gradient | TolMAXG | 3.0000e-04 Eh/bohr |

RMS Gradient | TolRMSG | 1.0000e-04 Eh/bohr |

Max. Displacement | TolMAXD | 4.0000e-03 bohr |

RMS Displacement | TolRMSD | 2.0000e-03 bohr |

In a TS optimization we are looking for a first order saddle point, and thus for a point on the PES where the curvature is negative in the direction of the TS mode (the TS mode is also called transition state vector, the only eigenvector of the Hessian at the TS geometry with a negative eigenvalue). As transition state finder we implemented the quasi-Newton like hessian mode following algorithm.This algorithm maximizes the energy with respect to one (usually the lowest) eigenmode and minimizes with respect to the remaining 3N - 7(6) eigenmodes of the Hessian.

`OptTS`

uses the eigenvector following algorithm to find the nearest stationary point on PES. This can be local minimum or transition state.

`PreOpt_Ends`

conflicts with `NEB_Restart_XYZFile`

.
You cannot use them at the same time.

`NEB-TS`

doesn't calculate the Hessian (Initial Hessian is stored in`orca_TSOpt.appr.hess`

, no idea where this if from)

zoomNEB is similar to AutoNEB to some extents. Both methods insert images around the saddle point region on the fly. But zoomNEB inserts several images as many as initial images once identifying the saddle point region, while AutoNEB insert images one by one until a maximal pre-defined number.

- SCF (HF, LDA, GGA, hybrid, ...)
- MP2
~~Double-Hybrid functional~~~~meta-GGAs~~~~RI-JK approximation~~~~relativistic corrections~~

You can get results form a thermochemical analysis (based on ideal gas assumption) once `freq`

is turned on. The most useful quantity for me is the Gibbs free energy `G`

which includes contributions from electronic energies, vibrational frequencies and temperatures.

`G = H - T*S`

VPT2 module is available again since ORCA 5.0.0.
It is turned on by the keyword `NEARIR`

.
Since the evaluation of third and fourth derivatives are expensive, ORCA uses XTB2 to get high order derivatives by default.
The default settings are writen under `%FREQ`

:

%FREQ XTBVPT2 True DELQ 0.5 END

`DELQ`

is the step during the numerical differentiation in dimensionless normal mode units.
If one wants high order derivatives in the theory level as same as the single point calculation, `XTBVPT2 False`

can be used.
The total number of single point calculations in ORCA-VPT2 is `(2N_mode+1)(N_mode+1)`

where `N_mode = 3*N_atoms - 6`

for non-linear molecules.

`orca_pltvib`

is used for generating animations of vibrational modes.
It takes `orca.out`

or `orca.hess`

as arguments.
When analytical frequency is performed, `orca.out`

is not compatible with `orca_pltvib`

in ORCA 4.2.1.

- check geometry optimization convergence:
`grep 'The optimization did not converge' orca.out`

One has to create `JOBNAME.nodes`

in the running directory to run on multiple nodes.
`echo $SLURM_NODELIST >> JOBNAME.nodes`

will create `s31n[07-09]`

which cannot be recognized by ORCA.
The following script gives the correct multiple nodes setting.

#SBATCH --nodelist=s31n[07-09] #SBATCH --ntasks=36 #SBATCH --ntasks-per-node=12 #SBATCH --cpus-per-task=1 # change directory to the local scratch-directory, and run: cd /scratch/$SLURM_JOB_ID cat > orca.nodes <<! s31n07 slots=12 s31n08 slots=12 s31n09 slots=12 !

WARNING: For RIJCOSX frequencies GRIDX4 or larger grids are recommended

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!! FATAL ERROR ENCOUNTERED !!! !!! ----------------------- !!! !!! I/O OPERATION FAILED !!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

`I/O OPERATION FAILED`

is printed out when running out of disks.
It is better to restart a job at a node with a larger disk.

- In the case of analytical Hessian calculation, it has been suggested to use CG Z_solver via
`%method Z_Solver CG end`

[file orca_main/mainchk.cpp, line 1630]: ERROR: RI-MP2 needs an AuxC basis but none was defined!

An AuxC basis has to be defined explicitly in the input when using RI-MP2, such as `RI-MP2 ANO-pVDZ cc-pVTZ/C TightSCF Engrad`

.

[file orca_main/mainfcts.cpp, line 625]: Error : multiplicity (2) is even and number of electrons (204) is even -> impossible

---------------------------------------------------------------------------- ERROR !!! The optimization did not converge but reached the maximum number of optimization cycles. As a subsequent Frequencies calculation has been requested ORCA will abort at this point of the run. Please restart the calculation with the lowest energy geometry and/or a larger maxiter for the geometry optimization. ---------------------------------------------------------------------------- [file orca_main/run.cpp, line 10680]: ORCA finished with error return - aborting the run