GAUSSIAN-Teaching: Difference between revisions
No edit summary |
|||
Line 10: | Line 10: | ||
=== Version === | === Version === | ||
16 | |||
=== Author / Distributor === | === Author / Distributor === | ||
Line 31: | Line 31: | ||
For more information on Environment Modules on the teaching cluster please see the [[Lmod]] page. | For more information on Environment Modules on the teaching cluster please see the [[Lmod]] page. | ||
Gaussian16 (g16) is installed in /apps/eb/gaussian and it was installed without TCP-Linda, so it can only use cores within a single node (and you cannot specify %LindaWorkers larger than one). The number | |||
of threads is not specified by default. Please use the %NProcShared keyword to specify the number of threads to use. Note that in this version of Gaussian, the %NProc directive used in earlier versions is obsolete. | of threads is not specified by default. Please use the %NProcShared keyword to specify the number of threads to use. Note that in this version of Gaussian, the %NProc directive used in earlier versions is obsolete. | ||
'''For Intel processors:''' | '''For Intel processors:''' | ||
Gaussian binaries optimized | Gaussian binaries optimized for processors that support SSE4 are installed in /apps/eb/gaussian/16-SSE4. To use this version of Gaussian, please first load the gaussian/16-SSE4 module and source g16.profile with | ||
<pre class="gcommand"> | <pre class="gcommand"> | ||
module load gaussian/ | module load gaussian/16-SSE4 | ||
. $ | . $g16root/g16/bsd/g16.profile | ||
</pre> | </pre> | ||
'''Example of a shell script sub.sh to run | '''Example of a shell script sub.sh to run g16 on the batch queue:''' | ||
Line 62: | Line 53: | ||
#SBATCH --partition=batch | #SBATCH --partition=batch | ||
#SBATCH --job-name=testgauss | #SBATCH --job-name=testgauss | ||
#SBATCH --ntasks=4 | #SBATCH --ntasks=1 | ||
#SBATCH --cpus-per-task=4 | |||
#SBATCH --time=20:00:00 | #SBATCH --time=20:00:00 | ||
#SBATCH --mem=30gb | #SBATCH --mem=30gb | ||
Line 68: | Line 60: | ||
cd $SLURM_SUBMIT_DIR | cd $SLURM_SUBMIT_DIR | ||
module load gaussian/ | module load gaussian/16-SSE4 | ||
. $ | . $g16root/g16/bsd/g16.profile | ||
g16 params.com params.log | |||
</pre> | </pre> | ||
where params.com is a sample input parameter file that needs to be replaced by the name of the file you want to use. Other parameters of the job, such as the maximum wall clock time, maximum memory, the number of cores per node, and the job name need to be modified appropriately as well. In this example, the standard output of the | where params.com is a sample input parameter file that needs to be replaced by the name of the file you want to use. Other parameters of the job, such as the maximum wall clock time, maximum memory, the number of cores per node, and the job name need to be modified appropriately as well. In this example, the standard output of the g16 command will be saved into a file called params.log. | ||
Please set the '''-- | Please set the '''--cpus-per-task=''' variable to be the same number as the number of threads specified in your parameter file (params.com) with the variable %NProcShared, e.g. %NProcShared=4. Please also request as much memory for the job as you set the %Mem keyword in your parameter file. | ||
Submit the job to the queue with | Submit the job to the queue with | ||
Line 86: | Line 78: | ||
'''Gaussian scratch files''': | '''Gaussian scratch files''': | ||
By default | By default g16 jobs generate temporary files called Gau-* in the user's home directory, /home/username. The job automatically deletes these files when it completes successfully. However, if the job crashes (or if you delete a running g16 job), these files are left in your home directory. Please remove leftover temporary files manually so they do not accumulate in your home directory. | ||
=== Documentation === | === Documentation === | ||
Line 96: | Line 88: | ||
Built without TCP-Linda, therefore it can only run within one node. | Built without TCP-Linda, therefore it can only run within one node. | ||
Binaries optimized for processors that support SSE4 are installed in /apps/eb/gaussian/16-SSE4 | |||
=== System === | === System === | ||
64-bit Linux | 64-bit Linux |
Revision as of 12:36, 27 August 2020
Category
Chemistry
Program On
Teaching
Version
16
Author / Distributor
Description
Gaussian is a set of programs for performing semi-empirical, density functional theory and ab initio molecular orbital calculations.
NOTE: Users are required to sign a license agreement form before being allowed to run this software. Please fill out the GACRC General Support Form to check if you have permission to use this software.
After you sign the license agreement form and send the signed form to us (or after the course instructor sends your signed form to us) you will be added to the Gaussian group. Then you should be able to run gaussian on this cluster.
Running Program
Also refer to Running Jobs on the teaching cluster.
For more information on Environment Modules on the teaching cluster please see the Lmod page.
Gaussian16 (g16) is installed in /apps/eb/gaussian and it was installed without TCP-Linda, so it can only use cores within a single node (and you cannot specify %LindaWorkers larger than one). The number of threads is not specified by default. Please use the %NProcShared keyword to specify the number of threads to use. Note that in this version of Gaussian, the %NProc directive used in earlier versions is obsolete.
For Intel processors:
Gaussian binaries optimized for processors that support SSE4 are installed in /apps/eb/gaussian/16-SSE4. To use this version of Gaussian, please first load the gaussian/16-SSE4 module and source g16.profile with
module load gaussian/16-SSE4 . $g16root/g16/bsd/g16.profile
Example of a shell script sub.sh to run g16 on the batch queue:
#!/bin/bash #SBATCH --partition=batch #SBATCH --job-name=testgauss #SBATCH --ntasks=1 #SBATCH --cpus-per-task=4 #SBATCH --time=20:00:00 #SBATCH --mem=30gb cd $SLURM_SUBMIT_DIR module load gaussian/16-SSE4 . $g16root/g16/bsd/g16.profile g16 params.com params.log
where params.com is a sample input parameter file that needs to be replaced by the name of the file you want to use. Other parameters of the job, such as the maximum wall clock time, maximum memory, the number of cores per node, and the job name need to be modified appropriately as well. In this example, the standard output of the g16 command will be saved into a file called params.log.
Please set the --cpus-per-task= variable to be the same number as the number of threads specified in your parameter file (params.com) with the variable %NProcShared, e.g. %NProcShared=4. Please also request as much memory for the job as you set the %Mem keyword in your parameter file.
Submit the job to the queue with
sbatch sub.sh
Gaussian scratch files:
By default g16 jobs generate temporary files called Gau-* in the user's home directory, /home/username. The job automatically deletes these files when it completes successfully. However, if the job crashes (or if you delete a running g16 job), these files are left in your home directory. Please remove leftover temporary files manually so they do not accumulate in your home directory.
Documentation
Installation
Built without TCP-Linda, therefore it can only run within one node.
Binaries optimized for processors that support SSE4 are installed in /apps/eb/gaussian/16-SSE4
System
64-bit Linux