This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
howto:gaussian [2015/02/24 13:16] alopis [Example PBSPro job script for Single Node Jobs |
howto:gaussian [2025/10/17 09:51] (current) alopis [Easy Gaussian09 and Gaussian16 PBS creation and submission] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Gaussian at CHPC ====== | ====== Gaussian at CHPC ====== | ||
| - | | + | This license can only be used by CHPC registered users, which are associated with either |
| + | Gaussian can be run over 1 or 2 nodes (see example below) | ||
| - | There are two modules of Gaussian 09 at CHPC which can be used. | + | ====Easy Gaussian09 and Gaussian16 PBS creation and submission==== |
| - | Here is an example on how to access them: | + | |
| - | embele@login01: | + | In order to see all available |
| - | embele@login01: | + | |
| - | embele@login01:~/scratch5 $ module add gaussian/ | + | |
| - | + | ||
| - | + | ||
| - | ====Example PBSPro job script for Single Node Jobs (multiple CPU' | + | |
| + | module load chpc/ | ||
| - | #! /bin/sh | + | Execute **qg09_E01** or **qg16_A03** or **qg16_B01** or **qg16_C01** |
| - | | + | |
| - | | + | This script handles PBS setup and submission. |
| - | | + | Also takes care of jobs running over more than one node with LINDA and does cleanup of temporary GAU files when job is completed/killed. Examples of these scripts are provided below. |
| - | | + | |
| - | | + | EXAMPLE1 |
| - | | + | Enter project name/shortname |
| - | | + | |
| - | | + | Enter input file (with .com or .gjf extension) |
| + | test.gjf | ||
| + | Enter number of nodes on which to run job | ||
| + | 1 | ||
| + | | ||
| + | 2:00 | ||
| + | | ||
| + | | ||
| + | | ||
| + | Do you wish to submit job to cluster (y/n) | ||
| + | y | ||
| + | |||
| + | |||
| + | EXAMPLE2 [PLEASE TAKE NOTE OF EMPTY SPACES] | ||
| + | Enter project name/shortname | ||
| + | CHEM0100 | ||
| + | Enter input file (with .com or .gjf extension) | ||
| + | | ||
| + | | ||
| | | ||
| - | | + | |
| - | source / | + | |
| - | module add gaussian/ | + | |
| - | source / | + | |
| | | ||
| - | | + | |
| - | ====Example PBSPro job script | + | testing@gmail.com |
| - | + | | |
| - | | + | |
| - | #PBS -N molecule.job | + | |
| - | #PBS -l select=1: | + | |
| - | #PBS -l walltime=1: | + | |
| - | #PBS -q workq | + | |
| - | #PBS -m abe | + | |
| - | #PBS -o /export/ | + | |
| - | | + | |
| - | #PBS -M username@email | + | |
| | | ||
| - | cd $PBS_O_WORKDIR | ||
| - | source / | ||
| - | module add gaussian/ | ||
| - | source / | ||
| | | ||
| - | g09 < molecule.com > molecule.log | + | If you wish to use the utility **formchk** (to create readable format files for visualisers) please do the following. |
| + | |||
| + | module load chpc/ | ||
| + | source $g16root/ | ||
| + | |||
| + | Then the command **formcheck** should be available for use. Other Gaussian commands should also be available, such as **freqchk** and **chkchk**. | ||
| - | Example of a gaussian input file, note the blank lines within the file: | + | You can use a **checkpoint |
| - | + | ||
| - | | + | https://gaussian.com/faq2/ |
| - | %nprocl=1 | + | |
| - | #P HF/6-31G* | + | https:// |
| - | | + | |
| - | Title Card Required | + | https:// |
| - | + | ||
| - | 0 1 | + | https://www.researchgate.net/ |
| - | | + | |
| - | O | + | Very occassionally |
| - | N -2.14200500 | + | |
| - | H | + | |
| - | C -0.75900100 | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | C | + | |
| - | C 1.35866600 | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | + | ||
| - | + | ||
| + | Please **recheck** your molecular **geometry very carefully** to ensure there are no issues - this will result in calculations which take much longer than necessary. | ||