CUBY logo
back to Interfaces

Gaussian interface

Difference between revisions from 2010/10/15 21:22 and 2010/10/15 21:21.
This simple interface provides access to calculations in the [Gaussian program|] (Comercial). The current functionality allows only the basic methods (HF, DFT, MP2) to be used, the interface has not been tested with others and may not read the output correctly.

The method of calculation is entered directly in the Gaussian format, as the method specification that appears on the "#" line in the input. This keyword gaussian_keywords is the only one needed in the cuby input:
{{gaussian_keywords: "MP2/6-31G*"}}

!Versions supported
The interface was developed to work with Gaussian 03. Now, we are using G09, but 100% compatibility is not guaranteed.

* gaussian_keywords
* mem
* charge
* multiplicity

To interface gaussian to cuby, a modification of the script for running gaussian is needed. The original version (usually named G09) runs in the background. Because cuby has to wait for the calculation to finish, the modified script should run in the foreground. Use a copy of the original script as a starting point, or try to adapt this script:

export g09root="your_path_to_gaussian_executables"
export GAUSS_EXEDIR="$g09root"
export GAUSS_SCRDIR="/tmp/gaussian/gaussian_$$"

if [ -e "" ]
mkdir -p $GAUSS_SCRDIR
mkdir -p $GAUSS_SCRDIR
echo "Running G09 job "
echo "`basename {CONTENT}` input"