TCP Linda is a parallel execution environment to parallelize Gaussian jobs.  By default, Gaussian jobs are single processor core jobs.  TCP Linda must be used to to parallelize Gaussian.  In order to use TCP Linda you must configure your Gaussian input file to use multiple processors (and possibly multiple nodes).  For multiple node jobs this requires that you know which nodes you will be running on.  However, this information is not known ahead of time.  We have developed a script that will configure your job for you.  Please follow the instructions below.

Configure Gaussian

In order to run a Gaussian job on our clusters you must first load the Gaussian module:

module load gaussian

Subsequently, you should source the Gaussian command file to set up your environment:

tcsh users:

source $g09root/g09/bsd/g09.login

bash users:

source $g09root/g09/bsd/g09.profile

Build Your Gaussian Job

You must have a Gaussian input file.  For our example we will use a file called example.gjf.

This input file must have, as its first lines, the number of processors per node and a list of the node names.  An example is shown in the Linda documentation.

An example of these lines looks like this (taken from the Linda documentation)


As stated previously, the node names for your job will not be known ahead of time. So this must be configured dynamically. To build your job submission script such that these jobs can be configured dynamically, use the following command:

create-jobscript inputfile.gjf number_of_nodes

Using our example input file example.gjf and 6 nodes, the command would look like this:

create-jobscript example.gjf 6

This will create a PBS job script named example.pbs in your current working directory, using example.gjf as the input file and using 6 nodes.  It will build a submission script that will set the Gaussian parameters necessary to run the parallel job.

To submit the job, simply use qsub as follows:

qsub ./example.pbs