Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

http://www.ccl.net/cca/documents/dyoung/topics/mopac.

shtml

CCL mopac
About CCL The Absolute Beginners Guide to
Rules,
Instructions, MOPAC
Contributing
Material, David Young
Supporting, About
Us, E-mail: dyoung@asc.edu
Resources
Division of University Computing
Software Archive, 144 Parker Hall
List Archive, Data Auburn University
Archives, Auburn, AL 36849
Document
Archives,
Introduction:
Search CCL
This is to teach the beginner how to use the MOPAC semiempirical computational
Text Search,
chemistry program. This guide is intended for use by someone who has never used the
RegExp Search,
program before.
Announcements
This guide is in no way intended to be a comprehensive or advance guide to MOPAC.
Conferences,
Also, this is not an explanation of the theory behind the different methods or their
Jobs, Resumes,
strengths, weaknesses, accuracy, etc.
Links
The term "semiempirical" refers to methods which use the general process dictated by
Topics, Data, molecular orbital quantum mechanics, but simplify it to gain speed then correct for the
Software Sites, simplification by the use of some experimental data.
Hardware Sites,
Institutions, MOPAC is a program for doing semiempirical calculations on atoms and molecules.
Listsoftsites, The program is operated by making an ASCII input file using any convenient text
Search Engines, editor then running the program. The results of the calculation are put in one or more
E-mail us output files. MOPAC itself currently has no provisions for graphical or interactive
inputs or outputs. However, such things do exist for use with MOPAC and can be
Send E-mail to obtained from other sources.
CCL
Administrators, This guide gives an input description by showing three sample input files and
describing what they mean. The section listing available options is not comprehensive,
but lists a number of the most frequently used options.

Input file for an atom:


The input file name is given an extention to tell the program that it is an input file. For
most systems, the input file has the extension ".dat". Here is a sample input file for a
single atom calculation.

am1 triplet vectors


Oxygen triplet atom

Line 1: "am1 triplet vectors" This is telling the program what type of calculations to
do. "am1" is the semiempirical method being used. "triplet" specifies two unpaired
electrons. "vectors" asks the program to include the molecular orbital coeficients in
the output file.

Line 2:"Oxygen triplet atom" Line 2 is a comment for the users reference only.

Line 3 is also designated as a comment line.

Line 4: "O" is specifying an oxygen atom.

Input example for a diatomic molecule:


Here is a sample input for a diatomic molecule

PM3 singlet bonds dipole mullik force


Carbon Monoxide
PM3 bond length optimization
C
O 0.955000 1 1 0 0

Only significant differences from the atom input file will be mentioned.

Line 1: "PM3 singlet bonds dipole mullik force" The "PM3" specifies the PM3
semiempirical method. "singlet" specifies all electrons paired. "dipole" is asking for
calculation of a dipole moment. "mullik" is asking for a mulliken population analysis.
"force" will result in calculation of normal mode vibrational frequencies.

Line 4: "C" specifies a carbon atom.

Line 5: "O 0.955000 1 1 0 0" The "O" specifies an oxygen atom. The "0.955000"
specifies a bond length. The first "1" designates this bond length to be optimized (0
would specify no optimization). "1 0 0" specify which bond length angle and dihedral
angle. "1" means that the bond length on that line refers to a distance between that
atom and atom number 1 (the Carbon). "0 0" these are zero because this molecule has
no angles or dihedral angles.

Input file for a polyatomic molecule:


Here is an input file for a formaldehyde molecule.

singlet vectors local bonds mullik symmetry


formaldehyde MNDO optimization with symmetry
with local orbital analysis
C
O 1.200000 1 1 0 0
H 1.080000 1 120.000000 1 1 2 0
H 1.080000 0 120.000000 0 180.000000 0 1 2 3
0 0.000000 0 0.000000 0 0.000000 0 0 0 0
3, 1, 4,
3, 2, 4,

Line 1: "singlet vectors local bonds mullik symmetry" The "local" keyword will result
in doing a local orbital analysis. The "bonds" keyword will result in a bond order
matrix. The "symmetry" keyword specifies that certain geometrical parameters will be
forced to have the same value - this requires inputs with the format shown in the last
three lines. When no semempirical method is specified, the program does a MNDO
calculation.

Line 6: "H 1.080000 1 120.000000 1 1 2 0" This specifies a hydrogen atom with a
bond length of 1.080000 to be optimized "1". A bond angle of 120.000000 is to be
optimized "1". The "1 2 0" means that the bond length referes to the distance to atom
1 (Carbon), the angle is that with atom 1 and atom 2 and there is no dihedral angle
"0".

Line 7: "H 1.080000 0 120.000000 0 180.000000 0 1 2 3" specifies a hydrogen


bonded to atom 1 with a length of 1.08000 not to be optimized separately "0". The
angle of 120.000000 with atom 1 and atom 2 is not to be optimized "0". The dihedral
angle of 180.000000 with atoms 1, 2 and 3 is not to be optimized "0".

Line 8: "0 0.000000 0 0.000000 0 0.000000 0 0 0 0" tells the program that all atoms
have now been defined.

Line 9: " 3, 1, 4," specifies that atoms 3 and 4 have an identical geometric parameter
which is the first "1" parameter, therefore the bond length.

Line 10: " 3, 2, 4," specifies that atoms 3 and 4 have an identical geometric parameter
which is the second "2" parameter or the angle.

This input will result in a geometry optimization of three variable, the carbon-oxygen
bond length, the carbond-hydrogen bond length and the oxygen-carbon-hydrogen
bond angle. All other parameters are either identical by definition (i.e. the second
hydrogen) or not optimized (i.e. the dihedral angle). Thus we have defined that our
molecule has C2V symmetry and that we will only calculate geometries corresponding
to this symmetry.

Output files:
A number of output files are created. Usually, the file with the extension ".out" is the
output that contains the information of interest.

In some versions of the program, running a second job with the same input file name
results in overwriting the output files. In other versions, running a second job results
in a second set of output files being created with filenames contiaining a numerical
code to distinguish them.

List of keywords:
This is a list of the keywords to specify what is to be calculated. This is not a
comprehensive list. This list is provided for the sake of seeing what is available. For
other options and how to use these options, see the MOPAC manual.

aigin - use a Gaussian zmatrix geometry specification


biradical- system has two unpaired electrons
bonds - print bond order matrix
C.I. - configuration interaction (useful for excited states)
charge=N - charge for ions
dfp - Davidson-Fletcher-Powell method for geometry optimization
dipole - fit the ESP to the calculated dipole
drc - dynamic reaction coordinate calculation
esp - electrostatic potential calculation
esr - calculate rhf unpaired spin density
excited - optimize first excited singlet state
force - force calculation (vibrational frequencies)
geo-ok - override interatomic distance check
hyperfine- hyperfine coupling constants to be calculated
irc - intrinsic reaction coordinate calculation
k=(n,n) - one dimensional Brillouin zone structure (polymer)
localize - print localized orbitals
mmok - use molecular mechanics correction to CONH bonds
mullik - mulliken population analysis
nomm - do not use molecular mechanics correction to CONH bonds
open - open shell rhf calculation
pi - resolve density matrix into sigma and pi bonds
polar - calculate first, second and third order polarizablilities
precise - criteria to be increased by 100 times
pulay - use Pulay's converger to obtain a scf
restart - calculation restarted
root=n - root n to be optimized in a C.I. calculation
rot=n - symmetry number of the system is n
saddle - optimize transition state
scale - scaling factor for Van der Waals distance in ESP
symmetry - impose symmetry conditions
uhf - unrestricted calculation
vectors - print final eigenvectors (molecular orbital coeficients)
xyz - do all geometric operations in cartesian coordinates

Semiempirical methods available:


Not specifying a method results in the default MNDO method. The other methods are
specified with the appropriate keyword on line 1 of the input file. These keywords are
"AM1", "PM3" and "MINDO/3".

Spin multiplicity:
The spin multiplicity is specified by the use of a keyword on the first line of the input
file. The available multiplicities are

singlet - 0 unpaired electrons


doublet - 1 unpaired electrons
triplet - 2 unpaired electrons
quartet - 3 unpaired electrons
quintet - 4 unpaired electrons
sextet - 5 unpaired electrons

Elements:
These methods were originally created with organic chemistry in mind, so the entire
periodic table is not available. However the AM1 and PM3 methods do include some
"less organic" atoms such as a few transition metals, alkalai metals and semimetals.
See the manual for which elements are available in your version of MOPAC.

Setting up your account:


On most machines, you must set up your account appropriately in order to run
MOPAC. For the specific procedure on your machine, see the installation instructions
or ask your system manager.

At MSU, the accounts that we give new users are already set up to run MOPAC.

If you can not run MOPAC on the MSU chemistry department SGI computers, put the
following lines in your .login file:

set _name=`uname`
if ($_name == "IRIX") then
source /home/pauli1/mopac/sgimopac6/mopac.csh
endif

Make the input file with the extentsion ".dat" and run mopac by typing "mopac
file_name.dat"

Return to table of contents.


E-mail David Young at dyoung@asc.edu

[ CCL Home Page ]


[ About CCL ] [ Resources ] [ Search CCL ] [ Announcements ] [ Links ] [ E-mail us ]
[ Raw Version of this page ]

Modified: Sat Mar 29 17:00:00 1997 GMT


Page accessed 33 times since Sat Apr 17 21:18:46 1999 GMT

You might also like