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|http://www.gaussian.com] (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. !Keywords * gaussian_keywords * mem * charge * multiplicity !Setup 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: {{#!/bin/bash export g09root="your_path_to_gaussian_executables" export GAUSS_EXEDIR="$g09root" export GAUSS_SCRDIR="/tmp/gaussian/gaussian_$$" export LD_LIBRARY_PATH=$GAUSS_EXEDIRif [ -e "" ]mkdir -p $GAUSS_SCRDIRthen$GAUSS_EXEDIR/g09mkdir -p $GAUSS_SCRDIRrm -rf $GAUSS_SCRDIRecho "Running G09 job "}}$GAUSS_EXEDIR/g09rm -rf $GAUSS_SCRDIRelseecho "`basename {CONTENT}` input"fi}}