Previous

PC GAMESS Tutorial

Introduction

This tutorial illustrates how to set up and analyze quantum chemistry calculations with the program PC GAMESS under Linux. 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. 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.

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
 $d5  d5=.t. f7=.t. g9=.t. $end
 $data
Water 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 after a single whitespace character. The most important keyword groups are:

Running PC GAMESS calculation

PC GAMESS needs to know about names and whereabouts of files such as

Thus, if you have saved the input file as water_vtz_mp2.inp and if the PC GAMESS files are installed in /usr/local/pcg you can enter
pcgamess -i water_vtz_mp2.inp -o water_vtz_mp2.out -b /usr/local/pcg/cc-pvtz.bas -ex /usr/local/pcg

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 handeling 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
 $d5  d5=.t. f7=.t. g9=.t. $end
 $mp2 method=2 $end
 $data
Water 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.

Performance Considerations

One of the appeal of PC GAMESS is that you are likely to achieve very high performance on modern PC hardware with the right set of keywords. The performance of various parts can be further tuned by picking an algorithm best suited for a given problem size and computer hardware. There are lots of tuning options but one common performance-enhancing trick is:


Previous

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