Quantum 1 Modules |
This section includes:
Accessing MOPAC in Cerius2
After starting Cerius2, select the QUANTUM 1 card deck. The MOPAC card should already be at the front of the deck. If not, click its name. This card gives you access to functionality for setting up and running your MOPAC job and analyzing the results. The QUANTUM 1 card deck should look like:)
This section explains how to use the Cerius2 MOPAC interface and does not discuss the MOPAC application in any detail. To learn more about MOPAC, please refer to the MOPAC documentation set. If you have MOPAC93, refer to the documentation provided. Otherwise you can obtain a documentation set by ordering MOPAC7 from QCPE at Indiana University, Department of Chemistry, Bloomington, Indiana. Telephone: [+1] (812) 855-4784. Website: see Other relevant websites.
Types of calculation tasks
Typical MOPAC calculations
This section describes how to perform the following basic tasks for which MOPAC is used:
Additional tasks are also available. For additional information, please see the on-screen help for the MOPAC Run and MOPAC Task Options control panels (see Setting up and starting calculations), as well as the MOPAC documentation set.
For all calculations, you of course first need to have a model present in Cerius2. For information on building and reading in models, please see Cerius2 Modeling Environment (published separately by MSI).
A typical MOPAC session involves several phases:
Who should read this section
If your model structure is satisfactory, you do not need to read this section and may proceed to Optional job control issues.
Read this section if you want information on:
Setting geometric constraints
What constraints are used for
The MOPAC program supports partial optimizations, transition-state searches, and potential scans. That is, the coordinates of some atoms are allowed to vary, while the positions of other atoms remain fixed during a calculation. This can decrease computation time considerably.
The list box in this control panel shows a Z-matrix specifying the model's geometry. By default, Vs are placed next to each coordinate value, indicating that all coordinates are free to vary.
Tip
If only a column of atom numbers is displayed in the Z-matrix list, then no Z-matrix information is currently available for the model. Z-matrix information can be obtained by using the Z-Matrix Editor (see Z-Matrix Editor control panel), by saving a job input file for the model (the MOPAC interface calculates the Z-matrix when generating the file), or from an output file selected for analysis. |
Detailed information on Z-matrices is contained in Quantum 1 Module Utilities.
Which atoms correspond to which line in the Z-matrix?
To identify the atoms in your model more easily, you may label them by selecting NUMBERS from the label-style popup (second control from the left in the tool bar of the man Visualizer control panel).
To fix a bond, angle, or torsion, use the mouse to select (highlight) the line in the Z-matrix that contains the desired item. Then click the appropriate FIX pushbutton in the Constraint controls below the list box. The flag for that item in the Z-matrix changes to F, and the pushbutton is now labelled VARY (so that you can reset the flag to V if you want).
When you click the Find all symmetry action button, the program automatically enforces symmetry during the calculation for bond (default), angle, or torsion (as determined by the popup) parameters in the current model. Use the associated entry box to specify a tolerance factor (in angstroms or degrees, as appropriate) within which parameters should be considered equal for the purpose of applying symmetry constraints.
When you click the Remove symmetry definitions action button, the symmetry definition(s) are removed from the selected Z-matrix line.
Please see the on-screen help for additional information on the controls in this panel.
Finding and setting the point-group symmetry for your model
What symmetry is used for
With the MOPAC Symmetry control panel (which is accessed by selecting the Geometry/Symmetry menu item on the MOPAC card), you can find the symmetry group of all or some of the atoms in your model within a desired level of tolerance. You can also enforce exact symmetry upon the conformation of all or part of your model and specify that symmetry be used in your MOPAC calculation.
Note
Using symmetry in an MOPAC run can significantly reduce the computational effort. The number of integrals that need to be evaluated and the number of degrees of freedom in geometry and transition-state calculations are reduced.
If you want only to find the point-group symmetry of all or part of your model:
If you also want to enforce exact symmetry by snapping the atoms to their exact symmetry positions and/or reorienting the structure to the symmetry axes, make sure that the check boxes for Snap atoms to exact symmetry and/or Re-orient atoms to symmetry axes are checked when you click the Find symmetry of action button.
If you find that you need to use very large tolerance values, you should probably use the Bond Geometry control panel (accessed by selecting the Move/Bond Geometry... item from the menu bar at the top of the main Visualizer control panel) to manually adjust the geometry before using the MOPAC Symmetry control panel.
The symmetry found in this step is automatically used by MOPAC if possible. Otherwise, the program automatically chooses the most appropriate related symmetry group.
Editing the Z-matrix for your model
Please see Editing Z-matrices, since this functionality is found in all the Quantum 1 applications.
Non-default job-control conditions are set with the MOPAC Job Control control panel, which you access by clicking the Job Control menu item on the MOPAC card.
Optional job control issues
If you intend to run MOPAC on the same machine on which you are running Cerius2 and do not care about monitoring the job while it runs or about transferring files, you do not need to read this section and may proceed to Setting up and starting calculations.
Read this section if you want information on:
Interactive
In interactive mode, Cerius2 displays the MOPAC logfile output so you can monitor the progress of the jobs. However, you cannot do anything else in the Cerius2 interface until the job is complete, so this is useful only for jobs that you expect to finish quickly.
In background mode, the job runs without communicating with the Cerius2 interface, and you can quit Cerius2, allowing the job to run by itself. When you exit Cerius2, a status file is automatically saved so that, if Cerius2 is restarted, the job can be selected for monitoring or (if it has finished) the output files can be read in for analysis (see Studying MOPAC output).
In NQS mode, the job is submitted to the Network Queueing System, provided that this software has been installed, on the local or remote host. Once the job is queued, you can quit Cerius2, allowing the job to run by itself. An NQS-mode job can be selected for monitoring or file transfer in a later Cerius2 session.
Selecting a machine and base directory
By default, the MOPAC job runs on the machine on which you are running Cerius2. However, you may, for example, send it to a faster machine.
Click the Hosts arrow in the MOPAC Job Control control panel to obtain a pulldown listing machines at your site to which you can send the MOPAC job. The list contains all suitable hosts on your network (as defined in applcomm.db--for a description and example file entries, see the Cerius2 Installation and Administration Guide).
Depending on your site's setup, you might not have permission to run on all the machines listed in the pulldown, or you may need to specify a user ID and password to access some machines. Use the Options... pushbutton to access the MOPAC Job Control Options control panel, where you can input a User ID and Password before selecting your host machine.
Tip
If in doubt about any of the options relating to machines and network configuration at your site, please see your system administrator. |
You also need to specify a working (base) directory on the host machine if the default specification is not correct. For more information on how to do this, as well as whether files need to be transferred between machines in consequence, please see the on-screen help (click the right mouse button while the cursor is over the Base Directory entry box).
Setting up NQS-mode jobs
Setting Run Mode to NQS on the MOPAC Job Control control panel causes a More... pushbutton to appear. This button provides access to the NQS Control control panel, which allows you to set commonly used NQS flags (such as queue name and time and memory limits) and to set the names of the commands used to submit, monitor, and kill NQS jobs on the chosen host.
Other output options
MOPAC options governing the output of a variety of general, geometric, and electronic information can all be set on the MOPAC Output Options control panel, accessed by clicking the Output Options... pushbutton on the MOPAC Run control panel.
Monitoring and controlling running jobs
The Cerius2 MOPAC Job Status list box in the MOPAC Job Control control panel shows the filenames and directories associated with your MOPAC runs. For each job, the list shows the host name, datafile prefix, status (started, running, or complete for interactive and background jobs, or NQS_SUB, NQS_RUN, or complete for NQS jobs), process or NQS-request ID, and working directory. Click the UPDATE pushbutton to update this list. To remove an item from the list (if that job has completed), click the REMOVE pushbutton.
Tip
The status of the job is updated only if you click the UPDATE pushbutton, not if you merely close the MOPAC Job Control control panel or exit the Cerius2 session. |
Transferring files from one machine to another
If it is necessary to move output files from a remote machine to the run directory on your local machine (in some situations they are automatically returned at the end of a job), select the job in the Job Status list in the MOPAC Job Control control panel and click the TRANSFER pushbutton.
Note
The remote file system may actually be the same as your local file system (if, for example, it is NFS mounted the same way on both systems). In this case, no transfer of files is necessary. |
Creating hessian and coordinate files
Following a MOPAC job, it is possible to create a Cerius2 coordinate file (run_name.car) and a hessian file (run_name.hessian) using a perl script called mpcarhess.pl. Following the completion of a MOPAC job, locate the output file, run_name.out, and execute the command:
If you plan to use this hessian file in subsequent calculations (for example, for DMol3 optimizations) you must be aware of several features imposed by the design of the Cerius2 interface to MOPAC. The order of the atoms in the MOPAC z-matrix is typically different from the order of atoms assigned in the Cerius2 interface. The order of atoms in the run_name.car and run_name.hessian files corresponds to the order in the MOPAC output file, not to the order in the Cerius2 interface. Whenever you run subsequent calculations using the hessian file, you must open the run_name.car file as your starting point, not the MOPAC run_name.out file.
For example, in the simple case of hydrogen peroxide (HOOH), you might build the molecule with the atoms in the order H, O, O, H, so this order would be assigned by Cerius2. However, the MOPAC z-matrix might start with the O-O bond, in which case the order of atoms in the MOPAC output file would be O, O, H, H. The ordering of atoms in the .car and .hessian files will correspond to this order, not to the order assigned by the interface. In order to set up subsequent jobs using the .hessian file, you should open the HOOH .car file, and not the MOPAC .out file.
The default MOPAC Run control panel looks like:
Starting a run
If the default task (single-point energy calculation) and other options are satisfactory, you need only click the RUN pushbutton in the MOPAC Run control panel to start your run.
If you are sure that the default task is appropriate to your computational problem, you do not need to read this section and may run your job and then proceed to Studying MOPAC output.
Read this section if you want information on:
For complete lists and descriptions of available calculation tasks, approximation methods, and basis sets, see the MOPAC documentation. The objectives of some typical tasks are:
Specifying tasks
Specify the MOPAC calculation task by selecting the appropriate task from the Task popup.
Single-point energy calculations
To specify a single-point energy calculation (i.e., compute the SCF solution for the input geometry), set the Task popup in the MOPAC Run control panel to Single Point Energy. You may want to set additional options (see Approximation methods) before clicking the RUN pushbutton in the MOPAC Run control panel.
Geometry optimizations
To optimize the geometry (minimize the energy) of your model, set the Task popup in the MOPAC Run control panel to Geometry Optimization.
Click the More... pushbutton in the MOPAC Run control panel next to the Task popup to open the MOPAC Task Options control panel. You can use this panel to control the convergence criterion and set other options.
Transition-state optimizations
To optimize a transition state for your model (i.e., to find a saddle point on the potential energy surface), set the Task popup in the MOPAC Run control panel to TS Optimization.
Click the More... pushbutton in the MOPAC Run control panel next to the Task popup to open the MOPAC Task Options control panel. You can use this panel to control the optimization procedure.
Frequency calculations
To calculate the vibrational modes and frequencies of your model, set the Task popup in the MOPAC Run control panel to Frequency.
Click the More... pushbutton in the MOPAC Run control panel next to the Task popup to open the MOPAC Task Options control panel. You can use this panel to control the frequency calculation and specify some output.
Scanning the potential energy surface
To perform a sequence of related geometry optimizations for your model (e.g., to systematically vary one or more torsion angles and to optimize the geometry at each defined set of torsion angles), set the Task popup in the MOPAC Run control panel to Scan Potential Surface.
Click the More... pushbutton in the MOPAC Run control panel next to the Task popup to open the MOPAC Task Options control panel. You can use this panel to control the calculation.
To systematically vary one or two bond lengths, dihedral angles, and/or torsion angles, enter the Line Number of the appropriate line in the Z-matrix, which you can obtain from the MOPAC Geometry control panel (Setting geometric constraints).
You can specify whether scanning in MOPAC is one or two dimensional and whether a regular range of values or only certain specified values are scanned.
To define the values between which to change regularly varied coordinates, enter the desired start and stop values and the number of steps in the respective entry boxes.
Other tasks
Only some of the tasks that MOPAC is capable of are mentioned above, for a complete list, please see the popups in the MOPAC Run or MOPAC Tasks control panel.
Approximation methods
MOPAC offers several different semi-empirical approximation methods for task calculation. Available methods are:
The controls on the MOPAC Methods control panel are largely context sensitive. That is, only those options appropriate for your chosen selections are displayed.
Refer to the on-screen help text (available by right-clicking any control) and the MOPAC documentation for detailed information about all options in this control panel.
If your model has any spin-unpaired electrons, you need to specify the number of alpha electrons minus the number of beta electrons in the Spin entry box.
It is up to you to choose the correct values for Charge and Spin, although the entry boxes do not accept values that are unreasonable.
To calculate atomic charges fit to the electrostatic potential of the molecule, check the ESPD Charge check box.
For additional information on the controls in this control panel, please see the on-screen help or the MOPAC documentation.
Also refer to the on-line help text and the MOPAC documentation for information about the controls on the MOPAC I.P. Correction Setup control panel (accessed by clicking the Setup... pushbutton in the MOPAC SCF Options control panel, which appears only when MOPAC93 is selected).
For MOPAC7 and MOPAC93 jobs, you can set up a COnductor-like Screening MOdel (COSMO) calculation using the controls on the MOPAC Solvent Options control panel, which is accessed by clicking the Solvent... pushbutton on the MOPAC Run control panel.
The MOPAC Solvent Options control panel contains controls that allow you to set various options to be used for your solvation job.
Refer to the on-screen help text (available by right-clicking any control) and the MOPAC documentation to obtain more information about the controls in this control panel.
Categories of property calculations include:
You can specify the properties to be calculated during the MOPAC run and their associated options using the controls on the MOPAC Properties control panel which is accessed by selecting the Properties menu item from the MOPAC menu card.
Handling and naming MOPAC input files
Filenames
MOPAC input and output files generated by the Cerius2 have several different file extensions. To change the default root name for files associated with your run, edit the contents of the File Prefix entry box in the MOPAC Run control panel. Alternatively, you can select a root name from existing datafiles using controls on the MOPAC Input File control panel (Saving, editing, and using input files). We will refer to this root (or "seed") name as run_name in this section.
To change the default title for your run, edit the contents of the Title entry box in the MOPAC Run control panel. This descriptive text is included in the input and output files associated with your run, to aid in identifying your run.
Before you run your job (passing the input file generated by the MOPAC interface to the MOPAC software), you can review the commands that reflect your defined options in the Keyword scrolling list box on the MOPAC Run control panel.
For other aspects of file handling, access the MOPAC Input File control panel by clicking the Files... pushbutton in the Run MOPAC control panel.
Restart files are saved periodically during the MOPAC run. From the MOPAC Run Options control panel, you can specify the amount of elapsed CPU between restart file saves (Dump Frequency entry box) and, therefore, the maximum amount of unrecoverable run time.
You may be able to obtain manually or extrapolate all the information that you require from the data in the output file. However, the MOPAC interface provides a set of analysis tools that you can use to analyze information from the output file and readily visualize the results using the rich Cerius2 graphical display functionality.
Information that can be analyzed using the MOPAC analysis tools includes:
Output from the last MOPAC job completed in interactive mode during this Cerius2 session is automatically selected for analysis. Any graphs produced (IR spectrum, energy vs. structure number) are automatically displayed at the end of the run.
The list box in the MOPAC File Analysis control panel shows the files in your current directory. You can browse other directories by using the popup menu above the list box. If a MOPAC file named run_name.out is present, the run has ended and the results can be analyzed.
By default, when you SELECT a run_name.out file, the associated MOPAC model is automatically loaded into the model display window, and graphs of any relevant properties present in the file are automatically generated. You may want to prevent this for some reason (see Loading models and structures for how to load models after loading the run_name.out file). To unset these automatic options (before you click the SELECT pushbutton), click the Options... pushbutton in the MOPAC File Analysis control panel to access the MOPAC File Analysis Options control panel.
Output file identification and contents
A summary of the calculation is displayed in the Summary of Calculation list box in the MOPAC File Analysis control panel after you SELECT a file.
Analyzing coordinates, charges, and dipoles
You may change the defaults for recovering your model and graph, for display of the dipole vector, and for analysis of the output for your run with the MOPAC Model Analysis control panel. Access this panel by selecting the Analyze/Models menu item on the MOPAC card.
If you did not automatically load the model when you specified which file to analyze (Before you load the output files ...), you may load models by clicking the Recover structure action button. If the output file contains more than one structure, you may select which structure(s) to load by using the entry box and/or the increment and decrement buttons also on the top line of the control panel.
Displaying the dipole moment vector
The check box for Show Dipole Vector, the Color popup, and the Display Scale entry box control the display of a vector indicating the dipole moment of the model.
Analyzing vibrational frequencies and normal modes
When you select the output file (Choosing the MOPAC output files to be analyzed) from a frequency run for analysis, the IR spectrum is automatically displayed in a graph window, and the lowest normal mode is displayed on the model. Selecting a peak in the graph window automatically shows the corresponding normal mode in the model window.
The MOPAC Vibration control panel, which is accessed by selecting the Analyze/Vibrations menu item on the MOPAC card, displays a full list of normal modes and their frequencies and IR intensities. As modes are picked in the graph, the corresponding mode in the control panel is highlighted.
The Display Selected Mode section of the MOPAC Vibration control panel controls the Cerius2 model window.
Finally, you may scale the calculated frequencies by a Frequency Scale Factor, so that they agree better with experimental frequencies.
Analyzing orbitals, densities, and potentials
Orbitals, densities, and potentials are scalar functions that are defined in the continuous 3D space surrounding the model. In practice, they are evaluated on a fine grid of points that completely encompass the model. This produces a large amount of information, which is typically visualized as an isosurface; that is, the constant-value points surrounding the model are connected as a surface. The data can also be visualized as slices showing the values of the function on a 2D plane cutting through the model.
Calculating orbitals
You can calculate (and display, see also Displaying orbitals, densities, and potentials as surfaces) the molecular orbitals, appropriately oriented with respect to the displayed model. To do this, use the MOPAC Orbitals control panel, which is accessed by selecting the Analyze/Orbitals menu item on the MOPAC card.
Which orbitals to calculate and display
You may calculate orbitals for electrons with alpha or beta spin by choosing Alpha or Beta from a popup menu. The alpha or beta orbitals are shown in the list box, as well as their symmetry labels and energies. Select an orbital from the list or choose HOMO or LUMO to quickly select the highest occupied molecular orbital or lowest unoccupied molecular orbital.
To display more than one calculated orbital simultaneously, you can use the MOPAC Surfaces control panel (Displaying orbitals, densities, and potentials as surfaces).
You can control the resolution with which the grid is calculated, through a popup. LOW-resolution grids are faster to calculate and display, HIGH-resolution grids give the highest-quality graphic output, and MEDIUM-resolution grids represent a compromise between these considerations.
Click the Preferences... pushbutton if you want to turn off automatic (re)creation of orbital surfaces or change the default name of the file in which to save the calculated orbital grid.
Calculating localized orbitals
You can calculate (and display, see also Displaying orbitals, densities, and potentials as surfaces) localized molecular orbitals, appropriately oriented with respect to the displayed model. To do this, use the MOPAC Localized Orbitals control panel, which is accessed by selecting the Analyze/Localized Orbitals menu item on the MOPAC card.
Which localized orbitals to calculate and display
To generate data for localized orbitals, click the LOCALIZE pushbutton in the MOPAC Localized Orbitals control panel.
To display more than one calculated localized orbital simultaneously, you can use the MOPAC Surfaces control panel (Displaying orbitals, densities, and potentials as surfaces).
You can control the resolution with which the grid is calculated, through a popup. LOW-resolution grids are faster to calculate and display, HIGH-resolution grids give the highest-quality graphic output, and MEDIUM-resolution grids represent a compromise between these considerations.
Click the Preferences... pushbutton if you want to turn off automatic (re)creation of orbital surfaces, change the cutoff for display, or change the default name of the file in which to save the calculated orbital grid.
Calculating the electron density
You can calculate (and display, see also Displaying orbitals, densities, and potentials as surfaces) the electron density, appropriately oriented with respect to the displayed model. To do this, use the MOPAC Density control panel, which is accessed by selecting the Analyze/Density menu item on the MOPAC card.
You can control the resolution with which the grid is calculated, through a popup.
Click the Preferences... pushbutton if you want to turn off automatic (re)creation of electron density surfaces or change the default name of the file in which to save the calculated density grid:
Calculating the electrostatic potential
You can calculate (and display, see also Displaying orbitals, densities, and potentials as surfaces) a representation of the electrostatic potential, appropriately oriented with respect to the displayed model. To do this, use the MOPAC Potential control panel, which is accessed by selecting the Analyze/Potential menu item on the MOPAC card.
You can control the resolution with which the grid is calculated, through a popup.
Click the Preferences... pushbutton if you want to turn on or off automatic (re)creation of electrostatic potential surfaces or change the default name of the file in which to save the calculated potential grid.
Displaying orbitals, densities, and potentials as surfaces
When you need to use this control panel
Finding your surfacing files
If you want to display a currently undisplayed surface, use the Files... pushbutton to access the MOPAC Surfacing Files control panel. Select the desired run_name_property.mbk file and click the LOAD button. You can use the browser popup menu to access directories other than the current one.
Once you have a surfacing file loaded and if the default settings in the MOPAC Surfaces control panel are satisfactory, you can click the Create New Surface action button (in the MOPAC Surfaces control panel) to create and display that surface on your model. Make sure that none of the surfaces in the list box is selected if you want to create and display a new surface in addition to those already displayed.
An isosurface connects points in space that have the same value of some parameter. However, you can add an additional dimension to a surface, by making a property map, which displays the values of another property as different colors on an existing displayed surface.
Specify a property to be mapped by choosing the appropriate run_name_property.mbk file from the list box and clicking the LOAD pushbutton. You can use the browser popup menu to access directories other than the current one.
If more than one surface is displayed or has been loaded, you may need to select the one on which to map the property, using the list box in the MOPAC Surfaces control panel (Displaying orbitals, densities, and potentials as surfaces).
Click the Add Property action button to display the property map.
Editing and displaying slices
To edit and display a 2D slice through the 3D grid of orbitals, density, or potential for your model, use the MOPAC Slices control panel, which is accessed by selecting the Analyze/Slices menu item on the MOPAC card.
If necessary, choose the orbital, density, or potential file to be surfaced by clicking the Files... pushbutton to access the MOPAC Surfacing Files control panel (Finding your surfacing files). Select the appropriate run_name_property.mbk file from the list box and click the LOAD pushbutton. You can use the browser popup menu to access directories other than the current one.
Slice specification and display
Once you have loaded a .mbk file and if the default settings in the MOPAC Slices control panel are satisfactory, you can click the Create New Slice action button (in the MOPAC Slices control panel) to create and display a selected slice for your model.
A slice is defined by its position and direction. The default position and direction are chosen so that the slice passes through the best-fit plane to the whole model or any selected atoms. A slice is created with a default position and direction and can be returned to the default position or direction by clicking the appropriate reset buttons.
Clicking the More Editing Options... pushbutton gives you access to the MOPAC Slice Preferences control panel.