Previous Next

PC GAMESS Tutorial

Introduction

This tutorial illustrates how to set up and analyze quantum chemistry calculations with the program PC GAMESS. As the name implies, PC GAMESS program is a derivative of computational chemistry program GAMESS that has been optimized for Intel-compatible x86, AMD64, and EM64T architectures. PC GAMESS and US GAMESS are fairly complicated computational chemistry programs that offer user lots of flexibility and power. This tutorial is not geared toward "power user" but rather aims to provide gentle introduction on how a user who is not expert in molecular symmetry or optimization algorithms can successfully run basic calculations with PC GAMESS. However, performance-related aspects are briefly mentioned where appropriate.

The tutorial assumes that a recent version (7.0 or newer) of PC GAMESS is installed under Linux and that the user has access to a molecular structure editor, such as MOLDEN. Under Windows, a graphical user interface RUNpcg by Ernst Schumacher can be used to generate and launch PC GAMESS calculations. The RUNpcg program also works under Linux after installing Wine. This tutorial assumes a more typical Linux setup that lacks Wine. You can use any text editor to prepare the input files for PC GAMESS as long as it is saved as a plain text file. You can use MOLDEN to visualize the output of a PC GAMESS calculation after converting the DOS-style carriage returns to Unix style with the program dos2unix.

General Structure of a PC GAMESS input file

The example below illustrates a general structure of a simple input file for PC GAMESS. The file requests a single point MP2 energy calculation of a symmetric water molecule using Dunning's cc-pVTZ basis set.

 $contrl scftyp=rhf runtyp=energy mplevl=2 d5=.t. coord=cart nprint=-5 $end
 $system mwords=64 timlim=600 $end
 $basis extfil=.t. gbasis=cc-pvtz $end
 $guess guess=huckel $end
 $data
Water MP2/cc-pVTZ single point energy calculation
Cnv 2

O 8  0.000000  0.000000  0.117613
H 1  0.000000  0.757348 -0.470450
H 1  0.000000 -0.757348 -0.470450
 $end

Notice that the calculation is controlled by keywords, such as scftyp=rhf. Keywords that control similar aspects of a calculation are combined into groups. Each group starts from a new line at position 2 (i.e. after a single whitespace character). The most important keyword groups are:

Running a PC GAMESS calculation

Under Linux, it is easiest to run PC GAMESS in a directory that contains your input file and resides in a partition with lots of free space. PC GAMESS needs to know about names and whereabouts of files such as

PC GAMESS will abort if temporary files from a previous job are found. For example, make sure to remove or rename files such as PUNCH and DICTNRY before a new calculation. The calculation is launched from the command line. Assuming that the program pcgamess is in your path, that the PC GAMESS library files are installed in /usr/local/pcgamess and that you have named the input file water_vtz_mp2.inp, you can run the calculation by issuing the following command:
pcgamess -i water_vtz_mp2.inp -o water_vtz_mp2.out -b /usr/local/pcgamess/cc-pvtz.bas -ex /usr/local/pcgamess

More about symmetry in PC GAMESS and US GAMESS

PC GAMESS and US GAMESS allow several different ways to specify molecular geometry of symmetric molecules. In fact, the automatic symmetry handling in the previous example has significant limitations when carrying out more advanced calculations. A better way to specify the molecular geometry of symmetric molecules is to provide only the positions of unique atoms (coord=unique) in a standard coordinate system. Now, the XYZ order becomes important. You may need to swap XYZ coordinate values of all atoms such that the molecule is in the standard orientation. The standard orientation in PC GAMESS and US GAMESS is defined as one in which:

  1. the Z-axis is the principal axis of rotation
  2. the X-axis is a perpendicular two-fold axis
  3. the XZ plane is a vertical plane of symmetry (sigmav )
  4. the XY plane is a horizontal plane of symmetry (sigmah)

The example below illustrates an input for MP2/cc-pVTZ calculation of water using only unique coordinates. Note how the contrl keywords span two lines.

 $contrl scftyp=rhf runtyp=energy mplevl=2 d5=.t.
  icharg=0 mult=1 coord=unique nprint=-5  $end
 $system mwords=64 timlim=600 $end
 $basis extfil=.t. gbasis=cc-pvtz $end
 $guess guess=huckel $end
 $data
Water MP2/cc-pVTZ single point energy calculation
Cnv 2

O 8.0    0.000000     0.000000     0.117613
H 1.0    0.757348     0.000000    -0.470450
 $end

In the water example above, the main axis of rotation (Z) passes through the oxygen and the two hydrogens lie on the XZ-plane. Notice that only one hydrogen position is given in the example above because the second position (-0.757348 0.000000 -0.470450) can be generated by applying the appropriate symmetry generators.


Previous Next

Materials by Dr. Kalju Kahn, Department of Chemistry and Biochemistry, UC Santa Barbara. ©2007.