Introduction to
GaussView and Gaussian
Benjamin J. Lynch
blynch@msi.umn.edu
help@msi.umn.edu
www.msi.umn.edu www.msi.umn.edu
• Description of Both Programs
• How to Create Input Files (with GaussView)
• How to Submit Calculations
• How to Visualize Output
Description • Input • Submit • Visualize
www.msi.umn.edu
Gaussian 03:
an electronic structure package capable of predicting many
properties of atoms, molecules, and reactive systems
e.g.
• Energies
• Structures
• Vibrational frequencies
utilizing ab initio, density functional theory, semi-empirical,
molecular mechanics, and hybrid methods.
Description • Input • Submit • Visualize
www.msi.umn.edu
GaussView:
graphical interface for Gaussian 03
• build molecules or reactive systems
• setup Gaussian 03 input files
• graphically examine results
Description • Input • Submit • Visualize
www.msi.umn.edu
Visualization
GaussView
Input/Output
Text Files
Gaussian03 Electronic Structure Calculations
Description • Input • Submit • Visualize
www.msi.umn.edu
Calculations with Gaussian
Description • Input • Submit • Visualize
www.msi.umn.edu
Types of Calculations
• single point energy and properties (electron
density, dipole moment, …)
• geometry optimization
• frequency
• reaction path following
Description • Input • Submit • Visualize
www.msi.umn.edu
Levels of Theory Available:
– semi-empirical
The level of theory is the
AM1, PM3, MNDO, … set of underlying approximations
used to describe the chemical
– density functional theory system. Higher levels of theory
B3LYP, MPW1PW91, … are often more accurate however
they come at much greater
– ab initio computational cost.
HF, MP2, CCSD, CCSD(T), …
– hybrid
G2, G3, …
Description • Input • Submit • Visualize
www.msi.umn.edu
Basis Sets Available:
– Pople-type
Basis sets are used for most
3-21G, 6-31G, 6-311G(d,p), … calculations in Gaussian. They
are a set of functions that are
– Dunning used to describe electronic
wavefunctions.
cc-pVDZ, aug-cc-pVTZ, …
– Huzinaga and Others
MIDIX, …
– User-defined
Description • Input • Submit • Visualize
www.msi.umn.edu
Creating Input Files for Gaussian
Description • Input • Submit • Visualize
www.msi.umn.edu
Water Optimization Input File
%mem=32mb system resources
#p hf/6-31g opt computational model
type of calculation
hf/6-31g optimization of water title
0 1 charge & multiplicity
o
h 1 oh structure definition
h 1 oh 2 ahoh (z-matrix)
oh=0.9 variable values
ahoh=104.0
Description • Input • Submit • Visualize
www.msi.umn.edu
Spin multiplicity:
multiplicity = n + 1
where n = # of unpaired electrons
Description • Input • Submit • Visualize
www.msi.umn.edu
Building with GaussView:
• Instead of typing all the coordinates, theory, basis
set, etc., we can use GaussView.
• The calculation is specified by pointing and clicking
to build the molecule, and using pull-down menus to
select the calculation type, level of theory and basis
set.
• GaussView generates the Gaussian input file, and
can run Gaussian without ever returning to the Unix
prompt.
• GaussView can also be used to read Gaussian
output files and visualize the results.
Description • Input • Submit • Visualize
www.msi.umn.edu
Getting Started with GaussView:
• Login remotely
ssh -X sp.msi.umn.edu
• Load Gaussian/GaussView module
module add g03
• Launch GaussView
gv
Description • Input • Submit • Visualize
www.msi.umn.edu
Builder
Viewer
Description • Input • Submit • Visualize
www.msi.umn.edu
Mouse Button Action Function
Left Click Selects or inserts item
Drag Left/Right Rotates about Y-axis
Drag Up/Down Rotates about X-axis
Center/Left-Right Drag Translation of
molecule
Right Drag Left/Right Rotates about Z-axis
Drag Up/Down Zooms in and out
Note: Holding down the Tab key limits mouse action to the closest
distinct fragment.
Description • Input • Submit • Visualize
www.msi.umn.edu
Molecule Selected fragments
Are previewed here
Building
Fragments are
Selected
Molecule is put together
Here
Description • Input • Submit • Visualize
www.msi.umn.edu
Molecule
Building
The atom labeled “Hot” is is where the fragment
will attach to the system you are building.
Description • Input • Submit • Visualize
www.msi.umn.edu
Steps to Building
• Choose an atom or fragment
• Choose the location of the fragment that
will attach to your molecule in the builder
window
• Select/add the fragment to your molecule
in the viewer window
• repeat
www.msi.umn.edu
Elements:
Description • Input • Submit • Visualize
www.msi.umn.edu
Ring Fragments:
Description • Input • Submit • Visualize
www.msi.umn.edu
R-Group Fragments:
Description • Input • Submit • Visualize
www.msi.umn.edu
Biological Fragments:
Description • Input • Submit • Visualize
www.msi.umn.edu
Molecule
Building
clean up
This option will use a MM
calculation to optimize the
geometry (very fast).
Description • Input • Submit • Visualize
www.msi.umn.edu
Submitting Calculations
Description • Input • Submit • Visualize
www.msi.umn.edu
Interactive:
Command:
g03 < input_file > output_file
Notes:
1) input and output files can use absolute or relative
pathnames
2) Gaussian temporary files can be redirected by
setting the GAUSS_SCRDIR environment variable.
setenv GAUSS_SCRDIR /scratch/pfast
3) BE CAREFUL how long you run interactively
Description • Input • Submit • Visualize
www.msi.umn.edu
Batch:
Command:
qg03 [-options] input_file
Options:
-h help, display a usage list and the defaults
-e email notification
-m total amount of memory
-n node, choose the particular processor
-p number of processors
-r run?
-s scratch space
-t amount of wallclock time
Description • Input • Submit • Visualize
www.msi.umn.edu
Select Gaussian
Submitting jobs through GaussView:
Description • Input • Submit • Visualize
www.msi.umn.edu
Choose Job Type
Description • Input • Submit • Visualize
www.msi.umn.edu
Method & Basis Set
Description • Input • Submit • Visualize
www.msi.umn.edu
Save Input File
Description • Input • Submit • Visualize
www.msi.umn.edu
Description • Input • Submit • Visualize
www.msi.umn.edu
Description • Input • Submit • Visualize
www.msi.umn.edu
The submission
dialogue box will appear
a little different depending
on which machine you
are running GaussView on.
Description • Input • Submit • Visualize
www.msi.umn.edu
Submitting your Gaussian job
If you haven’t saved your input file yet, Gaussview will
Prompt you to save your input file.
You will name the input file, and then submit the calculation.
When Gaussian is finished running, you will receive a message
in Gaussview.
Description • Input • Submit • Visualize
www.msi.umn.edu
How to Visualize
Description • Input • Submit • Visualize
www.msi.umn.edu
Visualization Features
Description • Input • Submit • Visualize
www.msi.umn.edu
How to view your output
• Your submitted calculation will run in the
background.
• When it is complete, Gaussview will
inform you and ask you if you wish to
view an output file.
• From the list of files, you can pick your
output (something.chk)
www.msi.umn.edu
How to view your output
• If you ever want to open an output file
again, you can go to:
File Open
In the GaussView menus to open any output
file.
www.msi.umn.edu
Output that can be visualized
• Geometry
• Vibrations
• Orbitals
• Electron density
• Electrostatic potential
www.msi.umn.edu
Main results menu
Description • Input • Submit • Visualize
www.msi.umn.edu
Frequencies
Description • Input • Submit • Visualize
www.msi.umn.edu
Spectra
Description • Input • Submit • Visualize
www.msi.umn.edu
A cube file is a
format of 3-D
data that can
be plotted.
You can generate
a cube file to display
orbitals, electron
densities, electrostatic
potentials, etc.
www.msi.umn.edu
Description • Input • Submit • Visualize
www.msi.umn.edu
Questions?
http://www.gaussian.com
email: blynch@msi.umn.edu
audette@chem.umn.edu
help@msi.umn.edu
Description • Input • Submit • Visualize
www.msi.umn.edu