ORCA - An ab initio, DFT and semiempirical SCF-MO package [1]
By F.Iannone
(Feb.2020)
What is ORCA?
ORCA
is a general-purpose quantum chemistry program package that features virtually
all modern electronic structure methods (density functional theory, many-body
perturbation and coupled cluster theories, and multireference and semiempirical methods). It is a flexible, efficient and
easy-to-use general purpose tool for quantum chemistry
with specific emphasis on spectroscopic properties of open-shell molecules. It
features a wide variety of standard quantum chemical methods ranging from semiempirical methods to DFT to single- and multireference
correlated ab initio methods. It can also treat environmental and relativistic
effects.
An
introduction to Density Functional Theory can be find in the lectures of Dr. C.-K. Skylaris as
follow:
-
Lecture
1: Introduction to molecular quantum theory
-
Lecture
2: Hamiltonian operators for molecules
-
Lecture
3: Electronic wavefunction and electronic density
-
Lecture
4: Density instead wavefunction: the Hohenberg justification
-
Lecture
5: Orbital free (or “pure”) DFT
-
Lecture
6: Khon-Sham DFT
-
Lecture
7: The self-consistent field procedure for Khon-Sham
DFT calculations
-
Lecture
8: Gussian basis sets
-
Lecture
9: Exchange-correlation functional
-
Lecture
10: Spin polarised calculation and Geometry optimisation
-
Lecture
11: DFT for periodic crystalline solids
ORCA
uses standard Gaussian [2] basis functions
and is fully parallelized. Due to the user-friendly style, ORCA is considered
to be a helpful tool not only for computational chemists, but also for chemists, physicists and biologists that are
interested in developing the full information content of their experimental
data with help of calculations.
Which can ORCA do?
ORCA
is able to carry out geometry optimizations and to predict a large number of
spectroscopic parameters at different levels of theory. Besides the use of Hartee Fock theory, density
functional theory (DFT) and semiempirical methods,
high level ab initio quantum chemical methods, based on the configuration
interaction and coupled cluster methods, are included into ORCA to an
increasing degree.
Using ORCA
To
use ORCA, user should read and agree the license terms on ORCA End
Users License Agreement [3].
(A) Prepare ORCA input
file
The
suffix of ORCA input file can be anything - by convention unix
input is .inp.
The general structure of a
ORCA input file consist of several blocks:
Comments
in the file start by a '#' and can be closed by a second '#'.
Blocks start with '%' and end with 'end'.
Here is an example input file: TEST.INP, for benzene which request 2
processors:
# Benzene RHF Opt
Calculation
%pal nprocs 2
end
! RHF TightSCF PModel
! opt
# Molecule specification
* xyz 0 1
C 0.000000000000 1.398696930758 0.000000000000
C 0.000000000000 -1.398696930758 0.000000000000
C 1.211265339156 0.699329968382 0.000000000000
C 1.211265339156 -0.699329968382 0.000000000000
C -1.211265339156 0.699329968382 0.000000000000
C -1.211265339156 -0.699329968382 0.000000000000
H 0.000000000000 2.491406946734 0.000000000000
H 0.000000000000 -2.491406946734 0.000000000000
H 2.157597486829 1.245660462400 0.000000000000
H 2.157597486829 -1.245660462400 0.000000000000
H -2.157597486829 1.245660462400 0.000000000000
H -2.157597486829 -1.245660462400 0.000000000000
*
In general the input is not case sensitive. However, inside
strings the input is case sensitive under Linux systems.
Parallel
version of ORCA is installed in our HPC cluster system. It can be run in either
single-core or parallel (MPI) mode.
ORCA
requires MPI even for communication between cores on a single node.
Single
core operations do not require any specifics.
For
MPI mode, you should give the number of processes in the ORCA input file:
%pal
nprocs n end
where n (any
positive integer) represents number of cores to be used.
The following modules are
presently parallelized:
The efficiency
is such that for RI-DFT perhaps up to 20 processors are a good idea while for
hybrid DFT and Hartree-Fock a few more processors are
appropriate. Above this, the overhead becomes signicant
and the parallelization loses efficiency. Coupled cluster calculations usually
scale well up to at least 8 processors but probably it is also worthwhile to
try 20. For Numerical Frequencies or Gradient runs it makes sense to use as
many processors as 3*Number of Atoms.
(B) Set up ORCA in
parallel environment
Parallel ORCA can be
used with OpenMPI only and it will required
OpenMPI libraries.
|
System |
ORCA version |
OpenMPI version |
Command |
|
CRESCO6 |
4.1.2 |
3.1.2 |
module load orca |
The ENEAGRID users can install the latest versions of ORCA and OpenMPI in their own workdirs.
(C) Submit ORCA jobs
Submission of ORCA jobs
can only be done via the LSF queuing system. Please study the instructions on
using LSF in the User Guide [4].
To allow
easy use of ORCA, we have prepared sample LSF command file and ORCA input files
for your reference (TEST.INP). Explanation is embedded in these files. These
sample files could be as follow for a job with 2 tasks MPI, one for node when
you set nprocs=2 in the input file. In this case LSF
reserves 2 nodes:
#BSUB
-q cresco6_48h24
#BSUB
-J ORCA
#BSUB -n 96 ## 96 cores total
#BSUB -R "span[ptile=48]" ## 48 cores
for each nodes (means 2 nodes)
#BSUB -o Output_%J.out
#BSUB -e Error_%J.err
sleep 3
export INPUTFILE=TEST
cat $LSB_DJOB_HOSTFILE | sort -u >
$PWD/$INPUTFILE.nodes
export RSH_COMMAND=blaunch.sh
$HOME_ORCA/orca $INPUTFILE.INP '--bind-to
core --npernode 1 --mca pls_rsh_agent "blaunch.sh" --machinefile
"$PWD"/"$INPUTFILE".nodes'
Citation
Published works based on
the usage of ORCA must contain appropriate citation. The generic reference for
ORCA are:
Neese, F. (2012)
The ORCA program system, Wiley Interdiscip.
Rev.: Comput. Mol. Sci., 2, 73-78.
Neese, F. (2017) Software update: the ORCA
program system, version 4.0, Wiley Interdiscip.
Rev.: Comput. Mol. Sci., 8, e1327.
Please refer to ORCA
Manual (Section 11) for more information on ORCA publication citing guide.
Additional Information
Official ORCA website: https://orcaforum.kofo.mpg.de/ [5]
ORCA online manual [6]
ORCA Input Library: http://sites.google.com/site/orcainputlibrary/ [7]
Source URL: https://www.its.hku.hk/services/research/hpc/software/orca
Links
[1] https://www.its.hku.hk/services/research/hpc/software/orca
[2] https://www.its.hku.hk/gaussian
[3] https://www.its.hku.hk/research/docs/orca4.0.0-eula.pdf
[4] https://www.its.hku.hk/../hpc2015/userguide%23resource
[5] https://orcaforum.kofo.mpg.de/
[6] http://cec.mpg.de/fileadmin/media/Forschung/ORCA/orca_manual_4_0_1.pdf
[7] https://sites.google.com/site/orcainputlibrary/