Running Gaussian by Command Lines
Here we are going to do an geometry optimization calculation on a simple molecule Formamide (HCONH2). Users can use the Gaussian input file g16.com
:
g16.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|
In the file, the %
lines (Link 0 section) specify the system
resources. %NprocShared
gives how many CPUs to use in a node and
%Mem
indicates how much memory to use. If any file specified before
the %NoSave
line, it will not be saved once Gaussian finishes the
calculation normally. %chk
specify a check point file name to save
and #
line (Route section) specify the methods of Gaussian
calculations. You can give this Gaussian input a title name in Title
Card section. After that, use Molecule Specification section to assign
the coordinates of the atoms with the charge and spin multiplicity of
the system in the first line. Please make sure there is at least one empty line in the end of file.
By logging into HPCC and ssh to a dev node, users can find Gaussian program installed in HPCC with the module commands:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
|
Please load Gaussian module with g16 version:
1 2 3 |
|
and the Gaussian command "g16" can be used. Simply run the command by giving the input and output file names:
1 |
|
and it starts to calculate the system on the node. It will take about 2
minutes to complete the calculation. After it is finished, you can check
the output file g16.log
. All dev nodes have 2-hour CPU limit. Please
restrict your resource usage on them.
GaussView
Users can also use GaussView
to create their molecular system and
do calculations. To use GaussView, just run the command gview.sh
after loading the Gaussian module.