GAUSSIAN: Difference between revisions

From Wiki
Jump to navigation Jump to search
 
(42 intermediate revisions by 4 users not shown)
Line 3: Line 3:




Gaussian 03 is the latest in the Gaussian series of electronic structure programs. Gaussian 03 is used by chemists, chemical engineers, biochemists, physicists and others for research in established and emerging areas of chemical interest.
Gaussian 09 is the latest in the Gaussian series of electronic structure programs. Gaussian is used by chemists, chemical engineers, biochemists, physicists and others for research in established and emerging areas of chemical interest.


Starting from the basic laws of quantum mechanics, Gaussian predicts the energies, molecular structures, and vibrational frequencies of molecular systems, along with numerous molecular properties derived from these basic computation types. It can be used to study molecules and reactions under a wide range of conditions, including both stable species and compounds which are difficult or impossible to observe experimentally such as short-lived intermediates and transition structures. This article introduces several of its new and enhanced features.
Starting from the basic laws of quantum mechanics, Gaussian predicts the energies, molecular structures, and vibrational frequencies of molecular systems, along with numerous molecular properties derived from these basic computation types. It can be used to study molecules and reactions under a wide range of conditions, including both stable species and compounds which are difficult or impossible to observe experimentally such as short-lived intermediates and transition structures. This article introduces several of its new and enhanced features.
Line 9: Line 9:
GAUSSIAN was first written by John Pople and released in 1970. According to the manual, it can deal with different computational approaches: molecular mechanics (AMBER, UFF, DREIDING), semi-empirical calculations (AM1,PM3,CNDO,INDO,MINDO/3,MNDO), SCF methods (Restricted, Unrestricted, and Restricted Open-shell Hartree-Fock), Møller-Plesset perturbation theory, DFT methods (Hybrid functionals, exchange functionals and correlation functionals), ONIOM (QM/MM method), Complete Active Space (CAS) and Multi-Configurational Self-Consistent Field calculations, Coupled Cluster calculations, QCI methods and Quantum chemistry composite methods.
GAUSSIAN was first written by John Pople and released in 1970. According to the manual, it can deal with different computational approaches: molecular mechanics (AMBER, UFF, DREIDING), semi-empirical calculations (AM1,PM3,CNDO,INDO,MINDO/3,MNDO), SCF methods (Restricted, Unrestricted, and Restricted Open-shell Hartree-Fock), Møller-Plesset perturbation theory, DFT methods (Hybrid functionals, exchange functionals and correlation functionals), ONIOM (QM/MM method), Complete Active Space (CAS) and Multi-Configurational Self-Consistent Field calculations, Coupled Cluster calculations, QCI methods and Quantum chemistry composite methods.


Nearly everything you need to know can be found on the Gaussian's homepage, [[1]] and the on-line manual, [2]]  
Nearly everything you need to know can be found on the Gaussian's homepage, [http://www.gaussian.com] and the on-line manual, [http://www.gaussian.com/g_tech/g_ur/g09help.htm]  


==Installing Gaussian in your local computer==


It is sometimes useful to be able to run short calculations on your local machine. Although this should not be done systematically to avoid burning out the machine.  
REMEMBER: '''You MUST use the "p" keyword''' for extra-print in '''all your calculations'''.  


One option is to compile the code (potentially painful).
==Versions ==


Another option is to copy a pre-compiled version following the instructions below. It will not run optimally for your machine, but ...
* [[G09]]


[[Installing Gaussian on your local computer]]
* [[G03]]


==Gaussian for beginners ==
==Gaussian for beginners ==
Line 47: Line 46:
[[ Optimisation from transition state geometries]]
[[ Optimisation from transition state geometries]]


== Gaussian questions & answers ==
[[Solvent single point]]
[[Issues related to the output ]]
 
== Links ==
 
http://www.gaussian.com/tech_top_level.htm
 
http://en.wikipedia.org/wiki/GAUSSIAN
 
Introduction and input/output explanation of PCM
http://www.cup.uni-muenchen.de/oc/zipse/compchem/solv/pcm.html


== Gaussian related Tips:==
== Gaussian related Tips:==
Line 64: Line 52:
* '''Checkpoints''': They are big files which contain information such as the wave function or the geometry of finished calculations. They can not be edited with vi or nedit... (as they are written in binary) but the information they contain can be read by Gaussian. Although they might be very useful, to store them is not recommended if we are not sure about their utility.  
* '''Checkpoints''': They are big files which contain information such as the wave function or the geometry of finished calculations. They can not be edited with vi or nedit... (as they are written in binary) but the information they contain can be read by Gaussian. Although they might be very useful, to store them is not recommended if we are not sure about their utility.  


In kimik, when the calculation finishes they are saved in the same directory as the output. For practical reasons while the calculation is running the checkpoint file should be saved in the Scratch. The submision script qs adds the lines  
In kimik/kimik2, when the calculation finishes they are saved in the same directory as the output. For practical reasons while the calculation is running the checkpoint file should be saved in the Scratch. The submision script qs adds the lines  


  %chk=/scratch/filename.chk  
  %chk=/scratch/filename.chk  
  %nproc=XX  (XX=nodes you asked for when using qs (qs 1 l g03 filename.in -> %nproc=1, whilst qs 1 q g03 filename.in -> %nproc=4)
  %nprocs=XX  (XX corresponds the ''type'' of node (4,8 or 12) you requested in qs
automatically at the beginning of your input file creating a new input called filename.in.in.''' You should not include these lines in your input file ''' when using qs, if not you will end up with two %chk= lines and two %nproc=.


The qs script does not add a line to specify memory usage, which must be done manually with the %Mem= command. The maximum memory usable in the single core nodes is 950MB, and about 1900MB on the quads. (As a rule, you should specify no more than 85% of a nodes memory capacity to allow for normal OS operations, like disk writing and network access, otherwise you will start using swap space and slow down the calculation drastically)
* '''Memory''': The qs script does not add a line to specify memory usage, which must be done manually with the "%Mem=" command. As a rule you should specify no more than 85% of a node's memory capacity to allow for normal OS operations, like disk writing and network access, otherwise you will start using swap space and slow down the calculation drastically (especially in frequency calculations)
 
* '''--link1--'''; you can link calculations by writing the inputs one after the other and adding '''--link1--''' between them (one blank line before link1 and no blank line after). With this and the keywords geom=(checkpoint), guess=(read)... you could save time when doing solvent calculations or other. The outputs will be written in a single file.


=== ABOUT NBO: Natural Bond Orbital Analysis ===
=== ABOUT NBO: Natural Bond Orbital Analysis ===
Line 78: Line 67:
http://www.chem.wisc.edu/~nbo5/ch3nh2.html
http://www.chem.wisc.edu/~nbo5/ch3nh2.html


=== ABOUT PCM (CPCM, IPCM,..) :===
=== NMR parameters, the chemical shift ===
* If you have one or more '''hydrogens "bonded" to two atoms''' (close to two atoms), the default parameters of PCM will not be able to compute the molecular cavity for them. There are two solutions for this problem:
 
The '''NMR''' keyword can be added at the command line. It predicts NMR shielding tensors and magnetic susceptibilities (HF, DFT & MP2 methods).
 
The '''GIAO''' method is used by default, and it is one of the recommended methods. Usually these calculations are performed with IGLO-II basis sets, altough other basis sets can also been used.


-1- Use a different model to build up the cavity. Change the default UAO which does not explicitly consider hydrogens, by UHF, PAULING, BONDI.. which consider hydrogens explicitly.
To obtain the chemical shifts, the Isotropic Magnetic shielding (ppm) obtained from the Gaussian output, should be '''referenced to that of TMS''' (tetra-methylsilane) at the same level. i.e. at b3lyp/6-31g* basis set it is 31.92 ppm.


-2- Use the keyword SPHEREONH = atom number of the hydrogen "bonded" to two atoms.
δ(X) (ppm) = isotropic(TMS) – isotropic(X)


* Often Gaussian has problems computing the cavity in specific structures, giving an error message like the one below...
=== Bader's analysis ===


AdVTs1: ISph= 3760 is engulfed by JSph= 3762 but Ae( 3760) is not yet zero!
If you would like to analyse your systems by using parameters of Bader's analysis (AIM Atoms in Molecules). You could use gaussian to get a .wfn file. To get it it is necessary to write output=wfn at the command line and the name of the wfn file at the end (after general basis sets).[[example_bader]]


There are two methods to solve this:
Afterwards you could use Xaim  to locate critical points, or to plot the maps of density, laplacian, ... Prof. Carles Bo is one of the fathers of Xaim. Xaim is available on kimik and it can be download for free at


-1- Increase the RMIN value used in the calculation.
http://www.quimica.urv.es/XAIM/
Increasing the RMIN value smooths the surface of the spheres that make the cavity and helps prevent overlapping.
The default value in Gaussian 03 is RMIN=0.20, but you can use any value up to 0.40. You should try to keep the new RMIN within 0.1 vs the default, as a larger difference will give errors in the solvation free energy to the 4th decimal place (from 0.05 kcal/mol upwards).


-2- Try to modify slightly your coordinates.
== Scripts ==
A very small change of the coordinates may be enough to eliminate the problem. A good way to do that is to round the coordinates (i.e. from 2.347895 to 2.348) or re-optimize the molecule (the coordinates you will get will be slightly different). Even though that sounds quite stupid some times it is enough for the program to work.


== Old version of Gaussian, G98 ==
* [[energies]]


http://aliga.iciq.es/wiki/images/files/g98/index.htm
* [[Macromodel_to_gaussian]]

Latest revision as of 14:55, 30 October 2012

go back to Main Page, Computational Resources, Chemistry & More, Computational Codes


Gaussian 09 is the latest in the Gaussian series of electronic structure programs. Gaussian is used by chemists, chemical engineers, biochemists, physicists and others for research in established and emerging areas of chemical interest.

Starting from the basic laws of quantum mechanics, Gaussian predicts the energies, molecular structures, and vibrational frequencies of molecular systems, along with numerous molecular properties derived from these basic computation types. It can be used to study molecules and reactions under a wide range of conditions, including both stable species and compounds which are difficult or impossible to observe experimentally such as short-lived intermediates and transition structures. This article introduces several of its new and enhanced features.

GAUSSIAN was first written by John Pople and released in 1970. According to the manual, it can deal with different computational approaches: molecular mechanics (AMBER, UFF, DREIDING), semi-empirical calculations (AM1,PM3,CNDO,INDO,MINDO/3,MNDO), SCF methods (Restricted, Unrestricted, and Restricted Open-shell Hartree-Fock), Møller-Plesset perturbation theory, DFT methods (Hybrid functionals, exchange functionals and correlation functionals), ONIOM (QM/MM method), Complete Active Space (CAS) and Multi-Configurational Self-Consistent Field calculations, Coupled Cluster calculations, QCI methods and Quantum chemistry composite methods.

Nearly everything you need to know can be found on the Gaussian's homepage, [1] and the on-line manual, [2]


REMEMBER: You MUST use the "p" keyword for extra-print in all your calculations.

Versions[edit]

Gaussian for beginners[edit]

If you are not familiar with Gaussian and Gaussview, it might be a good idea to run some "simple" calculations before starting your "own" project. Following the ling below you will find some exercices prepared for the Master on Computational Chemistry, which are a good starting point.

Gaussian4beginners

Graphical Interfaces[edit]

link to the GaussView help : [[3]] and Gauss View in the wiki Gauss View

Input Examples[edit]

In spite of the highly informative Gaussian homepage, it can sometimes be difficult for newcomers to get a quick overview of the program. In order to make the introduction to the program easier, input examples for several kinds of calculations will be presented in the following. In this way users new to the program can just copy, paste and modify the input examples and they will have a calculation ready to submit.

Geometry optimisation

Constrained optimisation

Transition sate search

QST2 calculation

IRC calculation

Optimisation from transition state geometries

Solvent single point

Gaussian related Tips:[edit]

ABOUT SENDING CALCULATIONS :[edit]

  • Checkpoints: They are big files which contain information such as the wave function or the geometry of finished calculations. They can not be edited with vi or nedit... (as they are written in binary) but the information they contain can be read by Gaussian. Although they might be very useful, to store them is not recommended if we are not sure about their utility.

In kimik/kimik2, when the calculation finishes they are saved in the same directory as the output. For practical reasons while the calculation is running the checkpoint file should be saved in the Scratch. The submision script qs adds the lines

%chk=/scratch/filename.chk 
%nprocs=XX  (XX corresponds the type of node (4,8 or 12) you requested in qs
  • Memory: The qs script does not add a line to specify memory usage, which must be done manually with the "%Mem=" command. As a rule you should specify no more than 85% of a node's memory capacity to allow for normal OS operations, like disk writing and network access, otherwise you will start using swap space and slow down the calculation drastically (especially in frequency calculations)
  • --link1--; you can link calculations by writing the inputs one after the other and adding --link1-- between them (one blank line before link1 and no blank line after). With this and the keywords geom=(checkpoint), guess=(read)... you could save time when doing solvent calculations or other. The outputs will be written in a single file.

ABOUT NBO: Natural Bond Orbital Analysis[edit]

It is recommended to use the keyword pop=nboread in the command line and at the end of the file $NBO 3CBONDS RESONANCE $END

http://www.chem.wisc.edu/~nbo5/ch3nh2.html

NMR parameters, the chemical shift[edit]

The NMR keyword can be added at the command line. It predicts NMR shielding tensors and magnetic susceptibilities (HF, DFT & MP2 methods).

The GIAO method is used by default, and it is one of the recommended methods. Usually these calculations are performed with IGLO-II basis sets, altough other basis sets can also been used.

To obtain the chemical shifts, the Isotropic Magnetic shielding (ppm) obtained from the Gaussian output, should be referenced to that of TMS (tetra-methylsilane) at the same level. i.e. at b3lyp/6-31g* basis set it is 31.92 ppm.

δ(X) (ppm) = isotropic(TMS) – isotropic(X)

Bader's analysis[edit]

If you would like to analyse your systems by using parameters of Bader's analysis (AIM Atoms in Molecules). You could use gaussian to get a .wfn file. To get it it is necessary to write output=wfn at the command line and the name of the wfn file at the end (after general basis sets).example_bader

Afterwards you could use Xaim to locate critical points, or to plot the maps of density, laplacian, ... Prof. Carles Bo is one of the fathers of Xaim. Xaim is available on kimik and it can be download for free at

http://www.quimica.urv.es/XAIM/

Scripts[edit]