Program MAKPOL

(This program is not a function within MOPAC, instead it is a utility program for building data sets for polymers, layer systems, and solids.  MAKPOL was extensively rewritten in January, 2018.  A copy of the MAKPOL executable for use on WINDOWS systems is available for download.)

MAKPOL can convert a file in PDB or ENT format into a MOPAC data-set.  These files have exactly the same format, so in principle either suffix could be used.  However, since MOPAC can generate files that have the PDB suffix, it's better to use files with the suffix .ENT with MAKPOL; there is less chance that ENT files would be accidentally over-written.   ENT files can either be created by the user or generated from a CIF file.  Two good sources are the Cambridge Structural Database, the CSD, for organic solids, and the Inorganic Crystal Structure Database, the ICSD, for inorganic solids. 

Installing MAKPOL

Download the MAKPOL executable and extract the files in the ZIP file to a convenient place, for example to Users/yourname/MAKPOL.  Then place a shortcut on the desktop.  To do this, copy the MOPAC executable and paste a shortcut on the desktop.  Then drag-and drop any of the examples in the ZIP file onto the shortcut.  The job will run very fast - must less than one second.


Starting with a PDB or ENT file

Files in PDB format normally include data on the unit cell.  These data can be seen in the line that starts with the letters "CRYST1" 

To prevent accidental over-writing of the input file, if the file's suffix is PDB re-name the suffix to ENT.  Then "drag-and-drop" the ENT file onto the MAKPOL shortcut icon.  The job should run in about a second, and produce two files.  These will be named <file>.mop and Make_<file>.dat.  <file>.mop is an ordinary MOPAC data-set.  If any changes need to be made to the cluster in <file>.mop, the easiest way to make these changes is to edit Make_<file>.dat and then run Make_<file>.dat using MAKPOL.  That will over-write <file>.mop. 

Starting with a MOPAC-type file

Any file in MOPAC format (keywords - title - comment - geometry) that has enough information to allow the translation vectors to be generated can be used with MAKPOL.  Suitable names for data-sets in MOPAC format are <file>.dat and Make_<file>.dat, although almost any other name could be used.  Avoid a name that is the same as the file-name created by MAKPOL, i.e., avoid <file>.mop.

When MAKPOL is run, it will create a file Make_<file>.dat, if that file does not already exist.  This file is in MOPAC format, and can be edited as necessary, and then used as a data-set for MAKPOL.  That allows changes to be made easier than if the changes had to be made to the original data-set.

Keywords used by MAKPOL

Any of the keywords used by MOPAC can be used in a MAKPOL data set, but, only a few keywords will be used by MAKPOL; the rest will be ignored. Keywords that are used in MAKPOL are given below.

When BCC is added all odd unit cells are omitted. An odd unit cell is one for which the addition of the cell indices results in an odd number, thus (0,0,0) and (1,1,0) would be allowed, but (1,1,1) and (2,1,0) would not. Diamond is an example of where keyword BCC would be used.
Convert the geometry generated by MAKPOL into internal coordinates.  This is useful mainly for high-symmetry systems.
Use this keyword when the resulting data set is to be used for band structure, i.e., Brillouin zone work.  The default, when LET is not present, is to re-arrange the atoms so as to make entire molecules, if possible. This step is not done when LET is present. 
For Brillouin zone work the number of unit cells in each direction must be odd and larger than 2, so the smallest allowed value for a solid is MERS(3,3,3).
The number of unit cells in each direction is defined by n3, n2, and n1. The total number of unit cells generated will be n3.n2.n1, or, if BCC is used, (n3.n2.n1)/2.
This keyword has two distinct functions. When SYMMETRY is specified, then any symmetry data present in the input data set will be used. This is useful for reducing the number of variables that need to be changed on going from one system to another (for example, on going from diamond to cubic boron nitride). If no symmetry data are present, then this function will not be used.
The second function of SYMMETRY is to impose symmetry conditions on the resulting cluster data set. Only four symmetry conditions are recognized: bond-lengths that are equal, bond angles that are equal, equal dihedral angles, and dihedral angles that are the negative of reference dihedrals.
For high symmetry systems, the cluster data set should be edited to increase the symmetry. For example, in diamond, all angles and dihedrals are symmetry defined, so all the optimization flags for these variables should be set to zero, and all symmetry functions involving angles and dihedrals should be deleted. In addition, all "bond lengths" in diamond are simple multiples of the fundamental C-C distance, so symmetry function 19 should be added. If this is done correctly, then only one geometric variable will be left.
TV=(x.xx, y.yy, z.zz)
A rarely-used keyword.  If present, this keyword defines the primitive translation vector lengths to be used when the translation vectors are not available.  An example would be if a crystal lattice existed, but there is no information on the translation vectors.  In such a case, use a graphical user interface to measure the distances from atom 1 to its equivalent position in the next unit cell, in each direction.  Use these data for the quantities x.xx, y.yy, z.zz.  The translation vectors will then be generated when the job is run using MAKPOL.
For examples for Brillouin-zone work see Program BZ.

Keywords for use in MOPAC

It is often convenient to have a set of keywords in the <file>.mop file generated by MAKPOL, that are intended for use in a MOPAC job.  To allow this, a second data-set file, named "keywords for MAKPOL.txt" can be used by MAKPOL.  This file should contain all the keywords that the resulting MOPAC data-set should contain.  This file can be empty or it can hold commonly-used MOPAC keywords, such as "0SCF HTML"