Configuring Gaussian

This section discusses the general procedures for installing and configuring Gaussian on UNIX systems. Be sure to check the instructions and release notes accompanying your version of the program for additional or alternate instructions pertaining to your particular computer system.

System Requirements

Configuring the Gaussian Execution Environment

Gaussian locates executables and creates scratch files in directories specified by several environment variables. However, the user is responsible for creating two of them:

The Gaussian initialization files are responsible for initializing other aliases and environment variables as needed. All Gaussian users need to execute the appropriate Gaussian initialization file within their UNIX shell-specific initialization file. See chapter 2 for more details.

The environment variables created by g09.login and g09.profile include:

Network/cluster parallel calculations using Linda may also use the GAUSS_LFLAGS environment variable to pass options to the Linda process. See the discussion of running Gaussian jobs with Linda for details.

Scratch File Considerations

On UNIX systems, Gaussian generates unique scratch file names based on the process ID when no name has been specified by the user. This mechanism is designed to allow multiple Gaussian jobs to execute simultaneously using a common scratch directory.

Scratch files are deleted automatically when a job completes successfully or dies cleanly by default. However, scratch files are not deleted when a job is killed externally or otherwise terminates abnormally. Consequently, leftover files may accumulate in the scratch directory.

An easy method for avoiding excessive clutter is to have all users share a common scratch directory, and to have that scratch directory cleared at system boot time by adding an rm command to the appropriate system boot script (e.g., /etc/rc or one of the files under /etc/rc.d/rc3.d). If the NQS batch system is in use, clearing the scratch directory should also be done before NQS is started, ensuring that no jobs are using the directory when it is cleared.

 


Last update: 23 April 2013