<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://oldwiki.scinet.utoronto.ca/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jchu</id>
	<title>oldwiki.scinet.utoronto.ca - User contributions [en-gb]</title>
	<link rel="self" type="application/atom+xml" href="https://oldwiki.scinet.utoronto.ca/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jchu"/>
	<link rel="alternate" type="text/html" href="https://oldwiki.scinet.utoronto.ca/index.php/Special:Contributions/Jchu"/>
	<updated>2026-04-08T06:54:07Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.12</generator>
	<entry>
		<id>https://oldwiki.scinet.utoronto.ca/index.php?title=User_Codes&amp;diff=884</id>
		<title>User Codes</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.scinet.utoronto.ca/index.php?title=User_Codes&amp;diff=884"/>
		<updated>2010-02-02T19:13:37Z</updated>

		<summary type="html">&lt;p&gt;Jchu: /* LAMMPS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&lt;br /&gt;
==Astrophysics==&lt;br /&gt;
&lt;br /&gt;
===Athena (explicit, uniform grid MHD code)===&lt;br /&gt;
&lt;br /&gt;
[[Image:StrongScalingAthenaGPC.png|thumb|right|320px|Athena scaling on GPC with OpenMPI and MVAPICH2 on GigE, and OpenMPI on InfiniBand]]&lt;br /&gt;
&lt;br /&gt;
[http://www.astro.princeton.edu/~jstone/athena.html Athena] is a straightforward C code which doesn't use a lot of libraries so it is pretty straightforward to build and compile on new machines.   &lt;br /&gt;
&lt;br /&gt;
It encapsulates its compiler flags, etc in an &amp;lt;tt&amp;gt;Makeoptions.in&amp;lt;/tt&amp;gt; file which is then processed by &amp;lt;tt&amp;gt;configure&amp;lt;/tt&amp;gt;.   I've used the following additions to &amp;lt;tt&amp;gt;Makeoptions.in&amp;lt;/tt&amp;gt; on TCS and GPC:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
ifeq ($(MACHINE),scinettcs)&lt;br /&gt;
  CC = mpcc_r&lt;br /&gt;
  LDR = mpcc_r&lt;br /&gt;
  OPT = -O5 -q64 -qarch=pwr6 -qtune=pwr6 -qcache=auto -qlargepage -qstrict&lt;br /&gt;
  MPIINC =&lt;br /&gt;
  MPILIB =&lt;br /&gt;
  CFLAGS = $(OPT)&lt;br /&gt;
  LIB = -ldl -lm&lt;br /&gt;
else&lt;br /&gt;
ifeq ($(MACHINE),scinetgpc)&lt;br /&gt;
  CC = mpicc&lt;br /&gt;
  LDR = mpicc&lt;br /&gt;
  OPT = -O3&lt;br /&gt;
  MPIINC =&lt;br /&gt;
  MPILIB =&lt;br /&gt;
  CFLAGS = $(OPT)&lt;br /&gt;
  LIB = -lm&lt;br /&gt;
else&lt;br /&gt;
...&lt;br /&gt;
endif&lt;br /&gt;
endif&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
It performs quite well on the GPC, scaling extremely well even on a strong scaling test out to about 256 cores (32 nodes) on Gigabit ethernet, and performing beautifully on InfiniBand out to 512 cores (64 nodes). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Ljdursi|ljdursi]]  19:20, 13 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
===FLASH3 (Adaptive Mesh reactive hydrodynamics; explict hydro/MHD)===&lt;br /&gt;
&lt;br /&gt;
[[Image:weak-scaling-example.png|thumb|right|320px|Weak scaling test of the 2d sod problem on both the GPC and TCS.  The results are actually somewhat faster on the GPC; in both cases (weak) scaling is very good out at least to 256 cores]]&lt;br /&gt;
&lt;br /&gt;
[http://flash.uchicago.edu FLASH] encapsulates its machine-dependant information in the &amp;lt;tt&amp;gt;FLASH3/sites&amp;lt;/tt&amp;gt; directory.  For the GPC, you'll have to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load intel&lt;br /&gt;
module load openmpi&lt;br /&gt;
module load hdf5/183-v16-openmpi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and with that, the following file (&amp;lt;tt&amp;gt;sites/scinetgpc/Makefile.h&amp;lt;/tt&amp;gt;) works for me:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
## Must do module load hdf5/183-v16-openmpi&lt;br /&gt;
HDF5_PATH = ${SCINET_HDF5_BASE}&lt;br /&gt;
ZLIB_PATH = /usr/local&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Compiler and linker commands&lt;br /&gt;
#&lt;br /&gt;
#  We use the f90 compiler as the linker, so some C libraries may explicitly&lt;br /&gt;
#  need to be added into the link line.&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
## modules will put the right mpi in our path&lt;br /&gt;
FCOMP   = mpif77&lt;br /&gt;
CCOMP   = mpicc&lt;br /&gt;
CPPCOMP = mpiCC&lt;br /&gt;
LINK    = mpif77&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Compilation flags&lt;br /&gt;
#&lt;br /&gt;
#  Three sets of compilation/linking flags are defined: one for optimized&lt;br /&gt;
#  code, one for testing, and one for debugging.  The default is to use the &lt;br /&gt;
#  _OPT version.  Specifying -debug to setup will pick the _DEBUG version,&lt;br /&gt;
#  these should enable bounds checking.  Specifying -test is used for &lt;br /&gt;
#  flash_test, and is set for quick code generation, and (sometimes) &lt;br /&gt;
#  profiling.  The Makefile generated by setup will assign the generic token &lt;br /&gt;
#  (ex. FFLAGS) to the proper set of flags (ex. FFLAGS_OPT).&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
FFLAGS_OPT   =  -c -r8 -i4 -O3 -xSSE4.2&lt;br /&gt;
FFLAGS_DEBUG =  -c -g -r8 -i4 -O0&lt;br /&gt;
FFLAGS_TEST  =  -c -r8 -i4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# if we are using HDF5, we need to specify the path to the include files&lt;br /&gt;
CFLAGS_HDF5  = -I${HDF5_PATH}/include&lt;br /&gt;
&lt;br /&gt;
CFLAGS_OPT   = -c -O3 -xSSE4.2&lt;br /&gt;
CFLAGS_TEST  = -c -O2 &lt;br /&gt;
CFLAGS_DEBUG = -c -g  &lt;br /&gt;
&lt;br /&gt;
MDEFS = &lt;br /&gt;
&lt;br /&gt;
.SUFFIXES: .o .c .f .F .h .fh .F90 .f90&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Linker flags&lt;br /&gt;
#&lt;br /&gt;
#  There is a seperate version of the linker flags for each of the _OPT, &lt;br /&gt;
#  _DEBUG, and _TEST cases.&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
LFLAGS_OPT   = -o&lt;br /&gt;
LFLAGS_TEST  = -o&lt;br /&gt;
LFLAGS_DEBUG = -g -o&lt;br /&gt;
&lt;br /&gt;
MACHOBJ = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MV = mv -f&lt;br /&gt;
AR = ar -r&lt;br /&gt;
RM = rm -f&lt;br /&gt;
CD = cd&lt;br /&gt;
RL = ranlib&lt;br /&gt;
ECHO = echo&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Ljdursi|ljdursi]] 22:11, 13 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Aeronautics==&lt;br /&gt;
&lt;br /&gt;
==Chemistry==&lt;br /&gt;
&lt;br /&gt;
===GAMESS (US)===&lt;br /&gt;
The GAMESS version January 12, 2009 R3 was built using the Intel v11.1 compilers and v3.2.2 MPI library, according to the instructions in http://software.intel.com/en-us/articles/building-gamess-with-intel-compilers-intel-mkl-and-intel-mpi-on-linux/&lt;br /&gt;
&lt;br /&gt;
The required build scripts - comp, compall, lked - and run script - rungms - were modified to account for our own installation.  In order to build GAMESS one first must ensure that the intel and intelmpi modules are loaded (&amp;quot;module load intel intelmpi&amp;quot;).  This applies to running GAMESS as well.&lt;br /&gt;
The module &amp;quot;gamess&amp;quot; must also be loaded in order to run GAMESS (&amp;quot;module load gamess&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
The modified scripts are in the file /scinet/gpc/src/gamess-on-scinet.tar.gz&lt;br /&gt;
&lt;br /&gt;
====Running GAMESS====&lt;br /&gt;
- Make sure the directory /scratch/$USER/gamess-scratch exists (the $SCINET_RUNGMS script will create it if it does not exist)&lt;br /&gt;
&lt;br /&gt;
- Make sure the modules: intel, intelmpi, gamess are loaded (in your .bashrc: &amp;quot;module load intel intelmpi gamess&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
- Create a torque script to run GAMESS.  Here is an example:&lt;br /&gt;
&lt;br /&gt;
- The GAMESS executable is in $SCINET_GAMESS_HOME/gamess.00.x&lt;br /&gt;
- The rungms script is in $SCINET_GAMESS_HOME/rungms (actually it is $SCINET_RUNGMS)&lt;br /&gt;
&lt;br /&gt;
- For IB multinode runs, use the $SCINET_RUNGMS_IB script&lt;br /&gt;
&lt;br /&gt;
- The rungms script takes 4 arguments:  input file, executable number, number of compute processes, processors per node&lt;br /&gt;
&lt;br /&gt;
For example, in order to run with the input file /scratch/$USER/gamesstest01, on 8 cpus, and the default version (00)&lt;br /&gt;
of the executable on a machine with 8 cores:&lt;br /&gt;
&lt;br /&gt;
   # load the gamess module in .bashrc&lt;br /&gt;
   module load gamess  &lt;br /&gt;
&lt;br /&gt;
   # run the program&lt;br /&gt;
   $SCINET_RUNGMS /scratch/$USER/gamesstest01 00 8 8&lt;br /&gt;
&lt;br /&gt;
Here is a sample torque script for running a GAMESS calculation, on a single 8-core node:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#PBS -l nodes=1:ppn=8,walltime=48:00:00,os=centos53computeA&lt;br /&gt;
#PBS -N gamessjob&lt;br /&gt;
&lt;br /&gt;
## To submit type: qsub gms.sh&lt;br /&gt;
&lt;br /&gt;
# If not an interactive job (i.e. -I), then cd into the directory where&lt;br /&gt;
# I typed qsub.&lt;br /&gt;
if [ &amp;quot;$PBS_ENVIRONMENT&amp;quot; != &amp;quot;PBS_INTERACTIVE&amp;quot; ]; then&lt;br /&gt;
   if [ -n &amp;quot;$PBS_O_WORKDIR&amp;quot; ]; then&lt;br /&gt;
     cd $PBS_O_WORKDIR&lt;br /&gt;
   fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# the input file is typically named something like &amp;quot;gamesjob.inp&amp;quot;&lt;br /&gt;
# so the script will be run like &amp;quot;$SCINET_RUNGMS gamessjob 00 8 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# load the gamess module if not in .bashrc already&lt;br /&gt;
# actually, it MUST be in .bashrc&lt;br /&gt;
# module load gamess&lt;br /&gt;
&lt;br /&gt;
# run the program&lt;br /&gt;
&lt;br /&gt;
$SCINET_RUNGMS gamessjob 00 8 8&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a similar script, but this one uses 2 InfiniBand-connected nodes,&lt;br /&gt;
and runs the appropriate $SCINET_RUNGMS_IB script to actually run the job:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#PBS -l nodes=2:ib:ppn=8,walltime=48:00:00,os=centos53computeA&lt;br /&gt;
#PBS -N gamessjob&lt;br /&gt;
&lt;br /&gt;
## To submit type: qsub gmsib.sh&lt;br /&gt;
&lt;br /&gt;
# If not an interactive job (i.e. -I), then cd into the directory where&lt;br /&gt;
# I typed qsub.&lt;br /&gt;
if [ &amp;quot;$PBS_ENVIRONMENT&amp;quot; != &amp;quot;PBS_INTERACTIVE&amp;quot; ]; then&lt;br /&gt;
   if [ -n &amp;quot;$PBS_O_WORKDIR&amp;quot; ]; then&lt;br /&gt;
     cd $PBS_O_WORKDIR&lt;br /&gt;
   fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# the input file is typically named something like &amp;quot;gamesjob.inp&amp;quot;&lt;br /&gt;
# so the script will be run like &amp;quot;$SCINET_RUNGMS gamessjob 00 8 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# load the gamess module if not in .bashrc already&lt;br /&gt;
# actually, it MUST be in .bashrc&lt;br /&gt;
# module load gamess&lt;br /&gt;
&lt;br /&gt;
# This script requests InfiniBand-connected nodes (:ib above)&lt;br /&gt;
# so it must run with the IB version of the rungms script,&lt;br /&gt;
# $SCINET_RUNGMS_IB&lt;br /&gt;
&lt;br /&gt;
$SCINET_RUNGMS_IB gamessjob 00 16 8&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
-- [[User:Dgruner|dgruner]]  5 October 2009&lt;br /&gt;
&lt;br /&gt;
===Tips from the Fekl Lab===&lt;br /&gt;
&lt;br /&gt;
Through trial and error, we have found a few useful things that we would like to share:&lt;br /&gt;
&lt;br /&gt;
1. Two very useful, open-source programs for visualization of output files from GAMESS(US) and for generation of input files are [http://www.scl.ameslab.gov/MacMolPlt/ MacMolPlt]and [http://avogadro.openmolecules.net/wiki/Main_Page Avogadro].  The are available for UNIX/LINUX, Windows and Mac based machines, HOWEVER:  any input files that we have generated with these programs on a Windows-based machine do not run on Mac based machines.  We don't know why.&lt;br /&gt;
&lt;br /&gt;
2. [http://winscp.net/eng/index.php WinSCP] is a very useful tool that has a graphical user interface for moving files from a local machine to SCINET and vice versa.  It also has text editing capabilities.&lt;br /&gt;
&lt;br /&gt;
3. The [https://bse.pnl.gov/bse/portal ESML Basis Set Exchange] is an excellent source for custom basis set or effective core potential parameters.  Make sure that you specify &amp;quot;Gamess-US&amp;quot; in the format drop-down box.&lt;br /&gt;
&lt;br /&gt;
4.  The commercial program [http://www.chemcraftprog.com/ ChemCraft] is a highly useful visualization program that has the ability to edit molecules in a very similar fashion to GaussView.  It can also be customized to build GAMESS(US) input files.&lt;br /&gt;
&lt;br /&gt;
====Anatomy of a GAMESS(US) Input File with Basis Set Info in an External File====&lt;br /&gt;
&lt;br /&gt;
  $CONTRL SCFTYP=RHF RUNTYP=OPTIMIZE DFTTYP=M06-L MAXIT=199 MULT=1 NOSYM=1&lt;br /&gt;
   ECP=READ $END&lt;br /&gt;
  $SYSTEM TIMLIM=525600 MWORDS=1750 PARALL=.TRUE. $END&lt;br /&gt;
  $BASIS GBASIS=CUSTOMNI EXTFIL=.t. $END&lt;br /&gt;
  $SCF DIRSCF=.TRUE. FDIFF=.f. $END&lt;br /&gt;
  $STATPT OPTTOL=0.0001 NSTEP=500 HSSEND=.t. $END&lt;br /&gt;
  $DATA&lt;br /&gt;
  Mo_BDT3&lt;br /&gt;
 C1&lt;br /&gt;
 MOLYBDENUM 42.0      5.7556500000      4.4039600000     16.5808400000&lt;br /&gt;
 SULFUR     16.0      7.4169700000      3.1956300000     15.2089300000&lt;br /&gt;
 SULFUR     16.0      4.0966800000      3.2258300000     15.1761100000&lt;br /&gt;
 SULFUR     16.0      3.9677300000      4.4940500000     18.3266100000&lt;br /&gt;
 SULFUR     16.0      7.1776900000      3.5815000000     18.4485200000&lt;br /&gt;
 SULFUR     16.0      4.3776600000      6.2447400000     15.6786900000&lt;br /&gt;
 SULFUR     16.0      7.5478700000      6.0679800000     16.2223700000&lt;br /&gt;
 CARBON      6.0      6.4716900000      2.1004800000     14.1902300000&lt;br /&gt;
 CARBON      6.0      5.0690300000      2.1781400000     14.1080700000&lt;br /&gt;
 CARBON      6.0      4.8421800000      4.2701300000     19.8855500000&lt;br /&gt;
 CARBON      6.0      6.1969000000      3.9249600000     19.9397400000&lt;br /&gt;
 CARBON      6.0      6.8280600000      3.7834200000     21.1913200000&lt;br /&gt;
 CARBON      6.0      5.7697600000      7.6933500000     17.4241800000&lt;br /&gt;
 CARBON      6.0      7.2043100000      7.9413600000     17.8281100000&lt;br /&gt;
 CARBON      6.0      5.5051400000      7.0409700000     14.5903800000&lt;br /&gt;
 CARBON      6.0      6.8905200000      6.9194700000     14.7626200000&lt;br /&gt;
 CARBON      6.0      7.7396400000      7.5379800000     13.8285700000&lt;br /&gt;
 HYDROGEN    1.0      8.8190700000      7.4520600000     13.9252200000&lt;br /&gt;
 CARBON      6.0      7.2169400000      8.2960300000     12.7704100000&lt;br /&gt;
 HYDROGEN    1.0      7.8667000000      8.7825100000     12.0575600000&lt;br /&gt;
 CARBON      6.0      5.8260300000      8.4502300000     12.6467800000&lt;br /&gt;
 HYDROGEN    1.0      5.4143000000      9.0544300000     11.8493100000&lt;br /&gt;
 CARBON      6.0      4.9881500000      7.8192300000     13.5528400000&lt;br /&gt;
 HYDROGEN    1.0      3.9090500000      7.9420000000     13.4583700000&lt;br /&gt;
 CARBON      6.0      7.1538500000      1.1569600000     13.4143900000&lt;br /&gt;
 CARBON      6.0      4.4018100000      1.3603900000     13.1919900000&lt;br /&gt;
 CARBON      6.0      6.4791600000      0.3185500000     12.5353300000&lt;br /&gt;
 CARBON      6.0      5.0837400000      0.4369500000     12.4084900000&lt;br /&gt;
 HYDROGEN    1.0      7.0116000000     -0.4099400000     11.9434600000&lt;br /&gt;
 HYDROGEN    1.0      8.2399000000      1.0702400000     13.4937600000&lt;br /&gt;
 HYDROGEN    1.0      3.3185600000      1.4368700000     13.0953100000&lt;br /&gt;
 HYDROGEN    1.0      4.5549800000     -0.1997300000     11.7165200000&lt;br /&gt;
 CARBON      6.0      6.1105700000      3.9639000000     22.3866100000&lt;br /&gt;
 CARBON      6.0      4.1216300000      4.4424400000     21.1020100000&lt;br /&gt;
 HYDROGEN    1.0      7.8732900000      3.5217100000     21.2520500000&lt;br /&gt;
 CARBON      6.0      4.7606000000      4.2868500000     22.3363800000&lt;br /&gt;
 HYDROGEN    1.0      6.6064200000      3.8406000000     23.3428500000&lt;br /&gt;
 HYDROGEN    1.0      4.2065000000      4.4170700000     23.2667100000&lt;br /&gt;
 HYDROGEN    1.0      3.0674000000      4.6893500000     21.0889000000&lt;br /&gt;
 HYDROGEN    1.0      7.4249200000      7.7545300000     18.8583200000&lt;br /&gt;
 HYDROGEN    1.0      7.6651700000      8.9049700000     17.7652100000&lt;br /&gt;
 HYDROGEN    1.0      5.3324000000      8.6487800000     17.2222700000&lt;br /&gt;
 HYDROGEN    1.0      5.5015000000      7.1039000000     18.2759400000&lt;br /&gt;
  $END&lt;br /&gt;
  $ECP&lt;br /&gt;
 MO-ECP GEN     28     3&lt;br /&gt;
  5      ----- f potential     -----&lt;br /&gt;
     -0.0469492        0    537.9667807        &lt;br /&gt;
    -20.2080084        1    147.8982938        &lt;br /&gt;
   -106.2116302        2     45.7358898        &lt;br /&gt;
    -41.8107368        2     13.2911467        &lt;br /&gt;
     -4.2054103        2      4.7059961        &lt;br /&gt;
  3      ----- s-f potential     -----&lt;br /&gt;
      2.8063717        0    110.2991760        &lt;br /&gt;
     44.5162012        1     23.2014645        &lt;br /&gt;
     82.7785227        2      5.3530131        &lt;br /&gt;
  4      ----- p-f potential     -----&lt;br /&gt;
      4.9420876        0     63.2901397        &lt;br /&gt;
     25.8604976        1     23.3315302        &lt;br /&gt;
    132.4708742        2     24.6759423        &lt;br /&gt;
     57.3149794        2      4.6493040        &lt;br /&gt;
  5      ----- d-f potential     -----&lt;br /&gt;
      3.0054591        0    104.4839977        &lt;br /&gt;
     26.3637851        1     66.2307245        &lt;br /&gt;
    183.3849199        2     39.1283176        &lt;br /&gt;
     98.4453068        2     13.1164437        &lt;br /&gt;
     22.4901377        2      3.6280263 &lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
=====The Input Deck=====&lt;br /&gt;
&lt;br /&gt;
Below is the input deck.  It is where you tell GAMESS(US) what job type to execute and where all you individual parameters are entered for your specific job type.  The example input deck below is for a geometry optimization and frequency calculation.  This input deck is equivalent to the Gaussian job with &amp;quot;opt&amp;quot; and &amp;quot;freq&amp;quot; in the route section.&lt;br /&gt;
&lt;br /&gt;
  $CONTRL SCFTYP=RHF RUNTYP=OPTIMIZE DFTTYP=M06-L MAXIT=199 MULT=1 NOSYM=1&lt;br /&gt;
   ECP=READ $END&lt;br /&gt;
  $SYSTEM TIMLIM=2850 MWORDS=1750 MEMDDI=20 PARALL=.TRUE. $END&lt;br /&gt;
  $BASIS GBASIS=CUSTOMNI EXTFIL=.t. $END&lt;br /&gt;
  $SCF DIRSCF=.TRUE. FDIFF=.f. $END&lt;br /&gt;
  $STATPT OPTTOL=0.0001 NSTEP=500 HSSEND=.t. $END&lt;br /&gt;
  $DATA&lt;br /&gt;
&lt;br /&gt;
An important thing to note is the spacing.  In the input deck, there must be 1 space at the beginning of each line of the input deck.  If not, the job will fail.  Most builders will insert this space anyway, but it helps to double check.&lt;br /&gt;
&lt;br /&gt;
The end of the input deck is marked by the &amp;quot;$DATA&amp;quot; line.&lt;br /&gt;
&lt;br /&gt;
=====Job Title Line=====&lt;br /&gt;
&lt;br /&gt;
The next line of the file is the job title.  It can be anthing you wish, however, we have found that to be on the safe side, we avoide using symbols or spaces&lt;br /&gt;
&lt;br /&gt;
  Mo_BDT3&lt;br /&gt;
&lt;br /&gt;
=====Symmetry Point Group=====&lt;br /&gt;
&lt;br /&gt;
The next line of the file is the symmetry point group of your molecule.  Note that there is no leading space before the point group.&lt;br /&gt;
&lt;br /&gt;
 C1&lt;br /&gt;
&lt;br /&gt;
=====Coordinates=====&lt;br /&gt;
&lt;br /&gt;
The next block of text is set aside for the coordinates of the molecule.  This can be in internal (or z-matrix) format or cartesian coordinates.  Note that there is no leading space before the coordinates.  One may use the chemical symbol or the full name of each atom in the molecule.  Note that the end of the coordinates is signified by an &amp;quot;$END&amp;quot;, which MUST have one space preceding it.  The coordinates below do NOT have any basis set information inserted.  It is possible to insert basis set information directly into the input file.  This is accomplished by obtaining the desired basis set parameters from the EMSL and then inserting them below each relevant atom.  An example input file with inserted basis set information will be shown later.&lt;br /&gt;
&lt;br /&gt;
 MOLYBDENUM 42.0      5.7556500000      4.4039600000     16.5808400000&lt;br /&gt;
 SULFUR     16.0      7.4169700000      3.1956300000     15.2089300000&lt;br /&gt;
 SULFUR     16.0      4.0966800000      3.2258300000     15.1761100000&lt;br /&gt;
 SULFUR     16.0      3.9677300000      4.4940500000     18.3266100000&lt;br /&gt;
 SULFUR     16.0      7.1776900000      3.5815000000     18.4485200000&lt;br /&gt;
 SULFUR     16.0      4.3776600000      6.2447400000     15.6786900000&lt;br /&gt;
 SULFUR     16.0      7.5478700000      6.0679800000     16.2223700000&lt;br /&gt;
 CARBON      6.0      6.4716900000      2.1004800000     14.1902300000&lt;br /&gt;
 CARBON      6.0      5.0690300000      2.1781400000     14.1080700000&lt;br /&gt;
 CARBON      6.0      4.8421800000      4.2701300000     19.8855500000&lt;br /&gt;
 CARBON      6.0      6.1969000000      3.9249600000     19.9397400000&lt;br /&gt;
 CARBON      6.0      6.8280600000      3.7834200000     21.1913200000&lt;br /&gt;
 CARBON      6.0      5.7697600000      7.6933500000     17.4241800000&lt;br /&gt;
 CARBON      6.0      7.2043100000      7.9413600000     17.8281100000&lt;br /&gt;
 CARBON      6.0      5.5051400000      7.0409700000     14.5903800000&lt;br /&gt;
 CARBON      6.0      6.8905200000      6.9194700000     14.7626200000&lt;br /&gt;
 CARBON      6.0      7.7396400000      7.5379800000     13.8285700000&lt;br /&gt;
 HYDROGEN    1.0      8.8190700000      7.4520600000     13.9252200000&lt;br /&gt;
 CARBON      6.0      7.2169400000      8.2960300000     12.7704100000&lt;br /&gt;
 HYDROGEN    1.0      7.8667000000      8.7825100000     12.0575600000&lt;br /&gt;
 CARBON      6.0      5.8260300000      8.4502300000     12.6467800000&lt;br /&gt;
 HYDROGEN    1.0      5.4143000000      9.0544300000     11.8493100000&lt;br /&gt;
 CARBON      6.0      4.9881500000      7.8192300000     13.5528400000&lt;br /&gt;
 HYDROGEN    1.0      3.9090500000      7.9420000000     13.4583700000&lt;br /&gt;
 CARBON      6.0      7.1538500000      1.1569600000     13.4143900000&lt;br /&gt;
 CARBON      6.0      4.4018100000      1.3603900000     13.1919900000&lt;br /&gt;
 CARBON      6.0      6.4791600000      0.3185500000     12.5353300000&lt;br /&gt;
 CARBON      6.0      5.0837400000      0.4369500000     12.4084900000&lt;br /&gt;
 HYDROGEN    1.0      7.0116000000     -0.4099400000     11.9434600000&lt;br /&gt;
 HYDROGEN    1.0      8.2399000000      1.0702400000     13.4937600000&lt;br /&gt;
 HYDROGEN    1.0      3.3185600000      1.4368700000     13.0953100000&lt;br /&gt;
 HYDROGEN    1.0      4.5549800000     -0.1997300000     11.7165200000&lt;br /&gt;
 CARBON      6.0      6.1105700000      3.9639000000     22.3866100000&lt;br /&gt;
 CARBON      6.0      4.1216300000      4.4424400000     21.1020100000&lt;br /&gt;
 HYDROGEN    1.0      7.8732900000      3.5217100000     21.2520500000&lt;br /&gt;
 CARBON      6.0      4.7606000000      4.2868500000     22.3363800000&lt;br /&gt;
 HYDROGEN    1.0      6.6064200000      3.8406000000     23.3428500000&lt;br /&gt;
 HYDROGEN    1.0      4.2065000000      4.4170700000     23.2667100000&lt;br /&gt;
 HYDROGEN    1.0      3.0674000000      4.6893500000     21.0889000000&lt;br /&gt;
 HYDROGEN    1.0      7.4249200000      7.7545300000     18.8583200000&lt;br /&gt;
 HYDROGEN    1.0      7.6651700000      8.9049700000     17.7652100000&lt;br /&gt;
 HYDROGEN    1.0      5.3324000000      8.6487800000     17.2222700000&lt;br /&gt;
 HYDROGEN    1.0      5.5015000000      7.1039000000     18.2759400000&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
=====Effective Core Potential Data=====&lt;br /&gt;
&lt;br /&gt;
The effective core potential (ECP) data is entered after the coordinates.  It starts with &amp;quot;$ECP&amp;quot;, which must be preceded with a space.   The atoms of the molecule are listed in the same order as in the coordinates section and the parameters for the ECP are listed after each atom.  Note that for any atom that does NOT have an ECP, one must enter &amp;quot;ECP-NONE&amp;quot; or &amp;quot;NONE&amp;quot; after each atom without an ECP.&lt;br /&gt;
&lt;br /&gt;
 $ECP&lt;br /&gt;
 MO-ECP GEN     28     3&lt;br /&gt;
  5      ----- f potential     -----&lt;br /&gt;
     -0.0469492        0    537.9667807        &lt;br /&gt;
    -20.2080084        1    147.8982938        &lt;br /&gt;
   -106.2116302        2     45.7358898        &lt;br /&gt;
    -41.8107368        2     13.2911467        &lt;br /&gt;
     -4.2054103        2      4.7059961        &lt;br /&gt;
  3      ----- s-f potential     -----&lt;br /&gt;
      2.8063717        0    110.2991760        &lt;br /&gt;
     44.5162012        1     23.2014645        &lt;br /&gt;
     82.7785227        2      5.3530131        &lt;br /&gt;
  4      ----- p-f potential     -----&lt;br /&gt;
      4.9420876        0     63.2901397        &lt;br /&gt;
     25.8604976        1     23.3315302        &lt;br /&gt;
    132.4708742        2     24.6759423        &lt;br /&gt;
     57.3149794        2      4.6493040        &lt;br /&gt;
  5      ----- d-f potential     -----&lt;br /&gt;
      3.0054591        0    104.4839977        &lt;br /&gt;
     26.3637851        1     66.2307245        &lt;br /&gt;
    183.3849199        2     39.1283176        &lt;br /&gt;
     98.4453068        2     13.1164437        &lt;br /&gt;
     22.4901377        2      3.6280263 &lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
-- [[User:M.Zimmer-De Iuliis|mzd]]  16 November 2009&lt;br /&gt;
&lt;br /&gt;
====Using Effective Core Potentials in GAMESS(US)====&lt;br /&gt;
&lt;br /&gt;
For many metal containing compounds, it is very convenient and time saving to use an effective core potential (ECP) for the core metal electrons, as they are usually not important to the reactivity of the complex or the geometry around the metal.  Since GAMESS(US) has a limited number of built-in ECPs, one may want to make GAMESS(US) read an external file that contains the ECP data using the &amp;quot;EXTFIL&amp;quot; keyword in the $GBASIS command line of the input file.  In addition, to make GAMESS(US) use this external file, one must copy the &amp;quot;rungms&amp;quot; file and modify it accordingly.  The following is a list of instructions with commands that will work from a terminal.  One could also use WinSCP to do all of this with a GUI rather than a TUI.  &lt;br /&gt;
&lt;br /&gt;
=====Modifiying rungms to Use Custom Basis Set File=====&lt;br /&gt;
1. Copy &amp;quot;rungms&amp;quot; from /scinet/gpc/Applications/gamess to one's own /scratch/$USER/ directory:&lt;br /&gt;
 cp /scinet/gpc/Applications/gamess/rungms /scratch/$USER/&lt;br /&gt;
&lt;br /&gt;
2. Change to the scratch directory and check to see if &amp;quot;rungms&amp;quot; has copied successfully.&lt;br /&gt;
 cd /scratch/$USER&lt;br /&gt;
 ls&lt;br /&gt;
&lt;br /&gt;
3. Edit line 147 of the vi.  &lt;br /&gt;
 vi rungms&lt;br /&gt;
Move the cursor down to line 147 using the arrow keys.  It should say &amp;quot;setenv EXTBAS /dev/null&amp;quot;.  Using the arrow keys, move the cursor to the first &amp;quot;/&amp;quot; and then hit &amp;quot;i&amp;quot; to insert text.  Put the path to your external basis file here.  For example, /scratch/$USER/basisset.  Then hit &amp;quot;escape&amp;quot;.  To save the changes and exit vi, type &amp;quot;:&amp;quot; and you should see a colon appear at the bottom of the window.  Type &amp;quot;wq&amp;quot; (which should appear at the bottom of the window next to the colon) and then hit enter.  Now you are done with vi.&lt;br /&gt;
&lt;br /&gt;
=====Creating a Custom Basis Set File=====&lt;br /&gt;
1. To create a custom basis set file, you need create a new text document.  Our group's common practice is to comment out the first line of this file by inserting an exclamation mark (!) followed by noting the specific basis sets and ECPs that are going to be used for each of the atoms.  Let us the molecule Mo(CO)6, Molybdenum hexacarbonyl, as an example.  Below is the first line of the the external file, which we will call &amp;quot;CUSTOMMO&amp;quot;  (NOTE:  you can use any name for the external file that suits you, as long as it has no spaces and is 8 characters or less).&lt;br /&gt;
&lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&lt;br /&gt;
&lt;br /&gt;
2. The next step is to visit the [https://bse.pnl.gov/bse/portal EMSL Basis Set exchange] and select C and O from the periodic table.  Then, on the left of the page, select &amp;quot;6-31G&amp;quot; as the basis set.  Finally, make sure the output is in GAMESS(US) format using the drop-down menu and then click &amp;quot;get basis set&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:C_O_6_31G_basisset.JPG|centre]]&lt;br /&gt;
&lt;br /&gt;
3. A new window should appear with text in it.  For our example case, the text looks like this:&lt;br /&gt;
 &lt;br /&gt;
 !  6-31G  EMSL  Basis Set Exchange Library   10/13/09 11:12 AM&lt;br /&gt;
 ! Elements                             References&lt;br /&gt;
 ! --------                             ----------&lt;br /&gt;
 ! H - He: W.J. Hehre, R. Ditchfield and J.A. Pople, J. Chem. Phys. 56,&lt;br /&gt;
 ! Li - Ne: 2257 (1972).  Note: Li and B come from J.D. Dill and J.A.&lt;br /&gt;
 ! Pople, J. Chem. Phys. 62, 2921 (1975).&lt;br /&gt;
 ! Na - Ar: M.M. Francl, W.J. Petro, W.J. Hehre, J.S. Binkley, M.S. Gordon,&lt;br /&gt;
 ! D.J. DeFrees and J.A. Pople, J. Chem. Phys. 77, 3654 (1982)&lt;br /&gt;
 ! K  - Zn: V. Rassolov, J.A. Pople, M. Ratner and T.L. Windus, J. Chem. Phys.&lt;br /&gt;
 ! 109, 1223 (1998)&lt;br /&gt;
 ! Note: He and Ne are unpublished basis sets taken from the Gaussian&lt;br /&gt;
 ! program&lt;br /&gt;
 ! &lt;br /&gt;
 $DATA&amp;lt;br /&amp;gt;&lt;br /&gt;
 CARBON&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 OXYGEN&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000        &lt;br /&gt;
 $END&lt;br /&gt;
&lt;br /&gt;
3. Now, copy and paste the text between the $DATA and $END headings onto our external text file, CUSTOMMO.  We also need to change the change the name of each element to it symbol in the periodic table.  Finally, we need to add the name of the external file next to the element symbol, separated by one space.  Note that there should be a blank line separating the basis set information and the first, commented-out line (The line starting with the '!').  The CUSTOMMO should look like this:&lt;br /&gt;
 &lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&amp;lt;br /&amp;gt;&lt;br /&gt;
 C CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 O CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000 &lt;br /&gt;
&lt;br /&gt;
4. Repeat Step 3 above but choose Mo and select the LANL2DZ ECP instead.  A new window will pop up with the basis set information as well as the ECP data we need, since we specified the LANL2DZ '''ECP'''.  The ECP data is not inserted into the external file, rather it is placed into the input file itself (More on this later).  &lt;br /&gt;
&lt;br /&gt;
[[File:Mo_LANL2DZ_basisset.JPG|centre]]&lt;br /&gt;
&lt;br /&gt;
5.  After copying the molybdenum basis set information, your fiished external basis set file should look like this:&lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&amp;lt;br /&amp;gt;&lt;br /&gt;
 C CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 O CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000&amp;lt;br /&amp;gt; &lt;br /&gt;
 Mo CUSTOMO&lt;br /&gt;
 S   3&lt;br /&gt;
   1      2.3610000             -0.9121760        &lt;br /&gt;
   2      1.3090000              1.1477453        &lt;br /&gt;
   3      0.4500000              0.6097109        &lt;br /&gt;
 S   4&lt;br /&gt;
   1      2.3610000              0.8139259        &lt;br /&gt;
   2      1.3090000             -1.1360084        &lt;br /&gt;
   3      0.4500000             -1.1611592        &lt;br /&gt;
   4      0.1681000              1.0064786        &lt;br /&gt;
 S   1&lt;br /&gt;
   1      0.0423000              1.0000000        &lt;br /&gt;
 P   3&lt;br /&gt;
   1      4.8950000             -0.0908258        &lt;br /&gt;
   2      1.0440000              0.7042899        &lt;br /&gt;
   3      0.3877000              0.3973179        &lt;br /&gt;
 P   2&lt;br /&gt;
   1      0.4995000             -0.1081945        &lt;br /&gt;
   2      0.0780000              1.0368093        &lt;br /&gt;
 P   1&lt;br /&gt;
   1      0.0247000              1.0000000        &lt;br /&gt;
 D   3&lt;br /&gt;
   1      2.9930000              0.0527063        &lt;br /&gt;
   2      1.0630000              0.5003907        &lt;br /&gt;
   3      0.3721000              0.5794024        &lt;br /&gt;
 D   1&lt;br /&gt;
   1      0.1178000              1.0000000&lt;br /&gt;
&lt;br /&gt;
-- [[User:M.Zimmer-De Iuliis|mzd]]  13 October 2009&lt;br /&gt;
&lt;br /&gt;
==Climate Modelling==&lt;br /&gt;
&lt;br /&gt;
==Medicine/Bio==&lt;br /&gt;
&lt;br /&gt;
==High Energy Physics==&lt;br /&gt;
&lt;br /&gt;
==Structural Biology==&lt;br /&gt;
Molecular simulation of proteins, lipids, carbohydrates, and other biologically relevant molecules.&lt;br /&gt;
===Molecular Dynamics (MD) simulation===&lt;br /&gt;
====GROMACS====&lt;br /&gt;
Please refer to the [[gromacs|GROMACS]] page&lt;br /&gt;
====AMBER====&lt;br /&gt;
Please refer to the [[amber|AMBER]] page&lt;br /&gt;
====NAMD====&lt;br /&gt;
NAMD is one of the better scaling MD packages out there. With sufficiently large systems, it is able to scale to hundreds or thousands of cores on Scinet. Below are details for compiling and running NAMD on Scinet.&lt;br /&gt;
&lt;br /&gt;
More information regarding performance and different compile options coming soon...&lt;br /&gt;
&lt;br /&gt;
=====Compiling NAMD for GPC=====&lt;br /&gt;
Ensure the proper compiler/mpi modules are loaded.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
module load intel&lt;br /&gt;
module load openmpi/1.3.3-intel-v11.0-ofed&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Compile Charm++ and NAMD'''&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
#Unpack source files and get required support libraries&lt;br /&gt;
tar -xzf NAMD_2.7b1_Source.tar.gz&lt;br /&gt;
cd NAMD_2.7b1_Source&lt;br /&gt;
tar -xf charm-6.1.tar&lt;br /&gt;
wget http://www.ks.uiuc.edu/Research/namd/libraries/fftw-linux-x86_64.tar.gz&lt;br /&gt;
wget http://www.ks.uiuc.edu/Research/namd/libraries/tcl-linux-x86_64.tar.gz&lt;br /&gt;
tar -xzf fftw-linux-x86_64.tar.gz; mv linux-x86_64 fftw&lt;br /&gt;
tar -xzf tcl-linux-x86_64.tar.gz; mv linux-x86_64 tcl&lt;br /&gt;
#Compile Charm++&lt;br /&gt;
cd charm-6.1&lt;br /&gt;
./build charm++ mpi-linux-x86_64 icc --basedir /scinet/gpc/mpi/openmpi/1.3.3-intel-v11.0-ofed/ --no-shared -O -DCMK_OPTIMIZE=1&lt;br /&gt;
cd ..&lt;br /&gt;
#Compile NAMD. &lt;br /&gt;
#Edit arch/Linux-x86_64-icc.arch and add &amp;quot;-lmpi&amp;quot; to the end of the CXXOPTS and COPTS line.&lt;br /&gt;
#Make a builds directory if you want different versions of NAMD compiled at the same time.&lt;br /&gt;
mkdir builds&lt;br /&gt;
./config builds/Linux-x86_64-icc --charm-arch mpi-linux-x86_64-icc&lt;br /&gt;
cd builds/Linux-x86_64-icc/&lt;br /&gt;
make -j4 namd2 # Adjust value of j as desired to specify number of simultaneous make targets. &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
--[[User:Cmadill|Cmadill]] 16:18, 27 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
=====Running Fortran=====&lt;br /&gt;
On the development nodes, there is an old gcc. The associated libraries are not on the compute nodes. Ensure the line:&lt;br /&gt;
&lt;br /&gt;
module load gcc&lt;br /&gt;
&lt;br /&gt;
is in your .bashrc file.&lt;br /&gt;
&lt;br /&gt;
====LAMMPS====&lt;br /&gt;
[[Image:StrongScalingLAMMPS.png|thumb|320px|right|Strong scaling test on GPC with OpenMPI and IntelMPI on Ethernet and InfiniBand]]&lt;br /&gt;
[[Image:WeakScalingLAMMPS.png|thumb|320px|right|Weak scaling test on GPC with OpenMPI and IntelMPI on Ethernet and InfiniBand]]&lt;br /&gt;
LAMMPS is a parallel MD code that can be found [http://lammps.sandia.gov/ here].&lt;br /&gt;
&lt;br /&gt;
'''Scaling Tests on GPC'''&lt;br /&gt;
&lt;br /&gt;
Results from strong scaling tests for LAMMPS using EAM potentials on GPC are shown in the graph on the right.  Test simulation ran 500 timesteps for 4,000,000 atoms.&lt;br /&gt;
&lt;br /&gt;
Results from weak scaling tests for LAMMPS using EAM potentials on GPC are shown in the graph on the right.  Test simulation ran 500 timesteps for 32,000 atoms per processor.&lt;br /&gt;
&lt;br /&gt;
OpenMPI version used: openmpi/1.4.1-intel-v11.0-ofed&lt;br /&gt;
&lt;br /&gt;
IntelMPI version used: intelmpi/impi-4.0.0.013&lt;br /&gt;
&lt;br /&gt;
LAMMPS version used: 15 Jan 2010&lt;br /&gt;
&lt;br /&gt;
'''Summary of Scaling Tests'''&lt;br /&gt;
&lt;br /&gt;
Results show good scaling for both OpenMPI and IntelMPI on Ethernet up to 16 processors, after which performance begins to suffer.  On Infiniband, excellent scaling is maintained to 512 processors.&lt;br /&gt;
&lt;br /&gt;
IntelMPI shows slightly better performance compared to OpenMPI when running with Infiniband.&lt;br /&gt;
&lt;br /&gt;
--[[User:jchu|jchu]] 14:08 Feb 2, 2010&lt;br /&gt;
&lt;br /&gt;
===Monte Carlo (MC) simulation===&lt;/div&gt;</summary>
		<author><name>Jchu</name></author>
	</entry>
	<entry>
		<id>https://oldwiki.scinet.utoronto.ca/index.php?title=User_Codes&amp;diff=883</id>
		<title>User Codes</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.scinet.utoronto.ca/index.php?title=User_Codes&amp;diff=883"/>
		<updated>2010-02-02T19:08:53Z</updated>

		<summary type="html">&lt;p&gt;Jchu: /* LAMMPS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&lt;br /&gt;
==Astrophysics==&lt;br /&gt;
&lt;br /&gt;
===Athena (explicit, uniform grid MHD code)===&lt;br /&gt;
&lt;br /&gt;
[[Image:StrongScalingAthenaGPC.png|thumb|right|320px|Athena scaling on GPC with OpenMPI and MVAPICH2 on GigE, and OpenMPI on InfiniBand]]&lt;br /&gt;
&lt;br /&gt;
[http://www.astro.princeton.edu/~jstone/athena.html Athena] is a straightforward C code which doesn't use a lot of libraries so it is pretty straightforward to build and compile on new machines.   &lt;br /&gt;
&lt;br /&gt;
It encapsulates its compiler flags, etc in an &amp;lt;tt&amp;gt;Makeoptions.in&amp;lt;/tt&amp;gt; file which is then processed by &amp;lt;tt&amp;gt;configure&amp;lt;/tt&amp;gt;.   I've used the following additions to &amp;lt;tt&amp;gt;Makeoptions.in&amp;lt;/tt&amp;gt; on TCS and GPC:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
ifeq ($(MACHINE),scinettcs)&lt;br /&gt;
  CC = mpcc_r&lt;br /&gt;
  LDR = mpcc_r&lt;br /&gt;
  OPT = -O5 -q64 -qarch=pwr6 -qtune=pwr6 -qcache=auto -qlargepage -qstrict&lt;br /&gt;
  MPIINC =&lt;br /&gt;
  MPILIB =&lt;br /&gt;
  CFLAGS = $(OPT)&lt;br /&gt;
  LIB = -ldl -lm&lt;br /&gt;
else&lt;br /&gt;
ifeq ($(MACHINE),scinetgpc)&lt;br /&gt;
  CC = mpicc&lt;br /&gt;
  LDR = mpicc&lt;br /&gt;
  OPT = -O3&lt;br /&gt;
  MPIINC =&lt;br /&gt;
  MPILIB =&lt;br /&gt;
  CFLAGS = $(OPT)&lt;br /&gt;
  LIB = -lm&lt;br /&gt;
else&lt;br /&gt;
...&lt;br /&gt;
endif&lt;br /&gt;
endif&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
It performs quite well on the GPC, scaling extremely well even on a strong scaling test out to about 256 cores (32 nodes) on Gigabit ethernet, and performing beautifully on InfiniBand out to 512 cores (64 nodes). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Ljdursi|ljdursi]]  19:20, 13 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
===FLASH3 (Adaptive Mesh reactive hydrodynamics; explict hydro/MHD)===&lt;br /&gt;
&lt;br /&gt;
[[Image:weak-scaling-example.png|thumb|right|320px|Weak scaling test of the 2d sod problem on both the GPC and TCS.  The results are actually somewhat faster on the GPC; in both cases (weak) scaling is very good out at least to 256 cores]]&lt;br /&gt;
&lt;br /&gt;
[http://flash.uchicago.edu FLASH] encapsulates its machine-dependant information in the &amp;lt;tt&amp;gt;FLASH3/sites&amp;lt;/tt&amp;gt; directory.  For the GPC, you'll have to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load intel&lt;br /&gt;
module load openmpi&lt;br /&gt;
module load hdf5/183-v16-openmpi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and with that, the following file (&amp;lt;tt&amp;gt;sites/scinetgpc/Makefile.h&amp;lt;/tt&amp;gt;) works for me:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
## Must do module load hdf5/183-v16-openmpi&lt;br /&gt;
HDF5_PATH = ${SCINET_HDF5_BASE}&lt;br /&gt;
ZLIB_PATH = /usr/local&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Compiler and linker commands&lt;br /&gt;
#&lt;br /&gt;
#  We use the f90 compiler as the linker, so some C libraries may explicitly&lt;br /&gt;
#  need to be added into the link line.&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
## modules will put the right mpi in our path&lt;br /&gt;
FCOMP   = mpif77&lt;br /&gt;
CCOMP   = mpicc&lt;br /&gt;
CPPCOMP = mpiCC&lt;br /&gt;
LINK    = mpif77&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Compilation flags&lt;br /&gt;
#&lt;br /&gt;
#  Three sets of compilation/linking flags are defined: one for optimized&lt;br /&gt;
#  code, one for testing, and one for debugging.  The default is to use the &lt;br /&gt;
#  _OPT version.  Specifying -debug to setup will pick the _DEBUG version,&lt;br /&gt;
#  these should enable bounds checking.  Specifying -test is used for &lt;br /&gt;
#  flash_test, and is set for quick code generation, and (sometimes) &lt;br /&gt;
#  profiling.  The Makefile generated by setup will assign the generic token &lt;br /&gt;
#  (ex. FFLAGS) to the proper set of flags (ex. FFLAGS_OPT).&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
FFLAGS_OPT   =  -c -r8 -i4 -O3 -xSSE4.2&lt;br /&gt;
FFLAGS_DEBUG =  -c -g -r8 -i4 -O0&lt;br /&gt;
FFLAGS_TEST  =  -c -r8 -i4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# if we are using HDF5, we need to specify the path to the include files&lt;br /&gt;
CFLAGS_HDF5  = -I${HDF5_PATH}/include&lt;br /&gt;
&lt;br /&gt;
CFLAGS_OPT   = -c -O3 -xSSE4.2&lt;br /&gt;
CFLAGS_TEST  = -c -O2 &lt;br /&gt;
CFLAGS_DEBUG = -c -g  &lt;br /&gt;
&lt;br /&gt;
MDEFS = &lt;br /&gt;
&lt;br /&gt;
.SUFFIXES: .o .c .f .F .h .fh .F90 .f90&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Linker flags&lt;br /&gt;
#&lt;br /&gt;
#  There is a seperate version of the linker flags for each of the _OPT, &lt;br /&gt;
#  _DEBUG, and _TEST cases.&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
LFLAGS_OPT   = -o&lt;br /&gt;
LFLAGS_TEST  = -o&lt;br /&gt;
LFLAGS_DEBUG = -g -o&lt;br /&gt;
&lt;br /&gt;
MACHOBJ = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MV = mv -f&lt;br /&gt;
AR = ar -r&lt;br /&gt;
RM = rm -f&lt;br /&gt;
CD = cd&lt;br /&gt;
RL = ranlib&lt;br /&gt;
ECHO = echo&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Ljdursi|ljdursi]] 22:11, 13 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Aeronautics==&lt;br /&gt;
&lt;br /&gt;
==Chemistry==&lt;br /&gt;
&lt;br /&gt;
===GAMESS (US)===&lt;br /&gt;
The GAMESS version January 12, 2009 R3 was built using the Intel v11.1 compilers and v3.2.2 MPI library, according to the instructions in http://software.intel.com/en-us/articles/building-gamess-with-intel-compilers-intel-mkl-and-intel-mpi-on-linux/&lt;br /&gt;
&lt;br /&gt;
The required build scripts - comp, compall, lked - and run script - rungms - were modified to account for our own installation.  In order to build GAMESS one first must ensure that the intel and intelmpi modules are loaded (&amp;quot;module load intel intelmpi&amp;quot;).  This applies to running GAMESS as well.&lt;br /&gt;
The module &amp;quot;gamess&amp;quot; must also be loaded in order to run GAMESS (&amp;quot;module load gamess&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
The modified scripts are in the file /scinet/gpc/src/gamess-on-scinet.tar.gz&lt;br /&gt;
&lt;br /&gt;
====Running GAMESS====&lt;br /&gt;
- Make sure the directory /scratch/$USER/gamess-scratch exists (the $SCINET_RUNGMS script will create it if it does not exist)&lt;br /&gt;
&lt;br /&gt;
- Make sure the modules: intel, intelmpi, gamess are loaded (in your .bashrc: &amp;quot;module load intel intelmpi gamess&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
- Create a torque script to run GAMESS.  Here is an example:&lt;br /&gt;
&lt;br /&gt;
- The GAMESS executable is in $SCINET_GAMESS_HOME/gamess.00.x&lt;br /&gt;
- The rungms script is in $SCINET_GAMESS_HOME/rungms (actually it is $SCINET_RUNGMS)&lt;br /&gt;
&lt;br /&gt;
- For IB multinode runs, use the $SCINET_RUNGMS_IB script&lt;br /&gt;
&lt;br /&gt;
- The rungms script takes 4 arguments:  input file, executable number, number of compute processes, processors per node&lt;br /&gt;
&lt;br /&gt;
For example, in order to run with the input file /scratch/$USER/gamesstest01, on 8 cpus, and the default version (00)&lt;br /&gt;
of the executable on a machine with 8 cores:&lt;br /&gt;
&lt;br /&gt;
   # load the gamess module in .bashrc&lt;br /&gt;
   module load gamess  &lt;br /&gt;
&lt;br /&gt;
   # run the program&lt;br /&gt;
   $SCINET_RUNGMS /scratch/$USER/gamesstest01 00 8 8&lt;br /&gt;
&lt;br /&gt;
Here is a sample torque script for running a GAMESS calculation, on a single 8-core node:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#PBS -l nodes=1:ppn=8,walltime=48:00:00,os=centos53computeA&lt;br /&gt;
#PBS -N gamessjob&lt;br /&gt;
&lt;br /&gt;
## To submit type: qsub gms.sh&lt;br /&gt;
&lt;br /&gt;
# If not an interactive job (i.e. -I), then cd into the directory where&lt;br /&gt;
# I typed qsub.&lt;br /&gt;
if [ &amp;quot;$PBS_ENVIRONMENT&amp;quot; != &amp;quot;PBS_INTERACTIVE&amp;quot; ]; then&lt;br /&gt;
   if [ -n &amp;quot;$PBS_O_WORKDIR&amp;quot; ]; then&lt;br /&gt;
     cd $PBS_O_WORKDIR&lt;br /&gt;
   fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# the input file is typically named something like &amp;quot;gamesjob.inp&amp;quot;&lt;br /&gt;
# so the script will be run like &amp;quot;$SCINET_RUNGMS gamessjob 00 8 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# load the gamess module if not in .bashrc already&lt;br /&gt;
# actually, it MUST be in .bashrc&lt;br /&gt;
# module load gamess&lt;br /&gt;
&lt;br /&gt;
# run the program&lt;br /&gt;
&lt;br /&gt;
$SCINET_RUNGMS gamessjob 00 8 8&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a similar script, but this one uses 2 InfiniBand-connected nodes,&lt;br /&gt;
and runs the appropriate $SCINET_RUNGMS_IB script to actually run the job:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#PBS -l nodes=2:ib:ppn=8,walltime=48:00:00,os=centos53computeA&lt;br /&gt;
#PBS -N gamessjob&lt;br /&gt;
&lt;br /&gt;
## To submit type: qsub gmsib.sh&lt;br /&gt;
&lt;br /&gt;
# If not an interactive job (i.e. -I), then cd into the directory where&lt;br /&gt;
# I typed qsub.&lt;br /&gt;
if [ &amp;quot;$PBS_ENVIRONMENT&amp;quot; != &amp;quot;PBS_INTERACTIVE&amp;quot; ]; then&lt;br /&gt;
   if [ -n &amp;quot;$PBS_O_WORKDIR&amp;quot; ]; then&lt;br /&gt;
     cd $PBS_O_WORKDIR&lt;br /&gt;
   fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# the input file is typically named something like &amp;quot;gamesjob.inp&amp;quot;&lt;br /&gt;
# so the script will be run like &amp;quot;$SCINET_RUNGMS gamessjob 00 8 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# load the gamess module if not in .bashrc already&lt;br /&gt;
# actually, it MUST be in .bashrc&lt;br /&gt;
# module load gamess&lt;br /&gt;
&lt;br /&gt;
# This script requests InfiniBand-connected nodes (:ib above)&lt;br /&gt;
# so it must run with the IB version of the rungms script,&lt;br /&gt;
# $SCINET_RUNGMS_IB&lt;br /&gt;
&lt;br /&gt;
$SCINET_RUNGMS_IB gamessjob 00 16 8&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
-- [[User:Dgruner|dgruner]]  5 October 2009&lt;br /&gt;
&lt;br /&gt;
===Tips from the Fekl Lab===&lt;br /&gt;
&lt;br /&gt;
Through trial and error, we have found a few useful things that we would like to share:&lt;br /&gt;
&lt;br /&gt;
1. Two very useful, open-source programs for visualization of output files from GAMESS(US) and for generation of input files are [http://www.scl.ameslab.gov/MacMolPlt/ MacMolPlt]and [http://avogadro.openmolecules.net/wiki/Main_Page Avogadro].  The are available for UNIX/LINUX, Windows and Mac based machines, HOWEVER:  any input files that we have generated with these programs on a Windows-based machine do not run on Mac based machines.  We don't know why.&lt;br /&gt;
&lt;br /&gt;
2. [http://winscp.net/eng/index.php WinSCP] is a very useful tool that has a graphical user interface for moving files from a local machine to SCINET and vice versa.  It also has text editing capabilities.&lt;br /&gt;
&lt;br /&gt;
3. The [https://bse.pnl.gov/bse/portal ESML Basis Set Exchange] is an excellent source for custom basis set or effective core potential parameters.  Make sure that you specify &amp;quot;Gamess-US&amp;quot; in the format drop-down box.&lt;br /&gt;
&lt;br /&gt;
4.  The commercial program [http://www.chemcraftprog.com/ ChemCraft] is a highly useful visualization program that has the ability to edit molecules in a very similar fashion to GaussView.  It can also be customized to build GAMESS(US) input files.&lt;br /&gt;
&lt;br /&gt;
====Anatomy of a GAMESS(US) Input File with Basis Set Info in an External File====&lt;br /&gt;
&lt;br /&gt;
  $CONTRL SCFTYP=RHF RUNTYP=OPTIMIZE DFTTYP=M06-L MAXIT=199 MULT=1 NOSYM=1&lt;br /&gt;
   ECP=READ $END&lt;br /&gt;
  $SYSTEM TIMLIM=525600 MWORDS=1750 PARALL=.TRUE. $END&lt;br /&gt;
  $BASIS GBASIS=CUSTOMNI EXTFIL=.t. $END&lt;br /&gt;
  $SCF DIRSCF=.TRUE. FDIFF=.f. $END&lt;br /&gt;
  $STATPT OPTTOL=0.0001 NSTEP=500 HSSEND=.t. $END&lt;br /&gt;
  $DATA&lt;br /&gt;
  Mo_BDT3&lt;br /&gt;
 C1&lt;br /&gt;
 MOLYBDENUM 42.0      5.7556500000      4.4039600000     16.5808400000&lt;br /&gt;
 SULFUR     16.0      7.4169700000      3.1956300000     15.2089300000&lt;br /&gt;
 SULFUR     16.0      4.0966800000      3.2258300000     15.1761100000&lt;br /&gt;
 SULFUR     16.0      3.9677300000      4.4940500000     18.3266100000&lt;br /&gt;
 SULFUR     16.0      7.1776900000      3.5815000000     18.4485200000&lt;br /&gt;
 SULFUR     16.0      4.3776600000      6.2447400000     15.6786900000&lt;br /&gt;
 SULFUR     16.0      7.5478700000      6.0679800000     16.2223700000&lt;br /&gt;
 CARBON      6.0      6.4716900000      2.1004800000     14.1902300000&lt;br /&gt;
 CARBON      6.0      5.0690300000      2.1781400000     14.1080700000&lt;br /&gt;
 CARBON      6.0      4.8421800000      4.2701300000     19.8855500000&lt;br /&gt;
 CARBON      6.0      6.1969000000      3.9249600000     19.9397400000&lt;br /&gt;
 CARBON      6.0      6.8280600000      3.7834200000     21.1913200000&lt;br /&gt;
 CARBON      6.0      5.7697600000      7.6933500000     17.4241800000&lt;br /&gt;
 CARBON      6.0      7.2043100000      7.9413600000     17.8281100000&lt;br /&gt;
 CARBON      6.0      5.5051400000      7.0409700000     14.5903800000&lt;br /&gt;
 CARBON      6.0      6.8905200000      6.9194700000     14.7626200000&lt;br /&gt;
 CARBON      6.0      7.7396400000      7.5379800000     13.8285700000&lt;br /&gt;
 HYDROGEN    1.0      8.8190700000      7.4520600000     13.9252200000&lt;br /&gt;
 CARBON      6.0      7.2169400000      8.2960300000     12.7704100000&lt;br /&gt;
 HYDROGEN    1.0      7.8667000000      8.7825100000     12.0575600000&lt;br /&gt;
 CARBON      6.0      5.8260300000      8.4502300000     12.6467800000&lt;br /&gt;
 HYDROGEN    1.0      5.4143000000      9.0544300000     11.8493100000&lt;br /&gt;
 CARBON      6.0      4.9881500000      7.8192300000     13.5528400000&lt;br /&gt;
 HYDROGEN    1.0      3.9090500000      7.9420000000     13.4583700000&lt;br /&gt;
 CARBON      6.0      7.1538500000      1.1569600000     13.4143900000&lt;br /&gt;
 CARBON      6.0      4.4018100000      1.3603900000     13.1919900000&lt;br /&gt;
 CARBON      6.0      6.4791600000      0.3185500000     12.5353300000&lt;br /&gt;
 CARBON      6.0      5.0837400000      0.4369500000     12.4084900000&lt;br /&gt;
 HYDROGEN    1.0      7.0116000000     -0.4099400000     11.9434600000&lt;br /&gt;
 HYDROGEN    1.0      8.2399000000      1.0702400000     13.4937600000&lt;br /&gt;
 HYDROGEN    1.0      3.3185600000      1.4368700000     13.0953100000&lt;br /&gt;
 HYDROGEN    1.0      4.5549800000     -0.1997300000     11.7165200000&lt;br /&gt;
 CARBON      6.0      6.1105700000      3.9639000000     22.3866100000&lt;br /&gt;
 CARBON      6.0      4.1216300000      4.4424400000     21.1020100000&lt;br /&gt;
 HYDROGEN    1.0      7.8732900000      3.5217100000     21.2520500000&lt;br /&gt;
 CARBON      6.0      4.7606000000      4.2868500000     22.3363800000&lt;br /&gt;
 HYDROGEN    1.0      6.6064200000      3.8406000000     23.3428500000&lt;br /&gt;
 HYDROGEN    1.0      4.2065000000      4.4170700000     23.2667100000&lt;br /&gt;
 HYDROGEN    1.0      3.0674000000      4.6893500000     21.0889000000&lt;br /&gt;
 HYDROGEN    1.0      7.4249200000      7.7545300000     18.8583200000&lt;br /&gt;
 HYDROGEN    1.0      7.6651700000      8.9049700000     17.7652100000&lt;br /&gt;
 HYDROGEN    1.0      5.3324000000      8.6487800000     17.2222700000&lt;br /&gt;
 HYDROGEN    1.0      5.5015000000      7.1039000000     18.2759400000&lt;br /&gt;
  $END&lt;br /&gt;
  $ECP&lt;br /&gt;
 MO-ECP GEN     28     3&lt;br /&gt;
  5      ----- f potential     -----&lt;br /&gt;
     -0.0469492        0    537.9667807        &lt;br /&gt;
    -20.2080084        1    147.8982938        &lt;br /&gt;
   -106.2116302        2     45.7358898        &lt;br /&gt;
    -41.8107368        2     13.2911467        &lt;br /&gt;
     -4.2054103        2      4.7059961        &lt;br /&gt;
  3      ----- s-f potential     -----&lt;br /&gt;
      2.8063717        0    110.2991760        &lt;br /&gt;
     44.5162012        1     23.2014645        &lt;br /&gt;
     82.7785227        2      5.3530131        &lt;br /&gt;
  4      ----- p-f potential     -----&lt;br /&gt;
      4.9420876        0     63.2901397        &lt;br /&gt;
     25.8604976        1     23.3315302        &lt;br /&gt;
    132.4708742        2     24.6759423        &lt;br /&gt;
     57.3149794        2      4.6493040        &lt;br /&gt;
  5      ----- d-f potential     -----&lt;br /&gt;
      3.0054591        0    104.4839977        &lt;br /&gt;
     26.3637851        1     66.2307245        &lt;br /&gt;
    183.3849199        2     39.1283176        &lt;br /&gt;
     98.4453068        2     13.1164437        &lt;br /&gt;
     22.4901377        2      3.6280263 &lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
=====The Input Deck=====&lt;br /&gt;
&lt;br /&gt;
Below is the input deck.  It is where you tell GAMESS(US) what job type to execute and where all you individual parameters are entered for your specific job type.  The example input deck below is for a geometry optimization and frequency calculation.  This input deck is equivalent to the Gaussian job with &amp;quot;opt&amp;quot; and &amp;quot;freq&amp;quot; in the route section.&lt;br /&gt;
&lt;br /&gt;
  $CONTRL SCFTYP=RHF RUNTYP=OPTIMIZE DFTTYP=M06-L MAXIT=199 MULT=1 NOSYM=1&lt;br /&gt;
   ECP=READ $END&lt;br /&gt;
  $SYSTEM TIMLIM=2850 MWORDS=1750 MEMDDI=20 PARALL=.TRUE. $END&lt;br /&gt;
  $BASIS GBASIS=CUSTOMNI EXTFIL=.t. $END&lt;br /&gt;
  $SCF DIRSCF=.TRUE. FDIFF=.f. $END&lt;br /&gt;
  $STATPT OPTTOL=0.0001 NSTEP=500 HSSEND=.t. $END&lt;br /&gt;
  $DATA&lt;br /&gt;
&lt;br /&gt;
An important thing to note is the spacing.  In the input deck, there must be 1 space at the beginning of each line of the input deck.  If not, the job will fail.  Most builders will insert this space anyway, but it helps to double check.&lt;br /&gt;
&lt;br /&gt;
The end of the input deck is marked by the &amp;quot;$DATA&amp;quot; line.&lt;br /&gt;
&lt;br /&gt;
=====Job Title Line=====&lt;br /&gt;
&lt;br /&gt;
The next line of the file is the job title.  It can be anthing you wish, however, we have found that to be on the safe side, we avoide using symbols or spaces&lt;br /&gt;
&lt;br /&gt;
  Mo_BDT3&lt;br /&gt;
&lt;br /&gt;
=====Symmetry Point Group=====&lt;br /&gt;
&lt;br /&gt;
The next line of the file is the symmetry point group of your molecule.  Note that there is no leading space before the point group.&lt;br /&gt;
&lt;br /&gt;
 C1&lt;br /&gt;
&lt;br /&gt;
=====Coordinates=====&lt;br /&gt;
&lt;br /&gt;
The next block of text is set aside for the coordinates of the molecule.  This can be in internal (or z-matrix) format or cartesian coordinates.  Note that there is no leading space before the coordinates.  One may use the chemical symbol or the full name of each atom in the molecule.  Note that the end of the coordinates is signified by an &amp;quot;$END&amp;quot;, which MUST have one space preceding it.  The coordinates below do NOT have any basis set information inserted.  It is possible to insert basis set information directly into the input file.  This is accomplished by obtaining the desired basis set parameters from the EMSL and then inserting them below each relevant atom.  An example input file with inserted basis set information will be shown later.&lt;br /&gt;
&lt;br /&gt;
 MOLYBDENUM 42.0      5.7556500000      4.4039600000     16.5808400000&lt;br /&gt;
 SULFUR     16.0      7.4169700000      3.1956300000     15.2089300000&lt;br /&gt;
 SULFUR     16.0      4.0966800000      3.2258300000     15.1761100000&lt;br /&gt;
 SULFUR     16.0      3.9677300000      4.4940500000     18.3266100000&lt;br /&gt;
 SULFUR     16.0      7.1776900000      3.5815000000     18.4485200000&lt;br /&gt;
 SULFUR     16.0      4.3776600000      6.2447400000     15.6786900000&lt;br /&gt;
 SULFUR     16.0      7.5478700000      6.0679800000     16.2223700000&lt;br /&gt;
 CARBON      6.0      6.4716900000      2.1004800000     14.1902300000&lt;br /&gt;
 CARBON      6.0      5.0690300000      2.1781400000     14.1080700000&lt;br /&gt;
 CARBON      6.0      4.8421800000      4.2701300000     19.8855500000&lt;br /&gt;
 CARBON      6.0      6.1969000000      3.9249600000     19.9397400000&lt;br /&gt;
 CARBON      6.0      6.8280600000      3.7834200000     21.1913200000&lt;br /&gt;
 CARBON      6.0      5.7697600000      7.6933500000     17.4241800000&lt;br /&gt;
 CARBON      6.0      7.2043100000      7.9413600000     17.8281100000&lt;br /&gt;
 CARBON      6.0      5.5051400000      7.0409700000     14.5903800000&lt;br /&gt;
 CARBON      6.0      6.8905200000      6.9194700000     14.7626200000&lt;br /&gt;
 CARBON      6.0      7.7396400000      7.5379800000     13.8285700000&lt;br /&gt;
 HYDROGEN    1.0      8.8190700000      7.4520600000     13.9252200000&lt;br /&gt;
 CARBON      6.0      7.2169400000      8.2960300000     12.7704100000&lt;br /&gt;
 HYDROGEN    1.0      7.8667000000      8.7825100000     12.0575600000&lt;br /&gt;
 CARBON      6.0      5.8260300000      8.4502300000     12.6467800000&lt;br /&gt;
 HYDROGEN    1.0      5.4143000000      9.0544300000     11.8493100000&lt;br /&gt;
 CARBON      6.0      4.9881500000      7.8192300000     13.5528400000&lt;br /&gt;
 HYDROGEN    1.0      3.9090500000      7.9420000000     13.4583700000&lt;br /&gt;
 CARBON      6.0      7.1538500000      1.1569600000     13.4143900000&lt;br /&gt;
 CARBON      6.0      4.4018100000      1.3603900000     13.1919900000&lt;br /&gt;
 CARBON      6.0      6.4791600000      0.3185500000     12.5353300000&lt;br /&gt;
 CARBON      6.0      5.0837400000      0.4369500000     12.4084900000&lt;br /&gt;
 HYDROGEN    1.0      7.0116000000     -0.4099400000     11.9434600000&lt;br /&gt;
 HYDROGEN    1.0      8.2399000000      1.0702400000     13.4937600000&lt;br /&gt;
 HYDROGEN    1.0      3.3185600000      1.4368700000     13.0953100000&lt;br /&gt;
 HYDROGEN    1.0      4.5549800000     -0.1997300000     11.7165200000&lt;br /&gt;
 CARBON      6.0      6.1105700000      3.9639000000     22.3866100000&lt;br /&gt;
 CARBON      6.0      4.1216300000      4.4424400000     21.1020100000&lt;br /&gt;
 HYDROGEN    1.0      7.8732900000      3.5217100000     21.2520500000&lt;br /&gt;
 CARBON      6.0      4.7606000000      4.2868500000     22.3363800000&lt;br /&gt;
 HYDROGEN    1.0      6.6064200000      3.8406000000     23.3428500000&lt;br /&gt;
 HYDROGEN    1.0      4.2065000000      4.4170700000     23.2667100000&lt;br /&gt;
 HYDROGEN    1.0      3.0674000000      4.6893500000     21.0889000000&lt;br /&gt;
 HYDROGEN    1.0      7.4249200000      7.7545300000     18.8583200000&lt;br /&gt;
 HYDROGEN    1.0      7.6651700000      8.9049700000     17.7652100000&lt;br /&gt;
 HYDROGEN    1.0      5.3324000000      8.6487800000     17.2222700000&lt;br /&gt;
 HYDROGEN    1.0      5.5015000000      7.1039000000     18.2759400000&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
=====Effective Core Potential Data=====&lt;br /&gt;
&lt;br /&gt;
The effective core potential (ECP) data is entered after the coordinates.  It starts with &amp;quot;$ECP&amp;quot;, which must be preceded with a space.   The atoms of the molecule are listed in the same order as in the coordinates section and the parameters for the ECP are listed after each atom.  Note that for any atom that does NOT have an ECP, one must enter &amp;quot;ECP-NONE&amp;quot; or &amp;quot;NONE&amp;quot; after each atom without an ECP.&lt;br /&gt;
&lt;br /&gt;
 $ECP&lt;br /&gt;
 MO-ECP GEN     28     3&lt;br /&gt;
  5      ----- f potential     -----&lt;br /&gt;
     -0.0469492        0    537.9667807        &lt;br /&gt;
    -20.2080084        1    147.8982938        &lt;br /&gt;
   -106.2116302        2     45.7358898        &lt;br /&gt;
    -41.8107368        2     13.2911467        &lt;br /&gt;
     -4.2054103        2      4.7059961        &lt;br /&gt;
  3      ----- s-f potential     -----&lt;br /&gt;
      2.8063717        0    110.2991760        &lt;br /&gt;
     44.5162012        1     23.2014645        &lt;br /&gt;
     82.7785227        2      5.3530131        &lt;br /&gt;
  4      ----- p-f potential     -----&lt;br /&gt;
      4.9420876        0     63.2901397        &lt;br /&gt;
     25.8604976        1     23.3315302        &lt;br /&gt;
    132.4708742        2     24.6759423        &lt;br /&gt;
     57.3149794        2      4.6493040        &lt;br /&gt;
  5      ----- d-f potential     -----&lt;br /&gt;
      3.0054591        0    104.4839977        &lt;br /&gt;
     26.3637851        1     66.2307245        &lt;br /&gt;
    183.3849199        2     39.1283176        &lt;br /&gt;
     98.4453068        2     13.1164437        &lt;br /&gt;
     22.4901377        2      3.6280263 &lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
-- [[User:M.Zimmer-De Iuliis|mzd]]  16 November 2009&lt;br /&gt;
&lt;br /&gt;
====Using Effective Core Potentials in GAMESS(US)====&lt;br /&gt;
&lt;br /&gt;
For many metal containing compounds, it is very convenient and time saving to use an effective core potential (ECP) for the core metal electrons, as they are usually not important to the reactivity of the complex or the geometry around the metal.  Since GAMESS(US) has a limited number of built-in ECPs, one may want to make GAMESS(US) read an external file that contains the ECP data using the &amp;quot;EXTFIL&amp;quot; keyword in the $GBASIS command line of the input file.  In addition, to make GAMESS(US) use this external file, one must copy the &amp;quot;rungms&amp;quot; file and modify it accordingly.  The following is a list of instructions with commands that will work from a terminal.  One could also use WinSCP to do all of this with a GUI rather than a TUI.  &lt;br /&gt;
&lt;br /&gt;
=====Modifiying rungms to Use Custom Basis Set File=====&lt;br /&gt;
1. Copy &amp;quot;rungms&amp;quot; from /scinet/gpc/Applications/gamess to one's own /scratch/$USER/ directory:&lt;br /&gt;
 cp /scinet/gpc/Applications/gamess/rungms /scratch/$USER/&lt;br /&gt;
&lt;br /&gt;
2. Change to the scratch directory and check to see if &amp;quot;rungms&amp;quot; has copied successfully.&lt;br /&gt;
 cd /scratch/$USER&lt;br /&gt;
 ls&lt;br /&gt;
&lt;br /&gt;
3. Edit line 147 of the vi.  &lt;br /&gt;
 vi rungms&lt;br /&gt;
Move the cursor down to line 147 using the arrow keys.  It should say &amp;quot;setenv EXTBAS /dev/null&amp;quot;.  Using the arrow keys, move the cursor to the first &amp;quot;/&amp;quot; and then hit &amp;quot;i&amp;quot; to insert text.  Put the path to your external basis file here.  For example, /scratch/$USER/basisset.  Then hit &amp;quot;escape&amp;quot;.  To save the changes and exit vi, type &amp;quot;:&amp;quot; and you should see a colon appear at the bottom of the window.  Type &amp;quot;wq&amp;quot; (which should appear at the bottom of the window next to the colon) and then hit enter.  Now you are done with vi.&lt;br /&gt;
&lt;br /&gt;
=====Creating a Custom Basis Set File=====&lt;br /&gt;
1. To create a custom basis set file, you need create a new text document.  Our group's common practice is to comment out the first line of this file by inserting an exclamation mark (!) followed by noting the specific basis sets and ECPs that are going to be used for each of the atoms.  Let us the molecule Mo(CO)6, Molybdenum hexacarbonyl, as an example.  Below is the first line of the the external file, which we will call &amp;quot;CUSTOMMO&amp;quot;  (NOTE:  you can use any name for the external file that suits you, as long as it has no spaces and is 8 characters or less).&lt;br /&gt;
&lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&lt;br /&gt;
&lt;br /&gt;
2. The next step is to visit the [https://bse.pnl.gov/bse/portal EMSL Basis Set exchange] and select C and O from the periodic table.  Then, on the left of the page, select &amp;quot;6-31G&amp;quot; as the basis set.  Finally, make sure the output is in GAMESS(US) format using the drop-down menu and then click &amp;quot;get basis set&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:C_O_6_31G_basisset.JPG|centre]]&lt;br /&gt;
&lt;br /&gt;
3. A new window should appear with text in it.  For our example case, the text looks like this:&lt;br /&gt;
 &lt;br /&gt;
 !  6-31G  EMSL  Basis Set Exchange Library   10/13/09 11:12 AM&lt;br /&gt;
 ! Elements                             References&lt;br /&gt;
 ! --------                             ----------&lt;br /&gt;
 ! H - He: W.J. Hehre, R. Ditchfield and J.A. Pople, J. Chem. Phys. 56,&lt;br /&gt;
 ! Li - Ne: 2257 (1972).  Note: Li and B come from J.D. Dill and J.A.&lt;br /&gt;
 ! Pople, J. Chem. Phys. 62, 2921 (1975).&lt;br /&gt;
 ! Na - Ar: M.M. Francl, W.J. Petro, W.J. Hehre, J.S. Binkley, M.S. Gordon,&lt;br /&gt;
 ! D.J. DeFrees and J.A. Pople, J. Chem. Phys. 77, 3654 (1982)&lt;br /&gt;
 ! K  - Zn: V. Rassolov, J.A. Pople, M. Ratner and T.L. Windus, J. Chem. Phys.&lt;br /&gt;
 ! 109, 1223 (1998)&lt;br /&gt;
 ! Note: He and Ne are unpublished basis sets taken from the Gaussian&lt;br /&gt;
 ! program&lt;br /&gt;
 ! &lt;br /&gt;
 $DATA&amp;lt;br /&amp;gt;&lt;br /&gt;
 CARBON&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 OXYGEN&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000        &lt;br /&gt;
 $END&lt;br /&gt;
&lt;br /&gt;
3. Now, copy and paste the text between the $DATA and $END headings onto our external text file, CUSTOMMO.  We also need to change the change the name of each element to it symbol in the periodic table.  Finally, we need to add the name of the external file next to the element symbol, separated by one space.  Note that there should be a blank line separating the basis set information and the first, commented-out line (The line starting with the '!').  The CUSTOMMO should look like this:&lt;br /&gt;
 &lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&amp;lt;br /&amp;gt;&lt;br /&gt;
 C CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 O CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000 &lt;br /&gt;
&lt;br /&gt;
4. Repeat Step 3 above but choose Mo and select the LANL2DZ ECP instead.  A new window will pop up with the basis set information as well as the ECP data we need, since we specified the LANL2DZ '''ECP'''.  The ECP data is not inserted into the external file, rather it is placed into the input file itself (More on this later).  &lt;br /&gt;
&lt;br /&gt;
[[File:Mo_LANL2DZ_basisset.JPG|centre]]&lt;br /&gt;
&lt;br /&gt;
5.  After copying the molybdenum basis set information, your fiished external basis set file should look like this:&lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&amp;lt;br /&amp;gt;&lt;br /&gt;
 C CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 O CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000&amp;lt;br /&amp;gt; &lt;br /&gt;
 Mo CUSTOMO&lt;br /&gt;
 S   3&lt;br /&gt;
   1      2.3610000             -0.9121760        &lt;br /&gt;
   2      1.3090000              1.1477453        &lt;br /&gt;
   3      0.4500000              0.6097109        &lt;br /&gt;
 S   4&lt;br /&gt;
   1      2.3610000              0.8139259        &lt;br /&gt;
   2      1.3090000             -1.1360084        &lt;br /&gt;
   3      0.4500000             -1.1611592        &lt;br /&gt;
   4      0.1681000              1.0064786        &lt;br /&gt;
 S   1&lt;br /&gt;
   1      0.0423000              1.0000000        &lt;br /&gt;
 P   3&lt;br /&gt;
   1      4.8950000             -0.0908258        &lt;br /&gt;
   2      1.0440000              0.7042899        &lt;br /&gt;
   3      0.3877000              0.3973179        &lt;br /&gt;
 P   2&lt;br /&gt;
   1      0.4995000             -0.1081945        &lt;br /&gt;
   2      0.0780000              1.0368093        &lt;br /&gt;
 P   1&lt;br /&gt;
   1      0.0247000              1.0000000        &lt;br /&gt;
 D   3&lt;br /&gt;
   1      2.9930000              0.0527063        &lt;br /&gt;
   2      1.0630000              0.5003907        &lt;br /&gt;
   3      0.3721000              0.5794024        &lt;br /&gt;
 D   1&lt;br /&gt;
   1      0.1178000              1.0000000&lt;br /&gt;
&lt;br /&gt;
-- [[User:M.Zimmer-De Iuliis|mzd]]  13 October 2009&lt;br /&gt;
&lt;br /&gt;
==Climate Modelling==&lt;br /&gt;
&lt;br /&gt;
==Medicine/Bio==&lt;br /&gt;
&lt;br /&gt;
==High Energy Physics==&lt;br /&gt;
&lt;br /&gt;
==Structural Biology==&lt;br /&gt;
Molecular simulation of proteins, lipids, carbohydrates, and other biologically relevant molecules.&lt;br /&gt;
===Molecular Dynamics (MD) simulation===&lt;br /&gt;
====GROMACS====&lt;br /&gt;
Please refer to the [[gromacs|GROMACS]] page&lt;br /&gt;
====AMBER====&lt;br /&gt;
Please refer to the [[amber|AMBER]] page&lt;br /&gt;
====NAMD====&lt;br /&gt;
NAMD is one of the better scaling MD packages out there. With sufficiently large systems, it is able to scale to hundreds or thousands of cores on Scinet. Below are details for compiling and running NAMD on Scinet.&lt;br /&gt;
&lt;br /&gt;
More information regarding performance and different compile options coming soon...&lt;br /&gt;
&lt;br /&gt;
=====Compiling NAMD for GPC=====&lt;br /&gt;
Ensure the proper compiler/mpi modules are loaded.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
module load intel&lt;br /&gt;
module load openmpi/1.3.3-intel-v11.0-ofed&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Compile Charm++ and NAMD'''&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
#Unpack source files and get required support libraries&lt;br /&gt;
tar -xzf NAMD_2.7b1_Source.tar.gz&lt;br /&gt;
cd NAMD_2.7b1_Source&lt;br /&gt;
tar -xf charm-6.1.tar&lt;br /&gt;
wget http://www.ks.uiuc.edu/Research/namd/libraries/fftw-linux-x86_64.tar.gz&lt;br /&gt;
wget http://www.ks.uiuc.edu/Research/namd/libraries/tcl-linux-x86_64.tar.gz&lt;br /&gt;
tar -xzf fftw-linux-x86_64.tar.gz; mv linux-x86_64 fftw&lt;br /&gt;
tar -xzf tcl-linux-x86_64.tar.gz; mv linux-x86_64 tcl&lt;br /&gt;
#Compile Charm++&lt;br /&gt;
cd charm-6.1&lt;br /&gt;
./build charm++ mpi-linux-x86_64 icc --basedir /scinet/gpc/mpi/openmpi/1.3.3-intel-v11.0-ofed/ --no-shared -O -DCMK_OPTIMIZE=1&lt;br /&gt;
cd ..&lt;br /&gt;
#Compile NAMD. &lt;br /&gt;
#Edit arch/Linux-x86_64-icc.arch and add &amp;quot;-lmpi&amp;quot; to the end of the CXXOPTS and COPTS line.&lt;br /&gt;
#Make a builds directory if you want different versions of NAMD compiled at the same time.&lt;br /&gt;
mkdir builds&lt;br /&gt;
./config builds/Linux-x86_64-icc --charm-arch mpi-linux-x86_64-icc&lt;br /&gt;
cd builds/Linux-x86_64-icc/&lt;br /&gt;
make -j4 namd2 # Adjust value of j as desired to specify number of simultaneous make targets. &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
--[[User:Cmadill|Cmadill]] 16:18, 27 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
=====Running Fortran=====&lt;br /&gt;
On the development nodes, there is an old gcc. The associated libraries are not on the compute nodes. Ensure the line:&lt;br /&gt;
&lt;br /&gt;
module load gcc&lt;br /&gt;
&lt;br /&gt;
is in your .bashrc file.&lt;br /&gt;
&lt;br /&gt;
====LAMMPS====&lt;br /&gt;
[[Image:StrongScalingLAMMPS.png|thumb|320px|right|Strong scaling test on GPC with OpenMPI and IntelMPI on Ethernet and InfiniBand]]&lt;br /&gt;
[[Image:WeakScalingLAMMPS.png|thumb|320px|right|Weak scaling test on GPC with OpenMPI and IntelMPI on Ethernet and InfiniBand]]&lt;br /&gt;
LAMMPS is a parallel MD code that can be found [http://lammps.sandia.gov/ here].&lt;br /&gt;
&lt;br /&gt;
'''Scaling Tests on GPC'''&lt;br /&gt;
&lt;br /&gt;
Results from strong scaling tests for LAMMPS using EAM potentials on GPC are shown in the graph on the right.  Test simulation ran 500 timesteps for 4,000,000 atoms.&lt;br /&gt;
&lt;br /&gt;
Results from weak scaling tests for LAMMPS using EAM potentials on GPC are shown in the graph on the right.  Test simulation ran 500 timesteps for 32,000 atoms per processor.&lt;br /&gt;
&lt;br /&gt;
OpenMPI version used: openmpi/1.4.1-intel-v11.0-ofed&lt;br /&gt;
&lt;br /&gt;
IntelMPI version used: intelmpi/impi-4.0.0.013&lt;br /&gt;
&lt;br /&gt;
'''Summary of Scaling Tests'''&lt;br /&gt;
&lt;br /&gt;
Results show good scaling for both OpenMPI and IntelMPI on Ethernet up to 16 processors, after which performance begins to suffer.  On Infiniband, excellent scaling is maintained to 512 processors.&lt;br /&gt;
&lt;br /&gt;
IntelMPI shows slightly better performance compared to OpenMPI when running with Infiniband.&lt;br /&gt;
&lt;br /&gt;
--[[User:jchu|jchu]] 14:08 Feb 2, 2010&lt;br /&gt;
&lt;br /&gt;
===Monte Carlo (MC) simulation===&lt;/div&gt;</summary>
		<author><name>Jchu</name></author>
	</entry>
	<entry>
		<id>https://oldwiki.scinet.utoronto.ca/index.php?title=User_Codes&amp;diff=882</id>
		<title>User Codes</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.scinet.utoronto.ca/index.php?title=User_Codes&amp;diff=882"/>
		<updated>2010-02-02T19:07:24Z</updated>

		<summary type="html">&lt;p&gt;Jchu: /* LAMMPS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&lt;br /&gt;
==Astrophysics==&lt;br /&gt;
&lt;br /&gt;
===Athena (explicit, uniform grid MHD code)===&lt;br /&gt;
&lt;br /&gt;
[[Image:StrongScalingAthenaGPC.png|thumb|right|320px|Athena scaling on GPC with OpenMPI and MVAPICH2 on GigE, and OpenMPI on InfiniBand]]&lt;br /&gt;
&lt;br /&gt;
[http://www.astro.princeton.edu/~jstone/athena.html Athena] is a straightforward C code which doesn't use a lot of libraries so it is pretty straightforward to build and compile on new machines.   &lt;br /&gt;
&lt;br /&gt;
It encapsulates its compiler flags, etc in an &amp;lt;tt&amp;gt;Makeoptions.in&amp;lt;/tt&amp;gt; file which is then processed by &amp;lt;tt&amp;gt;configure&amp;lt;/tt&amp;gt;.   I've used the following additions to &amp;lt;tt&amp;gt;Makeoptions.in&amp;lt;/tt&amp;gt; on TCS and GPC:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
ifeq ($(MACHINE),scinettcs)&lt;br /&gt;
  CC = mpcc_r&lt;br /&gt;
  LDR = mpcc_r&lt;br /&gt;
  OPT = -O5 -q64 -qarch=pwr6 -qtune=pwr6 -qcache=auto -qlargepage -qstrict&lt;br /&gt;
  MPIINC =&lt;br /&gt;
  MPILIB =&lt;br /&gt;
  CFLAGS = $(OPT)&lt;br /&gt;
  LIB = -ldl -lm&lt;br /&gt;
else&lt;br /&gt;
ifeq ($(MACHINE),scinetgpc)&lt;br /&gt;
  CC = mpicc&lt;br /&gt;
  LDR = mpicc&lt;br /&gt;
  OPT = -O3&lt;br /&gt;
  MPIINC =&lt;br /&gt;
  MPILIB =&lt;br /&gt;
  CFLAGS = $(OPT)&lt;br /&gt;
  LIB = -lm&lt;br /&gt;
else&lt;br /&gt;
...&lt;br /&gt;
endif&lt;br /&gt;
endif&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
It performs quite well on the GPC, scaling extremely well even on a strong scaling test out to about 256 cores (32 nodes) on Gigabit ethernet, and performing beautifully on InfiniBand out to 512 cores (64 nodes). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Ljdursi|ljdursi]]  19:20, 13 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
===FLASH3 (Adaptive Mesh reactive hydrodynamics; explict hydro/MHD)===&lt;br /&gt;
&lt;br /&gt;
[[Image:weak-scaling-example.png|thumb|right|320px|Weak scaling test of the 2d sod problem on both the GPC and TCS.  The results are actually somewhat faster on the GPC; in both cases (weak) scaling is very good out at least to 256 cores]]&lt;br /&gt;
&lt;br /&gt;
[http://flash.uchicago.edu FLASH] encapsulates its machine-dependant information in the &amp;lt;tt&amp;gt;FLASH3/sites&amp;lt;/tt&amp;gt; directory.  For the GPC, you'll have to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load intel&lt;br /&gt;
module load openmpi&lt;br /&gt;
module load hdf5/183-v16-openmpi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and with that, the following file (&amp;lt;tt&amp;gt;sites/scinetgpc/Makefile.h&amp;lt;/tt&amp;gt;) works for me:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
## Must do module load hdf5/183-v16-openmpi&lt;br /&gt;
HDF5_PATH = ${SCINET_HDF5_BASE}&lt;br /&gt;
ZLIB_PATH = /usr/local&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Compiler and linker commands&lt;br /&gt;
#&lt;br /&gt;
#  We use the f90 compiler as the linker, so some C libraries may explicitly&lt;br /&gt;
#  need to be added into the link line.&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
## modules will put the right mpi in our path&lt;br /&gt;
FCOMP   = mpif77&lt;br /&gt;
CCOMP   = mpicc&lt;br /&gt;
CPPCOMP = mpiCC&lt;br /&gt;
LINK    = mpif77&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Compilation flags&lt;br /&gt;
#&lt;br /&gt;
#  Three sets of compilation/linking flags are defined: one for optimized&lt;br /&gt;
#  code, one for testing, and one for debugging.  The default is to use the &lt;br /&gt;
#  _OPT version.  Specifying -debug to setup will pick the _DEBUG version,&lt;br /&gt;
#  these should enable bounds checking.  Specifying -test is used for &lt;br /&gt;
#  flash_test, and is set for quick code generation, and (sometimes) &lt;br /&gt;
#  profiling.  The Makefile generated by setup will assign the generic token &lt;br /&gt;
#  (ex. FFLAGS) to the proper set of flags (ex. FFLAGS_OPT).&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
FFLAGS_OPT   =  -c -r8 -i4 -O3 -xSSE4.2&lt;br /&gt;
FFLAGS_DEBUG =  -c -g -r8 -i4 -O0&lt;br /&gt;
FFLAGS_TEST  =  -c -r8 -i4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# if we are using HDF5, we need to specify the path to the include files&lt;br /&gt;
CFLAGS_HDF5  = -I${HDF5_PATH}/include&lt;br /&gt;
&lt;br /&gt;
CFLAGS_OPT   = -c -O3 -xSSE4.2&lt;br /&gt;
CFLAGS_TEST  = -c -O2 &lt;br /&gt;
CFLAGS_DEBUG = -c -g  &lt;br /&gt;
&lt;br /&gt;
MDEFS = &lt;br /&gt;
&lt;br /&gt;
.SUFFIXES: .o .c .f .F .h .fh .F90 .f90&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Linker flags&lt;br /&gt;
#&lt;br /&gt;
#  There is a seperate version of the linker flags for each of the _OPT, &lt;br /&gt;
#  _DEBUG, and _TEST cases.&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
LFLAGS_OPT   = -o&lt;br /&gt;
LFLAGS_TEST  = -o&lt;br /&gt;
LFLAGS_DEBUG = -g -o&lt;br /&gt;
&lt;br /&gt;
MACHOBJ = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MV = mv -f&lt;br /&gt;
AR = ar -r&lt;br /&gt;
RM = rm -f&lt;br /&gt;
CD = cd&lt;br /&gt;
RL = ranlib&lt;br /&gt;
ECHO = echo&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Ljdursi|ljdursi]] 22:11, 13 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Aeronautics==&lt;br /&gt;
&lt;br /&gt;
==Chemistry==&lt;br /&gt;
&lt;br /&gt;
===GAMESS (US)===&lt;br /&gt;
The GAMESS version January 12, 2009 R3 was built using the Intel v11.1 compilers and v3.2.2 MPI library, according to the instructions in http://software.intel.com/en-us/articles/building-gamess-with-intel-compilers-intel-mkl-and-intel-mpi-on-linux/&lt;br /&gt;
&lt;br /&gt;
The required build scripts - comp, compall, lked - and run script - rungms - were modified to account for our own installation.  In order to build GAMESS one first must ensure that the intel and intelmpi modules are loaded (&amp;quot;module load intel intelmpi&amp;quot;).  This applies to running GAMESS as well.&lt;br /&gt;
The module &amp;quot;gamess&amp;quot; must also be loaded in order to run GAMESS (&amp;quot;module load gamess&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
The modified scripts are in the file /scinet/gpc/src/gamess-on-scinet.tar.gz&lt;br /&gt;
&lt;br /&gt;
====Running GAMESS====&lt;br /&gt;
- Make sure the directory /scratch/$USER/gamess-scratch exists (the $SCINET_RUNGMS script will create it if it does not exist)&lt;br /&gt;
&lt;br /&gt;
- Make sure the modules: intel, intelmpi, gamess are loaded (in your .bashrc: &amp;quot;module load intel intelmpi gamess&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
- Create a torque script to run GAMESS.  Here is an example:&lt;br /&gt;
&lt;br /&gt;
- The GAMESS executable is in $SCINET_GAMESS_HOME/gamess.00.x&lt;br /&gt;
- The rungms script is in $SCINET_GAMESS_HOME/rungms (actually it is $SCINET_RUNGMS)&lt;br /&gt;
&lt;br /&gt;
- For IB multinode runs, use the $SCINET_RUNGMS_IB script&lt;br /&gt;
&lt;br /&gt;
- The rungms script takes 4 arguments:  input file, executable number, number of compute processes, processors per node&lt;br /&gt;
&lt;br /&gt;
For example, in order to run with the input file /scratch/$USER/gamesstest01, on 8 cpus, and the default version (00)&lt;br /&gt;
of the executable on a machine with 8 cores:&lt;br /&gt;
&lt;br /&gt;
   # load the gamess module in .bashrc&lt;br /&gt;
   module load gamess  &lt;br /&gt;
&lt;br /&gt;
   # run the program&lt;br /&gt;
   $SCINET_RUNGMS /scratch/$USER/gamesstest01 00 8 8&lt;br /&gt;
&lt;br /&gt;
Here is a sample torque script for running a GAMESS calculation, on a single 8-core node:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#PBS -l nodes=1:ppn=8,walltime=48:00:00,os=centos53computeA&lt;br /&gt;
#PBS -N gamessjob&lt;br /&gt;
&lt;br /&gt;
## To submit type: qsub gms.sh&lt;br /&gt;
&lt;br /&gt;
# If not an interactive job (i.e. -I), then cd into the directory where&lt;br /&gt;
# I typed qsub.&lt;br /&gt;
if [ &amp;quot;$PBS_ENVIRONMENT&amp;quot; != &amp;quot;PBS_INTERACTIVE&amp;quot; ]; then&lt;br /&gt;
   if [ -n &amp;quot;$PBS_O_WORKDIR&amp;quot; ]; then&lt;br /&gt;
     cd $PBS_O_WORKDIR&lt;br /&gt;
   fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# the input file is typically named something like &amp;quot;gamesjob.inp&amp;quot;&lt;br /&gt;
# so the script will be run like &amp;quot;$SCINET_RUNGMS gamessjob 00 8 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# load the gamess module if not in .bashrc already&lt;br /&gt;
# actually, it MUST be in .bashrc&lt;br /&gt;
# module load gamess&lt;br /&gt;
&lt;br /&gt;
# run the program&lt;br /&gt;
&lt;br /&gt;
$SCINET_RUNGMS gamessjob 00 8 8&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a similar script, but this one uses 2 InfiniBand-connected nodes,&lt;br /&gt;
and runs the appropriate $SCINET_RUNGMS_IB script to actually run the job:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#PBS -l nodes=2:ib:ppn=8,walltime=48:00:00,os=centos53computeA&lt;br /&gt;
#PBS -N gamessjob&lt;br /&gt;
&lt;br /&gt;
## To submit type: qsub gmsib.sh&lt;br /&gt;
&lt;br /&gt;
# If not an interactive job (i.e. -I), then cd into the directory where&lt;br /&gt;
# I typed qsub.&lt;br /&gt;
if [ &amp;quot;$PBS_ENVIRONMENT&amp;quot; != &amp;quot;PBS_INTERACTIVE&amp;quot; ]; then&lt;br /&gt;
   if [ -n &amp;quot;$PBS_O_WORKDIR&amp;quot; ]; then&lt;br /&gt;
     cd $PBS_O_WORKDIR&lt;br /&gt;
   fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# the input file is typically named something like &amp;quot;gamesjob.inp&amp;quot;&lt;br /&gt;
# so the script will be run like &amp;quot;$SCINET_RUNGMS gamessjob 00 8 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# load the gamess module if not in .bashrc already&lt;br /&gt;
# actually, it MUST be in .bashrc&lt;br /&gt;
# module load gamess&lt;br /&gt;
&lt;br /&gt;
# This script requests InfiniBand-connected nodes (:ib above)&lt;br /&gt;
# so it must run with the IB version of the rungms script,&lt;br /&gt;
# $SCINET_RUNGMS_IB&lt;br /&gt;
&lt;br /&gt;
$SCINET_RUNGMS_IB gamessjob 00 16 8&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
-- [[User:Dgruner|dgruner]]  5 October 2009&lt;br /&gt;
&lt;br /&gt;
===Tips from the Fekl Lab===&lt;br /&gt;
&lt;br /&gt;
Through trial and error, we have found a few useful things that we would like to share:&lt;br /&gt;
&lt;br /&gt;
1. Two very useful, open-source programs for visualization of output files from GAMESS(US) and for generation of input files are [http://www.scl.ameslab.gov/MacMolPlt/ MacMolPlt]and [http://avogadro.openmolecules.net/wiki/Main_Page Avogadro].  The are available for UNIX/LINUX, Windows and Mac based machines, HOWEVER:  any input files that we have generated with these programs on a Windows-based machine do not run on Mac based machines.  We don't know why.&lt;br /&gt;
&lt;br /&gt;
2. [http://winscp.net/eng/index.php WinSCP] is a very useful tool that has a graphical user interface for moving files from a local machine to SCINET and vice versa.  It also has text editing capabilities.&lt;br /&gt;
&lt;br /&gt;
3. The [https://bse.pnl.gov/bse/portal ESML Basis Set Exchange] is an excellent source for custom basis set or effective core potential parameters.  Make sure that you specify &amp;quot;Gamess-US&amp;quot; in the format drop-down box.&lt;br /&gt;
&lt;br /&gt;
4.  The commercial program [http://www.chemcraftprog.com/ ChemCraft] is a highly useful visualization program that has the ability to edit molecules in a very similar fashion to GaussView.  It can also be customized to build GAMESS(US) input files.&lt;br /&gt;
&lt;br /&gt;
====Anatomy of a GAMESS(US) Input File with Basis Set Info in an External File====&lt;br /&gt;
&lt;br /&gt;
  $CONTRL SCFTYP=RHF RUNTYP=OPTIMIZE DFTTYP=M06-L MAXIT=199 MULT=1 NOSYM=1&lt;br /&gt;
   ECP=READ $END&lt;br /&gt;
  $SYSTEM TIMLIM=525600 MWORDS=1750 PARALL=.TRUE. $END&lt;br /&gt;
  $BASIS GBASIS=CUSTOMNI EXTFIL=.t. $END&lt;br /&gt;
  $SCF DIRSCF=.TRUE. FDIFF=.f. $END&lt;br /&gt;
  $STATPT OPTTOL=0.0001 NSTEP=500 HSSEND=.t. $END&lt;br /&gt;
  $DATA&lt;br /&gt;
  Mo_BDT3&lt;br /&gt;
 C1&lt;br /&gt;
 MOLYBDENUM 42.0      5.7556500000      4.4039600000     16.5808400000&lt;br /&gt;
 SULFUR     16.0      7.4169700000      3.1956300000     15.2089300000&lt;br /&gt;
 SULFUR     16.0      4.0966800000      3.2258300000     15.1761100000&lt;br /&gt;
 SULFUR     16.0      3.9677300000      4.4940500000     18.3266100000&lt;br /&gt;
 SULFUR     16.0      7.1776900000      3.5815000000     18.4485200000&lt;br /&gt;
 SULFUR     16.0      4.3776600000      6.2447400000     15.6786900000&lt;br /&gt;
 SULFUR     16.0      7.5478700000      6.0679800000     16.2223700000&lt;br /&gt;
 CARBON      6.0      6.4716900000      2.1004800000     14.1902300000&lt;br /&gt;
 CARBON      6.0      5.0690300000      2.1781400000     14.1080700000&lt;br /&gt;
 CARBON      6.0      4.8421800000      4.2701300000     19.8855500000&lt;br /&gt;
 CARBON      6.0      6.1969000000      3.9249600000     19.9397400000&lt;br /&gt;
 CARBON      6.0      6.8280600000      3.7834200000     21.1913200000&lt;br /&gt;
 CARBON      6.0      5.7697600000      7.6933500000     17.4241800000&lt;br /&gt;
 CARBON      6.0      7.2043100000      7.9413600000     17.8281100000&lt;br /&gt;
 CARBON      6.0      5.5051400000      7.0409700000     14.5903800000&lt;br /&gt;
 CARBON      6.0      6.8905200000      6.9194700000     14.7626200000&lt;br /&gt;
 CARBON      6.0      7.7396400000      7.5379800000     13.8285700000&lt;br /&gt;
 HYDROGEN    1.0      8.8190700000      7.4520600000     13.9252200000&lt;br /&gt;
 CARBON      6.0      7.2169400000      8.2960300000     12.7704100000&lt;br /&gt;
 HYDROGEN    1.0      7.8667000000      8.7825100000     12.0575600000&lt;br /&gt;
 CARBON      6.0      5.8260300000      8.4502300000     12.6467800000&lt;br /&gt;
 HYDROGEN    1.0      5.4143000000      9.0544300000     11.8493100000&lt;br /&gt;
 CARBON      6.0      4.9881500000      7.8192300000     13.5528400000&lt;br /&gt;
 HYDROGEN    1.0      3.9090500000      7.9420000000     13.4583700000&lt;br /&gt;
 CARBON      6.0      7.1538500000      1.1569600000     13.4143900000&lt;br /&gt;
 CARBON      6.0      4.4018100000      1.3603900000     13.1919900000&lt;br /&gt;
 CARBON      6.0      6.4791600000      0.3185500000     12.5353300000&lt;br /&gt;
 CARBON      6.0      5.0837400000      0.4369500000     12.4084900000&lt;br /&gt;
 HYDROGEN    1.0      7.0116000000     -0.4099400000     11.9434600000&lt;br /&gt;
 HYDROGEN    1.0      8.2399000000      1.0702400000     13.4937600000&lt;br /&gt;
 HYDROGEN    1.0      3.3185600000      1.4368700000     13.0953100000&lt;br /&gt;
 HYDROGEN    1.0      4.5549800000     -0.1997300000     11.7165200000&lt;br /&gt;
 CARBON      6.0      6.1105700000      3.9639000000     22.3866100000&lt;br /&gt;
 CARBON      6.0      4.1216300000      4.4424400000     21.1020100000&lt;br /&gt;
 HYDROGEN    1.0      7.8732900000      3.5217100000     21.2520500000&lt;br /&gt;
 CARBON      6.0      4.7606000000      4.2868500000     22.3363800000&lt;br /&gt;
 HYDROGEN    1.0      6.6064200000      3.8406000000     23.3428500000&lt;br /&gt;
 HYDROGEN    1.0      4.2065000000      4.4170700000     23.2667100000&lt;br /&gt;
 HYDROGEN    1.0      3.0674000000      4.6893500000     21.0889000000&lt;br /&gt;
 HYDROGEN    1.0      7.4249200000      7.7545300000     18.8583200000&lt;br /&gt;
 HYDROGEN    1.0      7.6651700000      8.9049700000     17.7652100000&lt;br /&gt;
 HYDROGEN    1.0      5.3324000000      8.6487800000     17.2222700000&lt;br /&gt;
 HYDROGEN    1.0      5.5015000000      7.1039000000     18.2759400000&lt;br /&gt;
  $END&lt;br /&gt;
  $ECP&lt;br /&gt;
 MO-ECP GEN     28     3&lt;br /&gt;
  5      ----- f potential     -----&lt;br /&gt;
     -0.0469492        0    537.9667807        &lt;br /&gt;
    -20.2080084        1    147.8982938        &lt;br /&gt;
   -106.2116302        2     45.7358898        &lt;br /&gt;
    -41.8107368        2     13.2911467        &lt;br /&gt;
     -4.2054103        2      4.7059961        &lt;br /&gt;
  3      ----- s-f potential     -----&lt;br /&gt;
      2.8063717        0    110.2991760        &lt;br /&gt;
     44.5162012        1     23.2014645        &lt;br /&gt;
     82.7785227        2      5.3530131        &lt;br /&gt;
  4      ----- p-f potential     -----&lt;br /&gt;
      4.9420876        0     63.2901397        &lt;br /&gt;
     25.8604976        1     23.3315302        &lt;br /&gt;
    132.4708742        2     24.6759423        &lt;br /&gt;
     57.3149794        2      4.6493040        &lt;br /&gt;
  5      ----- d-f potential     -----&lt;br /&gt;
      3.0054591        0    104.4839977        &lt;br /&gt;
     26.3637851        1     66.2307245        &lt;br /&gt;
    183.3849199        2     39.1283176        &lt;br /&gt;
     98.4453068        2     13.1164437        &lt;br /&gt;
     22.4901377        2      3.6280263 &lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
=====The Input Deck=====&lt;br /&gt;
&lt;br /&gt;
Below is the input deck.  It is where you tell GAMESS(US) what job type to execute and where all you individual parameters are entered for your specific job type.  The example input deck below is for a geometry optimization and frequency calculation.  This input deck is equivalent to the Gaussian job with &amp;quot;opt&amp;quot; and &amp;quot;freq&amp;quot; in the route section.&lt;br /&gt;
&lt;br /&gt;
  $CONTRL SCFTYP=RHF RUNTYP=OPTIMIZE DFTTYP=M06-L MAXIT=199 MULT=1 NOSYM=1&lt;br /&gt;
   ECP=READ $END&lt;br /&gt;
  $SYSTEM TIMLIM=2850 MWORDS=1750 MEMDDI=20 PARALL=.TRUE. $END&lt;br /&gt;
  $BASIS GBASIS=CUSTOMNI EXTFIL=.t. $END&lt;br /&gt;
  $SCF DIRSCF=.TRUE. FDIFF=.f. $END&lt;br /&gt;
  $STATPT OPTTOL=0.0001 NSTEP=500 HSSEND=.t. $END&lt;br /&gt;
  $DATA&lt;br /&gt;
&lt;br /&gt;
An important thing to note is the spacing.  In the input deck, there must be 1 space at the beginning of each line of the input deck.  If not, the job will fail.  Most builders will insert this space anyway, but it helps to double check.&lt;br /&gt;
&lt;br /&gt;
The end of the input deck is marked by the &amp;quot;$DATA&amp;quot; line.&lt;br /&gt;
&lt;br /&gt;
=====Job Title Line=====&lt;br /&gt;
&lt;br /&gt;
The next line of the file is the job title.  It can be anthing you wish, however, we have found that to be on the safe side, we avoide using symbols or spaces&lt;br /&gt;
&lt;br /&gt;
  Mo_BDT3&lt;br /&gt;
&lt;br /&gt;
=====Symmetry Point Group=====&lt;br /&gt;
&lt;br /&gt;
The next line of the file is the symmetry point group of your molecule.  Note that there is no leading space before the point group.&lt;br /&gt;
&lt;br /&gt;
 C1&lt;br /&gt;
&lt;br /&gt;
=====Coordinates=====&lt;br /&gt;
&lt;br /&gt;
The next block of text is set aside for the coordinates of the molecule.  This can be in internal (or z-matrix) format or cartesian coordinates.  Note that there is no leading space before the coordinates.  One may use the chemical symbol or the full name of each atom in the molecule.  Note that the end of the coordinates is signified by an &amp;quot;$END&amp;quot;, which MUST have one space preceding it.  The coordinates below do NOT have any basis set information inserted.  It is possible to insert basis set information directly into the input file.  This is accomplished by obtaining the desired basis set parameters from the EMSL and then inserting them below each relevant atom.  An example input file with inserted basis set information will be shown later.&lt;br /&gt;
&lt;br /&gt;
 MOLYBDENUM 42.0      5.7556500000      4.4039600000     16.5808400000&lt;br /&gt;
 SULFUR     16.0      7.4169700000      3.1956300000     15.2089300000&lt;br /&gt;
 SULFUR     16.0      4.0966800000      3.2258300000     15.1761100000&lt;br /&gt;
 SULFUR     16.0      3.9677300000      4.4940500000     18.3266100000&lt;br /&gt;
 SULFUR     16.0      7.1776900000      3.5815000000     18.4485200000&lt;br /&gt;
 SULFUR     16.0      4.3776600000      6.2447400000     15.6786900000&lt;br /&gt;
 SULFUR     16.0      7.5478700000      6.0679800000     16.2223700000&lt;br /&gt;
 CARBON      6.0      6.4716900000      2.1004800000     14.1902300000&lt;br /&gt;
 CARBON      6.0      5.0690300000      2.1781400000     14.1080700000&lt;br /&gt;
 CARBON      6.0      4.8421800000      4.2701300000     19.8855500000&lt;br /&gt;
 CARBON      6.0      6.1969000000      3.9249600000     19.9397400000&lt;br /&gt;
 CARBON      6.0      6.8280600000      3.7834200000     21.1913200000&lt;br /&gt;
 CARBON      6.0      5.7697600000      7.6933500000     17.4241800000&lt;br /&gt;
 CARBON      6.0      7.2043100000      7.9413600000     17.8281100000&lt;br /&gt;
 CARBON      6.0      5.5051400000      7.0409700000     14.5903800000&lt;br /&gt;
 CARBON      6.0      6.8905200000      6.9194700000     14.7626200000&lt;br /&gt;
 CARBON      6.0      7.7396400000      7.5379800000     13.8285700000&lt;br /&gt;
 HYDROGEN    1.0      8.8190700000      7.4520600000     13.9252200000&lt;br /&gt;
 CARBON      6.0      7.2169400000      8.2960300000     12.7704100000&lt;br /&gt;
 HYDROGEN    1.0      7.8667000000      8.7825100000     12.0575600000&lt;br /&gt;
 CARBON      6.0      5.8260300000      8.4502300000     12.6467800000&lt;br /&gt;
 HYDROGEN    1.0      5.4143000000      9.0544300000     11.8493100000&lt;br /&gt;
 CARBON      6.0      4.9881500000      7.8192300000     13.5528400000&lt;br /&gt;
 HYDROGEN    1.0      3.9090500000      7.9420000000     13.4583700000&lt;br /&gt;
 CARBON      6.0      7.1538500000      1.1569600000     13.4143900000&lt;br /&gt;
 CARBON      6.0      4.4018100000      1.3603900000     13.1919900000&lt;br /&gt;
 CARBON      6.0      6.4791600000      0.3185500000     12.5353300000&lt;br /&gt;
 CARBON      6.0      5.0837400000      0.4369500000     12.4084900000&lt;br /&gt;
 HYDROGEN    1.0      7.0116000000     -0.4099400000     11.9434600000&lt;br /&gt;
 HYDROGEN    1.0      8.2399000000      1.0702400000     13.4937600000&lt;br /&gt;
 HYDROGEN    1.0      3.3185600000      1.4368700000     13.0953100000&lt;br /&gt;
 HYDROGEN    1.0      4.5549800000     -0.1997300000     11.7165200000&lt;br /&gt;
 CARBON      6.0      6.1105700000      3.9639000000     22.3866100000&lt;br /&gt;
 CARBON      6.0      4.1216300000      4.4424400000     21.1020100000&lt;br /&gt;
 HYDROGEN    1.0      7.8732900000      3.5217100000     21.2520500000&lt;br /&gt;
 CARBON      6.0      4.7606000000      4.2868500000     22.3363800000&lt;br /&gt;
 HYDROGEN    1.0      6.6064200000      3.8406000000     23.3428500000&lt;br /&gt;
 HYDROGEN    1.0      4.2065000000      4.4170700000     23.2667100000&lt;br /&gt;
 HYDROGEN    1.0      3.0674000000      4.6893500000     21.0889000000&lt;br /&gt;
 HYDROGEN    1.0      7.4249200000      7.7545300000     18.8583200000&lt;br /&gt;
 HYDROGEN    1.0      7.6651700000      8.9049700000     17.7652100000&lt;br /&gt;
 HYDROGEN    1.0      5.3324000000      8.6487800000     17.2222700000&lt;br /&gt;
 HYDROGEN    1.0      5.5015000000      7.1039000000     18.2759400000&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
=====Effective Core Potential Data=====&lt;br /&gt;
&lt;br /&gt;
The effective core potential (ECP) data is entered after the coordinates.  It starts with &amp;quot;$ECP&amp;quot;, which must be preceded with a space.   The atoms of the molecule are listed in the same order as in the coordinates section and the parameters for the ECP are listed after each atom.  Note that for any atom that does NOT have an ECP, one must enter &amp;quot;ECP-NONE&amp;quot; or &amp;quot;NONE&amp;quot; after each atom without an ECP.&lt;br /&gt;
&lt;br /&gt;
 $ECP&lt;br /&gt;
 MO-ECP GEN     28     3&lt;br /&gt;
  5      ----- f potential     -----&lt;br /&gt;
     -0.0469492        0    537.9667807        &lt;br /&gt;
    -20.2080084        1    147.8982938        &lt;br /&gt;
   -106.2116302        2     45.7358898        &lt;br /&gt;
    -41.8107368        2     13.2911467        &lt;br /&gt;
     -4.2054103        2      4.7059961        &lt;br /&gt;
  3      ----- s-f potential     -----&lt;br /&gt;
      2.8063717        0    110.2991760        &lt;br /&gt;
     44.5162012        1     23.2014645        &lt;br /&gt;
     82.7785227        2      5.3530131        &lt;br /&gt;
  4      ----- p-f potential     -----&lt;br /&gt;
      4.9420876        0     63.2901397        &lt;br /&gt;
     25.8604976        1     23.3315302        &lt;br /&gt;
    132.4708742        2     24.6759423        &lt;br /&gt;
     57.3149794        2      4.6493040        &lt;br /&gt;
  5      ----- d-f potential     -----&lt;br /&gt;
      3.0054591        0    104.4839977        &lt;br /&gt;
     26.3637851        1     66.2307245        &lt;br /&gt;
    183.3849199        2     39.1283176        &lt;br /&gt;
     98.4453068        2     13.1164437        &lt;br /&gt;
     22.4901377        2      3.6280263 &lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
-- [[User:M.Zimmer-De Iuliis|mzd]]  16 November 2009&lt;br /&gt;
&lt;br /&gt;
====Using Effective Core Potentials in GAMESS(US)====&lt;br /&gt;
&lt;br /&gt;
For many metal containing compounds, it is very convenient and time saving to use an effective core potential (ECP) for the core metal electrons, as they are usually not important to the reactivity of the complex or the geometry around the metal.  Since GAMESS(US) has a limited number of built-in ECPs, one may want to make GAMESS(US) read an external file that contains the ECP data using the &amp;quot;EXTFIL&amp;quot; keyword in the $GBASIS command line of the input file.  In addition, to make GAMESS(US) use this external file, one must copy the &amp;quot;rungms&amp;quot; file and modify it accordingly.  The following is a list of instructions with commands that will work from a terminal.  One could also use WinSCP to do all of this with a GUI rather than a TUI.  &lt;br /&gt;
&lt;br /&gt;
=====Modifiying rungms to Use Custom Basis Set File=====&lt;br /&gt;
1. Copy &amp;quot;rungms&amp;quot; from /scinet/gpc/Applications/gamess to one's own /scratch/$USER/ directory:&lt;br /&gt;
 cp /scinet/gpc/Applications/gamess/rungms /scratch/$USER/&lt;br /&gt;
&lt;br /&gt;
2. Change to the scratch directory and check to see if &amp;quot;rungms&amp;quot; has copied successfully.&lt;br /&gt;
 cd /scratch/$USER&lt;br /&gt;
 ls&lt;br /&gt;
&lt;br /&gt;
3. Edit line 147 of the vi.  &lt;br /&gt;
 vi rungms&lt;br /&gt;
Move the cursor down to line 147 using the arrow keys.  It should say &amp;quot;setenv EXTBAS /dev/null&amp;quot;.  Using the arrow keys, move the cursor to the first &amp;quot;/&amp;quot; and then hit &amp;quot;i&amp;quot; to insert text.  Put the path to your external basis file here.  For example, /scratch/$USER/basisset.  Then hit &amp;quot;escape&amp;quot;.  To save the changes and exit vi, type &amp;quot;:&amp;quot; and you should see a colon appear at the bottom of the window.  Type &amp;quot;wq&amp;quot; (which should appear at the bottom of the window next to the colon) and then hit enter.  Now you are done with vi.&lt;br /&gt;
&lt;br /&gt;
=====Creating a Custom Basis Set File=====&lt;br /&gt;
1. To create a custom basis set file, you need create a new text document.  Our group's common practice is to comment out the first line of this file by inserting an exclamation mark (!) followed by noting the specific basis sets and ECPs that are going to be used for each of the atoms.  Let us the molecule Mo(CO)6, Molybdenum hexacarbonyl, as an example.  Below is the first line of the the external file, which we will call &amp;quot;CUSTOMMO&amp;quot;  (NOTE:  you can use any name for the external file that suits you, as long as it has no spaces and is 8 characters or less).&lt;br /&gt;
&lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&lt;br /&gt;
&lt;br /&gt;
2. The next step is to visit the [https://bse.pnl.gov/bse/portal EMSL Basis Set exchange] and select C and O from the periodic table.  Then, on the left of the page, select &amp;quot;6-31G&amp;quot; as the basis set.  Finally, make sure the output is in GAMESS(US) format using the drop-down menu and then click &amp;quot;get basis set&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:C_O_6_31G_basisset.JPG|centre]]&lt;br /&gt;
&lt;br /&gt;
3. A new window should appear with text in it.  For our example case, the text looks like this:&lt;br /&gt;
 &lt;br /&gt;
 !  6-31G  EMSL  Basis Set Exchange Library   10/13/09 11:12 AM&lt;br /&gt;
 ! Elements                             References&lt;br /&gt;
 ! --------                             ----------&lt;br /&gt;
 ! H - He: W.J. Hehre, R. Ditchfield and J.A. Pople, J. Chem. Phys. 56,&lt;br /&gt;
 ! Li - Ne: 2257 (1972).  Note: Li and B come from J.D. Dill and J.A.&lt;br /&gt;
 ! Pople, J. Chem. Phys. 62, 2921 (1975).&lt;br /&gt;
 ! Na - Ar: M.M. Francl, W.J. Petro, W.J. Hehre, J.S. Binkley, M.S. Gordon,&lt;br /&gt;
 ! D.J. DeFrees and J.A. Pople, J. Chem. Phys. 77, 3654 (1982)&lt;br /&gt;
 ! K  - Zn: V. Rassolov, J.A. Pople, M. Ratner and T.L. Windus, J. Chem. Phys.&lt;br /&gt;
 ! 109, 1223 (1998)&lt;br /&gt;
 ! Note: He and Ne are unpublished basis sets taken from the Gaussian&lt;br /&gt;
 ! program&lt;br /&gt;
 ! &lt;br /&gt;
 $DATA&amp;lt;br /&amp;gt;&lt;br /&gt;
 CARBON&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 OXYGEN&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000        &lt;br /&gt;
 $END&lt;br /&gt;
&lt;br /&gt;
3. Now, copy and paste the text between the $DATA and $END headings onto our external text file, CUSTOMMO.  We also need to change the change the name of each element to it symbol in the periodic table.  Finally, we need to add the name of the external file next to the element symbol, separated by one space.  Note that there should be a blank line separating the basis set information and the first, commented-out line (The line starting with the '!').  The CUSTOMMO should look like this:&lt;br /&gt;
 &lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&amp;lt;br /&amp;gt;&lt;br /&gt;
 C CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 O CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000 &lt;br /&gt;
&lt;br /&gt;
4. Repeat Step 3 above but choose Mo and select the LANL2DZ ECP instead.  A new window will pop up with the basis set information as well as the ECP data we need, since we specified the LANL2DZ '''ECP'''.  The ECP data is not inserted into the external file, rather it is placed into the input file itself (More on this later).  &lt;br /&gt;
&lt;br /&gt;
[[File:Mo_LANL2DZ_basisset.JPG|centre]]&lt;br /&gt;
&lt;br /&gt;
5.  After copying the molybdenum basis set information, your fiished external basis set file should look like this:&lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&amp;lt;br /&amp;gt;&lt;br /&gt;
 C CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 O CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000&amp;lt;br /&amp;gt; &lt;br /&gt;
 Mo CUSTOMO&lt;br /&gt;
 S   3&lt;br /&gt;
   1      2.3610000             -0.9121760        &lt;br /&gt;
   2      1.3090000              1.1477453        &lt;br /&gt;
   3      0.4500000              0.6097109        &lt;br /&gt;
 S   4&lt;br /&gt;
   1      2.3610000              0.8139259        &lt;br /&gt;
   2      1.3090000             -1.1360084        &lt;br /&gt;
   3      0.4500000             -1.1611592        &lt;br /&gt;
   4      0.1681000              1.0064786        &lt;br /&gt;
 S   1&lt;br /&gt;
   1      0.0423000              1.0000000        &lt;br /&gt;
 P   3&lt;br /&gt;
   1      4.8950000             -0.0908258        &lt;br /&gt;
   2      1.0440000              0.7042899        &lt;br /&gt;
   3      0.3877000              0.3973179        &lt;br /&gt;
 P   2&lt;br /&gt;
   1      0.4995000             -0.1081945        &lt;br /&gt;
   2      0.0780000              1.0368093        &lt;br /&gt;
 P   1&lt;br /&gt;
   1      0.0247000              1.0000000        &lt;br /&gt;
 D   3&lt;br /&gt;
   1      2.9930000              0.0527063        &lt;br /&gt;
   2      1.0630000              0.5003907        &lt;br /&gt;
   3      0.3721000              0.5794024        &lt;br /&gt;
 D   1&lt;br /&gt;
   1      0.1178000              1.0000000&lt;br /&gt;
&lt;br /&gt;
-- [[User:M.Zimmer-De Iuliis|mzd]]  13 October 2009&lt;br /&gt;
&lt;br /&gt;
==Climate Modelling==&lt;br /&gt;
&lt;br /&gt;
==Medicine/Bio==&lt;br /&gt;
&lt;br /&gt;
==High Energy Physics==&lt;br /&gt;
&lt;br /&gt;
==Structural Biology==&lt;br /&gt;
Molecular simulation of proteins, lipids, carbohydrates, and other biologically relevant molecules.&lt;br /&gt;
===Molecular Dynamics (MD) simulation===&lt;br /&gt;
====GROMACS====&lt;br /&gt;
Please refer to the [[gromacs|GROMACS]] page&lt;br /&gt;
====AMBER====&lt;br /&gt;
Please refer to the [[amber|AMBER]] page&lt;br /&gt;
====NAMD====&lt;br /&gt;
NAMD is one of the better scaling MD packages out there. With sufficiently large systems, it is able to scale to hundreds or thousands of cores on Scinet. Below are details for compiling and running NAMD on Scinet.&lt;br /&gt;
&lt;br /&gt;
More information regarding performance and different compile options coming soon...&lt;br /&gt;
&lt;br /&gt;
=====Compiling NAMD for GPC=====&lt;br /&gt;
Ensure the proper compiler/mpi modules are loaded.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
module load intel&lt;br /&gt;
module load openmpi/1.3.3-intel-v11.0-ofed&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Compile Charm++ and NAMD'''&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
#Unpack source files and get required support libraries&lt;br /&gt;
tar -xzf NAMD_2.7b1_Source.tar.gz&lt;br /&gt;
cd NAMD_2.7b1_Source&lt;br /&gt;
tar -xf charm-6.1.tar&lt;br /&gt;
wget http://www.ks.uiuc.edu/Research/namd/libraries/fftw-linux-x86_64.tar.gz&lt;br /&gt;
wget http://www.ks.uiuc.edu/Research/namd/libraries/tcl-linux-x86_64.tar.gz&lt;br /&gt;
tar -xzf fftw-linux-x86_64.tar.gz; mv linux-x86_64 fftw&lt;br /&gt;
tar -xzf tcl-linux-x86_64.tar.gz; mv linux-x86_64 tcl&lt;br /&gt;
#Compile Charm++&lt;br /&gt;
cd charm-6.1&lt;br /&gt;
./build charm++ mpi-linux-x86_64 icc --basedir /scinet/gpc/mpi/openmpi/1.3.3-intel-v11.0-ofed/ --no-shared -O -DCMK_OPTIMIZE=1&lt;br /&gt;
cd ..&lt;br /&gt;
#Compile NAMD. &lt;br /&gt;
#Edit arch/Linux-x86_64-icc.arch and add &amp;quot;-lmpi&amp;quot; to the end of the CXXOPTS and COPTS line.&lt;br /&gt;
#Make a builds directory if you want different versions of NAMD compiled at the same time.&lt;br /&gt;
mkdir builds&lt;br /&gt;
./config builds/Linux-x86_64-icc --charm-arch mpi-linux-x86_64-icc&lt;br /&gt;
cd builds/Linux-x86_64-icc/&lt;br /&gt;
make -j4 namd2 # Adjust value of j as desired to specify number of simultaneous make targets. &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
--[[User:Cmadill|Cmadill]] 16:18, 27 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
=====Running Fortran=====&lt;br /&gt;
On the development nodes, there is an old gcc. The associated libraries are not on the compute nodes. Ensure the line:&lt;br /&gt;
&lt;br /&gt;
module load gcc&lt;br /&gt;
&lt;br /&gt;
is in your .bashrc file.&lt;br /&gt;
&lt;br /&gt;
====LAMMPS====&lt;br /&gt;
[[Image:StrongScalingLAMMPS.png|thumb|320px|right|Strong scaling test on GPC with OpenMPI and IntelMPI on Ethernet and InfiniBand]]&lt;br /&gt;
[[Image:WeakScalingLAMMPS.png|thumb|320px|right|Weak scaling test on GPC with OpenMPI and IntelMPI on Ethernet and InfiniBand]]&lt;br /&gt;
LAMMPS is a parallel MD code that can be found [http://lammps.sandia.gov/ here].&lt;br /&gt;
&lt;br /&gt;
'''Scaling Tests on GPC'''&lt;br /&gt;
&lt;br /&gt;
Results from strong scaling tests for LAMMPS using EAM potentials on GPC are shown in the graph on the right.  Test simulation ran 500 timesteps for 4,000,000 atoms.&lt;br /&gt;
&lt;br /&gt;
Results from weak scaling tests for LAMMPS using EAM potentials on GPC are shown in the graph on the right.  Test simulation ran 500 timesteps for 32,000 atoms per processor.&lt;br /&gt;
&lt;br /&gt;
OpenMPI version used: openmpi/1.4.1-intel-v11.0-ofed&lt;br /&gt;
&lt;br /&gt;
IntelMPI version used: intelmpi/impi-4.0.0.013&lt;br /&gt;
&lt;br /&gt;
'''Summary of Scaling Tests'''&lt;br /&gt;
&lt;br /&gt;
Results show good scaling for both OpenMPI and IntelMPI up to 16 processors, after which performance begins to suffer.  On Infiniband, excellent scaling is maintained to 512 processors.&lt;br /&gt;
&lt;br /&gt;
IntelMPI shows slightly better performance compared to OpenMPI when running with Infiniband.&lt;br /&gt;
&lt;br /&gt;
--[[User:jchu|jchu]] Feb 2, 2010&lt;br /&gt;
&lt;br /&gt;
===Monte Carlo (MC) simulation===&lt;/div&gt;</summary>
		<author><name>Jchu</name></author>
	</entry>
	<entry>
		<id>https://oldwiki.scinet.utoronto.ca/index.php?title=User_Codes&amp;diff=881</id>
		<title>User Codes</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.scinet.utoronto.ca/index.php?title=User_Codes&amp;diff=881"/>
		<updated>2010-02-02T19:06:05Z</updated>

		<summary type="html">&lt;p&gt;Jchu: /* LAMMPS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&lt;br /&gt;
==Astrophysics==&lt;br /&gt;
&lt;br /&gt;
===Athena (explicit, uniform grid MHD code)===&lt;br /&gt;
&lt;br /&gt;
[[Image:StrongScalingAthenaGPC.png|thumb|right|320px|Athena scaling on GPC with OpenMPI and MVAPICH2 on GigE, and OpenMPI on InfiniBand]]&lt;br /&gt;
&lt;br /&gt;
[http://www.astro.princeton.edu/~jstone/athena.html Athena] is a straightforward C code which doesn't use a lot of libraries so it is pretty straightforward to build and compile on new machines.   &lt;br /&gt;
&lt;br /&gt;
It encapsulates its compiler flags, etc in an &amp;lt;tt&amp;gt;Makeoptions.in&amp;lt;/tt&amp;gt; file which is then processed by &amp;lt;tt&amp;gt;configure&amp;lt;/tt&amp;gt;.   I've used the following additions to &amp;lt;tt&amp;gt;Makeoptions.in&amp;lt;/tt&amp;gt; on TCS and GPC:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
ifeq ($(MACHINE),scinettcs)&lt;br /&gt;
  CC = mpcc_r&lt;br /&gt;
  LDR = mpcc_r&lt;br /&gt;
  OPT = -O5 -q64 -qarch=pwr6 -qtune=pwr6 -qcache=auto -qlargepage -qstrict&lt;br /&gt;
  MPIINC =&lt;br /&gt;
  MPILIB =&lt;br /&gt;
  CFLAGS = $(OPT)&lt;br /&gt;
  LIB = -ldl -lm&lt;br /&gt;
else&lt;br /&gt;
ifeq ($(MACHINE),scinetgpc)&lt;br /&gt;
  CC = mpicc&lt;br /&gt;
  LDR = mpicc&lt;br /&gt;
  OPT = -O3&lt;br /&gt;
  MPIINC =&lt;br /&gt;
  MPILIB =&lt;br /&gt;
  CFLAGS = $(OPT)&lt;br /&gt;
  LIB = -lm&lt;br /&gt;
else&lt;br /&gt;
...&lt;br /&gt;
endif&lt;br /&gt;
endif&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
It performs quite well on the GPC, scaling extremely well even on a strong scaling test out to about 256 cores (32 nodes) on Gigabit ethernet, and performing beautifully on InfiniBand out to 512 cores (64 nodes). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Ljdursi|ljdursi]]  19:20, 13 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
===FLASH3 (Adaptive Mesh reactive hydrodynamics; explict hydro/MHD)===&lt;br /&gt;
&lt;br /&gt;
[[Image:weak-scaling-example.png|thumb|right|320px|Weak scaling test of the 2d sod problem on both the GPC and TCS.  The results are actually somewhat faster on the GPC; in both cases (weak) scaling is very good out at least to 256 cores]]&lt;br /&gt;
&lt;br /&gt;
[http://flash.uchicago.edu FLASH] encapsulates its machine-dependant information in the &amp;lt;tt&amp;gt;FLASH3/sites&amp;lt;/tt&amp;gt; directory.  For the GPC, you'll have to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load intel&lt;br /&gt;
module load openmpi&lt;br /&gt;
module load hdf5/183-v16-openmpi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and with that, the following file (&amp;lt;tt&amp;gt;sites/scinetgpc/Makefile.h&amp;lt;/tt&amp;gt;) works for me:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
## Must do module load hdf5/183-v16-openmpi&lt;br /&gt;
HDF5_PATH = ${SCINET_HDF5_BASE}&lt;br /&gt;
ZLIB_PATH = /usr/local&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Compiler and linker commands&lt;br /&gt;
#&lt;br /&gt;
#  We use the f90 compiler as the linker, so some C libraries may explicitly&lt;br /&gt;
#  need to be added into the link line.&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
## modules will put the right mpi in our path&lt;br /&gt;
FCOMP   = mpif77&lt;br /&gt;
CCOMP   = mpicc&lt;br /&gt;
CPPCOMP = mpiCC&lt;br /&gt;
LINK    = mpif77&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Compilation flags&lt;br /&gt;
#&lt;br /&gt;
#  Three sets of compilation/linking flags are defined: one for optimized&lt;br /&gt;
#  code, one for testing, and one for debugging.  The default is to use the &lt;br /&gt;
#  _OPT version.  Specifying -debug to setup will pick the _DEBUG version,&lt;br /&gt;
#  these should enable bounds checking.  Specifying -test is used for &lt;br /&gt;
#  flash_test, and is set for quick code generation, and (sometimes) &lt;br /&gt;
#  profiling.  The Makefile generated by setup will assign the generic token &lt;br /&gt;
#  (ex. FFLAGS) to the proper set of flags (ex. FFLAGS_OPT).&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
FFLAGS_OPT   =  -c -r8 -i4 -O3 -xSSE4.2&lt;br /&gt;
FFLAGS_DEBUG =  -c -g -r8 -i4 -O0&lt;br /&gt;
FFLAGS_TEST  =  -c -r8 -i4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# if we are using HDF5, we need to specify the path to the include files&lt;br /&gt;
CFLAGS_HDF5  = -I${HDF5_PATH}/include&lt;br /&gt;
&lt;br /&gt;
CFLAGS_OPT   = -c -O3 -xSSE4.2&lt;br /&gt;
CFLAGS_TEST  = -c -O2 &lt;br /&gt;
CFLAGS_DEBUG = -c -g  &lt;br /&gt;
&lt;br /&gt;
MDEFS = &lt;br /&gt;
&lt;br /&gt;
.SUFFIXES: .o .c .f .F .h .fh .F90 .f90&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Linker flags&lt;br /&gt;
#&lt;br /&gt;
#  There is a seperate version of the linker flags for each of the _OPT, &lt;br /&gt;
#  _DEBUG, and _TEST cases.&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
LFLAGS_OPT   = -o&lt;br /&gt;
LFLAGS_TEST  = -o&lt;br /&gt;
LFLAGS_DEBUG = -g -o&lt;br /&gt;
&lt;br /&gt;
MACHOBJ = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MV = mv -f&lt;br /&gt;
AR = ar -r&lt;br /&gt;
RM = rm -f&lt;br /&gt;
CD = cd&lt;br /&gt;
RL = ranlib&lt;br /&gt;
ECHO = echo&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Ljdursi|ljdursi]] 22:11, 13 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Aeronautics==&lt;br /&gt;
&lt;br /&gt;
==Chemistry==&lt;br /&gt;
&lt;br /&gt;
===GAMESS (US)===&lt;br /&gt;
The GAMESS version January 12, 2009 R3 was built using the Intel v11.1 compilers and v3.2.2 MPI library, according to the instructions in http://software.intel.com/en-us/articles/building-gamess-with-intel-compilers-intel-mkl-and-intel-mpi-on-linux/&lt;br /&gt;
&lt;br /&gt;
The required build scripts - comp, compall, lked - and run script - rungms - were modified to account for our own installation.  In order to build GAMESS one first must ensure that the intel and intelmpi modules are loaded (&amp;quot;module load intel intelmpi&amp;quot;).  This applies to running GAMESS as well.&lt;br /&gt;
The module &amp;quot;gamess&amp;quot; must also be loaded in order to run GAMESS (&amp;quot;module load gamess&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
The modified scripts are in the file /scinet/gpc/src/gamess-on-scinet.tar.gz&lt;br /&gt;
&lt;br /&gt;
====Running GAMESS====&lt;br /&gt;
- Make sure the directory /scratch/$USER/gamess-scratch exists (the $SCINET_RUNGMS script will create it if it does not exist)&lt;br /&gt;
&lt;br /&gt;
- Make sure the modules: intel, intelmpi, gamess are loaded (in your .bashrc: &amp;quot;module load intel intelmpi gamess&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
- Create a torque script to run GAMESS.  Here is an example:&lt;br /&gt;
&lt;br /&gt;
- The GAMESS executable is in $SCINET_GAMESS_HOME/gamess.00.x&lt;br /&gt;
- The rungms script is in $SCINET_GAMESS_HOME/rungms (actually it is $SCINET_RUNGMS)&lt;br /&gt;
&lt;br /&gt;
- For IB multinode runs, use the $SCINET_RUNGMS_IB script&lt;br /&gt;
&lt;br /&gt;
- The rungms script takes 4 arguments:  input file, executable number, number of compute processes, processors per node&lt;br /&gt;
&lt;br /&gt;
For example, in order to run with the input file /scratch/$USER/gamesstest01, on 8 cpus, and the default version (00)&lt;br /&gt;
of the executable on a machine with 8 cores:&lt;br /&gt;
&lt;br /&gt;
   # load the gamess module in .bashrc&lt;br /&gt;
   module load gamess  &lt;br /&gt;
&lt;br /&gt;
   # run the program&lt;br /&gt;
   $SCINET_RUNGMS /scratch/$USER/gamesstest01 00 8 8&lt;br /&gt;
&lt;br /&gt;
Here is a sample torque script for running a GAMESS calculation, on a single 8-core node:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#PBS -l nodes=1:ppn=8,walltime=48:00:00,os=centos53computeA&lt;br /&gt;
#PBS -N gamessjob&lt;br /&gt;
&lt;br /&gt;
## To submit type: qsub gms.sh&lt;br /&gt;
&lt;br /&gt;
# If not an interactive job (i.e. -I), then cd into the directory where&lt;br /&gt;
# I typed qsub.&lt;br /&gt;
if [ &amp;quot;$PBS_ENVIRONMENT&amp;quot; != &amp;quot;PBS_INTERACTIVE&amp;quot; ]; then&lt;br /&gt;
   if [ -n &amp;quot;$PBS_O_WORKDIR&amp;quot; ]; then&lt;br /&gt;
     cd $PBS_O_WORKDIR&lt;br /&gt;
   fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# the input file is typically named something like &amp;quot;gamesjob.inp&amp;quot;&lt;br /&gt;
# so the script will be run like &amp;quot;$SCINET_RUNGMS gamessjob 00 8 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# load the gamess module if not in .bashrc already&lt;br /&gt;
# actually, it MUST be in .bashrc&lt;br /&gt;
# module load gamess&lt;br /&gt;
&lt;br /&gt;
# run the program&lt;br /&gt;
&lt;br /&gt;
$SCINET_RUNGMS gamessjob 00 8 8&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a similar script, but this one uses 2 InfiniBand-connected nodes,&lt;br /&gt;
and runs the appropriate $SCINET_RUNGMS_IB script to actually run the job:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#PBS -l nodes=2:ib:ppn=8,walltime=48:00:00,os=centos53computeA&lt;br /&gt;
#PBS -N gamessjob&lt;br /&gt;
&lt;br /&gt;
## To submit type: qsub gmsib.sh&lt;br /&gt;
&lt;br /&gt;
# If not an interactive job (i.e. -I), then cd into the directory where&lt;br /&gt;
# I typed qsub.&lt;br /&gt;
if [ &amp;quot;$PBS_ENVIRONMENT&amp;quot; != &amp;quot;PBS_INTERACTIVE&amp;quot; ]; then&lt;br /&gt;
   if [ -n &amp;quot;$PBS_O_WORKDIR&amp;quot; ]; then&lt;br /&gt;
     cd $PBS_O_WORKDIR&lt;br /&gt;
   fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# the input file is typically named something like &amp;quot;gamesjob.inp&amp;quot;&lt;br /&gt;
# so the script will be run like &amp;quot;$SCINET_RUNGMS gamessjob 00 8 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# load the gamess module if not in .bashrc already&lt;br /&gt;
# actually, it MUST be in .bashrc&lt;br /&gt;
# module load gamess&lt;br /&gt;
&lt;br /&gt;
# This script requests InfiniBand-connected nodes (:ib above)&lt;br /&gt;
# so it must run with the IB version of the rungms script,&lt;br /&gt;
# $SCINET_RUNGMS_IB&lt;br /&gt;
&lt;br /&gt;
$SCINET_RUNGMS_IB gamessjob 00 16 8&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
-- [[User:Dgruner|dgruner]]  5 October 2009&lt;br /&gt;
&lt;br /&gt;
===Tips from the Fekl Lab===&lt;br /&gt;
&lt;br /&gt;
Through trial and error, we have found a few useful things that we would like to share:&lt;br /&gt;
&lt;br /&gt;
1. Two very useful, open-source programs for visualization of output files from GAMESS(US) and for generation of input files are [http://www.scl.ameslab.gov/MacMolPlt/ MacMolPlt]and [http://avogadro.openmolecules.net/wiki/Main_Page Avogadro].  The are available for UNIX/LINUX, Windows and Mac based machines, HOWEVER:  any input files that we have generated with these programs on a Windows-based machine do not run on Mac based machines.  We don't know why.&lt;br /&gt;
&lt;br /&gt;
2. [http://winscp.net/eng/index.php WinSCP] is a very useful tool that has a graphical user interface for moving files from a local machine to SCINET and vice versa.  It also has text editing capabilities.&lt;br /&gt;
&lt;br /&gt;
3. The [https://bse.pnl.gov/bse/portal ESML Basis Set Exchange] is an excellent source for custom basis set or effective core potential parameters.  Make sure that you specify &amp;quot;Gamess-US&amp;quot; in the format drop-down box.&lt;br /&gt;
&lt;br /&gt;
4.  The commercial program [http://www.chemcraftprog.com/ ChemCraft] is a highly useful visualization program that has the ability to edit molecules in a very similar fashion to GaussView.  It can also be customized to build GAMESS(US) input files.&lt;br /&gt;
&lt;br /&gt;
====Anatomy of a GAMESS(US) Input File with Basis Set Info in an External File====&lt;br /&gt;
&lt;br /&gt;
  $CONTRL SCFTYP=RHF RUNTYP=OPTIMIZE DFTTYP=M06-L MAXIT=199 MULT=1 NOSYM=1&lt;br /&gt;
   ECP=READ $END&lt;br /&gt;
  $SYSTEM TIMLIM=525600 MWORDS=1750 PARALL=.TRUE. $END&lt;br /&gt;
  $BASIS GBASIS=CUSTOMNI EXTFIL=.t. $END&lt;br /&gt;
  $SCF DIRSCF=.TRUE. FDIFF=.f. $END&lt;br /&gt;
  $STATPT OPTTOL=0.0001 NSTEP=500 HSSEND=.t. $END&lt;br /&gt;
  $DATA&lt;br /&gt;
  Mo_BDT3&lt;br /&gt;
 C1&lt;br /&gt;
 MOLYBDENUM 42.0      5.7556500000      4.4039600000     16.5808400000&lt;br /&gt;
 SULFUR     16.0      7.4169700000      3.1956300000     15.2089300000&lt;br /&gt;
 SULFUR     16.0      4.0966800000      3.2258300000     15.1761100000&lt;br /&gt;
 SULFUR     16.0      3.9677300000      4.4940500000     18.3266100000&lt;br /&gt;
 SULFUR     16.0      7.1776900000      3.5815000000     18.4485200000&lt;br /&gt;
 SULFUR     16.0      4.3776600000      6.2447400000     15.6786900000&lt;br /&gt;
 SULFUR     16.0      7.5478700000      6.0679800000     16.2223700000&lt;br /&gt;
 CARBON      6.0      6.4716900000      2.1004800000     14.1902300000&lt;br /&gt;
 CARBON      6.0      5.0690300000      2.1781400000     14.1080700000&lt;br /&gt;
 CARBON      6.0      4.8421800000      4.2701300000     19.8855500000&lt;br /&gt;
 CARBON      6.0      6.1969000000      3.9249600000     19.9397400000&lt;br /&gt;
 CARBON      6.0      6.8280600000      3.7834200000     21.1913200000&lt;br /&gt;
 CARBON      6.0      5.7697600000      7.6933500000     17.4241800000&lt;br /&gt;
 CARBON      6.0      7.2043100000      7.9413600000     17.8281100000&lt;br /&gt;
 CARBON      6.0      5.5051400000      7.0409700000     14.5903800000&lt;br /&gt;
 CARBON      6.0      6.8905200000      6.9194700000     14.7626200000&lt;br /&gt;
 CARBON      6.0      7.7396400000      7.5379800000     13.8285700000&lt;br /&gt;
 HYDROGEN    1.0      8.8190700000      7.4520600000     13.9252200000&lt;br /&gt;
 CARBON      6.0      7.2169400000      8.2960300000     12.7704100000&lt;br /&gt;
 HYDROGEN    1.0      7.8667000000      8.7825100000     12.0575600000&lt;br /&gt;
 CARBON      6.0      5.8260300000      8.4502300000     12.6467800000&lt;br /&gt;
 HYDROGEN    1.0      5.4143000000      9.0544300000     11.8493100000&lt;br /&gt;
 CARBON      6.0      4.9881500000      7.8192300000     13.5528400000&lt;br /&gt;
 HYDROGEN    1.0      3.9090500000      7.9420000000     13.4583700000&lt;br /&gt;
 CARBON      6.0      7.1538500000      1.1569600000     13.4143900000&lt;br /&gt;
 CARBON      6.0      4.4018100000      1.3603900000     13.1919900000&lt;br /&gt;
 CARBON      6.0      6.4791600000      0.3185500000     12.5353300000&lt;br /&gt;
 CARBON      6.0      5.0837400000      0.4369500000     12.4084900000&lt;br /&gt;
 HYDROGEN    1.0      7.0116000000     -0.4099400000     11.9434600000&lt;br /&gt;
 HYDROGEN    1.0      8.2399000000      1.0702400000     13.4937600000&lt;br /&gt;
 HYDROGEN    1.0      3.3185600000      1.4368700000     13.0953100000&lt;br /&gt;
 HYDROGEN    1.0      4.5549800000     -0.1997300000     11.7165200000&lt;br /&gt;
 CARBON      6.0      6.1105700000      3.9639000000     22.3866100000&lt;br /&gt;
 CARBON      6.0      4.1216300000      4.4424400000     21.1020100000&lt;br /&gt;
 HYDROGEN    1.0      7.8732900000      3.5217100000     21.2520500000&lt;br /&gt;
 CARBON      6.0      4.7606000000      4.2868500000     22.3363800000&lt;br /&gt;
 HYDROGEN    1.0      6.6064200000      3.8406000000     23.3428500000&lt;br /&gt;
 HYDROGEN    1.0      4.2065000000      4.4170700000     23.2667100000&lt;br /&gt;
 HYDROGEN    1.0      3.0674000000      4.6893500000     21.0889000000&lt;br /&gt;
 HYDROGEN    1.0      7.4249200000      7.7545300000     18.8583200000&lt;br /&gt;
 HYDROGEN    1.0      7.6651700000      8.9049700000     17.7652100000&lt;br /&gt;
 HYDROGEN    1.0      5.3324000000      8.6487800000     17.2222700000&lt;br /&gt;
 HYDROGEN    1.0      5.5015000000      7.1039000000     18.2759400000&lt;br /&gt;
  $END&lt;br /&gt;
  $ECP&lt;br /&gt;
 MO-ECP GEN     28     3&lt;br /&gt;
  5      ----- f potential     -----&lt;br /&gt;
     -0.0469492        0    537.9667807        &lt;br /&gt;
    -20.2080084        1    147.8982938        &lt;br /&gt;
   -106.2116302        2     45.7358898        &lt;br /&gt;
    -41.8107368        2     13.2911467        &lt;br /&gt;
     -4.2054103        2      4.7059961        &lt;br /&gt;
  3      ----- s-f potential     -----&lt;br /&gt;
      2.8063717        0    110.2991760        &lt;br /&gt;
     44.5162012        1     23.2014645        &lt;br /&gt;
     82.7785227        2      5.3530131        &lt;br /&gt;
  4      ----- p-f potential     -----&lt;br /&gt;
      4.9420876        0     63.2901397        &lt;br /&gt;
     25.8604976        1     23.3315302        &lt;br /&gt;
    132.4708742        2     24.6759423        &lt;br /&gt;
     57.3149794        2      4.6493040        &lt;br /&gt;
  5      ----- d-f potential     -----&lt;br /&gt;
      3.0054591        0    104.4839977        &lt;br /&gt;
     26.3637851        1     66.2307245        &lt;br /&gt;
    183.3849199        2     39.1283176        &lt;br /&gt;
     98.4453068        2     13.1164437        &lt;br /&gt;
     22.4901377        2      3.6280263 &lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
=====The Input Deck=====&lt;br /&gt;
&lt;br /&gt;
Below is the input deck.  It is where you tell GAMESS(US) what job type to execute and where all you individual parameters are entered for your specific job type.  The example input deck below is for a geometry optimization and frequency calculation.  This input deck is equivalent to the Gaussian job with &amp;quot;opt&amp;quot; and &amp;quot;freq&amp;quot; in the route section.&lt;br /&gt;
&lt;br /&gt;
  $CONTRL SCFTYP=RHF RUNTYP=OPTIMIZE DFTTYP=M06-L MAXIT=199 MULT=1 NOSYM=1&lt;br /&gt;
   ECP=READ $END&lt;br /&gt;
  $SYSTEM TIMLIM=2850 MWORDS=1750 MEMDDI=20 PARALL=.TRUE. $END&lt;br /&gt;
  $BASIS GBASIS=CUSTOMNI EXTFIL=.t. $END&lt;br /&gt;
  $SCF DIRSCF=.TRUE. FDIFF=.f. $END&lt;br /&gt;
  $STATPT OPTTOL=0.0001 NSTEP=500 HSSEND=.t. $END&lt;br /&gt;
  $DATA&lt;br /&gt;
&lt;br /&gt;
An important thing to note is the spacing.  In the input deck, there must be 1 space at the beginning of each line of the input deck.  If not, the job will fail.  Most builders will insert this space anyway, but it helps to double check.&lt;br /&gt;
&lt;br /&gt;
The end of the input deck is marked by the &amp;quot;$DATA&amp;quot; line.&lt;br /&gt;
&lt;br /&gt;
=====Job Title Line=====&lt;br /&gt;
&lt;br /&gt;
The next line of the file is the job title.  It can be anthing you wish, however, we have found that to be on the safe side, we avoide using symbols or spaces&lt;br /&gt;
&lt;br /&gt;
  Mo_BDT3&lt;br /&gt;
&lt;br /&gt;
=====Symmetry Point Group=====&lt;br /&gt;
&lt;br /&gt;
The next line of the file is the symmetry point group of your molecule.  Note that there is no leading space before the point group.&lt;br /&gt;
&lt;br /&gt;
 C1&lt;br /&gt;
&lt;br /&gt;
=====Coordinates=====&lt;br /&gt;
&lt;br /&gt;
The next block of text is set aside for the coordinates of the molecule.  This can be in internal (or z-matrix) format or cartesian coordinates.  Note that there is no leading space before the coordinates.  One may use the chemical symbol or the full name of each atom in the molecule.  Note that the end of the coordinates is signified by an &amp;quot;$END&amp;quot;, which MUST have one space preceding it.  The coordinates below do NOT have any basis set information inserted.  It is possible to insert basis set information directly into the input file.  This is accomplished by obtaining the desired basis set parameters from the EMSL and then inserting them below each relevant atom.  An example input file with inserted basis set information will be shown later.&lt;br /&gt;
&lt;br /&gt;
 MOLYBDENUM 42.0      5.7556500000      4.4039600000     16.5808400000&lt;br /&gt;
 SULFUR     16.0      7.4169700000      3.1956300000     15.2089300000&lt;br /&gt;
 SULFUR     16.0      4.0966800000      3.2258300000     15.1761100000&lt;br /&gt;
 SULFUR     16.0      3.9677300000      4.4940500000     18.3266100000&lt;br /&gt;
 SULFUR     16.0      7.1776900000      3.5815000000     18.4485200000&lt;br /&gt;
 SULFUR     16.0      4.3776600000      6.2447400000     15.6786900000&lt;br /&gt;
 SULFUR     16.0      7.5478700000      6.0679800000     16.2223700000&lt;br /&gt;
 CARBON      6.0      6.4716900000      2.1004800000     14.1902300000&lt;br /&gt;
 CARBON      6.0      5.0690300000      2.1781400000     14.1080700000&lt;br /&gt;
 CARBON      6.0      4.8421800000      4.2701300000     19.8855500000&lt;br /&gt;
 CARBON      6.0      6.1969000000      3.9249600000     19.9397400000&lt;br /&gt;
 CARBON      6.0      6.8280600000      3.7834200000     21.1913200000&lt;br /&gt;
 CARBON      6.0      5.7697600000      7.6933500000     17.4241800000&lt;br /&gt;
 CARBON      6.0      7.2043100000      7.9413600000     17.8281100000&lt;br /&gt;
 CARBON      6.0      5.5051400000      7.0409700000     14.5903800000&lt;br /&gt;
 CARBON      6.0      6.8905200000      6.9194700000     14.7626200000&lt;br /&gt;
 CARBON      6.0      7.7396400000      7.5379800000     13.8285700000&lt;br /&gt;
 HYDROGEN    1.0      8.8190700000      7.4520600000     13.9252200000&lt;br /&gt;
 CARBON      6.0      7.2169400000      8.2960300000     12.7704100000&lt;br /&gt;
 HYDROGEN    1.0      7.8667000000      8.7825100000     12.0575600000&lt;br /&gt;
 CARBON      6.0      5.8260300000      8.4502300000     12.6467800000&lt;br /&gt;
 HYDROGEN    1.0      5.4143000000      9.0544300000     11.8493100000&lt;br /&gt;
 CARBON      6.0      4.9881500000      7.8192300000     13.5528400000&lt;br /&gt;
 HYDROGEN    1.0      3.9090500000      7.9420000000     13.4583700000&lt;br /&gt;
 CARBON      6.0      7.1538500000      1.1569600000     13.4143900000&lt;br /&gt;
 CARBON      6.0      4.4018100000      1.3603900000     13.1919900000&lt;br /&gt;
 CARBON      6.0      6.4791600000      0.3185500000     12.5353300000&lt;br /&gt;
 CARBON      6.0      5.0837400000      0.4369500000     12.4084900000&lt;br /&gt;
 HYDROGEN    1.0      7.0116000000     -0.4099400000     11.9434600000&lt;br /&gt;
 HYDROGEN    1.0      8.2399000000      1.0702400000     13.4937600000&lt;br /&gt;
 HYDROGEN    1.0      3.3185600000      1.4368700000     13.0953100000&lt;br /&gt;
 HYDROGEN    1.0      4.5549800000     -0.1997300000     11.7165200000&lt;br /&gt;
 CARBON      6.0      6.1105700000      3.9639000000     22.3866100000&lt;br /&gt;
 CARBON      6.0      4.1216300000      4.4424400000     21.1020100000&lt;br /&gt;
 HYDROGEN    1.0      7.8732900000      3.5217100000     21.2520500000&lt;br /&gt;
 CARBON      6.0      4.7606000000      4.2868500000     22.3363800000&lt;br /&gt;
 HYDROGEN    1.0      6.6064200000      3.8406000000     23.3428500000&lt;br /&gt;
 HYDROGEN    1.0      4.2065000000      4.4170700000     23.2667100000&lt;br /&gt;
 HYDROGEN    1.0      3.0674000000      4.6893500000     21.0889000000&lt;br /&gt;
 HYDROGEN    1.0      7.4249200000      7.7545300000     18.8583200000&lt;br /&gt;
 HYDROGEN    1.0      7.6651700000      8.9049700000     17.7652100000&lt;br /&gt;
 HYDROGEN    1.0      5.3324000000      8.6487800000     17.2222700000&lt;br /&gt;
 HYDROGEN    1.0      5.5015000000      7.1039000000     18.2759400000&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
=====Effective Core Potential Data=====&lt;br /&gt;
&lt;br /&gt;
The effective core potential (ECP) data is entered after the coordinates.  It starts with &amp;quot;$ECP&amp;quot;, which must be preceded with a space.   The atoms of the molecule are listed in the same order as in the coordinates section and the parameters for the ECP are listed after each atom.  Note that for any atom that does NOT have an ECP, one must enter &amp;quot;ECP-NONE&amp;quot; or &amp;quot;NONE&amp;quot; after each atom without an ECP.&lt;br /&gt;
&lt;br /&gt;
 $ECP&lt;br /&gt;
 MO-ECP GEN     28     3&lt;br /&gt;
  5      ----- f potential     -----&lt;br /&gt;
     -0.0469492        0    537.9667807        &lt;br /&gt;
    -20.2080084        1    147.8982938        &lt;br /&gt;
   -106.2116302        2     45.7358898        &lt;br /&gt;
    -41.8107368        2     13.2911467        &lt;br /&gt;
     -4.2054103        2      4.7059961        &lt;br /&gt;
  3      ----- s-f potential     -----&lt;br /&gt;
      2.8063717        0    110.2991760        &lt;br /&gt;
     44.5162012        1     23.2014645        &lt;br /&gt;
     82.7785227        2      5.3530131        &lt;br /&gt;
  4      ----- p-f potential     -----&lt;br /&gt;
      4.9420876        0     63.2901397        &lt;br /&gt;
     25.8604976        1     23.3315302        &lt;br /&gt;
    132.4708742        2     24.6759423        &lt;br /&gt;
     57.3149794        2      4.6493040        &lt;br /&gt;
  5      ----- d-f potential     -----&lt;br /&gt;
      3.0054591        0    104.4839977        &lt;br /&gt;
     26.3637851        1     66.2307245        &lt;br /&gt;
    183.3849199        2     39.1283176        &lt;br /&gt;
     98.4453068        2     13.1164437        &lt;br /&gt;
     22.4901377        2      3.6280263 &lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
-- [[User:M.Zimmer-De Iuliis|mzd]]  16 November 2009&lt;br /&gt;
&lt;br /&gt;
====Using Effective Core Potentials in GAMESS(US)====&lt;br /&gt;
&lt;br /&gt;
For many metal containing compounds, it is very convenient and time saving to use an effective core potential (ECP) for the core metal electrons, as they are usually not important to the reactivity of the complex or the geometry around the metal.  Since GAMESS(US) has a limited number of built-in ECPs, one may want to make GAMESS(US) read an external file that contains the ECP data using the &amp;quot;EXTFIL&amp;quot; keyword in the $GBASIS command line of the input file.  In addition, to make GAMESS(US) use this external file, one must copy the &amp;quot;rungms&amp;quot; file and modify it accordingly.  The following is a list of instructions with commands that will work from a terminal.  One could also use WinSCP to do all of this with a GUI rather than a TUI.  &lt;br /&gt;
&lt;br /&gt;
=====Modifiying rungms to Use Custom Basis Set File=====&lt;br /&gt;
1. Copy &amp;quot;rungms&amp;quot; from /scinet/gpc/Applications/gamess to one's own /scratch/$USER/ directory:&lt;br /&gt;
 cp /scinet/gpc/Applications/gamess/rungms /scratch/$USER/&lt;br /&gt;
&lt;br /&gt;
2. Change to the scratch directory and check to see if &amp;quot;rungms&amp;quot; has copied successfully.&lt;br /&gt;
 cd /scratch/$USER&lt;br /&gt;
 ls&lt;br /&gt;
&lt;br /&gt;
3. Edit line 147 of the vi.  &lt;br /&gt;
 vi rungms&lt;br /&gt;
Move the cursor down to line 147 using the arrow keys.  It should say &amp;quot;setenv EXTBAS /dev/null&amp;quot;.  Using the arrow keys, move the cursor to the first &amp;quot;/&amp;quot; and then hit &amp;quot;i&amp;quot; to insert text.  Put the path to your external basis file here.  For example, /scratch/$USER/basisset.  Then hit &amp;quot;escape&amp;quot;.  To save the changes and exit vi, type &amp;quot;:&amp;quot; and you should see a colon appear at the bottom of the window.  Type &amp;quot;wq&amp;quot; (which should appear at the bottom of the window next to the colon) and then hit enter.  Now you are done with vi.&lt;br /&gt;
&lt;br /&gt;
=====Creating a Custom Basis Set File=====&lt;br /&gt;
1. To create a custom basis set file, you need create a new text document.  Our group's common practice is to comment out the first line of this file by inserting an exclamation mark (!) followed by noting the specific basis sets and ECPs that are going to be used for each of the atoms.  Let us the molecule Mo(CO)6, Molybdenum hexacarbonyl, as an example.  Below is the first line of the the external file, which we will call &amp;quot;CUSTOMMO&amp;quot;  (NOTE:  you can use any name for the external file that suits you, as long as it has no spaces and is 8 characters or less).&lt;br /&gt;
&lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&lt;br /&gt;
&lt;br /&gt;
2. The next step is to visit the [https://bse.pnl.gov/bse/portal EMSL Basis Set exchange] and select C and O from the periodic table.  Then, on the left of the page, select &amp;quot;6-31G&amp;quot; as the basis set.  Finally, make sure the output is in GAMESS(US) format using the drop-down menu and then click &amp;quot;get basis set&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:C_O_6_31G_basisset.JPG|centre]]&lt;br /&gt;
&lt;br /&gt;
3. A new window should appear with text in it.  For our example case, the text looks like this:&lt;br /&gt;
 &lt;br /&gt;
 !  6-31G  EMSL  Basis Set Exchange Library   10/13/09 11:12 AM&lt;br /&gt;
 ! Elements                             References&lt;br /&gt;
 ! --------                             ----------&lt;br /&gt;
 ! H - He: W.J. Hehre, R. Ditchfield and J.A. Pople, J. Chem. Phys. 56,&lt;br /&gt;
 ! Li - Ne: 2257 (1972).  Note: Li and B come from J.D. Dill and J.A.&lt;br /&gt;
 ! Pople, J. Chem. Phys. 62, 2921 (1975).&lt;br /&gt;
 ! Na - Ar: M.M. Francl, W.J. Petro, W.J. Hehre, J.S. Binkley, M.S. Gordon,&lt;br /&gt;
 ! D.J. DeFrees and J.A. Pople, J. Chem. Phys. 77, 3654 (1982)&lt;br /&gt;
 ! K  - Zn: V. Rassolov, J.A. Pople, M. Ratner and T.L. Windus, J. Chem. Phys.&lt;br /&gt;
 ! 109, 1223 (1998)&lt;br /&gt;
 ! Note: He and Ne are unpublished basis sets taken from the Gaussian&lt;br /&gt;
 ! program&lt;br /&gt;
 ! &lt;br /&gt;
 $DATA&amp;lt;br /&amp;gt;&lt;br /&gt;
 CARBON&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 OXYGEN&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000        &lt;br /&gt;
 $END&lt;br /&gt;
&lt;br /&gt;
3. Now, copy and paste the text between the $DATA and $END headings onto our external text file, CUSTOMMO.  We also need to change the change the name of each element to it symbol in the periodic table.  Finally, we need to add the name of the external file next to the element symbol, separated by one space.  Note that there should be a blank line separating the basis set information and the first, commented-out line (The line starting with the '!').  The CUSTOMMO should look like this:&lt;br /&gt;
 &lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&amp;lt;br /&amp;gt;&lt;br /&gt;
 C CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 O CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000 &lt;br /&gt;
&lt;br /&gt;
4. Repeat Step 3 above but choose Mo and select the LANL2DZ ECP instead.  A new window will pop up with the basis set information as well as the ECP data we need, since we specified the LANL2DZ '''ECP'''.  The ECP data is not inserted into the external file, rather it is placed into the input file itself (More on this later).  &lt;br /&gt;
&lt;br /&gt;
[[File:Mo_LANL2DZ_basisset.JPG|centre]]&lt;br /&gt;
&lt;br /&gt;
5.  After copying the molybdenum basis set information, your fiished external basis set file should look like this:&lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&amp;lt;br /&amp;gt;&lt;br /&gt;
 C CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 O CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000&amp;lt;br /&amp;gt; &lt;br /&gt;
 Mo CUSTOMO&lt;br /&gt;
 S   3&lt;br /&gt;
   1      2.3610000             -0.9121760        &lt;br /&gt;
   2      1.3090000              1.1477453        &lt;br /&gt;
   3      0.4500000              0.6097109        &lt;br /&gt;
 S   4&lt;br /&gt;
   1      2.3610000              0.8139259        &lt;br /&gt;
   2      1.3090000             -1.1360084        &lt;br /&gt;
   3      0.4500000             -1.1611592        &lt;br /&gt;
   4      0.1681000              1.0064786        &lt;br /&gt;
 S   1&lt;br /&gt;
   1      0.0423000              1.0000000        &lt;br /&gt;
 P   3&lt;br /&gt;
   1      4.8950000             -0.0908258        &lt;br /&gt;
   2      1.0440000              0.7042899        &lt;br /&gt;
   3      0.3877000              0.3973179        &lt;br /&gt;
 P   2&lt;br /&gt;
   1      0.4995000             -0.1081945        &lt;br /&gt;
   2      0.0780000              1.0368093        &lt;br /&gt;
 P   1&lt;br /&gt;
   1      0.0247000              1.0000000        &lt;br /&gt;
 D   3&lt;br /&gt;
   1      2.9930000              0.0527063        &lt;br /&gt;
   2      1.0630000              0.5003907        &lt;br /&gt;
   3      0.3721000              0.5794024        &lt;br /&gt;
 D   1&lt;br /&gt;
   1      0.1178000              1.0000000&lt;br /&gt;
&lt;br /&gt;
-- [[User:M.Zimmer-De Iuliis|mzd]]  13 October 2009&lt;br /&gt;
&lt;br /&gt;
==Climate Modelling==&lt;br /&gt;
&lt;br /&gt;
==Medicine/Bio==&lt;br /&gt;
&lt;br /&gt;
==High Energy Physics==&lt;br /&gt;
&lt;br /&gt;
==Structural Biology==&lt;br /&gt;
Molecular simulation of proteins, lipids, carbohydrates, and other biologically relevant molecules.&lt;br /&gt;
===Molecular Dynamics (MD) simulation===&lt;br /&gt;
====GROMACS====&lt;br /&gt;
Please refer to the [[gromacs|GROMACS]] page&lt;br /&gt;
====AMBER====&lt;br /&gt;
Please refer to the [[amber|AMBER]] page&lt;br /&gt;
====NAMD====&lt;br /&gt;
NAMD is one of the better scaling MD packages out there. With sufficiently large systems, it is able to scale to hundreds or thousands of cores on Scinet. Below are details for compiling and running NAMD on Scinet.&lt;br /&gt;
&lt;br /&gt;
More information regarding performance and different compile options coming soon...&lt;br /&gt;
&lt;br /&gt;
=====Compiling NAMD for GPC=====&lt;br /&gt;
Ensure the proper compiler/mpi modules are loaded.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
module load intel&lt;br /&gt;
module load openmpi/1.3.3-intel-v11.0-ofed&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Compile Charm++ and NAMD'''&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
#Unpack source files and get required support libraries&lt;br /&gt;
tar -xzf NAMD_2.7b1_Source.tar.gz&lt;br /&gt;
cd NAMD_2.7b1_Source&lt;br /&gt;
tar -xf charm-6.1.tar&lt;br /&gt;
wget http://www.ks.uiuc.edu/Research/namd/libraries/fftw-linux-x86_64.tar.gz&lt;br /&gt;
wget http://www.ks.uiuc.edu/Research/namd/libraries/tcl-linux-x86_64.tar.gz&lt;br /&gt;
tar -xzf fftw-linux-x86_64.tar.gz; mv linux-x86_64 fftw&lt;br /&gt;
tar -xzf tcl-linux-x86_64.tar.gz; mv linux-x86_64 tcl&lt;br /&gt;
#Compile Charm++&lt;br /&gt;
cd charm-6.1&lt;br /&gt;
./build charm++ mpi-linux-x86_64 icc --basedir /scinet/gpc/mpi/openmpi/1.3.3-intel-v11.0-ofed/ --no-shared -O -DCMK_OPTIMIZE=1&lt;br /&gt;
cd ..&lt;br /&gt;
#Compile NAMD. &lt;br /&gt;
#Edit arch/Linux-x86_64-icc.arch and add &amp;quot;-lmpi&amp;quot; to the end of the CXXOPTS and COPTS line.&lt;br /&gt;
#Make a builds directory if you want different versions of NAMD compiled at the same time.&lt;br /&gt;
mkdir builds&lt;br /&gt;
./config builds/Linux-x86_64-icc --charm-arch mpi-linux-x86_64-icc&lt;br /&gt;
cd builds/Linux-x86_64-icc/&lt;br /&gt;
make -j4 namd2 # Adjust value of j as desired to specify number of simultaneous make targets. &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
--[[User:Cmadill|Cmadill]] 16:18, 27 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
=====Running Fortran=====&lt;br /&gt;
On the development nodes, there is an old gcc. The associated libraries are not on the compute nodes. Ensure the line:&lt;br /&gt;
&lt;br /&gt;
module load gcc&lt;br /&gt;
&lt;br /&gt;
is in your .bashrc file.&lt;br /&gt;
&lt;br /&gt;
====LAMMPS====&lt;br /&gt;
[[Image:StrongScalingLAMMPS.png|thumb|320px|right|Strong scaling test on GPC with OpenMPI and IntelMPI on Ethernet and InfiniBand]]&lt;br /&gt;
[[Image:WeakScalingLAMMPS.png|thumb|320px|right|Weak scaling test on GPC with OpenMPI and IntelMPI on Ethernet and InfiniBand]]&lt;br /&gt;
LAMMPS is a parallel MD code that can be found [http://lammps.sandia.gov/ here].&lt;br /&gt;
&lt;br /&gt;
'''Scaling Tests'''&lt;br /&gt;
&lt;br /&gt;
Results from strong scaling tests for LAMMPS using EAM potentials on GPC are shown in the graph on the right.  Test simulation ran 500 timesteps for 4,000,000 atoms.&lt;br /&gt;
&lt;br /&gt;
Results from weak scaling tests for LAMMPS using EAM potentials on GPC are shown in the graph on the right.  Test simulation ran 500 timesteps for 32,000 atoms per processor.&lt;br /&gt;
&lt;br /&gt;
OpenMPI version used: openmpi/1.4.1-intel-v11.0-ofed&lt;br /&gt;
&lt;br /&gt;
IntelMPI version used: intelmpi/impi-4.0.0.013&lt;br /&gt;
&lt;br /&gt;
'''Summary of Scaling Tests'''&lt;br /&gt;
&lt;br /&gt;
Results show good scaling for both OpenMPI and IntelMPI up to 16 processors, after which performance begins to suffer.  On Infiniband, excellent scaling is maintained to 512 processors.&lt;br /&gt;
&lt;br /&gt;
IntelMPI shows slightly better performance compared to OpenMPI when running with Infiniband.&lt;br /&gt;
&lt;br /&gt;
--[[User:jchu|jchu]] Feb 2, 2010&lt;br /&gt;
&lt;br /&gt;
===Monte Carlo (MC) simulation===&lt;/div&gt;</summary>
		<author><name>Jchu</name></author>
	</entry>
	<entry>
		<id>https://oldwiki.scinet.utoronto.ca/index.php?title=User_Codes&amp;diff=880</id>
		<title>User Codes</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.scinet.utoronto.ca/index.php?title=User_Codes&amp;diff=880"/>
		<updated>2010-02-02T19:05:23Z</updated>

		<summary type="html">&lt;p&gt;Jchu: /* LAMMPS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&lt;br /&gt;
==Astrophysics==&lt;br /&gt;
&lt;br /&gt;
===Athena (explicit, uniform grid MHD code)===&lt;br /&gt;
&lt;br /&gt;
[[Image:StrongScalingAthenaGPC.png|thumb|right|320px|Athena scaling on GPC with OpenMPI and MVAPICH2 on GigE, and OpenMPI on InfiniBand]]&lt;br /&gt;
&lt;br /&gt;
[http://www.astro.princeton.edu/~jstone/athena.html Athena] is a straightforward C code which doesn't use a lot of libraries so it is pretty straightforward to build and compile on new machines.   &lt;br /&gt;
&lt;br /&gt;
It encapsulates its compiler flags, etc in an &amp;lt;tt&amp;gt;Makeoptions.in&amp;lt;/tt&amp;gt; file which is then processed by &amp;lt;tt&amp;gt;configure&amp;lt;/tt&amp;gt;.   I've used the following additions to &amp;lt;tt&amp;gt;Makeoptions.in&amp;lt;/tt&amp;gt; on TCS and GPC:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
ifeq ($(MACHINE),scinettcs)&lt;br /&gt;
  CC = mpcc_r&lt;br /&gt;
  LDR = mpcc_r&lt;br /&gt;
  OPT = -O5 -q64 -qarch=pwr6 -qtune=pwr6 -qcache=auto -qlargepage -qstrict&lt;br /&gt;
  MPIINC =&lt;br /&gt;
  MPILIB =&lt;br /&gt;
  CFLAGS = $(OPT)&lt;br /&gt;
  LIB = -ldl -lm&lt;br /&gt;
else&lt;br /&gt;
ifeq ($(MACHINE),scinetgpc)&lt;br /&gt;
  CC = mpicc&lt;br /&gt;
  LDR = mpicc&lt;br /&gt;
  OPT = -O3&lt;br /&gt;
  MPIINC =&lt;br /&gt;
  MPILIB =&lt;br /&gt;
  CFLAGS = $(OPT)&lt;br /&gt;
  LIB = -lm&lt;br /&gt;
else&lt;br /&gt;
...&lt;br /&gt;
endif&lt;br /&gt;
endif&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
It performs quite well on the GPC, scaling extremely well even on a strong scaling test out to about 256 cores (32 nodes) on Gigabit ethernet, and performing beautifully on InfiniBand out to 512 cores (64 nodes). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Ljdursi|ljdursi]]  19:20, 13 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
===FLASH3 (Adaptive Mesh reactive hydrodynamics; explict hydro/MHD)===&lt;br /&gt;
&lt;br /&gt;
[[Image:weak-scaling-example.png|thumb|right|320px|Weak scaling test of the 2d sod problem on both the GPC and TCS.  The results are actually somewhat faster on the GPC; in both cases (weak) scaling is very good out at least to 256 cores]]&lt;br /&gt;
&lt;br /&gt;
[http://flash.uchicago.edu FLASH] encapsulates its machine-dependant information in the &amp;lt;tt&amp;gt;FLASH3/sites&amp;lt;/tt&amp;gt; directory.  For the GPC, you'll have to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load intel&lt;br /&gt;
module load openmpi&lt;br /&gt;
module load hdf5/183-v16-openmpi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and with that, the following file (&amp;lt;tt&amp;gt;sites/scinetgpc/Makefile.h&amp;lt;/tt&amp;gt;) works for me:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
## Must do module load hdf5/183-v16-openmpi&lt;br /&gt;
HDF5_PATH = ${SCINET_HDF5_BASE}&lt;br /&gt;
ZLIB_PATH = /usr/local&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Compiler and linker commands&lt;br /&gt;
#&lt;br /&gt;
#  We use the f90 compiler as the linker, so some C libraries may explicitly&lt;br /&gt;
#  need to be added into the link line.&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
## modules will put the right mpi in our path&lt;br /&gt;
FCOMP   = mpif77&lt;br /&gt;
CCOMP   = mpicc&lt;br /&gt;
CPPCOMP = mpiCC&lt;br /&gt;
LINK    = mpif77&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Compilation flags&lt;br /&gt;
#&lt;br /&gt;
#  Three sets of compilation/linking flags are defined: one for optimized&lt;br /&gt;
#  code, one for testing, and one for debugging.  The default is to use the &lt;br /&gt;
#  _OPT version.  Specifying -debug to setup will pick the _DEBUG version,&lt;br /&gt;
#  these should enable bounds checking.  Specifying -test is used for &lt;br /&gt;
#  flash_test, and is set for quick code generation, and (sometimes) &lt;br /&gt;
#  profiling.  The Makefile generated by setup will assign the generic token &lt;br /&gt;
#  (ex. FFLAGS) to the proper set of flags (ex. FFLAGS_OPT).&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
FFLAGS_OPT   =  -c -r8 -i4 -O3 -xSSE4.2&lt;br /&gt;
FFLAGS_DEBUG =  -c -g -r8 -i4 -O0&lt;br /&gt;
FFLAGS_TEST  =  -c -r8 -i4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# if we are using HDF5, we need to specify the path to the include files&lt;br /&gt;
CFLAGS_HDF5  = -I${HDF5_PATH}/include&lt;br /&gt;
&lt;br /&gt;
CFLAGS_OPT   = -c -O3 -xSSE4.2&lt;br /&gt;
CFLAGS_TEST  = -c -O2 &lt;br /&gt;
CFLAGS_DEBUG = -c -g  &lt;br /&gt;
&lt;br /&gt;
MDEFS = &lt;br /&gt;
&lt;br /&gt;
.SUFFIXES: .o .c .f .F .h .fh .F90 .f90&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Linker flags&lt;br /&gt;
#&lt;br /&gt;
#  There is a seperate version of the linker flags for each of the _OPT, &lt;br /&gt;
#  _DEBUG, and _TEST cases.&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
LFLAGS_OPT   = -o&lt;br /&gt;
LFLAGS_TEST  = -o&lt;br /&gt;
LFLAGS_DEBUG = -g -o&lt;br /&gt;
&lt;br /&gt;
MACHOBJ = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MV = mv -f&lt;br /&gt;
AR = ar -r&lt;br /&gt;
RM = rm -f&lt;br /&gt;
CD = cd&lt;br /&gt;
RL = ranlib&lt;br /&gt;
ECHO = echo&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Ljdursi|ljdursi]] 22:11, 13 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Aeronautics==&lt;br /&gt;
&lt;br /&gt;
==Chemistry==&lt;br /&gt;
&lt;br /&gt;
===GAMESS (US)===&lt;br /&gt;
The GAMESS version January 12, 2009 R3 was built using the Intel v11.1 compilers and v3.2.2 MPI library, according to the instructions in http://software.intel.com/en-us/articles/building-gamess-with-intel-compilers-intel-mkl-and-intel-mpi-on-linux/&lt;br /&gt;
&lt;br /&gt;
The required build scripts - comp, compall, lked - and run script - rungms - were modified to account for our own installation.  In order to build GAMESS one first must ensure that the intel and intelmpi modules are loaded (&amp;quot;module load intel intelmpi&amp;quot;).  This applies to running GAMESS as well.&lt;br /&gt;
The module &amp;quot;gamess&amp;quot; must also be loaded in order to run GAMESS (&amp;quot;module load gamess&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
The modified scripts are in the file /scinet/gpc/src/gamess-on-scinet.tar.gz&lt;br /&gt;
&lt;br /&gt;
====Running GAMESS====&lt;br /&gt;
- Make sure the directory /scratch/$USER/gamess-scratch exists (the $SCINET_RUNGMS script will create it if it does not exist)&lt;br /&gt;
&lt;br /&gt;
- Make sure the modules: intel, intelmpi, gamess are loaded (in your .bashrc: &amp;quot;module load intel intelmpi gamess&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
- Create a torque script to run GAMESS.  Here is an example:&lt;br /&gt;
&lt;br /&gt;
- The GAMESS executable is in $SCINET_GAMESS_HOME/gamess.00.x&lt;br /&gt;
- The rungms script is in $SCINET_GAMESS_HOME/rungms (actually it is $SCINET_RUNGMS)&lt;br /&gt;
&lt;br /&gt;
- For IB multinode runs, use the $SCINET_RUNGMS_IB script&lt;br /&gt;
&lt;br /&gt;
- The rungms script takes 4 arguments:  input file, executable number, number of compute processes, processors per node&lt;br /&gt;
&lt;br /&gt;
For example, in order to run with the input file /scratch/$USER/gamesstest01, on 8 cpus, and the default version (00)&lt;br /&gt;
of the executable on a machine with 8 cores:&lt;br /&gt;
&lt;br /&gt;
   # load the gamess module in .bashrc&lt;br /&gt;
   module load gamess  &lt;br /&gt;
&lt;br /&gt;
   # run the program&lt;br /&gt;
   $SCINET_RUNGMS /scratch/$USER/gamesstest01 00 8 8&lt;br /&gt;
&lt;br /&gt;
Here is a sample torque script for running a GAMESS calculation, on a single 8-core node:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#PBS -l nodes=1:ppn=8,walltime=48:00:00,os=centos53computeA&lt;br /&gt;
#PBS -N gamessjob&lt;br /&gt;
&lt;br /&gt;
## To submit type: qsub gms.sh&lt;br /&gt;
&lt;br /&gt;
# If not an interactive job (i.e. -I), then cd into the directory where&lt;br /&gt;
# I typed qsub.&lt;br /&gt;
if [ &amp;quot;$PBS_ENVIRONMENT&amp;quot; != &amp;quot;PBS_INTERACTIVE&amp;quot; ]; then&lt;br /&gt;
   if [ -n &amp;quot;$PBS_O_WORKDIR&amp;quot; ]; then&lt;br /&gt;
     cd $PBS_O_WORKDIR&lt;br /&gt;
   fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# the input file is typically named something like &amp;quot;gamesjob.inp&amp;quot;&lt;br /&gt;
# so the script will be run like &amp;quot;$SCINET_RUNGMS gamessjob 00 8 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# load the gamess module if not in .bashrc already&lt;br /&gt;
# actually, it MUST be in .bashrc&lt;br /&gt;
# module load gamess&lt;br /&gt;
&lt;br /&gt;
# run the program&lt;br /&gt;
&lt;br /&gt;
$SCINET_RUNGMS gamessjob 00 8 8&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a similar script, but this one uses 2 InfiniBand-connected nodes,&lt;br /&gt;
and runs the appropriate $SCINET_RUNGMS_IB script to actually run the job:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#PBS -l nodes=2:ib:ppn=8,walltime=48:00:00,os=centos53computeA&lt;br /&gt;
#PBS -N gamessjob&lt;br /&gt;
&lt;br /&gt;
## To submit type: qsub gmsib.sh&lt;br /&gt;
&lt;br /&gt;
# If not an interactive job (i.e. -I), then cd into the directory where&lt;br /&gt;
# I typed qsub.&lt;br /&gt;
if [ &amp;quot;$PBS_ENVIRONMENT&amp;quot; != &amp;quot;PBS_INTERACTIVE&amp;quot; ]; then&lt;br /&gt;
   if [ -n &amp;quot;$PBS_O_WORKDIR&amp;quot; ]; then&lt;br /&gt;
     cd $PBS_O_WORKDIR&lt;br /&gt;
   fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# the input file is typically named something like &amp;quot;gamesjob.inp&amp;quot;&lt;br /&gt;
# so the script will be run like &amp;quot;$SCINET_RUNGMS gamessjob 00 8 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# load the gamess module if not in .bashrc already&lt;br /&gt;
# actually, it MUST be in .bashrc&lt;br /&gt;
# module load gamess&lt;br /&gt;
&lt;br /&gt;
# This script requests InfiniBand-connected nodes (:ib above)&lt;br /&gt;
# so it must run with the IB version of the rungms script,&lt;br /&gt;
# $SCINET_RUNGMS_IB&lt;br /&gt;
&lt;br /&gt;
$SCINET_RUNGMS_IB gamessjob 00 16 8&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
-- [[User:Dgruner|dgruner]]  5 October 2009&lt;br /&gt;
&lt;br /&gt;
===Tips from the Fekl Lab===&lt;br /&gt;
&lt;br /&gt;
Through trial and error, we have found a few useful things that we would like to share:&lt;br /&gt;
&lt;br /&gt;
1. Two very useful, open-source programs for visualization of output files from GAMESS(US) and for generation of input files are [http://www.scl.ameslab.gov/MacMolPlt/ MacMolPlt]and [http://avogadro.openmolecules.net/wiki/Main_Page Avogadro].  The are available for UNIX/LINUX, Windows and Mac based machines, HOWEVER:  any input files that we have generated with these programs on a Windows-based machine do not run on Mac based machines.  We don't know why.&lt;br /&gt;
&lt;br /&gt;
2. [http://winscp.net/eng/index.php WinSCP] is a very useful tool that has a graphical user interface for moving files from a local machine to SCINET and vice versa.  It also has text editing capabilities.&lt;br /&gt;
&lt;br /&gt;
3. The [https://bse.pnl.gov/bse/portal ESML Basis Set Exchange] is an excellent source for custom basis set or effective core potential parameters.  Make sure that you specify &amp;quot;Gamess-US&amp;quot; in the format drop-down box.&lt;br /&gt;
&lt;br /&gt;
4.  The commercial program [http://www.chemcraftprog.com/ ChemCraft] is a highly useful visualization program that has the ability to edit molecules in a very similar fashion to GaussView.  It can also be customized to build GAMESS(US) input files.&lt;br /&gt;
&lt;br /&gt;
====Anatomy of a GAMESS(US) Input File with Basis Set Info in an External File====&lt;br /&gt;
&lt;br /&gt;
  $CONTRL SCFTYP=RHF RUNTYP=OPTIMIZE DFTTYP=M06-L MAXIT=199 MULT=1 NOSYM=1&lt;br /&gt;
   ECP=READ $END&lt;br /&gt;
  $SYSTEM TIMLIM=525600 MWORDS=1750 PARALL=.TRUE. $END&lt;br /&gt;
  $BASIS GBASIS=CUSTOMNI EXTFIL=.t. $END&lt;br /&gt;
  $SCF DIRSCF=.TRUE. FDIFF=.f. $END&lt;br /&gt;
  $STATPT OPTTOL=0.0001 NSTEP=500 HSSEND=.t. $END&lt;br /&gt;
  $DATA&lt;br /&gt;
  Mo_BDT3&lt;br /&gt;
 C1&lt;br /&gt;
 MOLYBDENUM 42.0      5.7556500000      4.4039600000     16.5808400000&lt;br /&gt;
 SULFUR     16.0      7.4169700000      3.1956300000     15.2089300000&lt;br /&gt;
 SULFUR     16.0      4.0966800000      3.2258300000     15.1761100000&lt;br /&gt;
 SULFUR     16.0      3.9677300000      4.4940500000     18.3266100000&lt;br /&gt;
 SULFUR     16.0      7.1776900000      3.5815000000     18.4485200000&lt;br /&gt;
 SULFUR     16.0      4.3776600000      6.2447400000     15.6786900000&lt;br /&gt;
 SULFUR     16.0      7.5478700000      6.0679800000     16.2223700000&lt;br /&gt;
 CARBON      6.0      6.4716900000      2.1004800000     14.1902300000&lt;br /&gt;
 CARBON      6.0      5.0690300000      2.1781400000     14.1080700000&lt;br /&gt;
 CARBON      6.0      4.8421800000      4.2701300000     19.8855500000&lt;br /&gt;
 CARBON      6.0      6.1969000000      3.9249600000     19.9397400000&lt;br /&gt;
 CARBON      6.0      6.8280600000      3.7834200000     21.1913200000&lt;br /&gt;
 CARBON      6.0      5.7697600000      7.6933500000     17.4241800000&lt;br /&gt;
 CARBON      6.0      7.2043100000      7.9413600000     17.8281100000&lt;br /&gt;
 CARBON      6.0      5.5051400000      7.0409700000     14.5903800000&lt;br /&gt;
 CARBON      6.0      6.8905200000      6.9194700000     14.7626200000&lt;br /&gt;
 CARBON      6.0      7.7396400000      7.5379800000     13.8285700000&lt;br /&gt;
 HYDROGEN    1.0      8.8190700000      7.4520600000     13.9252200000&lt;br /&gt;
 CARBON      6.0      7.2169400000      8.2960300000     12.7704100000&lt;br /&gt;
 HYDROGEN    1.0      7.8667000000      8.7825100000     12.0575600000&lt;br /&gt;
 CARBON      6.0      5.8260300000      8.4502300000     12.6467800000&lt;br /&gt;
 HYDROGEN    1.0      5.4143000000      9.0544300000     11.8493100000&lt;br /&gt;
 CARBON      6.0      4.9881500000      7.8192300000     13.5528400000&lt;br /&gt;
 HYDROGEN    1.0      3.9090500000      7.9420000000     13.4583700000&lt;br /&gt;
 CARBON      6.0      7.1538500000      1.1569600000     13.4143900000&lt;br /&gt;
 CARBON      6.0      4.4018100000      1.3603900000     13.1919900000&lt;br /&gt;
 CARBON      6.0      6.4791600000      0.3185500000     12.5353300000&lt;br /&gt;
 CARBON      6.0      5.0837400000      0.4369500000     12.4084900000&lt;br /&gt;
 HYDROGEN    1.0      7.0116000000     -0.4099400000     11.9434600000&lt;br /&gt;
 HYDROGEN    1.0      8.2399000000      1.0702400000     13.4937600000&lt;br /&gt;
 HYDROGEN    1.0      3.3185600000      1.4368700000     13.0953100000&lt;br /&gt;
 HYDROGEN    1.0      4.5549800000     -0.1997300000     11.7165200000&lt;br /&gt;
 CARBON      6.0      6.1105700000      3.9639000000     22.3866100000&lt;br /&gt;
 CARBON      6.0      4.1216300000      4.4424400000     21.1020100000&lt;br /&gt;
 HYDROGEN    1.0      7.8732900000      3.5217100000     21.2520500000&lt;br /&gt;
 CARBON      6.0      4.7606000000      4.2868500000     22.3363800000&lt;br /&gt;
 HYDROGEN    1.0      6.6064200000      3.8406000000     23.3428500000&lt;br /&gt;
 HYDROGEN    1.0      4.2065000000      4.4170700000     23.2667100000&lt;br /&gt;
 HYDROGEN    1.0      3.0674000000      4.6893500000     21.0889000000&lt;br /&gt;
 HYDROGEN    1.0      7.4249200000      7.7545300000     18.8583200000&lt;br /&gt;
 HYDROGEN    1.0      7.6651700000      8.9049700000     17.7652100000&lt;br /&gt;
 HYDROGEN    1.0      5.3324000000      8.6487800000     17.2222700000&lt;br /&gt;
 HYDROGEN    1.0      5.5015000000      7.1039000000     18.2759400000&lt;br /&gt;
  $END&lt;br /&gt;
  $ECP&lt;br /&gt;
 MO-ECP GEN     28     3&lt;br /&gt;
  5      ----- f potential     -----&lt;br /&gt;
     -0.0469492        0    537.9667807        &lt;br /&gt;
    -20.2080084        1    147.8982938        &lt;br /&gt;
   -106.2116302        2     45.7358898        &lt;br /&gt;
    -41.8107368        2     13.2911467        &lt;br /&gt;
     -4.2054103        2      4.7059961        &lt;br /&gt;
  3      ----- s-f potential     -----&lt;br /&gt;
      2.8063717        0    110.2991760        &lt;br /&gt;
     44.5162012        1     23.2014645        &lt;br /&gt;
     82.7785227        2      5.3530131        &lt;br /&gt;
  4      ----- p-f potential     -----&lt;br /&gt;
      4.9420876        0     63.2901397        &lt;br /&gt;
     25.8604976        1     23.3315302        &lt;br /&gt;
    132.4708742        2     24.6759423        &lt;br /&gt;
     57.3149794        2      4.6493040        &lt;br /&gt;
  5      ----- d-f potential     -----&lt;br /&gt;
      3.0054591        0    104.4839977        &lt;br /&gt;
     26.3637851        1     66.2307245        &lt;br /&gt;
    183.3849199        2     39.1283176        &lt;br /&gt;
     98.4453068        2     13.1164437        &lt;br /&gt;
     22.4901377        2      3.6280263 &lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
=====The Input Deck=====&lt;br /&gt;
&lt;br /&gt;
Below is the input deck.  It is where you tell GAMESS(US) what job type to execute and where all you individual parameters are entered for your specific job type.  The example input deck below is for a geometry optimization and frequency calculation.  This input deck is equivalent to the Gaussian job with &amp;quot;opt&amp;quot; and &amp;quot;freq&amp;quot; in the route section.&lt;br /&gt;
&lt;br /&gt;
  $CONTRL SCFTYP=RHF RUNTYP=OPTIMIZE DFTTYP=M06-L MAXIT=199 MULT=1 NOSYM=1&lt;br /&gt;
   ECP=READ $END&lt;br /&gt;
  $SYSTEM TIMLIM=2850 MWORDS=1750 MEMDDI=20 PARALL=.TRUE. $END&lt;br /&gt;
  $BASIS GBASIS=CUSTOMNI EXTFIL=.t. $END&lt;br /&gt;
  $SCF DIRSCF=.TRUE. FDIFF=.f. $END&lt;br /&gt;
  $STATPT OPTTOL=0.0001 NSTEP=500 HSSEND=.t. $END&lt;br /&gt;
  $DATA&lt;br /&gt;
&lt;br /&gt;
An important thing to note is the spacing.  In the input deck, there must be 1 space at the beginning of each line of the input deck.  If not, the job will fail.  Most builders will insert this space anyway, but it helps to double check.&lt;br /&gt;
&lt;br /&gt;
The end of the input deck is marked by the &amp;quot;$DATA&amp;quot; line.&lt;br /&gt;
&lt;br /&gt;
=====Job Title Line=====&lt;br /&gt;
&lt;br /&gt;
The next line of the file is the job title.  It can be anthing you wish, however, we have found that to be on the safe side, we avoide using symbols or spaces&lt;br /&gt;
&lt;br /&gt;
  Mo_BDT3&lt;br /&gt;
&lt;br /&gt;
=====Symmetry Point Group=====&lt;br /&gt;
&lt;br /&gt;
The next line of the file is the symmetry point group of your molecule.  Note that there is no leading space before the point group.&lt;br /&gt;
&lt;br /&gt;
 C1&lt;br /&gt;
&lt;br /&gt;
=====Coordinates=====&lt;br /&gt;
&lt;br /&gt;
The next block of text is set aside for the coordinates of the molecule.  This can be in internal (or z-matrix) format or cartesian coordinates.  Note that there is no leading space before the coordinates.  One may use the chemical symbol or the full name of each atom in the molecule.  Note that the end of the coordinates is signified by an &amp;quot;$END&amp;quot;, which MUST have one space preceding it.  The coordinates below do NOT have any basis set information inserted.  It is possible to insert basis set information directly into the input file.  This is accomplished by obtaining the desired basis set parameters from the EMSL and then inserting them below each relevant atom.  An example input file with inserted basis set information will be shown later.&lt;br /&gt;
&lt;br /&gt;
 MOLYBDENUM 42.0      5.7556500000      4.4039600000     16.5808400000&lt;br /&gt;
 SULFUR     16.0      7.4169700000      3.1956300000     15.2089300000&lt;br /&gt;
 SULFUR     16.0      4.0966800000      3.2258300000     15.1761100000&lt;br /&gt;
 SULFUR     16.0      3.9677300000      4.4940500000     18.3266100000&lt;br /&gt;
 SULFUR     16.0      7.1776900000      3.5815000000     18.4485200000&lt;br /&gt;
 SULFUR     16.0      4.3776600000      6.2447400000     15.6786900000&lt;br /&gt;
 SULFUR     16.0      7.5478700000      6.0679800000     16.2223700000&lt;br /&gt;
 CARBON      6.0      6.4716900000      2.1004800000     14.1902300000&lt;br /&gt;
 CARBON      6.0      5.0690300000      2.1781400000     14.1080700000&lt;br /&gt;
 CARBON      6.0      4.8421800000      4.2701300000     19.8855500000&lt;br /&gt;
 CARBON      6.0      6.1969000000      3.9249600000     19.9397400000&lt;br /&gt;
 CARBON      6.0      6.8280600000      3.7834200000     21.1913200000&lt;br /&gt;
 CARBON      6.0      5.7697600000      7.6933500000     17.4241800000&lt;br /&gt;
 CARBON      6.0      7.2043100000      7.9413600000     17.8281100000&lt;br /&gt;
 CARBON      6.0      5.5051400000      7.0409700000     14.5903800000&lt;br /&gt;
 CARBON      6.0      6.8905200000      6.9194700000     14.7626200000&lt;br /&gt;
 CARBON      6.0      7.7396400000      7.5379800000     13.8285700000&lt;br /&gt;
 HYDROGEN    1.0      8.8190700000      7.4520600000     13.9252200000&lt;br /&gt;
 CARBON      6.0      7.2169400000      8.2960300000     12.7704100000&lt;br /&gt;
 HYDROGEN    1.0      7.8667000000      8.7825100000     12.0575600000&lt;br /&gt;
 CARBON      6.0      5.8260300000      8.4502300000     12.6467800000&lt;br /&gt;
 HYDROGEN    1.0      5.4143000000      9.0544300000     11.8493100000&lt;br /&gt;
 CARBON      6.0      4.9881500000      7.8192300000     13.5528400000&lt;br /&gt;
 HYDROGEN    1.0      3.9090500000      7.9420000000     13.4583700000&lt;br /&gt;
 CARBON      6.0      7.1538500000      1.1569600000     13.4143900000&lt;br /&gt;
 CARBON      6.0      4.4018100000      1.3603900000     13.1919900000&lt;br /&gt;
 CARBON      6.0      6.4791600000      0.3185500000     12.5353300000&lt;br /&gt;
 CARBON      6.0      5.0837400000      0.4369500000     12.4084900000&lt;br /&gt;
 HYDROGEN    1.0      7.0116000000     -0.4099400000     11.9434600000&lt;br /&gt;
 HYDROGEN    1.0      8.2399000000      1.0702400000     13.4937600000&lt;br /&gt;
 HYDROGEN    1.0      3.3185600000      1.4368700000     13.0953100000&lt;br /&gt;
 HYDROGEN    1.0      4.5549800000     -0.1997300000     11.7165200000&lt;br /&gt;
 CARBON      6.0      6.1105700000      3.9639000000     22.3866100000&lt;br /&gt;
 CARBON      6.0      4.1216300000      4.4424400000     21.1020100000&lt;br /&gt;
 HYDROGEN    1.0      7.8732900000      3.5217100000     21.2520500000&lt;br /&gt;
 CARBON      6.0      4.7606000000      4.2868500000     22.3363800000&lt;br /&gt;
 HYDROGEN    1.0      6.6064200000      3.8406000000     23.3428500000&lt;br /&gt;
 HYDROGEN    1.0      4.2065000000      4.4170700000     23.2667100000&lt;br /&gt;
 HYDROGEN    1.0      3.0674000000      4.6893500000     21.0889000000&lt;br /&gt;
 HYDROGEN    1.0      7.4249200000      7.7545300000     18.8583200000&lt;br /&gt;
 HYDROGEN    1.0      7.6651700000      8.9049700000     17.7652100000&lt;br /&gt;
 HYDROGEN    1.0      5.3324000000      8.6487800000     17.2222700000&lt;br /&gt;
 HYDROGEN    1.0      5.5015000000      7.1039000000     18.2759400000&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
=====Effective Core Potential Data=====&lt;br /&gt;
&lt;br /&gt;
The effective core potential (ECP) data is entered after the coordinates.  It starts with &amp;quot;$ECP&amp;quot;, which must be preceded with a space.   The atoms of the molecule are listed in the same order as in the coordinates section and the parameters for the ECP are listed after each atom.  Note that for any atom that does NOT have an ECP, one must enter &amp;quot;ECP-NONE&amp;quot; or &amp;quot;NONE&amp;quot; after each atom without an ECP.&lt;br /&gt;
&lt;br /&gt;
 $ECP&lt;br /&gt;
 MO-ECP GEN     28     3&lt;br /&gt;
  5      ----- f potential     -----&lt;br /&gt;
     -0.0469492        0    537.9667807        &lt;br /&gt;
    -20.2080084        1    147.8982938        &lt;br /&gt;
   -106.2116302        2     45.7358898        &lt;br /&gt;
    -41.8107368        2     13.2911467        &lt;br /&gt;
     -4.2054103        2      4.7059961        &lt;br /&gt;
  3      ----- s-f potential     -----&lt;br /&gt;
      2.8063717        0    110.2991760        &lt;br /&gt;
     44.5162012        1     23.2014645        &lt;br /&gt;
     82.7785227        2      5.3530131        &lt;br /&gt;
  4      ----- p-f potential     -----&lt;br /&gt;
      4.9420876        0     63.2901397        &lt;br /&gt;
     25.8604976        1     23.3315302        &lt;br /&gt;
    132.4708742        2     24.6759423        &lt;br /&gt;
     57.3149794        2      4.6493040        &lt;br /&gt;
  5      ----- d-f potential     -----&lt;br /&gt;
      3.0054591        0    104.4839977        &lt;br /&gt;
     26.3637851        1     66.2307245        &lt;br /&gt;
    183.3849199        2     39.1283176        &lt;br /&gt;
     98.4453068        2     13.1164437        &lt;br /&gt;
     22.4901377        2      3.6280263 &lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
-- [[User:M.Zimmer-De Iuliis|mzd]]  16 November 2009&lt;br /&gt;
&lt;br /&gt;
====Using Effective Core Potentials in GAMESS(US)====&lt;br /&gt;
&lt;br /&gt;
For many metal containing compounds, it is very convenient and time saving to use an effective core potential (ECP) for the core metal electrons, as they are usually not important to the reactivity of the complex or the geometry around the metal.  Since GAMESS(US) has a limited number of built-in ECPs, one may want to make GAMESS(US) read an external file that contains the ECP data using the &amp;quot;EXTFIL&amp;quot; keyword in the $GBASIS command line of the input file.  In addition, to make GAMESS(US) use this external file, one must copy the &amp;quot;rungms&amp;quot; file and modify it accordingly.  The following is a list of instructions with commands that will work from a terminal.  One could also use WinSCP to do all of this with a GUI rather than a TUI.  &lt;br /&gt;
&lt;br /&gt;
=====Modifiying rungms to Use Custom Basis Set File=====&lt;br /&gt;
1. Copy &amp;quot;rungms&amp;quot; from /scinet/gpc/Applications/gamess to one's own /scratch/$USER/ directory:&lt;br /&gt;
 cp /scinet/gpc/Applications/gamess/rungms /scratch/$USER/&lt;br /&gt;
&lt;br /&gt;
2. Change to the scratch directory and check to see if &amp;quot;rungms&amp;quot; has copied successfully.&lt;br /&gt;
 cd /scratch/$USER&lt;br /&gt;
 ls&lt;br /&gt;
&lt;br /&gt;
3. Edit line 147 of the vi.  &lt;br /&gt;
 vi rungms&lt;br /&gt;
Move the cursor down to line 147 using the arrow keys.  It should say &amp;quot;setenv EXTBAS /dev/null&amp;quot;.  Using the arrow keys, move the cursor to the first &amp;quot;/&amp;quot; and then hit &amp;quot;i&amp;quot; to insert text.  Put the path to your external basis file here.  For example, /scratch/$USER/basisset.  Then hit &amp;quot;escape&amp;quot;.  To save the changes and exit vi, type &amp;quot;:&amp;quot; and you should see a colon appear at the bottom of the window.  Type &amp;quot;wq&amp;quot; (which should appear at the bottom of the window next to the colon) and then hit enter.  Now you are done with vi.&lt;br /&gt;
&lt;br /&gt;
=====Creating a Custom Basis Set File=====&lt;br /&gt;
1. To create a custom basis set file, you need create a new text document.  Our group's common practice is to comment out the first line of this file by inserting an exclamation mark (!) followed by noting the specific basis sets and ECPs that are going to be used for each of the atoms.  Let us the molecule Mo(CO)6, Molybdenum hexacarbonyl, as an example.  Below is the first line of the the external file, which we will call &amp;quot;CUSTOMMO&amp;quot;  (NOTE:  you can use any name for the external file that suits you, as long as it has no spaces and is 8 characters or less).&lt;br /&gt;
&lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&lt;br /&gt;
&lt;br /&gt;
2. The next step is to visit the [https://bse.pnl.gov/bse/portal EMSL Basis Set exchange] and select C and O from the periodic table.  Then, on the left of the page, select &amp;quot;6-31G&amp;quot; as the basis set.  Finally, make sure the output is in GAMESS(US) format using the drop-down menu and then click &amp;quot;get basis set&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:C_O_6_31G_basisset.JPG|centre]]&lt;br /&gt;
&lt;br /&gt;
3. A new window should appear with text in it.  For our example case, the text looks like this:&lt;br /&gt;
 &lt;br /&gt;
 !  6-31G  EMSL  Basis Set Exchange Library   10/13/09 11:12 AM&lt;br /&gt;
 ! Elements                             References&lt;br /&gt;
 ! --------                             ----------&lt;br /&gt;
 ! H - He: W.J. Hehre, R. Ditchfield and J.A. Pople, J. Chem. Phys. 56,&lt;br /&gt;
 ! Li - Ne: 2257 (1972).  Note: Li and B come from J.D. Dill and J.A.&lt;br /&gt;
 ! Pople, J. Chem. Phys. 62, 2921 (1975).&lt;br /&gt;
 ! Na - Ar: M.M. Francl, W.J. Petro, W.J. Hehre, J.S. Binkley, M.S. Gordon,&lt;br /&gt;
 ! D.J. DeFrees and J.A. Pople, J. Chem. Phys. 77, 3654 (1982)&lt;br /&gt;
 ! K  - Zn: V. Rassolov, J.A. Pople, M. Ratner and T.L. Windus, J. Chem. Phys.&lt;br /&gt;
 ! 109, 1223 (1998)&lt;br /&gt;
 ! Note: He and Ne are unpublished basis sets taken from the Gaussian&lt;br /&gt;
 ! program&lt;br /&gt;
 ! &lt;br /&gt;
 $DATA&amp;lt;br /&amp;gt;&lt;br /&gt;
 CARBON&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 OXYGEN&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000        &lt;br /&gt;
 $END&lt;br /&gt;
&lt;br /&gt;
3. Now, copy and paste the text between the $DATA and $END headings onto our external text file, CUSTOMMO.  We also need to change the change the name of each element to it symbol in the periodic table.  Finally, we need to add the name of the external file next to the element symbol, separated by one space.  Note that there should be a blank line separating the basis set information and the first, commented-out line (The line starting with the '!').  The CUSTOMMO should look like this:&lt;br /&gt;
 &lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&amp;lt;br /&amp;gt;&lt;br /&gt;
 C CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 O CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000 &lt;br /&gt;
&lt;br /&gt;
4. Repeat Step 3 above but choose Mo and select the LANL2DZ ECP instead.  A new window will pop up with the basis set information as well as the ECP data we need, since we specified the LANL2DZ '''ECP'''.  The ECP data is not inserted into the external file, rather it is placed into the input file itself (More on this later).  &lt;br /&gt;
&lt;br /&gt;
[[File:Mo_LANL2DZ_basisset.JPG|centre]]&lt;br /&gt;
&lt;br /&gt;
5.  After copying the molybdenum basis set information, your fiished external basis set file should look like this:&lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&amp;lt;br /&amp;gt;&lt;br /&gt;
 C CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 O CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000&amp;lt;br /&amp;gt; &lt;br /&gt;
 Mo CUSTOMO&lt;br /&gt;
 S   3&lt;br /&gt;
   1      2.3610000             -0.9121760        &lt;br /&gt;
   2      1.3090000              1.1477453        &lt;br /&gt;
   3      0.4500000              0.6097109        &lt;br /&gt;
 S   4&lt;br /&gt;
   1      2.3610000              0.8139259        &lt;br /&gt;
   2      1.3090000             -1.1360084        &lt;br /&gt;
   3      0.4500000             -1.1611592        &lt;br /&gt;
   4      0.1681000              1.0064786        &lt;br /&gt;
 S   1&lt;br /&gt;
   1      0.0423000              1.0000000        &lt;br /&gt;
 P   3&lt;br /&gt;
   1      4.8950000             -0.0908258        &lt;br /&gt;
   2      1.0440000              0.7042899        &lt;br /&gt;
   3      0.3877000              0.3973179        &lt;br /&gt;
 P   2&lt;br /&gt;
   1      0.4995000             -0.1081945        &lt;br /&gt;
   2      0.0780000              1.0368093        &lt;br /&gt;
 P   1&lt;br /&gt;
   1      0.0247000              1.0000000        &lt;br /&gt;
 D   3&lt;br /&gt;
   1      2.9930000              0.0527063        &lt;br /&gt;
   2      1.0630000              0.5003907        &lt;br /&gt;
   3      0.3721000              0.5794024        &lt;br /&gt;
 D   1&lt;br /&gt;
   1      0.1178000              1.0000000&lt;br /&gt;
&lt;br /&gt;
-- [[User:M.Zimmer-De Iuliis|mzd]]  13 October 2009&lt;br /&gt;
&lt;br /&gt;
==Climate Modelling==&lt;br /&gt;
&lt;br /&gt;
==Medicine/Bio==&lt;br /&gt;
&lt;br /&gt;
==High Energy Physics==&lt;br /&gt;
&lt;br /&gt;
==Structural Biology==&lt;br /&gt;
Molecular simulation of proteins, lipids, carbohydrates, and other biologically relevant molecules.&lt;br /&gt;
===Molecular Dynamics (MD) simulation===&lt;br /&gt;
====GROMACS====&lt;br /&gt;
Please refer to the [[gromacs|GROMACS]] page&lt;br /&gt;
====AMBER====&lt;br /&gt;
Please refer to the [[amber|AMBER]] page&lt;br /&gt;
====NAMD====&lt;br /&gt;
NAMD is one of the better scaling MD packages out there. With sufficiently large systems, it is able to scale to hundreds or thousands of cores on Scinet. Below are details for compiling and running NAMD on Scinet.&lt;br /&gt;
&lt;br /&gt;
More information regarding performance and different compile options coming soon...&lt;br /&gt;
&lt;br /&gt;
=====Compiling NAMD for GPC=====&lt;br /&gt;
Ensure the proper compiler/mpi modules are loaded.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
module load intel&lt;br /&gt;
module load openmpi/1.3.3-intel-v11.0-ofed&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Compile Charm++ and NAMD'''&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
#Unpack source files and get required support libraries&lt;br /&gt;
tar -xzf NAMD_2.7b1_Source.tar.gz&lt;br /&gt;
cd NAMD_2.7b1_Source&lt;br /&gt;
tar -xf charm-6.1.tar&lt;br /&gt;
wget http://www.ks.uiuc.edu/Research/namd/libraries/fftw-linux-x86_64.tar.gz&lt;br /&gt;
wget http://www.ks.uiuc.edu/Research/namd/libraries/tcl-linux-x86_64.tar.gz&lt;br /&gt;
tar -xzf fftw-linux-x86_64.tar.gz; mv linux-x86_64 fftw&lt;br /&gt;
tar -xzf tcl-linux-x86_64.tar.gz; mv linux-x86_64 tcl&lt;br /&gt;
#Compile Charm++&lt;br /&gt;
cd charm-6.1&lt;br /&gt;
./build charm++ mpi-linux-x86_64 icc --basedir /scinet/gpc/mpi/openmpi/1.3.3-intel-v11.0-ofed/ --no-shared -O -DCMK_OPTIMIZE=1&lt;br /&gt;
cd ..&lt;br /&gt;
#Compile NAMD. &lt;br /&gt;
#Edit arch/Linux-x86_64-icc.arch and add &amp;quot;-lmpi&amp;quot; to the end of the CXXOPTS and COPTS line.&lt;br /&gt;
#Make a builds directory if you want different versions of NAMD compiled at the same time.&lt;br /&gt;
mkdir builds&lt;br /&gt;
./config builds/Linux-x86_64-icc --charm-arch mpi-linux-x86_64-icc&lt;br /&gt;
cd builds/Linux-x86_64-icc/&lt;br /&gt;
make -j4 namd2 # Adjust value of j as desired to specify number of simultaneous make targets. &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
--[[User:Cmadill|Cmadill]] 16:18, 27 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
=====Running Fortran=====&lt;br /&gt;
On the development nodes, there is an old gcc. The associated libraries are not on the compute nodes. Ensure the line:&lt;br /&gt;
&lt;br /&gt;
module load gcc&lt;br /&gt;
&lt;br /&gt;
is in your .bashrc file.&lt;br /&gt;
&lt;br /&gt;
====LAMMPS====&lt;br /&gt;
LAMMPS is a parallel MD code that can be found [here http://lammps.sandia.gov/].&lt;br /&gt;
&lt;br /&gt;
[[Image:StrongScalingLAMMPS.png|thumb|320px|right|Strong scaling test on GPC with OpenMPI and IntelMPI on Ethernet and InfiniBand]]&lt;br /&gt;
[[Image:WeakScalingLAMMPS.png|thumb|320px|right|Weak scaling test on GPC with OpenMPI and IntelMPI on Ethernet and InfiniBand]]&lt;br /&gt;
&lt;br /&gt;
'''Scaling Tests'''&lt;br /&gt;
&lt;br /&gt;
Results from strong scaling tests for LAMMPS using EAM potentials on GPC are shown in the graph on the right.  Test simulation ran 500 timesteps for 4,000,000 atoms.&lt;br /&gt;
&lt;br /&gt;
Results from weak scaling tests for LAMMPS using EAM potentials on GPC are shown in the graph on the right.  Test simulation ran 500 timesteps for 32,000 atoms per processor.&lt;br /&gt;
&lt;br /&gt;
OpenMPI version used: openmpi/1.4.1-intel-v11.0-ofed&lt;br /&gt;
&lt;br /&gt;
IntelMPI version used: intelmpi/impi-4.0.0.013&lt;br /&gt;
&lt;br /&gt;
'''Summary of Scaling Tests'''&lt;br /&gt;
&lt;br /&gt;
Results show good scaling for both OpenMPI and IntelMPI up to 16 processors, after which performance begins to suffer.  On Infiniband, excellent scaling is maintained to 512 processors.&lt;br /&gt;
&lt;br /&gt;
IntelMPI shows slightly better performance compared to OpenMPI when running with Infiniband.&lt;br /&gt;
&lt;br /&gt;
--[[User:jchu|jchu]] Feb 2, 2010&lt;br /&gt;
&lt;br /&gt;
===Monte Carlo (MC) simulation===&lt;/div&gt;</summary>
		<author><name>Jchu</name></author>
	</entry>
	<entry>
		<id>https://oldwiki.scinet.utoronto.ca/index.php?title=User_Codes&amp;diff=879</id>
		<title>User Codes</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.scinet.utoronto.ca/index.php?title=User_Codes&amp;diff=879"/>
		<updated>2010-02-02T19:02:42Z</updated>

		<summary type="html">&lt;p&gt;Jchu: /* LAMMPS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&lt;br /&gt;
==Astrophysics==&lt;br /&gt;
&lt;br /&gt;
===Athena (explicit, uniform grid MHD code)===&lt;br /&gt;
&lt;br /&gt;
[[Image:StrongScalingAthenaGPC.png|thumb|right|320px|Athena scaling on GPC with OpenMPI and MVAPICH2 on GigE, and OpenMPI on InfiniBand]]&lt;br /&gt;
&lt;br /&gt;
[http://www.astro.princeton.edu/~jstone/athena.html Athena] is a straightforward C code which doesn't use a lot of libraries so it is pretty straightforward to build and compile on new machines.   &lt;br /&gt;
&lt;br /&gt;
It encapsulates its compiler flags, etc in an &amp;lt;tt&amp;gt;Makeoptions.in&amp;lt;/tt&amp;gt; file which is then processed by &amp;lt;tt&amp;gt;configure&amp;lt;/tt&amp;gt;.   I've used the following additions to &amp;lt;tt&amp;gt;Makeoptions.in&amp;lt;/tt&amp;gt; on TCS and GPC:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
ifeq ($(MACHINE),scinettcs)&lt;br /&gt;
  CC = mpcc_r&lt;br /&gt;
  LDR = mpcc_r&lt;br /&gt;
  OPT = -O5 -q64 -qarch=pwr6 -qtune=pwr6 -qcache=auto -qlargepage -qstrict&lt;br /&gt;
  MPIINC =&lt;br /&gt;
  MPILIB =&lt;br /&gt;
  CFLAGS = $(OPT)&lt;br /&gt;
  LIB = -ldl -lm&lt;br /&gt;
else&lt;br /&gt;
ifeq ($(MACHINE),scinetgpc)&lt;br /&gt;
  CC = mpicc&lt;br /&gt;
  LDR = mpicc&lt;br /&gt;
  OPT = -O3&lt;br /&gt;
  MPIINC =&lt;br /&gt;
  MPILIB =&lt;br /&gt;
  CFLAGS = $(OPT)&lt;br /&gt;
  LIB = -lm&lt;br /&gt;
else&lt;br /&gt;
...&lt;br /&gt;
endif&lt;br /&gt;
endif&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
It performs quite well on the GPC, scaling extremely well even on a strong scaling test out to about 256 cores (32 nodes) on Gigabit ethernet, and performing beautifully on InfiniBand out to 512 cores (64 nodes). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Ljdursi|ljdursi]]  19:20, 13 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
===FLASH3 (Adaptive Mesh reactive hydrodynamics; explict hydro/MHD)===&lt;br /&gt;
&lt;br /&gt;
[[Image:weak-scaling-example.png|thumb|right|320px|Weak scaling test of the 2d sod problem on both the GPC and TCS.  The results are actually somewhat faster on the GPC; in both cases (weak) scaling is very good out at least to 256 cores]]&lt;br /&gt;
&lt;br /&gt;
[http://flash.uchicago.edu FLASH] encapsulates its machine-dependant information in the &amp;lt;tt&amp;gt;FLASH3/sites&amp;lt;/tt&amp;gt; directory.  For the GPC, you'll have to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load intel&lt;br /&gt;
module load openmpi&lt;br /&gt;
module load hdf5/183-v16-openmpi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and with that, the following file (&amp;lt;tt&amp;gt;sites/scinetgpc/Makefile.h&amp;lt;/tt&amp;gt;) works for me:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
## Must do module load hdf5/183-v16-openmpi&lt;br /&gt;
HDF5_PATH = ${SCINET_HDF5_BASE}&lt;br /&gt;
ZLIB_PATH = /usr/local&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Compiler and linker commands&lt;br /&gt;
#&lt;br /&gt;
#  We use the f90 compiler as the linker, so some C libraries may explicitly&lt;br /&gt;
#  need to be added into the link line.&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
## modules will put the right mpi in our path&lt;br /&gt;
FCOMP   = mpif77&lt;br /&gt;
CCOMP   = mpicc&lt;br /&gt;
CPPCOMP = mpiCC&lt;br /&gt;
LINK    = mpif77&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Compilation flags&lt;br /&gt;
#&lt;br /&gt;
#  Three sets of compilation/linking flags are defined: one for optimized&lt;br /&gt;
#  code, one for testing, and one for debugging.  The default is to use the &lt;br /&gt;
#  _OPT version.  Specifying -debug to setup will pick the _DEBUG version,&lt;br /&gt;
#  these should enable bounds checking.  Specifying -test is used for &lt;br /&gt;
#  flash_test, and is set for quick code generation, and (sometimes) &lt;br /&gt;
#  profiling.  The Makefile generated by setup will assign the generic token &lt;br /&gt;
#  (ex. FFLAGS) to the proper set of flags (ex. FFLAGS_OPT).&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
FFLAGS_OPT   =  -c -r8 -i4 -O3 -xSSE4.2&lt;br /&gt;
FFLAGS_DEBUG =  -c -g -r8 -i4 -O0&lt;br /&gt;
FFLAGS_TEST  =  -c -r8 -i4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# if we are using HDF5, we need to specify the path to the include files&lt;br /&gt;
CFLAGS_HDF5  = -I${HDF5_PATH}/include&lt;br /&gt;
&lt;br /&gt;
CFLAGS_OPT   = -c -O3 -xSSE4.2&lt;br /&gt;
CFLAGS_TEST  = -c -O2 &lt;br /&gt;
CFLAGS_DEBUG = -c -g  &lt;br /&gt;
&lt;br /&gt;
MDEFS = &lt;br /&gt;
&lt;br /&gt;
.SUFFIXES: .o .c .f .F .h .fh .F90 .f90&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Linker flags&lt;br /&gt;
#&lt;br /&gt;
#  There is a seperate version of the linker flags for each of the _OPT, &lt;br /&gt;
#  _DEBUG, and _TEST cases.&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
LFLAGS_OPT   = -o&lt;br /&gt;
LFLAGS_TEST  = -o&lt;br /&gt;
LFLAGS_DEBUG = -g -o&lt;br /&gt;
&lt;br /&gt;
MACHOBJ = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MV = mv -f&lt;br /&gt;
AR = ar -r&lt;br /&gt;
RM = rm -f&lt;br /&gt;
CD = cd&lt;br /&gt;
RL = ranlib&lt;br /&gt;
ECHO = echo&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Ljdursi|ljdursi]] 22:11, 13 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Aeronautics==&lt;br /&gt;
&lt;br /&gt;
==Chemistry==&lt;br /&gt;
&lt;br /&gt;
===GAMESS (US)===&lt;br /&gt;
The GAMESS version January 12, 2009 R3 was built using the Intel v11.1 compilers and v3.2.2 MPI library, according to the instructions in http://software.intel.com/en-us/articles/building-gamess-with-intel-compilers-intel-mkl-and-intel-mpi-on-linux/&lt;br /&gt;
&lt;br /&gt;
The required build scripts - comp, compall, lked - and run script - rungms - were modified to account for our own installation.  In order to build GAMESS one first must ensure that the intel and intelmpi modules are loaded (&amp;quot;module load intel intelmpi&amp;quot;).  This applies to running GAMESS as well.&lt;br /&gt;
The module &amp;quot;gamess&amp;quot; must also be loaded in order to run GAMESS (&amp;quot;module load gamess&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
The modified scripts are in the file /scinet/gpc/src/gamess-on-scinet.tar.gz&lt;br /&gt;
&lt;br /&gt;
====Running GAMESS====&lt;br /&gt;
- Make sure the directory /scratch/$USER/gamess-scratch exists (the $SCINET_RUNGMS script will create it if it does not exist)&lt;br /&gt;
&lt;br /&gt;
- Make sure the modules: intel, intelmpi, gamess are loaded (in your .bashrc: &amp;quot;module load intel intelmpi gamess&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
- Create a torque script to run GAMESS.  Here is an example:&lt;br /&gt;
&lt;br /&gt;
- The GAMESS executable is in $SCINET_GAMESS_HOME/gamess.00.x&lt;br /&gt;
- The rungms script is in $SCINET_GAMESS_HOME/rungms (actually it is $SCINET_RUNGMS)&lt;br /&gt;
&lt;br /&gt;
- For IB multinode runs, use the $SCINET_RUNGMS_IB script&lt;br /&gt;
&lt;br /&gt;
- The rungms script takes 4 arguments:  input file, executable number, number of compute processes, processors per node&lt;br /&gt;
&lt;br /&gt;
For example, in order to run with the input file /scratch/$USER/gamesstest01, on 8 cpus, and the default version (00)&lt;br /&gt;
of the executable on a machine with 8 cores:&lt;br /&gt;
&lt;br /&gt;
   # load the gamess module in .bashrc&lt;br /&gt;
   module load gamess  &lt;br /&gt;
&lt;br /&gt;
   # run the program&lt;br /&gt;
   $SCINET_RUNGMS /scratch/$USER/gamesstest01 00 8 8&lt;br /&gt;
&lt;br /&gt;
Here is a sample torque script for running a GAMESS calculation, on a single 8-core node:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#PBS -l nodes=1:ppn=8,walltime=48:00:00,os=centos53computeA&lt;br /&gt;
#PBS -N gamessjob&lt;br /&gt;
&lt;br /&gt;
## To submit type: qsub gms.sh&lt;br /&gt;
&lt;br /&gt;
# If not an interactive job (i.e. -I), then cd into the directory where&lt;br /&gt;
# I typed qsub.&lt;br /&gt;
if [ &amp;quot;$PBS_ENVIRONMENT&amp;quot; != &amp;quot;PBS_INTERACTIVE&amp;quot; ]; then&lt;br /&gt;
   if [ -n &amp;quot;$PBS_O_WORKDIR&amp;quot; ]; then&lt;br /&gt;
     cd $PBS_O_WORKDIR&lt;br /&gt;
   fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# the input file is typically named something like &amp;quot;gamesjob.inp&amp;quot;&lt;br /&gt;
# so the script will be run like &amp;quot;$SCINET_RUNGMS gamessjob 00 8 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# load the gamess module if not in .bashrc already&lt;br /&gt;
# actually, it MUST be in .bashrc&lt;br /&gt;
# module load gamess&lt;br /&gt;
&lt;br /&gt;
# run the program&lt;br /&gt;
&lt;br /&gt;
$SCINET_RUNGMS gamessjob 00 8 8&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a similar script, but this one uses 2 InfiniBand-connected nodes,&lt;br /&gt;
and runs the appropriate $SCINET_RUNGMS_IB script to actually run the job:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#PBS -l nodes=2:ib:ppn=8,walltime=48:00:00,os=centos53computeA&lt;br /&gt;
#PBS -N gamessjob&lt;br /&gt;
&lt;br /&gt;
## To submit type: qsub gmsib.sh&lt;br /&gt;
&lt;br /&gt;
# If not an interactive job (i.e. -I), then cd into the directory where&lt;br /&gt;
# I typed qsub.&lt;br /&gt;
if [ &amp;quot;$PBS_ENVIRONMENT&amp;quot; != &amp;quot;PBS_INTERACTIVE&amp;quot; ]; then&lt;br /&gt;
   if [ -n &amp;quot;$PBS_O_WORKDIR&amp;quot; ]; then&lt;br /&gt;
     cd $PBS_O_WORKDIR&lt;br /&gt;
   fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# the input file is typically named something like &amp;quot;gamesjob.inp&amp;quot;&lt;br /&gt;
# so the script will be run like &amp;quot;$SCINET_RUNGMS gamessjob 00 8 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# load the gamess module if not in .bashrc already&lt;br /&gt;
# actually, it MUST be in .bashrc&lt;br /&gt;
# module load gamess&lt;br /&gt;
&lt;br /&gt;
# This script requests InfiniBand-connected nodes (:ib above)&lt;br /&gt;
# so it must run with the IB version of the rungms script,&lt;br /&gt;
# $SCINET_RUNGMS_IB&lt;br /&gt;
&lt;br /&gt;
$SCINET_RUNGMS_IB gamessjob 00 16 8&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
-- [[User:Dgruner|dgruner]]  5 October 2009&lt;br /&gt;
&lt;br /&gt;
===Tips from the Fekl Lab===&lt;br /&gt;
&lt;br /&gt;
Through trial and error, we have found a few useful things that we would like to share:&lt;br /&gt;
&lt;br /&gt;
1. Two very useful, open-source programs for visualization of output files from GAMESS(US) and for generation of input files are [http://www.scl.ameslab.gov/MacMolPlt/ MacMolPlt]and [http://avogadro.openmolecules.net/wiki/Main_Page Avogadro].  The are available for UNIX/LINUX, Windows and Mac based machines, HOWEVER:  any input files that we have generated with these programs on a Windows-based machine do not run on Mac based machines.  We don't know why.&lt;br /&gt;
&lt;br /&gt;
2. [http://winscp.net/eng/index.php WinSCP] is a very useful tool that has a graphical user interface for moving files from a local machine to SCINET and vice versa.  It also has text editing capabilities.&lt;br /&gt;
&lt;br /&gt;
3. The [https://bse.pnl.gov/bse/portal ESML Basis Set Exchange] is an excellent source for custom basis set or effective core potential parameters.  Make sure that you specify &amp;quot;Gamess-US&amp;quot; in the format drop-down box.&lt;br /&gt;
&lt;br /&gt;
4.  The commercial program [http://www.chemcraftprog.com/ ChemCraft] is a highly useful visualization program that has the ability to edit molecules in a very similar fashion to GaussView.  It can also be customized to build GAMESS(US) input files.&lt;br /&gt;
&lt;br /&gt;
====Anatomy of a GAMESS(US) Input File with Basis Set Info in an External File====&lt;br /&gt;
&lt;br /&gt;
  $CONTRL SCFTYP=RHF RUNTYP=OPTIMIZE DFTTYP=M06-L MAXIT=199 MULT=1 NOSYM=1&lt;br /&gt;
   ECP=READ $END&lt;br /&gt;
  $SYSTEM TIMLIM=525600 MWORDS=1750 PARALL=.TRUE. $END&lt;br /&gt;
  $BASIS GBASIS=CUSTOMNI EXTFIL=.t. $END&lt;br /&gt;
  $SCF DIRSCF=.TRUE. FDIFF=.f. $END&lt;br /&gt;
  $STATPT OPTTOL=0.0001 NSTEP=500 HSSEND=.t. $END&lt;br /&gt;
  $DATA&lt;br /&gt;
  Mo_BDT3&lt;br /&gt;
 C1&lt;br /&gt;
 MOLYBDENUM 42.0      5.7556500000      4.4039600000     16.5808400000&lt;br /&gt;
 SULFUR     16.0      7.4169700000      3.1956300000     15.2089300000&lt;br /&gt;
 SULFUR     16.0      4.0966800000      3.2258300000     15.1761100000&lt;br /&gt;
 SULFUR     16.0      3.9677300000      4.4940500000     18.3266100000&lt;br /&gt;
 SULFUR     16.0      7.1776900000      3.5815000000     18.4485200000&lt;br /&gt;
 SULFUR     16.0      4.3776600000      6.2447400000     15.6786900000&lt;br /&gt;
 SULFUR     16.0      7.5478700000      6.0679800000     16.2223700000&lt;br /&gt;
 CARBON      6.0      6.4716900000      2.1004800000     14.1902300000&lt;br /&gt;
 CARBON      6.0      5.0690300000      2.1781400000     14.1080700000&lt;br /&gt;
 CARBON      6.0      4.8421800000      4.2701300000     19.8855500000&lt;br /&gt;
 CARBON      6.0      6.1969000000      3.9249600000     19.9397400000&lt;br /&gt;
 CARBON      6.0      6.8280600000      3.7834200000     21.1913200000&lt;br /&gt;
 CARBON      6.0      5.7697600000      7.6933500000     17.4241800000&lt;br /&gt;
 CARBON      6.0      7.2043100000      7.9413600000     17.8281100000&lt;br /&gt;
 CARBON      6.0      5.5051400000      7.0409700000     14.5903800000&lt;br /&gt;
 CARBON      6.0      6.8905200000      6.9194700000     14.7626200000&lt;br /&gt;
 CARBON      6.0      7.7396400000      7.5379800000     13.8285700000&lt;br /&gt;
 HYDROGEN    1.0      8.8190700000      7.4520600000     13.9252200000&lt;br /&gt;
 CARBON      6.0      7.2169400000      8.2960300000     12.7704100000&lt;br /&gt;
 HYDROGEN    1.0      7.8667000000      8.7825100000     12.0575600000&lt;br /&gt;
 CARBON      6.0      5.8260300000      8.4502300000     12.6467800000&lt;br /&gt;
 HYDROGEN    1.0      5.4143000000      9.0544300000     11.8493100000&lt;br /&gt;
 CARBON      6.0      4.9881500000      7.8192300000     13.5528400000&lt;br /&gt;
 HYDROGEN    1.0      3.9090500000      7.9420000000     13.4583700000&lt;br /&gt;
 CARBON      6.0      7.1538500000      1.1569600000     13.4143900000&lt;br /&gt;
 CARBON      6.0      4.4018100000      1.3603900000     13.1919900000&lt;br /&gt;
 CARBON      6.0      6.4791600000      0.3185500000     12.5353300000&lt;br /&gt;
 CARBON      6.0      5.0837400000      0.4369500000     12.4084900000&lt;br /&gt;
 HYDROGEN    1.0      7.0116000000     -0.4099400000     11.9434600000&lt;br /&gt;
 HYDROGEN    1.0      8.2399000000      1.0702400000     13.4937600000&lt;br /&gt;
 HYDROGEN    1.0      3.3185600000      1.4368700000     13.0953100000&lt;br /&gt;
 HYDROGEN    1.0      4.5549800000     -0.1997300000     11.7165200000&lt;br /&gt;
 CARBON      6.0      6.1105700000      3.9639000000     22.3866100000&lt;br /&gt;
 CARBON      6.0      4.1216300000      4.4424400000     21.1020100000&lt;br /&gt;
 HYDROGEN    1.0      7.8732900000      3.5217100000     21.2520500000&lt;br /&gt;
 CARBON      6.0      4.7606000000      4.2868500000     22.3363800000&lt;br /&gt;
 HYDROGEN    1.0      6.6064200000      3.8406000000     23.3428500000&lt;br /&gt;
 HYDROGEN    1.0      4.2065000000      4.4170700000     23.2667100000&lt;br /&gt;
 HYDROGEN    1.0      3.0674000000      4.6893500000     21.0889000000&lt;br /&gt;
 HYDROGEN    1.0      7.4249200000      7.7545300000     18.8583200000&lt;br /&gt;
 HYDROGEN    1.0      7.6651700000      8.9049700000     17.7652100000&lt;br /&gt;
 HYDROGEN    1.0      5.3324000000      8.6487800000     17.2222700000&lt;br /&gt;
 HYDROGEN    1.0      5.5015000000      7.1039000000     18.2759400000&lt;br /&gt;
  $END&lt;br /&gt;
  $ECP&lt;br /&gt;
 MO-ECP GEN     28     3&lt;br /&gt;
  5      ----- f potential     -----&lt;br /&gt;
     -0.0469492        0    537.9667807        &lt;br /&gt;
    -20.2080084        1    147.8982938        &lt;br /&gt;
   -106.2116302        2     45.7358898        &lt;br /&gt;
    -41.8107368        2     13.2911467        &lt;br /&gt;
     -4.2054103        2      4.7059961        &lt;br /&gt;
  3      ----- s-f potential     -----&lt;br /&gt;
      2.8063717        0    110.2991760        &lt;br /&gt;
     44.5162012        1     23.2014645        &lt;br /&gt;
     82.7785227        2      5.3530131        &lt;br /&gt;
  4      ----- p-f potential     -----&lt;br /&gt;
      4.9420876        0     63.2901397        &lt;br /&gt;
     25.8604976        1     23.3315302        &lt;br /&gt;
    132.4708742        2     24.6759423        &lt;br /&gt;
     57.3149794        2      4.6493040        &lt;br /&gt;
  5      ----- d-f potential     -----&lt;br /&gt;
      3.0054591        0    104.4839977        &lt;br /&gt;
     26.3637851        1     66.2307245        &lt;br /&gt;
    183.3849199        2     39.1283176        &lt;br /&gt;
     98.4453068        2     13.1164437        &lt;br /&gt;
     22.4901377        2      3.6280263 &lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
=====The Input Deck=====&lt;br /&gt;
&lt;br /&gt;
Below is the input deck.  It is where you tell GAMESS(US) what job type to execute and where all you individual parameters are entered for your specific job type.  The example input deck below is for a geometry optimization and frequency calculation.  This input deck is equivalent to the Gaussian job with &amp;quot;opt&amp;quot; and &amp;quot;freq&amp;quot; in the route section.&lt;br /&gt;
&lt;br /&gt;
  $CONTRL SCFTYP=RHF RUNTYP=OPTIMIZE DFTTYP=M06-L MAXIT=199 MULT=1 NOSYM=1&lt;br /&gt;
   ECP=READ $END&lt;br /&gt;
  $SYSTEM TIMLIM=2850 MWORDS=1750 MEMDDI=20 PARALL=.TRUE. $END&lt;br /&gt;
  $BASIS GBASIS=CUSTOMNI EXTFIL=.t. $END&lt;br /&gt;
  $SCF DIRSCF=.TRUE. FDIFF=.f. $END&lt;br /&gt;
  $STATPT OPTTOL=0.0001 NSTEP=500 HSSEND=.t. $END&lt;br /&gt;
  $DATA&lt;br /&gt;
&lt;br /&gt;
An important thing to note is the spacing.  In the input deck, there must be 1 space at the beginning of each line of the input deck.  If not, the job will fail.  Most builders will insert this space anyway, but it helps to double check.&lt;br /&gt;
&lt;br /&gt;
The end of the input deck is marked by the &amp;quot;$DATA&amp;quot; line.&lt;br /&gt;
&lt;br /&gt;
=====Job Title Line=====&lt;br /&gt;
&lt;br /&gt;
The next line of the file is the job title.  It can be anthing you wish, however, we have found that to be on the safe side, we avoide using symbols or spaces&lt;br /&gt;
&lt;br /&gt;
  Mo_BDT3&lt;br /&gt;
&lt;br /&gt;
=====Symmetry Point Group=====&lt;br /&gt;
&lt;br /&gt;
The next line of the file is the symmetry point group of your molecule.  Note that there is no leading space before the point group.&lt;br /&gt;
&lt;br /&gt;
 C1&lt;br /&gt;
&lt;br /&gt;
=====Coordinates=====&lt;br /&gt;
&lt;br /&gt;
The next block of text is set aside for the coordinates of the molecule.  This can be in internal (or z-matrix) format or cartesian coordinates.  Note that there is no leading space before the coordinates.  One may use the chemical symbol or the full name of each atom in the molecule.  Note that the end of the coordinates is signified by an &amp;quot;$END&amp;quot;, which MUST have one space preceding it.  The coordinates below do NOT have any basis set information inserted.  It is possible to insert basis set information directly into the input file.  This is accomplished by obtaining the desired basis set parameters from the EMSL and then inserting them below each relevant atom.  An example input file with inserted basis set information will be shown later.&lt;br /&gt;
&lt;br /&gt;
 MOLYBDENUM 42.0      5.7556500000      4.4039600000     16.5808400000&lt;br /&gt;
 SULFUR     16.0      7.4169700000      3.1956300000     15.2089300000&lt;br /&gt;
 SULFUR     16.0      4.0966800000      3.2258300000     15.1761100000&lt;br /&gt;
 SULFUR     16.0      3.9677300000      4.4940500000     18.3266100000&lt;br /&gt;
 SULFUR     16.0      7.1776900000      3.5815000000     18.4485200000&lt;br /&gt;
 SULFUR     16.0      4.3776600000      6.2447400000     15.6786900000&lt;br /&gt;
 SULFUR     16.0      7.5478700000      6.0679800000     16.2223700000&lt;br /&gt;
 CARBON      6.0      6.4716900000      2.1004800000     14.1902300000&lt;br /&gt;
 CARBON      6.0      5.0690300000      2.1781400000     14.1080700000&lt;br /&gt;
 CARBON      6.0      4.8421800000      4.2701300000     19.8855500000&lt;br /&gt;
 CARBON      6.0      6.1969000000      3.9249600000     19.9397400000&lt;br /&gt;
 CARBON      6.0      6.8280600000      3.7834200000     21.1913200000&lt;br /&gt;
 CARBON      6.0      5.7697600000      7.6933500000     17.4241800000&lt;br /&gt;
 CARBON      6.0      7.2043100000      7.9413600000     17.8281100000&lt;br /&gt;
 CARBON      6.0      5.5051400000      7.0409700000     14.5903800000&lt;br /&gt;
 CARBON      6.0      6.8905200000      6.9194700000     14.7626200000&lt;br /&gt;
 CARBON      6.0      7.7396400000      7.5379800000     13.8285700000&lt;br /&gt;
 HYDROGEN    1.0      8.8190700000      7.4520600000     13.9252200000&lt;br /&gt;
 CARBON      6.0      7.2169400000      8.2960300000     12.7704100000&lt;br /&gt;
 HYDROGEN    1.0      7.8667000000      8.7825100000     12.0575600000&lt;br /&gt;
 CARBON      6.0      5.8260300000      8.4502300000     12.6467800000&lt;br /&gt;
 HYDROGEN    1.0      5.4143000000      9.0544300000     11.8493100000&lt;br /&gt;
 CARBON      6.0      4.9881500000      7.8192300000     13.5528400000&lt;br /&gt;
 HYDROGEN    1.0      3.9090500000      7.9420000000     13.4583700000&lt;br /&gt;
 CARBON      6.0      7.1538500000      1.1569600000     13.4143900000&lt;br /&gt;
 CARBON      6.0      4.4018100000      1.3603900000     13.1919900000&lt;br /&gt;
 CARBON      6.0      6.4791600000      0.3185500000     12.5353300000&lt;br /&gt;
 CARBON      6.0      5.0837400000      0.4369500000     12.4084900000&lt;br /&gt;
 HYDROGEN    1.0      7.0116000000     -0.4099400000     11.9434600000&lt;br /&gt;
 HYDROGEN    1.0      8.2399000000      1.0702400000     13.4937600000&lt;br /&gt;
 HYDROGEN    1.0      3.3185600000      1.4368700000     13.0953100000&lt;br /&gt;
 HYDROGEN    1.0      4.5549800000     -0.1997300000     11.7165200000&lt;br /&gt;
 CARBON      6.0      6.1105700000      3.9639000000     22.3866100000&lt;br /&gt;
 CARBON      6.0      4.1216300000      4.4424400000     21.1020100000&lt;br /&gt;
 HYDROGEN    1.0      7.8732900000      3.5217100000     21.2520500000&lt;br /&gt;
 CARBON      6.0      4.7606000000      4.2868500000     22.3363800000&lt;br /&gt;
 HYDROGEN    1.0      6.6064200000      3.8406000000     23.3428500000&lt;br /&gt;
 HYDROGEN    1.0      4.2065000000      4.4170700000     23.2667100000&lt;br /&gt;
 HYDROGEN    1.0      3.0674000000      4.6893500000     21.0889000000&lt;br /&gt;
 HYDROGEN    1.0      7.4249200000      7.7545300000     18.8583200000&lt;br /&gt;
 HYDROGEN    1.0      7.6651700000      8.9049700000     17.7652100000&lt;br /&gt;
 HYDROGEN    1.0      5.3324000000      8.6487800000     17.2222700000&lt;br /&gt;
 HYDROGEN    1.0      5.5015000000      7.1039000000     18.2759400000&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
=====Effective Core Potential Data=====&lt;br /&gt;
&lt;br /&gt;
The effective core potential (ECP) data is entered after the coordinates.  It starts with &amp;quot;$ECP&amp;quot;, which must be preceded with a space.   The atoms of the molecule are listed in the same order as in the coordinates section and the parameters for the ECP are listed after each atom.  Note that for any atom that does NOT have an ECP, one must enter &amp;quot;ECP-NONE&amp;quot; or &amp;quot;NONE&amp;quot; after each atom without an ECP.&lt;br /&gt;
&lt;br /&gt;
 $ECP&lt;br /&gt;
 MO-ECP GEN     28     3&lt;br /&gt;
  5      ----- f potential     -----&lt;br /&gt;
     -0.0469492        0    537.9667807        &lt;br /&gt;
    -20.2080084        1    147.8982938        &lt;br /&gt;
   -106.2116302        2     45.7358898        &lt;br /&gt;
    -41.8107368        2     13.2911467        &lt;br /&gt;
     -4.2054103        2      4.7059961        &lt;br /&gt;
  3      ----- s-f potential     -----&lt;br /&gt;
      2.8063717        0    110.2991760        &lt;br /&gt;
     44.5162012        1     23.2014645        &lt;br /&gt;
     82.7785227        2      5.3530131        &lt;br /&gt;
  4      ----- p-f potential     -----&lt;br /&gt;
      4.9420876        0     63.2901397        &lt;br /&gt;
     25.8604976        1     23.3315302        &lt;br /&gt;
    132.4708742        2     24.6759423        &lt;br /&gt;
     57.3149794        2      4.6493040        &lt;br /&gt;
  5      ----- d-f potential     -----&lt;br /&gt;
      3.0054591        0    104.4839977        &lt;br /&gt;
     26.3637851        1     66.2307245        &lt;br /&gt;
    183.3849199        2     39.1283176        &lt;br /&gt;
     98.4453068        2     13.1164437        &lt;br /&gt;
     22.4901377        2      3.6280263 &lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
-- [[User:M.Zimmer-De Iuliis|mzd]]  16 November 2009&lt;br /&gt;
&lt;br /&gt;
====Using Effective Core Potentials in GAMESS(US)====&lt;br /&gt;
&lt;br /&gt;
For many metal containing compounds, it is very convenient and time saving to use an effective core potential (ECP) for the core metal electrons, as they are usually not important to the reactivity of the complex or the geometry around the metal.  Since GAMESS(US) has a limited number of built-in ECPs, one may want to make GAMESS(US) read an external file that contains the ECP data using the &amp;quot;EXTFIL&amp;quot; keyword in the $GBASIS command line of the input file.  In addition, to make GAMESS(US) use this external file, one must copy the &amp;quot;rungms&amp;quot; file and modify it accordingly.  The following is a list of instructions with commands that will work from a terminal.  One could also use WinSCP to do all of this with a GUI rather than a TUI.  &lt;br /&gt;
&lt;br /&gt;
=====Modifiying rungms to Use Custom Basis Set File=====&lt;br /&gt;
1. Copy &amp;quot;rungms&amp;quot; from /scinet/gpc/Applications/gamess to one's own /scratch/$USER/ directory:&lt;br /&gt;
 cp /scinet/gpc/Applications/gamess/rungms /scratch/$USER/&lt;br /&gt;
&lt;br /&gt;
2. Change to the scratch directory and check to see if &amp;quot;rungms&amp;quot; has copied successfully.&lt;br /&gt;
 cd /scratch/$USER&lt;br /&gt;
 ls&lt;br /&gt;
&lt;br /&gt;
3. Edit line 147 of the vi.  &lt;br /&gt;
 vi rungms&lt;br /&gt;
Move the cursor down to line 147 using the arrow keys.  It should say &amp;quot;setenv EXTBAS /dev/null&amp;quot;.  Using the arrow keys, move the cursor to the first &amp;quot;/&amp;quot; and then hit &amp;quot;i&amp;quot; to insert text.  Put the path to your external basis file here.  For example, /scratch/$USER/basisset.  Then hit &amp;quot;escape&amp;quot;.  To save the changes and exit vi, type &amp;quot;:&amp;quot; and you should see a colon appear at the bottom of the window.  Type &amp;quot;wq&amp;quot; (which should appear at the bottom of the window next to the colon) and then hit enter.  Now you are done with vi.&lt;br /&gt;
&lt;br /&gt;
=====Creating a Custom Basis Set File=====&lt;br /&gt;
1. To create a custom basis set file, you need create a new text document.  Our group's common practice is to comment out the first line of this file by inserting an exclamation mark (!) followed by noting the specific basis sets and ECPs that are going to be used for each of the atoms.  Let us the molecule Mo(CO)6, Molybdenum hexacarbonyl, as an example.  Below is the first line of the the external file, which we will call &amp;quot;CUSTOMMO&amp;quot;  (NOTE:  you can use any name for the external file that suits you, as long as it has no spaces and is 8 characters or less).&lt;br /&gt;
&lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&lt;br /&gt;
&lt;br /&gt;
2. The next step is to visit the [https://bse.pnl.gov/bse/portal EMSL Basis Set exchange] and select C and O from the periodic table.  Then, on the left of the page, select &amp;quot;6-31G&amp;quot; as the basis set.  Finally, make sure the output is in GAMESS(US) format using the drop-down menu and then click &amp;quot;get basis set&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:C_O_6_31G_basisset.JPG|centre]]&lt;br /&gt;
&lt;br /&gt;
3. A new window should appear with text in it.  For our example case, the text looks like this:&lt;br /&gt;
 &lt;br /&gt;
 !  6-31G  EMSL  Basis Set Exchange Library   10/13/09 11:12 AM&lt;br /&gt;
 ! Elements                             References&lt;br /&gt;
 ! --------                             ----------&lt;br /&gt;
 ! H - He: W.J. Hehre, R. Ditchfield and J.A. Pople, J. Chem. Phys. 56,&lt;br /&gt;
 ! Li - Ne: 2257 (1972).  Note: Li and B come from J.D. Dill and J.A.&lt;br /&gt;
 ! Pople, J. Chem. Phys. 62, 2921 (1975).&lt;br /&gt;
 ! Na - Ar: M.M. Francl, W.J. Petro, W.J. Hehre, J.S. Binkley, M.S. Gordon,&lt;br /&gt;
 ! D.J. DeFrees and J.A. Pople, J. Chem. Phys. 77, 3654 (1982)&lt;br /&gt;
 ! K  - Zn: V. Rassolov, J.A. Pople, M. Ratner and T.L. Windus, J. Chem. Phys.&lt;br /&gt;
 ! 109, 1223 (1998)&lt;br /&gt;
 ! Note: He and Ne are unpublished basis sets taken from the Gaussian&lt;br /&gt;
 ! program&lt;br /&gt;
 ! &lt;br /&gt;
 $DATA&amp;lt;br /&amp;gt;&lt;br /&gt;
 CARBON&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 OXYGEN&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000        &lt;br /&gt;
 $END&lt;br /&gt;
&lt;br /&gt;
3. Now, copy and paste the text between the $DATA and $END headings onto our external text file, CUSTOMMO.  We also need to change the change the name of each element to it symbol in the periodic table.  Finally, we need to add the name of the external file next to the element symbol, separated by one space.  Note that there should be a blank line separating the basis set information and the first, commented-out line (The line starting with the '!').  The CUSTOMMO should look like this:&lt;br /&gt;
 &lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&amp;lt;br /&amp;gt;&lt;br /&gt;
 C CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 O CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000 &lt;br /&gt;
&lt;br /&gt;
4. Repeat Step 3 above but choose Mo and select the LANL2DZ ECP instead.  A new window will pop up with the basis set information as well as the ECP data we need, since we specified the LANL2DZ '''ECP'''.  The ECP data is not inserted into the external file, rather it is placed into the input file itself (More on this later).  &lt;br /&gt;
&lt;br /&gt;
[[File:Mo_LANL2DZ_basisset.JPG|centre]]&lt;br /&gt;
&lt;br /&gt;
5.  After copying the molybdenum basis set information, your fiished external basis set file should look like this:&lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&amp;lt;br /&amp;gt;&lt;br /&gt;
 C CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 O CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000&amp;lt;br /&amp;gt; &lt;br /&gt;
 Mo CUSTOMO&lt;br /&gt;
 S   3&lt;br /&gt;
   1      2.3610000             -0.9121760        &lt;br /&gt;
   2      1.3090000              1.1477453        &lt;br /&gt;
   3      0.4500000              0.6097109        &lt;br /&gt;
 S   4&lt;br /&gt;
   1      2.3610000              0.8139259        &lt;br /&gt;
   2      1.3090000             -1.1360084        &lt;br /&gt;
   3      0.4500000             -1.1611592        &lt;br /&gt;
   4      0.1681000              1.0064786        &lt;br /&gt;
 S   1&lt;br /&gt;
   1      0.0423000              1.0000000        &lt;br /&gt;
 P   3&lt;br /&gt;
   1      4.8950000             -0.0908258        &lt;br /&gt;
   2      1.0440000              0.7042899        &lt;br /&gt;
   3      0.3877000              0.3973179        &lt;br /&gt;
 P   2&lt;br /&gt;
   1      0.4995000             -0.1081945        &lt;br /&gt;
   2      0.0780000              1.0368093        &lt;br /&gt;
 P   1&lt;br /&gt;
   1      0.0247000              1.0000000        &lt;br /&gt;
 D   3&lt;br /&gt;
   1      2.9930000              0.0527063        &lt;br /&gt;
   2      1.0630000              0.5003907        &lt;br /&gt;
   3      0.3721000              0.5794024        &lt;br /&gt;
 D   1&lt;br /&gt;
   1      0.1178000              1.0000000&lt;br /&gt;
&lt;br /&gt;
-- [[User:M.Zimmer-De Iuliis|mzd]]  13 October 2009&lt;br /&gt;
&lt;br /&gt;
==Climate Modelling==&lt;br /&gt;
&lt;br /&gt;
==Medicine/Bio==&lt;br /&gt;
&lt;br /&gt;
==High Energy Physics==&lt;br /&gt;
&lt;br /&gt;
==Structural Biology==&lt;br /&gt;
Molecular simulation of proteins, lipids, carbohydrates, and other biologically relevant molecules.&lt;br /&gt;
===Molecular Dynamics (MD) simulation===&lt;br /&gt;
====GROMACS====&lt;br /&gt;
Please refer to the [[gromacs|GROMACS]] page&lt;br /&gt;
====AMBER====&lt;br /&gt;
Please refer to the [[amber|AMBER]] page&lt;br /&gt;
====NAMD====&lt;br /&gt;
NAMD is one of the better scaling MD packages out there. With sufficiently large systems, it is able to scale to hundreds or thousands of cores on Scinet. Below are details for compiling and running NAMD on Scinet.&lt;br /&gt;
&lt;br /&gt;
More information regarding performance and different compile options coming soon...&lt;br /&gt;
&lt;br /&gt;
=====Compiling NAMD for GPC=====&lt;br /&gt;
Ensure the proper compiler/mpi modules are loaded.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
module load intel&lt;br /&gt;
module load openmpi/1.3.3-intel-v11.0-ofed&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Compile Charm++ and NAMD'''&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
#Unpack source files and get required support libraries&lt;br /&gt;
tar -xzf NAMD_2.7b1_Source.tar.gz&lt;br /&gt;
cd NAMD_2.7b1_Source&lt;br /&gt;
tar -xf charm-6.1.tar&lt;br /&gt;
wget http://www.ks.uiuc.edu/Research/namd/libraries/fftw-linux-x86_64.tar.gz&lt;br /&gt;
wget http://www.ks.uiuc.edu/Research/namd/libraries/tcl-linux-x86_64.tar.gz&lt;br /&gt;
tar -xzf fftw-linux-x86_64.tar.gz; mv linux-x86_64 fftw&lt;br /&gt;
tar -xzf tcl-linux-x86_64.tar.gz; mv linux-x86_64 tcl&lt;br /&gt;
#Compile Charm++&lt;br /&gt;
cd charm-6.1&lt;br /&gt;
./build charm++ mpi-linux-x86_64 icc --basedir /scinet/gpc/mpi/openmpi/1.3.3-intel-v11.0-ofed/ --no-shared -O -DCMK_OPTIMIZE=1&lt;br /&gt;
cd ..&lt;br /&gt;
#Compile NAMD. &lt;br /&gt;
#Edit arch/Linux-x86_64-icc.arch and add &amp;quot;-lmpi&amp;quot; to the end of the CXXOPTS and COPTS line.&lt;br /&gt;
#Make a builds directory if you want different versions of NAMD compiled at the same time.&lt;br /&gt;
mkdir builds&lt;br /&gt;
./config builds/Linux-x86_64-icc --charm-arch mpi-linux-x86_64-icc&lt;br /&gt;
cd builds/Linux-x86_64-icc/&lt;br /&gt;
make -j4 namd2 # Adjust value of j as desired to specify number of simultaneous make targets. &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
--[[User:Cmadill|Cmadill]] 16:18, 27 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
=====Running Fortran=====&lt;br /&gt;
On the development nodes, there is an old gcc. The associated libraries are not on the compute nodes. Ensure the line:&lt;br /&gt;
&lt;br /&gt;
module load gcc&lt;br /&gt;
&lt;br /&gt;
is in your .bashrc file.&lt;br /&gt;
&lt;br /&gt;
====LAMMPS====&lt;br /&gt;
[[Image:StrongScalingLAMMPS.png|thumb|320px|right|Strong scaling test on GPC with OpenMPI and IntelMPI on Ethernet and InfiniBand]]&lt;br /&gt;
[[Image:WeakScalingLAMMPS.png|thumb|320px|right|Weak scaling test on GPC with OpenMPI and IntelMPI on Ethernet and InfiniBand]]&lt;br /&gt;
Results from strong scaling tests for LAMMPS using EAM potentials on GPC are shown in the graph on the right.  The test simulation ran 500 timesteps for 4,000,000 atoms.&lt;br /&gt;
&lt;br /&gt;
Results from weak scaling tests for LAMMPS using EAM potentials on GPC are shown in the graph on the right.  The test simulation ran 500 timesteps for 32,000 atoms per processor.&lt;br /&gt;
&lt;br /&gt;
OpenMPI version used: openmpi/1.4.1-intel-v11.0-ofed&lt;br /&gt;
&lt;br /&gt;
IntelMPI version used: intelmpi/impi-4.0.0.013&lt;br /&gt;
&lt;br /&gt;
Results show good scaling for both OpenMPI and IntelMPI up to 16 processors, after which performance begins to suffer.  On Infiniband, excellent scaling is maintained to 512 processors.&lt;br /&gt;
&lt;br /&gt;
IntelMPI shows slightly better performance compared to OpenMPI when running with Infiniband.&lt;br /&gt;
&lt;br /&gt;
--[[User:jchu|jchu]] Feb 2, 2010&lt;br /&gt;
&lt;br /&gt;
===Monte Carlo (MC) simulation===&lt;/div&gt;</summary>
		<author><name>Jchu</name></author>
	</entry>
	<entry>
		<id>https://oldwiki.scinet.utoronto.ca/index.php?title=User_Codes&amp;diff=878</id>
		<title>User Codes</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.scinet.utoronto.ca/index.php?title=User_Codes&amp;diff=878"/>
		<updated>2010-02-02T19:00:08Z</updated>

		<summary type="html">&lt;p&gt;Jchu: /* LAMMPS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&lt;br /&gt;
==Astrophysics==&lt;br /&gt;
&lt;br /&gt;
===Athena (explicit, uniform grid MHD code)===&lt;br /&gt;
&lt;br /&gt;
[[Image:StrongScalingAthenaGPC.png|thumb|right|320px|Athena scaling on GPC with OpenMPI and MVAPICH2 on GigE, and OpenMPI on InfiniBand]]&lt;br /&gt;
&lt;br /&gt;
[http://www.astro.princeton.edu/~jstone/athena.html Athena] is a straightforward C code which doesn't use a lot of libraries so it is pretty straightforward to build and compile on new machines.   &lt;br /&gt;
&lt;br /&gt;
It encapsulates its compiler flags, etc in an &amp;lt;tt&amp;gt;Makeoptions.in&amp;lt;/tt&amp;gt; file which is then processed by &amp;lt;tt&amp;gt;configure&amp;lt;/tt&amp;gt;.   I've used the following additions to &amp;lt;tt&amp;gt;Makeoptions.in&amp;lt;/tt&amp;gt; on TCS and GPC:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
ifeq ($(MACHINE),scinettcs)&lt;br /&gt;
  CC = mpcc_r&lt;br /&gt;
  LDR = mpcc_r&lt;br /&gt;
  OPT = -O5 -q64 -qarch=pwr6 -qtune=pwr6 -qcache=auto -qlargepage -qstrict&lt;br /&gt;
  MPIINC =&lt;br /&gt;
  MPILIB =&lt;br /&gt;
  CFLAGS = $(OPT)&lt;br /&gt;
  LIB = -ldl -lm&lt;br /&gt;
else&lt;br /&gt;
ifeq ($(MACHINE),scinetgpc)&lt;br /&gt;
  CC = mpicc&lt;br /&gt;
  LDR = mpicc&lt;br /&gt;
  OPT = -O3&lt;br /&gt;
  MPIINC =&lt;br /&gt;
  MPILIB =&lt;br /&gt;
  CFLAGS = $(OPT)&lt;br /&gt;
  LIB = -lm&lt;br /&gt;
else&lt;br /&gt;
...&lt;br /&gt;
endif&lt;br /&gt;
endif&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
It performs quite well on the GPC, scaling extremely well even on a strong scaling test out to about 256 cores (32 nodes) on Gigabit ethernet, and performing beautifully on InfiniBand out to 512 cores (64 nodes). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Ljdursi|ljdursi]]  19:20, 13 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
===FLASH3 (Adaptive Mesh reactive hydrodynamics; explict hydro/MHD)===&lt;br /&gt;
&lt;br /&gt;
[[Image:weak-scaling-example.png|thumb|right|320px|Weak scaling test of the 2d sod problem on both the GPC and TCS.  The results are actually somewhat faster on the GPC; in both cases (weak) scaling is very good out at least to 256 cores]]&lt;br /&gt;
&lt;br /&gt;
[http://flash.uchicago.edu FLASH] encapsulates its machine-dependant information in the &amp;lt;tt&amp;gt;FLASH3/sites&amp;lt;/tt&amp;gt; directory.  For the GPC, you'll have to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load intel&lt;br /&gt;
module load openmpi&lt;br /&gt;
module load hdf5/183-v16-openmpi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and with that, the following file (&amp;lt;tt&amp;gt;sites/scinetgpc/Makefile.h&amp;lt;/tt&amp;gt;) works for me:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
## Must do module load hdf5/183-v16-openmpi&lt;br /&gt;
HDF5_PATH = ${SCINET_HDF5_BASE}&lt;br /&gt;
ZLIB_PATH = /usr/local&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Compiler and linker commands&lt;br /&gt;
#&lt;br /&gt;
#  We use the f90 compiler as the linker, so some C libraries may explicitly&lt;br /&gt;
#  need to be added into the link line.&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
## modules will put the right mpi in our path&lt;br /&gt;
FCOMP   = mpif77&lt;br /&gt;
CCOMP   = mpicc&lt;br /&gt;
CPPCOMP = mpiCC&lt;br /&gt;
LINK    = mpif77&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Compilation flags&lt;br /&gt;
#&lt;br /&gt;
#  Three sets of compilation/linking flags are defined: one for optimized&lt;br /&gt;
#  code, one for testing, and one for debugging.  The default is to use the &lt;br /&gt;
#  _OPT version.  Specifying -debug to setup will pick the _DEBUG version,&lt;br /&gt;
#  these should enable bounds checking.  Specifying -test is used for &lt;br /&gt;
#  flash_test, and is set for quick code generation, and (sometimes) &lt;br /&gt;
#  profiling.  The Makefile generated by setup will assign the generic token &lt;br /&gt;
#  (ex. FFLAGS) to the proper set of flags (ex. FFLAGS_OPT).&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
FFLAGS_OPT   =  -c -r8 -i4 -O3 -xSSE4.2&lt;br /&gt;
FFLAGS_DEBUG =  -c -g -r8 -i4 -O0&lt;br /&gt;
FFLAGS_TEST  =  -c -r8 -i4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# if we are using HDF5, we need to specify the path to the include files&lt;br /&gt;
CFLAGS_HDF5  = -I${HDF5_PATH}/include&lt;br /&gt;
&lt;br /&gt;
CFLAGS_OPT   = -c -O3 -xSSE4.2&lt;br /&gt;
CFLAGS_TEST  = -c -O2 &lt;br /&gt;
CFLAGS_DEBUG = -c -g  &lt;br /&gt;
&lt;br /&gt;
MDEFS = &lt;br /&gt;
&lt;br /&gt;
.SUFFIXES: .o .c .f .F .h .fh .F90 .f90&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Linker flags&lt;br /&gt;
#&lt;br /&gt;
#  There is a seperate version of the linker flags for each of the _OPT, &lt;br /&gt;
#  _DEBUG, and _TEST cases.&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
LFLAGS_OPT   = -o&lt;br /&gt;
LFLAGS_TEST  = -o&lt;br /&gt;
LFLAGS_DEBUG = -g -o&lt;br /&gt;
&lt;br /&gt;
MACHOBJ = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MV = mv -f&lt;br /&gt;
AR = ar -r&lt;br /&gt;
RM = rm -f&lt;br /&gt;
CD = cd&lt;br /&gt;
RL = ranlib&lt;br /&gt;
ECHO = echo&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Ljdursi|ljdursi]] 22:11, 13 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Aeronautics==&lt;br /&gt;
&lt;br /&gt;
==Chemistry==&lt;br /&gt;
&lt;br /&gt;
===GAMESS (US)===&lt;br /&gt;
The GAMESS version January 12, 2009 R3 was built using the Intel v11.1 compilers and v3.2.2 MPI library, according to the instructions in http://software.intel.com/en-us/articles/building-gamess-with-intel-compilers-intel-mkl-and-intel-mpi-on-linux/&lt;br /&gt;
&lt;br /&gt;
The required build scripts - comp, compall, lked - and run script - rungms - were modified to account for our own installation.  In order to build GAMESS one first must ensure that the intel and intelmpi modules are loaded (&amp;quot;module load intel intelmpi&amp;quot;).  This applies to running GAMESS as well.&lt;br /&gt;
The module &amp;quot;gamess&amp;quot; must also be loaded in order to run GAMESS (&amp;quot;module load gamess&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
The modified scripts are in the file /scinet/gpc/src/gamess-on-scinet.tar.gz&lt;br /&gt;
&lt;br /&gt;
====Running GAMESS====&lt;br /&gt;
- Make sure the directory /scratch/$USER/gamess-scratch exists (the $SCINET_RUNGMS script will create it if it does not exist)&lt;br /&gt;
&lt;br /&gt;
- Make sure the modules: intel, intelmpi, gamess are loaded (in your .bashrc: &amp;quot;module load intel intelmpi gamess&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
- Create a torque script to run GAMESS.  Here is an example:&lt;br /&gt;
&lt;br /&gt;
- The GAMESS executable is in $SCINET_GAMESS_HOME/gamess.00.x&lt;br /&gt;
- The rungms script is in $SCINET_GAMESS_HOME/rungms (actually it is $SCINET_RUNGMS)&lt;br /&gt;
&lt;br /&gt;
- For IB multinode runs, use the $SCINET_RUNGMS_IB script&lt;br /&gt;
&lt;br /&gt;
- The rungms script takes 4 arguments:  input file, executable number, number of compute processes, processors per node&lt;br /&gt;
&lt;br /&gt;
For example, in order to run with the input file /scratch/$USER/gamesstest01, on 8 cpus, and the default version (00)&lt;br /&gt;
of the executable on a machine with 8 cores:&lt;br /&gt;
&lt;br /&gt;
   # load the gamess module in .bashrc&lt;br /&gt;
   module load gamess  &lt;br /&gt;
&lt;br /&gt;
   # run the program&lt;br /&gt;
   $SCINET_RUNGMS /scratch/$USER/gamesstest01 00 8 8&lt;br /&gt;
&lt;br /&gt;
Here is a sample torque script for running a GAMESS calculation, on a single 8-core node:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#PBS -l nodes=1:ppn=8,walltime=48:00:00,os=centos53computeA&lt;br /&gt;
#PBS -N gamessjob&lt;br /&gt;
&lt;br /&gt;
## To submit type: qsub gms.sh&lt;br /&gt;
&lt;br /&gt;
# If not an interactive job (i.e. -I), then cd into the directory where&lt;br /&gt;
# I typed qsub.&lt;br /&gt;
if [ &amp;quot;$PBS_ENVIRONMENT&amp;quot; != &amp;quot;PBS_INTERACTIVE&amp;quot; ]; then&lt;br /&gt;
   if [ -n &amp;quot;$PBS_O_WORKDIR&amp;quot; ]; then&lt;br /&gt;
     cd $PBS_O_WORKDIR&lt;br /&gt;
   fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# the input file is typically named something like &amp;quot;gamesjob.inp&amp;quot;&lt;br /&gt;
# so the script will be run like &amp;quot;$SCINET_RUNGMS gamessjob 00 8 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# load the gamess module if not in .bashrc already&lt;br /&gt;
# actually, it MUST be in .bashrc&lt;br /&gt;
# module load gamess&lt;br /&gt;
&lt;br /&gt;
# run the program&lt;br /&gt;
&lt;br /&gt;
$SCINET_RUNGMS gamessjob 00 8 8&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a similar script, but this one uses 2 InfiniBand-connected nodes,&lt;br /&gt;
and runs the appropriate $SCINET_RUNGMS_IB script to actually run the job:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#PBS -l nodes=2:ib:ppn=8,walltime=48:00:00,os=centos53computeA&lt;br /&gt;
#PBS -N gamessjob&lt;br /&gt;
&lt;br /&gt;
## To submit type: qsub gmsib.sh&lt;br /&gt;
&lt;br /&gt;
# If not an interactive job (i.e. -I), then cd into the directory where&lt;br /&gt;
# I typed qsub.&lt;br /&gt;
if [ &amp;quot;$PBS_ENVIRONMENT&amp;quot; != &amp;quot;PBS_INTERACTIVE&amp;quot; ]; then&lt;br /&gt;
   if [ -n &amp;quot;$PBS_O_WORKDIR&amp;quot; ]; then&lt;br /&gt;
     cd $PBS_O_WORKDIR&lt;br /&gt;
   fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# the input file is typically named something like &amp;quot;gamesjob.inp&amp;quot;&lt;br /&gt;
# so the script will be run like &amp;quot;$SCINET_RUNGMS gamessjob 00 8 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# load the gamess module if not in .bashrc already&lt;br /&gt;
# actually, it MUST be in .bashrc&lt;br /&gt;
# module load gamess&lt;br /&gt;
&lt;br /&gt;
# This script requests InfiniBand-connected nodes (:ib above)&lt;br /&gt;
# so it must run with the IB version of the rungms script,&lt;br /&gt;
# $SCINET_RUNGMS_IB&lt;br /&gt;
&lt;br /&gt;
$SCINET_RUNGMS_IB gamessjob 00 16 8&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
-- [[User:Dgruner|dgruner]]  5 October 2009&lt;br /&gt;
&lt;br /&gt;
===Tips from the Fekl Lab===&lt;br /&gt;
&lt;br /&gt;
Through trial and error, we have found a few useful things that we would like to share:&lt;br /&gt;
&lt;br /&gt;
1. Two very useful, open-source programs for visualization of output files from GAMESS(US) and for generation of input files are [http://www.scl.ameslab.gov/MacMolPlt/ MacMolPlt]and [http://avogadro.openmolecules.net/wiki/Main_Page Avogadro].  The are available for UNIX/LINUX, Windows and Mac based machines, HOWEVER:  any input files that we have generated with these programs on a Windows-based machine do not run on Mac based machines.  We don't know why.&lt;br /&gt;
&lt;br /&gt;
2. [http://winscp.net/eng/index.php WinSCP] is a very useful tool that has a graphical user interface for moving files from a local machine to SCINET and vice versa.  It also has text editing capabilities.&lt;br /&gt;
&lt;br /&gt;
3. The [https://bse.pnl.gov/bse/portal ESML Basis Set Exchange] is an excellent source for custom basis set or effective core potential parameters.  Make sure that you specify &amp;quot;Gamess-US&amp;quot; in the format drop-down box.&lt;br /&gt;
&lt;br /&gt;
4.  The commercial program [http://www.chemcraftprog.com/ ChemCraft] is a highly useful visualization program that has the ability to edit molecules in a very similar fashion to GaussView.  It can also be customized to build GAMESS(US) input files.&lt;br /&gt;
&lt;br /&gt;
====Anatomy of a GAMESS(US) Input File with Basis Set Info in an External File====&lt;br /&gt;
&lt;br /&gt;
  $CONTRL SCFTYP=RHF RUNTYP=OPTIMIZE DFTTYP=M06-L MAXIT=199 MULT=1 NOSYM=1&lt;br /&gt;
   ECP=READ $END&lt;br /&gt;
  $SYSTEM TIMLIM=525600 MWORDS=1750 PARALL=.TRUE. $END&lt;br /&gt;
  $BASIS GBASIS=CUSTOMNI EXTFIL=.t. $END&lt;br /&gt;
  $SCF DIRSCF=.TRUE. FDIFF=.f. $END&lt;br /&gt;
  $STATPT OPTTOL=0.0001 NSTEP=500 HSSEND=.t. $END&lt;br /&gt;
  $DATA&lt;br /&gt;
  Mo_BDT3&lt;br /&gt;
 C1&lt;br /&gt;
 MOLYBDENUM 42.0      5.7556500000      4.4039600000     16.5808400000&lt;br /&gt;
 SULFUR     16.0      7.4169700000      3.1956300000     15.2089300000&lt;br /&gt;
 SULFUR     16.0      4.0966800000      3.2258300000     15.1761100000&lt;br /&gt;
 SULFUR     16.0      3.9677300000      4.4940500000     18.3266100000&lt;br /&gt;
 SULFUR     16.0      7.1776900000      3.5815000000     18.4485200000&lt;br /&gt;
 SULFUR     16.0      4.3776600000      6.2447400000     15.6786900000&lt;br /&gt;
 SULFUR     16.0      7.5478700000      6.0679800000     16.2223700000&lt;br /&gt;
 CARBON      6.0      6.4716900000      2.1004800000     14.1902300000&lt;br /&gt;
 CARBON      6.0      5.0690300000      2.1781400000     14.1080700000&lt;br /&gt;
 CARBON      6.0      4.8421800000      4.2701300000     19.8855500000&lt;br /&gt;
 CARBON      6.0      6.1969000000      3.9249600000     19.9397400000&lt;br /&gt;
 CARBON      6.0      6.8280600000      3.7834200000     21.1913200000&lt;br /&gt;
 CARBON      6.0      5.7697600000      7.6933500000     17.4241800000&lt;br /&gt;
 CARBON      6.0      7.2043100000      7.9413600000     17.8281100000&lt;br /&gt;
 CARBON      6.0      5.5051400000      7.0409700000     14.5903800000&lt;br /&gt;
 CARBON      6.0      6.8905200000      6.9194700000     14.7626200000&lt;br /&gt;
 CARBON      6.0      7.7396400000      7.5379800000     13.8285700000&lt;br /&gt;
 HYDROGEN    1.0      8.8190700000      7.4520600000     13.9252200000&lt;br /&gt;
 CARBON      6.0      7.2169400000      8.2960300000     12.7704100000&lt;br /&gt;
 HYDROGEN    1.0      7.8667000000      8.7825100000     12.0575600000&lt;br /&gt;
 CARBON      6.0      5.8260300000      8.4502300000     12.6467800000&lt;br /&gt;
 HYDROGEN    1.0      5.4143000000      9.0544300000     11.8493100000&lt;br /&gt;
 CARBON      6.0      4.9881500000      7.8192300000     13.5528400000&lt;br /&gt;
 HYDROGEN    1.0      3.9090500000      7.9420000000     13.4583700000&lt;br /&gt;
 CARBON      6.0      7.1538500000      1.1569600000     13.4143900000&lt;br /&gt;
 CARBON      6.0      4.4018100000      1.3603900000     13.1919900000&lt;br /&gt;
 CARBON      6.0      6.4791600000      0.3185500000     12.5353300000&lt;br /&gt;
 CARBON      6.0      5.0837400000      0.4369500000     12.4084900000&lt;br /&gt;
 HYDROGEN    1.0      7.0116000000     -0.4099400000     11.9434600000&lt;br /&gt;
 HYDROGEN    1.0      8.2399000000      1.0702400000     13.4937600000&lt;br /&gt;
 HYDROGEN    1.0      3.3185600000      1.4368700000     13.0953100000&lt;br /&gt;
 HYDROGEN    1.0      4.5549800000     -0.1997300000     11.7165200000&lt;br /&gt;
 CARBON      6.0      6.1105700000      3.9639000000     22.3866100000&lt;br /&gt;
 CARBON      6.0      4.1216300000      4.4424400000     21.1020100000&lt;br /&gt;
 HYDROGEN    1.0      7.8732900000      3.5217100000     21.2520500000&lt;br /&gt;
 CARBON      6.0      4.7606000000      4.2868500000     22.3363800000&lt;br /&gt;
 HYDROGEN    1.0      6.6064200000      3.8406000000     23.3428500000&lt;br /&gt;
 HYDROGEN    1.0      4.2065000000      4.4170700000     23.2667100000&lt;br /&gt;
 HYDROGEN    1.0      3.0674000000      4.6893500000     21.0889000000&lt;br /&gt;
 HYDROGEN    1.0      7.4249200000      7.7545300000     18.8583200000&lt;br /&gt;
 HYDROGEN    1.0      7.6651700000      8.9049700000     17.7652100000&lt;br /&gt;
 HYDROGEN    1.0      5.3324000000      8.6487800000     17.2222700000&lt;br /&gt;
 HYDROGEN    1.0      5.5015000000      7.1039000000     18.2759400000&lt;br /&gt;
  $END&lt;br /&gt;
  $ECP&lt;br /&gt;
 MO-ECP GEN     28     3&lt;br /&gt;
  5      ----- f potential     -----&lt;br /&gt;
     -0.0469492        0    537.9667807        &lt;br /&gt;
    -20.2080084        1    147.8982938        &lt;br /&gt;
   -106.2116302        2     45.7358898        &lt;br /&gt;
    -41.8107368        2     13.2911467        &lt;br /&gt;
     -4.2054103        2      4.7059961        &lt;br /&gt;
  3      ----- s-f potential     -----&lt;br /&gt;
      2.8063717        0    110.2991760        &lt;br /&gt;
     44.5162012        1     23.2014645        &lt;br /&gt;
     82.7785227        2      5.3530131        &lt;br /&gt;
  4      ----- p-f potential     -----&lt;br /&gt;
      4.9420876        0     63.2901397        &lt;br /&gt;
     25.8604976        1     23.3315302        &lt;br /&gt;
    132.4708742        2     24.6759423        &lt;br /&gt;
     57.3149794        2      4.6493040        &lt;br /&gt;
  5      ----- d-f potential     -----&lt;br /&gt;
      3.0054591        0    104.4839977        &lt;br /&gt;
     26.3637851        1     66.2307245        &lt;br /&gt;
    183.3849199        2     39.1283176        &lt;br /&gt;
     98.4453068        2     13.1164437        &lt;br /&gt;
     22.4901377        2      3.6280263 &lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
=====The Input Deck=====&lt;br /&gt;
&lt;br /&gt;
Below is the input deck.  It is where you tell GAMESS(US) what job type to execute and where all you individual parameters are entered for your specific job type.  The example input deck below is for a geometry optimization and frequency calculation.  This input deck is equivalent to the Gaussian job with &amp;quot;opt&amp;quot; and &amp;quot;freq&amp;quot; in the route section.&lt;br /&gt;
&lt;br /&gt;
  $CONTRL SCFTYP=RHF RUNTYP=OPTIMIZE DFTTYP=M06-L MAXIT=199 MULT=1 NOSYM=1&lt;br /&gt;
   ECP=READ $END&lt;br /&gt;
  $SYSTEM TIMLIM=2850 MWORDS=1750 MEMDDI=20 PARALL=.TRUE. $END&lt;br /&gt;
  $BASIS GBASIS=CUSTOMNI EXTFIL=.t. $END&lt;br /&gt;
  $SCF DIRSCF=.TRUE. FDIFF=.f. $END&lt;br /&gt;
  $STATPT OPTTOL=0.0001 NSTEP=500 HSSEND=.t. $END&lt;br /&gt;
  $DATA&lt;br /&gt;
&lt;br /&gt;
An important thing to note is the spacing.  In the input deck, there must be 1 space at the beginning of each line of the input deck.  If not, the job will fail.  Most builders will insert this space anyway, but it helps to double check.&lt;br /&gt;
&lt;br /&gt;
The end of the input deck is marked by the &amp;quot;$DATA&amp;quot; line.&lt;br /&gt;
&lt;br /&gt;
=====Job Title Line=====&lt;br /&gt;
&lt;br /&gt;
The next line of the file is the job title.  It can be anthing you wish, however, we have found that to be on the safe side, we avoide using symbols or spaces&lt;br /&gt;
&lt;br /&gt;
  Mo_BDT3&lt;br /&gt;
&lt;br /&gt;
=====Symmetry Point Group=====&lt;br /&gt;
&lt;br /&gt;
The next line of the file is the symmetry point group of your molecule.  Note that there is no leading space before the point group.&lt;br /&gt;
&lt;br /&gt;
 C1&lt;br /&gt;
&lt;br /&gt;
=====Coordinates=====&lt;br /&gt;
&lt;br /&gt;
The next block of text is set aside for the coordinates of the molecule.  This can be in internal (or z-matrix) format or cartesian coordinates.  Note that there is no leading space before the coordinates.  One may use the chemical symbol or the full name of each atom in the molecule.  Note that the end of the coordinates is signified by an &amp;quot;$END&amp;quot;, which MUST have one space preceding it.  The coordinates below do NOT have any basis set information inserted.  It is possible to insert basis set information directly into the input file.  This is accomplished by obtaining the desired basis set parameters from the EMSL and then inserting them below each relevant atom.  An example input file with inserted basis set information will be shown later.&lt;br /&gt;
&lt;br /&gt;
 MOLYBDENUM 42.0      5.7556500000      4.4039600000     16.5808400000&lt;br /&gt;
 SULFUR     16.0      7.4169700000      3.1956300000     15.2089300000&lt;br /&gt;
 SULFUR     16.0      4.0966800000      3.2258300000     15.1761100000&lt;br /&gt;
 SULFUR     16.0      3.9677300000      4.4940500000     18.3266100000&lt;br /&gt;
 SULFUR     16.0      7.1776900000      3.5815000000     18.4485200000&lt;br /&gt;
 SULFUR     16.0      4.3776600000      6.2447400000     15.6786900000&lt;br /&gt;
 SULFUR     16.0      7.5478700000      6.0679800000     16.2223700000&lt;br /&gt;
 CARBON      6.0      6.4716900000      2.1004800000     14.1902300000&lt;br /&gt;
 CARBON      6.0      5.0690300000      2.1781400000     14.1080700000&lt;br /&gt;
 CARBON      6.0      4.8421800000      4.2701300000     19.8855500000&lt;br /&gt;
 CARBON      6.0      6.1969000000      3.9249600000     19.9397400000&lt;br /&gt;
 CARBON      6.0      6.8280600000      3.7834200000     21.1913200000&lt;br /&gt;
 CARBON      6.0      5.7697600000      7.6933500000     17.4241800000&lt;br /&gt;
 CARBON      6.0      7.2043100000      7.9413600000     17.8281100000&lt;br /&gt;
 CARBON      6.0      5.5051400000      7.0409700000     14.5903800000&lt;br /&gt;
 CARBON      6.0      6.8905200000      6.9194700000     14.7626200000&lt;br /&gt;
 CARBON      6.0      7.7396400000      7.5379800000     13.8285700000&lt;br /&gt;
 HYDROGEN    1.0      8.8190700000      7.4520600000     13.9252200000&lt;br /&gt;
 CARBON      6.0      7.2169400000      8.2960300000     12.7704100000&lt;br /&gt;
 HYDROGEN    1.0      7.8667000000      8.7825100000     12.0575600000&lt;br /&gt;
 CARBON      6.0      5.8260300000      8.4502300000     12.6467800000&lt;br /&gt;
 HYDROGEN    1.0      5.4143000000      9.0544300000     11.8493100000&lt;br /&gt;
 CARBON      6.0      4.9881500000      7.8192300000     13.5528400000&lt;br /&gt;
 HYDROGEN    1.0      3.9090500000      7.9420000000     13.4583700000&lt;br /&gt;
 CARBON      6.0      7.1538500000      1.1569600000     13.4143900000&lt;br /&gt;
 CARBON      6.0      4.4018100000      1.3603900000     13.1919900000&lt;br /&gt;
 CARBON      6.0      6.4791600000      0.3185500000     12.5353300000&lt;br /&gt;
 CARBON      6.0      5.0837400000      0.4369500000     12.4084900000&lt;br /&gt;
 HYDROGEN    1.0      7.0116000000     -0.4099400000     11.9434600000&lt;br /&gt;
 HYDROGEN    1.0      8.2399000000      1.0702400000     13.4937600000&lt;br /&gt;
 HYDROGEN    1.0      3.3185600000      1.4368700000     13.0953100000&lt;br /&gt;
 HYDROGEN    1.0      4.5549800000     -0.1997300000     11.7165200000&lt;br /&gt;
 CARBON      6.0      6.1105700000      3.9639000000     22.3866100000&lt;br /&gt;
 CARBON      6.0      4.1216300000      4.4424400000     21.1020100000&lt;br /&gt;
 HYDROGEN    1.0      7.8732900000      3.5217100000     21.2520500000&lt;br /&gt;
 CARBON      6.0      4.7606000000      4.2868500000     22.3363800000&lt;br /&gt;
 HYDROGEN    1.0      6.6064200000      3.8406000000     23.3428500000&lt;br /&gt;
 HYDROGEN    1.0      4.2065000000      4.4170700000     23.2667100000&lt;br /&gt;
 HYDROGEN    1.0      3.0674000000      4.6893500000     21.0889000000&lt;br /&gt;
 HYDROGEN    1.0      7.4249200000      7.7545300000     18.8583200000&lt;br /&gt;
 HYDROGEN    1.0      7.6651700000      8.9049700000     17.7652100000&lt;br /&gt;
 HYDROGEN    1.0      5.3324000000      8.6487800000     17.2222700000&lt;br /&gt;
 HYDROGEN    1.0      5.5015000000      7.1039000000     18.2759400000&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
=====Effective Core Potential Data=====&lt;br /&gt;
&lt;br /&gt;
The effective core potential (ECP) data is entered after the coordinates.  It starts with &amp;quot;$ECP&amp;quot;, which must be preceded with a space.   The atoms of the molecule are listed in the same order as in the coordinates section and the parameters for the ECP are listed after each atom.  Note that for any atom that does NOT have an ECP, one must enter &amp;quot;ECP-NONE&amp;quot; or &amp;quot;NONE&amp;quot; after each atom without an ECP.&lt;br /&gt;
&lt;br /&gt;
 $ECP&lt;br /&gt;
 MO-ECP GEN     28     3&lt;br /&gt;
  5      ----- f potential     -----&lt;br /&gt;
     -0.0469492        0    537.9667807        &lt;br /&gt;
    -20.2080084        1    147.8982938        &lt;br /&gt;
   -106.2116302        2     45.7358898        &lt;br /&gt;
    -41.8107368        2     13.2911467        &lt;br /&gt;
     -4.2054103        2      4.7059961        &lt;br /&gt;
  3      ----- s-f potential     -----&lt;br /&gt;
      2.8063717        0    110.2991760        &lt;br /&gt;
     44.5162012        1     23.2014645        &lt;br /&gt;
     82.7785227        2      5.3530131        &lt;br /&gt;
  4      ----- p-f potential     -----&lt;br /&gt;
      4.9420876        0     63.2901397        &lt;br /&gt;
     25.8604976        1     23.3315302        &lt;br /&gt;
    132.4708742        2     24.6759423        &lt;br /&gt;
     57.3149794        2      4.6493040        &lt;br /&gt;
  5      ----- d-f potential     -----&lt;br /&gt;
      3.0054591        0    104.4839977        &lt;br /&gt;
     26.3637851        1     66.2307245        &lt;br /&gt;
    183.3849199        2     39.1283176        &lt;br /&gt;
     98.4453068        2     13.1164437        &lt;br /&gt;
     22.4901377        2      3.6280263 &lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
-- [[User:M.Zimmer-De Iuliis|mzd]]  16 November 2009&lt;br /&gt;
&lt;br /&gt;
====Using Effective Core Potentials in GAMESS(US)====&lt;br /&gt;
&lt;br /&gt;
For many metal containing compounds, it is very convenient and time saving to use an effective core potential (ECP) for the core metal electrons, as they are usually not important to the reactivity of the complex or the geometry around the metal.  Since GAMESS(US) has a limited number of built-in ECPs, one may want to make GAMESS(US) read an external file that contains the ECP data using the &amp;quot;EXTFIL&amp;quot; keyword in the $GBASIS command line of the input file.  In addition, to make GAMESS(US) use this external file, one must copy the &amp;quot;rungms&amp;quot; file and modify it accordingly.  The following is a list of instructions with commands that will work from a terminal.  One could also use WinSCP to do all of this with a GUI rather than a TUI.  &lt;br /&gt;
&lt;br /&gt;
=====Modifiying rungms to Use Custom Basis Set File=====&lt;br /&gt;
1. Copy &amp;quot;rungms&amp;quot; from /scinet/gpc/Applications/gamess to one's own /scratch/$USER/ directory:&lt;br /&gt;
 cp /scinet/gpc/Applications/gamess/rungms /scratch/$USER/&lt;br /&gt;
&lt;br /&gt;
2. Change to the scratch directory and check to see if &amp;quot;rungms&amp;quot; has copied successfully.&lt;br /&gt;
 cd /scratch/$USER&lt;br /&gt;
 ls&lt;br /&gt;
&lt;br /&gt;
3. Edit line 147 of the vi.  &lt;br /&gt;
 vi rungms&lt;br /&gt;
Move the cursor down to line 147 using the arrow keys.  It should say &amp;quot;setenv EXTBAS /dev/null&amp;quot;.  Using the arrow keys, move the cursor to the first &amp;quot;/&amp;quot; and then hit &amp;quot;i&amp;quot; to insert text.  Put the path to your external basis file here.  For example, /scratch/$USER/basisset.  Then hit &amp;quot;escape&amp;quot;.  To save the changes and exit vi, type &amp;quot;:&amp;quot; and you should see a colon appear at the bottom of the window.  Type &amp;quot;wq&amp;quot; (which should appear at the bottom of the window next to the colon) and then hit enter.  Now you are done with vi.&lt;br /&gt;
&lt;br /&gt;
=====Creating a Custom Basis Set File=====&lt;br /&gt;
1. To create a custom basis set file, you need create a new text document.  Our group's common practice is to comment out the first line of this file by inserting an exclamation mark (!) followed by noting the specific basis sets and ECPs that are going to be used for each of the atoms.  Let us the molecule Mo(CO)6, Molybdenum hexacarbonyl, as an example.  Below is the first line of the the external file, which we will call &amp;quot;CUSTOMMO&amp;quot;  (NOTE:  you can use any name for the external file that suits you, as long as it has no spaces and is 8 characters or less).&lt;br /&gt;
&lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&lt;br /&gt;
&lt;br /&gt;
2. The next step is to visit the [https://bse.pnl.gov/bse/portal EMSL Basis Set exchange] and select C and O from the periodic table.  Then, on the left of the page, select &amp;quot;6-31G&amp;quot; as the basis set.  Finally, make sure the output is in GAMESS(US) format using the drop-down menu and then click &amp;quot;get basis set&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:C_O_6_31G_basisset.JPG|centre]]&lt;br /&gt;
&lt;br /&gt;
3. A new window should appear with text in it.  For our example case, the text looks like this:&lt;br /&gt;
 &lt;br /&gt;
 !  6-31G  EMSL  Basis Set Exchange Library   10/13/09 11:12 AM&lt;br /&gt;
 ! Elements                             References&lt;br /&gt;
 ! --------                             ----------&lt;br /&gt;
 ! H - He: W.J. Hehre, R. Ditchfield and J.A. Pople, J. Chem. Phys. 56,&lt;br /&gt;
 ! Li - Ne: 2257 (1972).  Note: Li and B come from J.D. Dill and J.A.&lt;br /&gt;
 ! Pople, J. Chem. Phys. 62, 2921 (1975).&lt;br /&gt;
 ! Na - Ar: M.M. Francl, W.J. Petro, W.J. Hehre, J.S. Binkley, M.S. Gordon,&lt;br /&gt;
 ! D.J. DeFrees and J.A. Pople, J. Chem. Phys. 77, 3654 (1982)&lt;br /&gt;
 ! K  - Zn: V. Rassolov, J.A. Pople, M. Ratner and T.L. Windus, J. Chem. Phys.&lt;br /&gt;
 ! 109, 1223 (1998)&lt;br /&gt;
 ! Note: He and Ne are unpublished basis sets taken from the Gaussian&lt;br /&gt;
 ! program&lt;br /&gt;
 ! &lt;br /&gt;
 $DATA&amp;lt;br /&amp;gt;&lt;br /&gt;
 CARBON&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 OXYGEN&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000        &lt;br /&gt;
 $END&lt;br /&gt;
&lt;br /&gt;
3. Now, copy and paste the text between the $DATA and $END headings onto our external text file, CUSTOMMO.  We also need to change the change the name of each element to it symbol in the periodic table.  Finally, we need to add the name of the external file next to the element symbol, separated by one space.  Note that there should be a blank line separating the basis set information and the first, commented-out line (The line starting with the '!').  The CUSTOMMO should look like this:&lt;br /&gt;
 &lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&amp;lt;br /&amp;gt;&lt;br /&gt;
 C CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 O CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000 &lt;br /&gt;
&lt;br /&gt;
4. Repeat Step 3 above but choose Mo and select the LANL2DZ ECP instead.  A new window will pop up with the basis set information as well as the ECP data we need, since we specified the LANL2DZ '''ECP'''.  The ECP data is not inserted into the external file, rather it is placed into the input file itself (More on this later).  &lt;br /&gt;
&lt;br /&gt;
[[File:Mo_LANL2DZ_basisset.JPG|centre]]&lt;br /&gt;
&lt;br /&gt;
5.  After copying the molybdenum basis set information, your fiished external basis set file should look like this:&lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&amp;lt;br /&amp;gt;&lt;br /&gt;
 C CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 O CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000&amp;lt;br /&amp;gt; &lt;br /&gt;
 Mo CUSTOMO&lt;br /&gt;
 S   3&lt;br /&gt;
   1      2.3610000             -0.9121760        &lt;br /&gt;
   2      1.3090000              1.1477453        &lt;br /&gt;
   3      0.4500000              0.6097109        &lt;br /&gt;
 S   4&lt;br /&gt;
   1      2.3610000              0.8139259        &lt;br /&gt;
   2      1.3090000             -1.1360084        &lt;br /&gt;
   3      0.4500000             -1.1611592        &lt;br /&gt;
   4      0.1681000              1.0064786        &lt;br /&gt;
 S   1&lt;br /&gt;
   1      0.0423000              1.0000000        &lt;br /&gt;
 P   3&lt;br /&gt;
   1      4.8950000             -0.0908258        &lt;br /&gt;
   2      1.0440000              0.7042899        &lt;br /&gt;
   3      0.3877000              0.3973179        &lt;br /&gt;
 P   2&lt;br /&gt;
   1      0.4995000             -0.1081945        &lt;br /&gt;
   2      0.0780000              1.0368093        &lt;br /&gt;
 P   1&lt;br /&gt;
   1      0.0247000              1.0000000        &lt;br /&gt;
 D   3&lt;br /&gt;
   1      2.9930000              0.0527063        &lt;br /&gt;
   2      1.0630000              0.5003907        &lt;br /&gt;
   3      0.3721000              0.5794024        &lt;br /&gt;
 D   1&lt;br /&gt;
   1      0.1178000              1.0000000&lt;br /&gt;
&lt;br /&gt;
-- [[User:M.Zimmer-De Iuliis|mzd]]  13 October 2009&lt;br /&gt;
&lt;br /&gt;
==Climate Modelling==&lt;br /&gt;
&lt;br /&gt;
==Medicine/Bio==&lt;br /&gt;
&lt;br /&gt;
==High Energy Physics==&lt;br /&gt;
&lt;br /&gt;
==Structural Biology==&lt;br /&gt;
Molecular simulation of proteins, lipids, carbohydrates, and other biologically relevant molecules.&lt;br /&gt;
===Molecular Dynamics (MD) simulation===&lt;br /&gt;
====GROMACS====&lt;br /&gt;
Please refer to the [[gromacs|GROMACS]] page&lt;br /&gt;
====AMBER====&lt;br /&gt;
Please refer to the [[amber|AMBER]] page&lt;br /&gt;
====NAMD====&lt;br /&gt;
NAMD is one of the better scaling MD packages out there. With sufficiently large systems, it is able to scale to hundreds or thousands of cores on Scinet. Below are details for compiling and running NAMD on Scinet.&lt;br /&gt;
&lt;br /&gt;
More information regarding performance and different compile options coming soon...&lt;br /&gt;
&lt;br /&gt;
=====Compiling NAMD for GPC=====&lt;br /&gt;
Ensure the proper compiler/mpi modules are loaded.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
module load intel&lt;br /&gt;
module load openmpi/1.3.3-intel-v11.0-ofed&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Compile Charm++ and NAMD'''&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
#Unpack source files and get required support libraries&lt;br /&gt;
tar -xzf NAMD_2.7b1_Source.tar.gz&lt;br /&gt;
cd NAMD_2.7b1_Source&lt;br /&gt;
tar -xf charm-6.1.tar&lt;br /&gt;
wget http://www.ks.uiuc.edu/Research/namd/libraries/fftw-linux-x86_64.tar.gz&lt;br /&gt;
wget http://www.ks.uiuc.edu/Research/namd/libraries/tcl-linux-x86_64.tar.gz&lt;br /&gt;
tar -xzf fftw-linux-x86_64.tar.gz; mv linux-x86_64 fftw&lt;br /&gt;
tar -xzf tcl-linux-x86_64.tar.gz; mv linux-x86_64 tcl&lt;br /&gt;
#Compile Charm++&lt;br /&gt;
cd charm-6.1&lt;br /&gt;
./build charm++ mpi-linux-x86_64 icc --basedir /scinet/gpc/mpi/openmpi/1.3.3-intel-v11.0-ofed/ --no-shared -O -DCMK_OPTIMIZE=1&lt;br /&gt;
cd ..&lt;br /&gt;
#Compile NAMD. &lt;br /&gt;
#Edit arch/Linux-x86_64-icc.arch and add &amp;quot;-lmpi&amp;quot; to the end of the CXXOPTS and COPTS line.&lt;br /&gt;
#Make a builds directory if you want different versions of NAMD compiled at the same time.&lt;br /&gt;
mkdir builds&lt;br /&gt;
./config builds/Linux-x86_64-icc --charm-arch mpi-linux-x86_64-icc&lt;br /&gt;
cd builds/Linux-x86_64-icc/&lt;br /&gt;
make -j4 namd2 # Adjust value of j as desired to specify number of simultaneous make targets. &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
--[[User:Cmadill|Cmadill]] 16:18, 27 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
=====Running Fortran=====&lt;br /&gt;
On the development nodes, there is an old gcc. The associated libraries are not on the compute nodes. Ensure the line:&lt;br /&gt;
&lt;br /&gt;
module load gcc&lt;br /&gt;
&lt;br /&gt;
is in your .bashrc file.&lt;br /&gt;
&lt;br /&gt;
====LAMMPS====&lt;br /&gt;
[[Image:StrongScalingLAMMPS.png|thumb|320px|right|Strong scaling test on GPC with OpenMPI and IntelMPI on Ethernet and InfiniBand]]&lt;br /&gt;
[[Image:WeakScalingLAMMPS.png|thumb|320px|right|Weak scaling test on GPC with OpenMPI and IntelMPI on Ethernet and InfiniBand]]&lt;br /&gt;
Results from strong scaling tests for LAMMPS using EAM potentials on GPC are shown in the graph on the right.  The test simulation ran 500 timesteps for 4,000,000 atoms.&lt;br /&gt;
&lt;br /&gt;
Results from weak scaling tests for LAMMPS using EAM potentials on GPC are shown in the graph on the right.  The test simulation ran 500 timesteps for 32,000 atoms per processor.&lt;br /&gt;
&lt;br /&gt;
OpenMPI version used: openmpi/1.4.1-intel-v11.0-ofed&lt;br /&gt;
&lt;br /&gt;
IntelMPI version used: intelmpi/impi-4.0.0.013&lt;br /&gt;
&lt;br /&gt;
Results show good scaling for both OpenMPI and IntelMPI up to 16 processors, after which performance begins to suffer.  On Infiniband, excellent scaling is maintained to 512 processors.&lt;br /&gt;
&lt;br /&gt;
IntelMPI shows slightly better performance compared to OpenMPI.&lt;br /&gt;
&lt;br /&gt;
--[[User:jchu|jchu]] Feb 2, 2010&lt;br /&gt;
&lt;br /&gt;
===Monte Carlo (MC) simulation===&lt;/div&gt;</summary>
		<author><name>Jchu</name></author>
	</entry>
	<entry>
		<id>https://oldwiki.scinet.utoronto.ca/index.php?title=User_Codes&amp;diff=877</id>
		<title>User Codes</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.scinet.utoronto.ca/index.php?title=User_Codes&amp;diff=877"/>
		<updated>2010-02-02T18:59:12Z</updated>

		<summary type="html">&lt;p&gt;Jchu: /* LAMMPS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&lt;br /&gt;
==Astrophysics==&lt;br /&gt;
&lt;br /&gt;
===Athena (explicit, uniform grid MHD code)===&lt;br /&gt;
&lt;br /&gt;
[[Image:StrongScalingAthenaGPC.png|thumb|right|320px|Athena scaling on GPC with OpenMPI and MVAPICH2 on GigE, and OpenMPI on InfiniBand]]&lt;br /&gt;
&lt;br /&gt;
[http://www.astro.princeton.edu/~jstone/athena.html Athena] is a straightforward C code which doesn't use a lot of libraries so it is pretty straightforward to build and compile on new machines.   &lt;br /&gt;
&lt;br /&gt;
It encapsulates its compiler flags, etc in an &amp;lt;tt&amp;gt;Makeoptions.in&amp;lt;/tt&amp;gt; file which is then processed by &amp;lt;tt&amp;gt;configure&amp;lt;/tt&amp;gt;.   I've used the following additions to &amp;lt;tt&amp;gt;Makeoptions.in&amp;lt;/tt&amp;gt; on TCS and GPC:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
ifeq ($(MACHINE),scinettcs)&lt;br /&gt;
  CC = mpcc_r&lt;br /&gt;
  LDR = mpcc_r&lt;br /&gt;
  OPT = -O5 -q64 -qarch=pwr6 -qtune=pwr6 -qcache=auto -qlargepage -qstrict&lt;br /&gt;
  MPIINC =&lt;br /&gt;
  MPILIB =&lt;br /&gt;
  CFLAGS = $(OPT)&lt;br /&gt;
  LIB = -ldl -lm&lt;br /&gt;
else&lt;br /&gt;
ifeq ($(MACHINE),scinetgpc)&lt;br /&gt;
  CC = mpicc&lt;br /&gt;
  LDR = mpicc&lt;br /&gt;
  OPT = -O3&lt;br /&gt;
  MPIINC =&lt;br /&gt;
  MPILIB =&lt;br /&gt;
  CFLAGS = $(OPT)&lt;br /&gt;
  LIB = -lm&lt;br /&gt;
else&lt;br /&gt;
...&lt;br /&gt;
endif&lt;br /&gt;
endif&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
It performs quite well on the GPC, scaling extremely well even on a strong scaling test out to about 256 cores (32 nodes) on Gigabit ethernet, and performing beautifully on InfiniBand out to 512 cores (64 nodes). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Ljdursi|ljdursi]]  19:20, 13 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
===FLASH3 (Adaptive Mesh reactive hydrodynamics; explict hydro/MHD)===&lt;br /&gt;
&lt;br /&gt;
[[Image:weak-scaling-example.png|thumb|right|320px|Weak scaling test of the 2d sod problem on both the GPC and TCS.  The results are actually somewhat faster on the GPC; in both cases (weak) scaling is very good out at least to 256 cores]]&lt;br /&gt;
&lt;br /&gt;
[http://flash.uchicago.edu FLASH] encapsulates its machine-dependant information in the &amp;lt;tt&amp;gt;FLASH3/sites&amp;lt;/tt&amp;gt; directory.  For the GPC, you'll have to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load intel&lt;br /&gt;
module load openmpi&lt;br /&gt;
module load hdf5/183-v16-openmpi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and with that, the following file (&amp;lt;tt&amp;gt;sites/scinetgpc/Makefile.h&amp;lt;/tt&amp;gt;) works for me:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
## Must do module load hdf5/183-v16-openmpi&lt;br /&gt;
HDF5_PATH = ${SCINET_HDF5_BASE}&lt;br /&gt;
ZLIB_PATH = /usr/local&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Compiler and linker commands&lt;br /&gt;
#&lt;br /&gt;
#  We use the f90 compiler as the linker, so some C libraries may explicitly&lt;br /&gt;
#  need to be added into the link line.&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
## modules will put the right mpi in our path&lt;br /&gt;
FCOMP   = mpif77&lt;br /&gt;
CCOMP   = mpicc&lt;br /&gt;
CPPCOMP = mpiCC&lt;br /&gt;
LINK    = mpif77&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Compilation flags&lt;br /&gt;
#&lt;br /&gt;
#  Three sets of compilation/linking flags are defined: one for optimized&lt;br /&gt;
#  code, one for testing, and one for debugging.  The default is to use the &lt;br /&gt;
#  _OPT version.  Specifying -debug to setup will pick the _DEBUG version,&lt;br /&gt;
#  these should enable bounds checking.  Specifying -test is used for &lt;br /&gt;
#  flash_test, and is set for quick code generation, and (sometimes) &lt;br /&gt;
#  profiling.  The Makefile generated by setup will assign the generic token &lt;br /&gt;
#  (ex. FFLAGS) to the proper set of flags (ex. FFLAGS_OPT).&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
FFLAGS_OPT   =  -c -r8 -i4 -O3 -xSSE4.2&lt;br /&gt;
FFLAGS_DEBUG =  -c -g -r8 -i4 -O0&lt;br /&gt;
FFLAGS_TEST  =  -c -r8 -i4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# if we are using HDF5, we need to specify the path to the include files&lt;br /&gt;
CFLAGS_HDF5  = -I${HDF5_PATH}/include&lt;br /&gt;
&lt;br /&gt;
CFLAGS_OPT   = -c -O3 -xSSE4.2&lt;br /&gt;
CFLAGS_TEST  = -c -O2 &lt;br /&gt;
CFLAGS_DEBUG = -c -g  &lt;br /&gt;
&lt;br /&gt;
MDEFS = &lt;br /&gt;
&lt;br /&gt;
.SUFFIXES: .o .c .f .F .h .fh .F90 .f90&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Linker flags&lt;br /&gt;
#&lt;br /&gt;
#  There is a seperate version of the linker flags for each of the _OPT, &lt;br /&gt;
#  _DEBUG, and _TEST cases.&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
LFLAGS_OPT   = -o&lt;br /&gt;
LFLAGS_TEST  = -o&lt;br /&gt;
LFLAGS_DEBUG = -g -o&lt;br /&gt;
&lt;br /&gt;
MACHOBJ = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MV = mv -f&lt;br /&gt;
AR = ar -r&lt;br /&gt;
RM = rm -f&lt;br /&gt;
CD = cd&lt;br /&gt;
RL = ranlib&lt;br /&gt;
ECHO = echo&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Ljdursi|ljdursi]] 22:11, 13 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Aeronautics==&lt;br /&gt;
&lt;br /&gt;
==Chemistry==&lt;br /&gt;
&lt;br /&gt;
===GAMESS (US)===&lt;br /&gt;
The GAMESS version January 12, 2009 R3 was built using the Intel v11.1 compilers and v3.2.2 MPI library, according to the instructions in http://software.intel.com/en-us/articles/building-gamess-with-intel-compilers-intel-mkl-and-intel-mpi-on-linux/&lt;br /&gt;
&lt;br /&gt;
The required build scripts - comp, compall, lked - and run script - rungms - were modified to account for our own installation.  In order to build GAMESS one first must ensure that the intel and intelmpi modules are loaded (&amp;quot;module load intel intelmpi&amp;quot;).  This applies to running GAMESS as well.&lt;br /&gt;
The module &amp;quot;gamess&amp;quot; must also be loaded in order to run GAMESS (&amp;quot;module load gamess&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
The modified scripts are in the file /scinet/gpc/src/gamess-on-scinet.tar.gz&lt;br /&gt;
&lt;br /&gt;
====Running GAMESS====&lt;br /&gt;
- Make sure the directory /scratch/$USER/gamess-scratch exists (the $SCINET_RUNGMS script will create it if it does not exist)&lt;br /&gt;
&lt;br /&gt;
- Make sure the modules: intel, intelmpi, gamess are loaded (in your .bashrc: &amp;quot;module load intel intelmpi gamess&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
- Create a torque script to run GAMESS.  Here is an example:&lt;br /&gt;
&lt;br /&gt;
- The GAMESS executable is in $SCINET_GAMESS_HOME/gamess.00.x&lt;br /&gt;
- The rungms script is in $SCINET_GAMESS_HOME/rungms (actually it is $SCINET_RUNGMS)&lt;br /&gt;
&lt;br /&gt;
- For IB multinode runs, use the $SCINET_RUNGMS_IB script&lt;br /&gt;
&lt;br /&gt;
- The rungms script takes 4 arguments:  input file, executable number, number of compute processes, processors per node&lt;br /&gt;
&lt;br /&gt;
For example, in order to run with the input file /scratch/$USER/gamesstest01, on 8 cpus, and the default version (00)&lt;br /&gt;
of the executable on a machine with 8 cores:&lt;br /&gt;
&lt;br /&gt;
   # load the gamess module in .bashrc&lt;br /&gt;
   module load gamess  &lt;br /&gt;
&lt;br /&gt;
   # run the program&lt;br /&gt;
   $SCINET_RUNGMS /scratch/$USER/gamesstest01 00 8 8&lt;br /&gt;
&lt;br /&gt;
Here is a sample torque script for running a GAMESS calculation, on a single 8-core node:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#PBS -l nodes=1:ppn=8,walltime=48:00:00,os=centos53computeA&lt;br /&gt;
#PBS -N gamessjob&lt;br /&gt;
&lt;br /&gt;
## To submit type: qsub gms.sh&lt;br /&gt;
&lt;br /&gt;
# If not an interactive job (i.e. -I), then cd into the directory where&lt;br /&gt;
# I typed qsub.&lt;br /&gt;
if [ &amp;quot;$PBS_ENVIRONMENT&amp;quot; != &amp;quot;PBS_INTERACTIVE&amp;quot; ]; then&lt;br /&gt;
   if [ -n &amp;quot;$PBS_O_WORKDIR&amp;quot; ]; then&lt;br /&gt;
     cd $PBS_O_WORKDIR&lt;br /&gt;
   fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# the input file is typically named something like &amp;quot;gamesjob.inp&amp;quot;&lt;br /&gt;
# so the script will be run like &amp;quot;$SCINET_RUNGMS gamessjob 00 8 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# load the gamess module if not in .bashrc already&lt;br /&gt;
# actually, it MUST be in .bashrc&lt;br /&gt;
# module load gamess&lt;br /&gt;
&lt;br /&gt;
# run the program&lt;br /&gt;
&lt;br /&gt;
$SCINET_RUNGMS gamessjob 00 8 8&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a similar script, but this one uses 2 InfiniBand-connected nodes,&lt;br /&gt;
and runs the appropriate $SCINET_RUNGMS_IB script to actually run the job:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#PBS -l nodes=2:ib:ppn=8,walltime=48:00:00,os=centos53computeA&lt;br /&gt;
#PBS -N gamessjob&lt;br /&gt;
&lt;br /&gt;
## To submit type: qsub gmsib.sh&lt;br /&gt;
&lt;br /&gt;
# If not an interactive job (i.e. -I), then cd into the directory where&lt;br /&gt;
# I typed qsub.&lt;br /&gt;
if [ &amp;quot;$PBS_ENVIRONMENT&amp;quot; != &amp;quot;PBS_INTERACTIVE&amp;quot; ]; then&lt;br /&gt;
   if [ -n &amp;quot;$PBS_O_WORKDIR&amp;quot; ]; then&lt;br /&gt;
     cd $PBS_O_WORKDIR&lt;br /&gt;
   fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# the input file is typically named something like &amp;quot;gamesjob.inp&amp;quot;&lt;br /&gt;
# so the script will be run like &amp;quot;$SCINET_RUNGMS gamessjob 00 8 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# load the gamess module if not in .bashrc already&lt;br /&gt;
# actually, it MUST be in .bashrc&lt;br /&gt;
# module load gamess&lt;br /&gt;
&lt;br /&gt;
# This script requests InfiniBand-connected nodes (:ib above)&lt;br /&gt;
# so it must run with the IB version of the rungms script,&lt;br /&gt;
# $SCINET_RUNGMS_IB&lt;br /&gt;
&lt;br /&gt;
$SCINET_RUNGMS_IB gamessjob 00 16 8&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
-- [[User:Dgruner|dgruner]]  5 October 2009&lt;br /&gt;
&lt;br /&gt;
===Tips from the Fekl Lab===&lt;br /&gt;
&lt;br /&gt;
Through trial and error, we have found a few useful things that we would like to share:&lt;br /&gt;
&lt;br /&gt;
1. Two very useful, open-source programs for visualization of output files from GAMESS(US) and for generation of input files are [http://www.scl.ameslab.gov/MacMolPlt/ MacMolPlt]and [http://avogadro.openmolecules.net/wiki/Main_Page Avogadro].  The are available for UNIX/LINUX, Windows and Mac based machines, HOWEVER:  any input files that we have generated with these programs on a Windows-based machine do not run on Mac based machines.  We don't know why.&lt;br /&gt;
&lt;br /&gt;
2. [http://winscp.net/eng/index.php WinSCP] is a very useful tool that has a graphical user interface for moving files from a local machine to SCINET and vice versa.  It also has text editing capabilities.&lt;br /&gt;
&lt;br /&gt;
3. The [https://bse.pnl.gov/bse/portal ESML Basis Set Exchange] is an excellent source for custom basis set or effective core potential parameters.  Make sure that you specify &amp;quot;Gamess-US&amp;quot; in the format drop-down box.&lt;br /&gt;
&lt;br /&gt;
4.  The commercial program [http://www.chemcraftprog.com/ ChemCraft] is a highly useful visualization program that has the ability to edit molecules in a very similar fashion to GaussView.  It can also be customized to build GAMESS(US) input files.&lt;br /&gt;
&lt;br /&gt;
====Anatomy of a GAMESS(US) Input File with Basis Set Info in an External File====&lt;br /&gt;
&lt;br /&gt;
  $CONTRL SCFTYP=RHF RUNTYP=OPTIMIZE DFTTYP=M06-L MAXIT=199 MULT=1 NOSYM=1&lt;br /&gt;
   ECP=READ $END&lt;br /&gt;
  $SYSTEM TIMLIM=525600 MWORDS=1750 PARALL=.TRUE. $END&lt;br /&gt;
  $BASIS GBASIS=CUSTOMNI EXTFIL=.t. $END&lt;br /&gt;
  $SCF DIRSCF=.TRUE. FDIFF=.f. $END&lt;br /&gt;
  $STATPT OPTTOL=0.0001 NSTEP=500 HSSEND=.t. $END&lt;br /&gt;
  $DATA&lt;br /&gt;
  Mo_BDT3&lt;br /&gt;
 C1&lt;br /&gt;
 MOLYBDENUM 42.0      5.7556500000      4.4039600000     16.5808400000&lt;br /&gt;
 SULFUR     16.0      7.4169700000      3.1956300000     15.2089300000&lt;br /&gt;
 SULFUR     16.0      4.0966800000      3.2258300000     15.1761100000&lt;br /&gt;
 SULFUR     16.0      3.9677300000      4.4940500000     18.3266100000&lt;br /&gt;
 SULFUR     16.0      7.1776900000      3.5815000000     18.4485200000&lt;br /&gt;
 SULFUR     16.0      4.3776600000      6.2447400000     15.6786900000&lt;br /&gt;
 SULFUR     16.0      7.5478700000      6.0679800000     16.2223700000&lt;br /&gt;
 CARBON      6.0      6.4716900000      2.1004800000     14.1902300000&lt;br /&gt;
 CARBON      6.0      5.0690300000      2.1781400000     14.1080700000&lt;br /&gt;
 CARBON      6.0      4.8421800000      4.2701300000     19.8855500000&lt;br /&gt;
 CARBON      6.0      6.1969000000      3.9249600000     19.9397400000&lt;br /&gt;
 CARBON      6.0      6.8280600000      3.7834200000     21.1913200000&lt;br /&gt;
 CARBON      6.0      5.7697600000      7.6933500000     17.4241800000&lt;br /&gt;
 CARBON      6.0      7.2043100000      7.9413600000     17.8281100000&lt;br /&gt;
 CARBON      6.0      5.5051400000      7.0409700000     14.5903800000&lt;br /&gt;
 CARBON      6.0      6.8905200000      6.9194700000     14.7626200000&lt;br /&gt;
 CARBON      6.0      7.7396400000      7.5379800000     13.8285700000&lt;br /&gt;
 HYDROGEN    1.0      8.8190700000      7.4520600000     13.9252200000&lt;br /&gt;
 CARBON      6.0      7.2169400000      8.2960300000     12.7704100000&lt;br /&gt;
 HYDROGEN    1.0      7.8667000000      8.7825100000     12.0575600000&lt;br /&gt;
 CARBON      6.0      5.8260300000      8.4502300000     12.6467800000&lt;br /&gt;
 HYDROGEN    1.0      5.4143000000      9.0544300000     11.8493100000&lt;br /&gt;
 CARBON      6.0      4.9881500000      7.8192300000     13.5528400000&lt;br /&gt;
 HYDROGEN    1.0      3.9090500000      7.9420000000     13.4583700000&lt;br /&gt;
 CARBON      6.0      7.1538500000      1.1569600000     13.4143900000&lt;br /&gt;
 CARBON      6.0      4.4018100000      1.3603900000     13.1919900000&lt;br /&gt;
 CARBON      6.0      6.4791600000      0.3185500000     12.5353300000&lt;br /&gt;
 CARBON      6.0      5.0837400000      0.4369500000     12.4084900000&lt;br /&gt;
 HYDROGEN    1.0      7.0116000000     -0.4099400000     11.9434600000&lt;br /&gt;
 HYDROGEN    1.0      8.2399000000      1.0702400000     13.4937600000&lt;br /&gt;
 HYDROGEN    1.0      3.3185600000      1.4368700000     13.0953100000&lt;br /&gt;
 HYDROGEN    1.0      4.5549800000     -0.1997300000     11.7165200000&lt;br /&gt;
 CARBON      6.0      6.1105700000      3.9639000000     22.3866100000&lt;br /&gt;
 CARBON      6.0      4.1216300000      4.4424400000     21.1020100000&lt;br /&gt;
 HYDROGEN    1.0      7.8732900000      3.5217100000     21.2520500000&lt;br /&gt;
 CARBON      6.0      4.7606000000      4.2868500000     22.3363800000&lt;br /&gt;
 HYDROGEN    1.0      6.6064200000      3.8406000000     23.3428500000&lt;br /&gt;
 HYDROGEN    1.0      4.2065000000      4.4170700000     23.2667100000&lt;br /&gt;
 HYDROGEN    1.0      3.0674000000      4.6893500000     21.0889000000&lt;br /&gt;
 HYDROGEN    1.0      7.4249200000      7.7545300000     18.8583200000&lt;br /&gt;
 HYDROGEN    1.0      7.6651700000      8.9049700000     17.7652100000&lt;br /&gt;
 HYDROGEN    1.0      5.3324000000      8.6487800000     17.2222700000&lt;br /&gt;
 HYDROGEN    1.0      5.5015000000      7.1039000000     18.2759400000&lt;br /&gt;
  $END&lt;br /&gt;
  $ECP&lt;br /&gt;
 MO-ECP GEN     28     3&lt;br /&gt;
  5      ----- f potential     -----&lt;br /&gt;
     -0.0469492        0    537.9667807        &lt;br /&gt;
    -20.2080084        1    147.8982938        &lt;br /&gt;
   -106.2116302        2     45.7358898        &lt;br /&gt;
    -41.8107368        2     13.2911467        &lt;br /&gt;
     -4.2054103        2      4.7059961        &lt;br /&gt;
  3      ----- s-f potential     -----&lt;br /&gt;
      2.8063717        0    110.2991760        &lt;br /&gt;
     44.5162012        1     23.2014645        &lt;br /&gt;
     82.7785227        2      5.3530131        &lt;br /&gt;
  4      ----- p-f potential     -----&lt;br /&gt;
      4.9420876        0     63.2901397        &lt;br /&gt;
     25.8604976        1     23.3315302        &lt;br /&gt;
    132.4708742        2     24.6759423        &lt;br /&gt;
     57.3149794        2      4.6493040        &lt;br /&gt;
  5      ----- d-f potential     -----&lt;br /&gt;
      3.0054591        0    104.4839977        &lt;br /&gt;
     26.3637851        1     66.2307245        &lt;br /&gt;
    183.3849199        2     39.1283176        &lt;br /&gt;
     98.4453068        2     13.1164437        &lt;br /&gt;
     22.4901377        2      3.6280263 &lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
=====The Input Deck=====&lt;br /&gt;
&lt;br /&gt;
Below is the input deck.  It is where you tell GAMESS(US) what job type to execute and where all you individual parameters are entered for your specific job type.  The example input deck below is for a geometry optimization and frequency calculation.  This input deck is equivalent to the Gaussian job with &amp;quot;opt&amp;quot; and &amp;quot;freq&amp;quot; in the route section.&lt;br /&gt;
&lt;br /&gt;
  $CONTRL SCFTYP=RHF RUNTYP=OPTIMIZE DFTTYP=M06-L MAXIT=199 MULT=1 NOSYM=1&lt;br /&gt;
   ECP=READ $END&lt;br /&gt;
  $SYSTEM TIMLIM=2850 MWORDS=1750 MEMDDI=20 PARALL=.TRUE. $END&lt;br /&gt;
  $BASIS GBASIS=CUSTOMNI EXTFIL=.t. $END&lt;br /&gt;
  $SCF DIRSCF=.TRUE. FDIFF=.f. $END&lt;br /&gt;
  $STATPT OPTTOL=0.0001 NSTEP=500 HSSEND=.t. $END&lt;br /&gt;
  $DATA&lt;br /&gt;
&lt;br /&gt;
An important thing to note is the spacing.  In the input deck, there must be 1 space at the beginning of each line of the input deck.  If not, the job will fail.  Most builders will insert this space anyway, but it helps to double check.&lt;br /&gt;
&lt;br /&gt;
The end of the input deck is marked by the &amp;quot;$DATA&amp;quot; line.&lt;br /&gt;
&lt;br /&gt;
=====Job Title Line=====&lt;br /&gt;
&lt;br /&gt;
The next line of the file is the job title.  It can be anthing you wish, however, we have found that to be on the safe side, we avoide using symbols or spaces&lt;br /&gt;
&lt;br /&gt;
  Mo_BDT3&lt;br /&gt;
&lt;br /&gt;
=====Symmetry Point Group=====&lt;br /&gt;
&lt;br /&gt;
The next line of the file is the symmetry point group of your molecule.  Note that there is no leading space before the point group.&lt;br /&gt;
&lt;br /&gt;
 C1&lt;br /&gt;
&lt;br /&gt;
=====Coordinates=====&lt;br /&gt;
&lt;br /&gt;
The next block of text is set aside for the coordinates of the molecule.  This can be in internal (or z-matrix) format or cartesian coordinates.  Note that there is no leading space before the coordinates.  One may use the chemical symbol or the full name of each atom in the molecule.  Note that the end of the coordinates is signified by an &amp;quot;$END&amp;quot;, which MUST have one space preceding it.  The coordinates below do NOT have any basis set information inserted.  It is possible to insert basis set information directly into the input file.  This is accomplished by obtaining the desired basis set parameters from the EMSL and then inserting them below each relevant atom.  An example input file with inserted basis set information will be shown later.&lt;br /&gt;
&lt;br /&gt;
 MOLYBDENUM 42.0      5.7556500000      4.4039600000     16.5808400000&lt;br /&gt;
 SULFUR     16.0      7.4169700000      3.1956300000     15.2089300000&lt;br /&gt;
 SULFUR     16.0      4.0966800000      3.2258300000     15.1761100000&lt;br /&gt;
 SULFUR     16.0      3.9677300000      4.4940500000     18.3266100000&lt;br /&gt;
 SULFUR     16.0      7.1776900000      3.5815000000     18.4485200000&lt;br /&gt;
 SULFUR     16.0      4.3776600000      6.2447400000     15.6786900000&lt;br /&gt;
 SULFUR     16.0      7.5478700000      6.0679800000     16.2223700000&lt;br /&gt;
 CARBON      6.0      6.4716900000      2.1004800000     14.1902300000&lt;br /&gt;
 CARBON      6.0      5.0690300000      2.1781400000     14.1080700000&lt;br /&gt;
 CARBON      6.0      4.8421800000      4.2701300000     19.8855500000&lt;br /&gt;
 CARBON      6.0      6.1969000000      3.9249600000     19.9397400000&lt;br /&gt;
 CARBON      6.0      6.8280600000      3.7834200000     21.1913200000&lt;br /&gt;
 CARBON      6.0      5.7697600000      7.6933500000     17.4241800000&lt;br /&gt;
 CARBON      6.0      7.2043100000      7.9413600000     17.8281100000&lt;br /&gt;
 CARBON      6.0      5.5051400000      7.0409700000     14.5903800000&lt;br /&gt;
 CARBON      6.0      6.8905200000      6.9194700000     14.7626200000&lt;br /&gt;
 CARBON      6.0      7.7396400000      7.5379800000     13.8285700000&lt;br /&gt;
 HYDROGEN    1.0      8.8190700000      7.4520600000     13.9252200000&lt;br /&gt;
 CARBON      6.0      7.2169400000      8.2960300000     12.7704100000&lt;br /&gt;
 HYDROGEN    1.0      7.8667000000      8.7825100000     12.0575600000&lt;br /&gt;
 CARBON      6.0      5.8260300000      8.4502300000     12.6467800000&lt;br /&gt;
 HYDROGEN    1.0      5.4143000000      9.0544300000     11.8493100000&lt;br /&gt;
 CARBON      6.0      4.9881500000      7.8192300000     13.5528400000&lt;br /&gt;
 HYDROGEN    1.0      3.9090500000      7.9420000000     13.4583700000&lt;br /&gt;
 CARBON      6.0      7.1538500000      1.1569600000     13.4143900000&lt;br /&gt;
 CARBON      6.0      4.4018100000      1.3603900000     13.1919900000&lt;br /&gt;
 CARBON      6.0      6.4791600000      0.3185500000     12.5353300000&lt;br /&gt;
 CARBON      6.0      5.0837400000      0.4369500000     12.4084900000&lt;br /&gt;
 HYDROGEN    1.0      7.0116000000     -0.4099400000     11.9434600000&lt;br /&gt;
 HYDROGEN    1.0      8.2399000000      1.0702400000     13.4937600000&lt;br /&gt;
 HYDROGEN    1.0      3.3185600000      1.4368700000     13.0953100000&lt;br /&gt;
 HYDROGEN    1.0      4.5549800000     -0.1997300000     11.7165200000&lt;br /&gt;
 CARBON      6.0      6.1105700000      3.9639000000     22.3866100000&lt;br /&gt;
 CARBON      6.0      4.1216300000      4.4424400000     21.1020100000&lt;br /&gt;
 HYDROGEN    1.0      7.8732900000      3.5217100000     21.2520500000&lt;br /&gt;
 CARBON      6.0      4.7606000000      4.2868500000     22.3363800000&lt;br /&gt;
 HYDROGEN    1.0      6.6064200000      3.8406000000     23.3428500000&lt;br /&gt;
 HYDROGEN    1.0      4.2065000000      4.4170700000     23.2667100000&lt;br /&gt;
 HYDROGEN    1.0      3.0674000000      4.6893500000     21.0889000000&lt;br /&gt;
 HYDROGEN    1.0      7.4249200000      7.7545300000     18.8583200000&lt;br /&gt;
 HYDROGEN    1.0      7.6651700000      8.9049700000     17.7652100000&lt;br /&gt;
 HYDROGEN    1.0      5.3324000000      8.6487800000     17.2222700000&lt;br /&gt;
 HYDROGEN    1.0      5.5015000000      7.1039000000     18.2759400000&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
=====Effective Core Potential Data=====&lt;br /&gt;
&lt;br /&gt;
The effective core potential (ECP) data is entered after the coordinates.  It starts with &amp;quot;$ECP&amp;quot;, which must be preceded with a space.   The atoms of the molecule are listed in the same order as in the coordinates section and the parameters for the ECP are listed after each atom.  Note that for any atom that does NOT have an ECP, one must enter &amp;quot;ECP-NONE&amp;quot; or &amp;quot;NONE&amp;quot; after each atom without an ECP.&lt;br /&gt;
&lt;br /&gt;
 $ECP&lt;br /&gt;
 MO-ECP GEN     28     3&lt;br /&gt;
  5      ----- f potential     -----&lt;br /&gt;
     -0.0469492        0    537.9667807        &lt;br /&gt;
    -20.2080084        1    147.8982938        &lt;br /&gt;
   -106.2116302        2     45.7358898        &lt;br /&gt;
    -41.8107368        2     13.2911467        &lt;br /&gt;
     -4.2054103        2      4.7059961        &lt;br /&gt;
  3      ----- s-f potential     -----&lt;br /&gt;
      2.8063717        0    110.2991760        &lt;br /&gt;
     44.5162012        1     23.2014645        &lt;br /&gt;
     82.7785227        2      5.3530131        &lt;br /&gt;
  4      ----- p-f potential     -----&lt;br /&gt;
      4.9420876        0     63.2901397        &lt;br /&gt;
     25.8604976        1     23.3315302        &lt;br /&gt;
    132.4708742        2     24.6759423        &lt;br /&gt;
     57.3149794        2      4.6493040        &lt;br /&gt;
  5      ----- d-f potential     -----&lt;br /&gt;
      3.0054591        0    104.4839977        &lt;br /&gt;
     26.3637851        1     66.2307245        &lt;br /&gt;
    183.3849199        2     39.1283176        &lt;br /&gt;
     98.4453068        2     13.1164437        &lt;br /&gt;
     22.4901377        2      3.6280263 &lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
-- [[User:M.Zimmer-De Iuliis|mzd]]  16 November 2009&lt;br /&gt;
&lt;br /&gt;
====Using Effective Core Potentials in GAMESS(US)====&lt;br /&gt;
&lt;br /&gt;
For many metal containing compounds, it is very convenient and time saving to use an effective core potential (ECP) for the core metal electrons, as they are usually not important to the reactivity of the complex or the geometry around the metal.  Since GAMESS(US) has a limited number of built-in ECPs, one may want to make GAMESS(US) read an external file that contains the ECP data using the &amp;quot;EXTFIL&amp;quot; keyword in the $GBASIS command line of the input file.  In addition, to make GAMESS(US) use this external file, one must copy the &amp;quot;rungms&amp;quot; file and modify it accordingly.  The following is a list of instructions with commands that will work from a terminal.  One could also use WinSCP to do all of this with a GUI rather than a TUI.  &lt;br /&gt;
&lt;br /&gt;
=====Modifiying rungms to Use Custom Basis Set File=====&lt;br /&gt;
1. Copy &amp;quot;rungms&amp;quot; from /scinet/gpc/Applications/gamess to one's own /scratch/$USER/ directory:&lt;br /&gt;
 cp /scinet/gpc/Applications/gamess/rungms /scratch/$USER/&lt;br /&gt;
&lt;br /&gt;
2. Change to the scratch directory and check to see if &amp;quot;rungms&amp;quot; has copied successfully.&lt;br /&gt;
 cd /scratch/$USER&lt;br /&gt;
 ls&lt;br /&gt;
&lt;br /&gt;
3. Edit line 147 of the vi.  &lt;br /&gt;
 vi rungms&lt;br /&gt;
Move the cursor down to line 147 using the arrow keys.  It should say &amp;quot;setenv EXTBAS /dev/null&amp;quot;.  Using the arrow keys, move the cursor to the first &amp;quot;/&amp;quot; and then hit &amp;quot;i&amp;quot; to insert text.  Put the path to your external basis file here.  For example, /scratch/$USER/basisset.  Then hit &amp;quot;escape&amp;quot;.  To save the changes and exit vi, type &amp;quot;:&amp;quot; and you should see a colon appear at the bottom of the window.  Type &amp;quot;wq&amp;quot; (which should appear at the bottom of the window next to the colon) and then hit enter.  Now you are done with vi.&lt;br /&gt;
&lt;br /&gt;
=====Creating a Custom Basis Set File=====&lt;br /&gt;
1. To create a custom basis set file, you need create a new text document.  Our group's common practice is to comment out the first line of this file by inserting an exclamation mark (!) followed by noting the specific basis sets and ECPs that are going to be used for each of the atoms.  Let us the molecule Mo(CO)6, Molybdenum hexacarbonyl, as an example.  Below is the first line of the the external file, which we will call &amp;quot;CUSTOMMO&amp;quot;  (NOTE:  you can use any name for the external file that suits you, as long as it has no spaces and is 8 characters or less).&lt;br /&gt;
&lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&lt;br /&gt;
&lt;br /&gt;
2. The next step is to visit the [https://bse.pnl.gov/bse/portal EMSL Basis Set exchange] and select C and O from the periodic table.  Then, on the left of the page, select &amp;quot;6-31G&amp;quot; as the basis set.  Finally, make sure the output is in GAMESS(US) format using the drop-down menu and then click &amp;quot;get basis set&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:C_O_6_31G_basisset.JPG|centre]]&lt;br /&gt;
&lt;br /&gt;
3. A new window should appear with text in it.  For our example case, the text looks like this:&lt;br /&gt;
 &lt;br /&gt;
 !  6-31G  EMSL  Basis Set Exchange Library   10/13/09 11:12 AM&lt;br /&gt;
 ! Elements                             References&lt;br /&gt;
 ! --------                             ----------&lt;br /&gt;
 ! H - He: W.J. Hehre, R. Ditchfield and J.A. Pople, J. Chem. Phys. 56,&lt;br /&gt;
 ! Li - Ne: 2257 (1972).  Note: Li and B come from J.D. Dill and J.A.&lt;br /&gt;
 ! Pople, J. Chem. Phys. 62, 2921 (1975).&lt;br /&gt;
 ! Na - Ar: M.M. Francl, W.J. Petro, W.J. Hehre, J.S. Binkley, M.S. Gordon,&lt;br /&gt;
 ! D.J. DeFrees and J.A. Pople, J. Chem. Phys. 77, 3654 (1982)&lt;br /&gt;
 ! K  - Zn: V. Rassolov, J.A. Pople, M. Ratner and T.L. Windus, J. Chem. Phys.&lt;br /&gt;
 ! 109, 1223 (1998)&lt;br /&gt;
 ! Note: He and Ne are unpublished basis sets taken from the Gaussian&lt;br /&gt;
 ! program&lt;br /&gt;
 ! &lt;br /&gt;
 $DATA&amp;lt;br /&amp;gt;&lt;br /&gt;
 CARBON&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 OXYGEN&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000        &lt;br /&gt;
 $END&lt;br /&gt;
&lt;br /&gt;
3. Now, copy and paste the text between the $DATA and $END headings onto our external text file, CUSTOMMO.  We also need to change the change the name of each element to it symbol in the periodic table.  Finally, we need to add the name of the external file next to the element symbol, separated by one space.  Note that there should be a blank line separating the basis set information and the first, commented-out line (The line starting with the '!').  The CUSTOMMO should look like this:&lt;br /&gt;
 &lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&amp;lt;br /&amp;gt;&lt;br /&gt;
 C CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 O CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000 &lt;br /&gt;
&lt;br /&gt;
4. Repeat Step 3 above but choose Mo and select the LANL2DZ ECP instead.  A new window will pop up with the basis set information as well as the ECP data we need, since we specified the LANL2DZ '''ECP'''.  The ECP data is not inserted into the external file, rather it is placed into the input file itself (More on this later).  &lt;br /&gt;
&lt;br /&gt;
[[File:Mo_LANL2DZ_basisset.JPG|centre]]&lt;br /&gt;
&lt;br /&gt;
5.  After copying the molybdenum basis set information, your fiished external basis set file should look like this:&lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&amp;lt;br /&amp;gt;&lt;br /&gt;
 C CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 O CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000&amp;lt;br /&amp;gt; &lt;br /&gt;
 Mo CUSTOMO&lt;br /&gt;
 S   3&lt;br /&gt;
   1      2.3610000             -0.9121760        &lt;br /&gt;
   2      1.3090000              1.1477453        &lt;br /&gt;
   3      0.4500000              0.6097109        &lt;br /&gt;
 S   4&lt;br /&gt;
   1      2.3610000              0.8139259        &lt;br /&gt;
   2      1.3090000             -1.1360084        &lt;br /&gt;
   3      0.4500000             -1.1611592        &lt;br /&gt;
   4      0.1681000              1.0064786        &lt;br /&gt;
 S   1&lt;br /&gt;
   1      0.0423000              1.0000000        &lt;br /&gt;
 P   3&lt;br /&gt;
   1      4.8950000             -0.0908258        &lt;br /&gt;
   2      1.0440000              0.7042899        &lt;br /&gt;
   3      0.3877000              0.3973179        &lt;br /&gt;
 P   2&lt;br /&gt;
   1      0.4995000             -0.1081945        &lt;br /&gt;
   2      0.0780000              1.0368093        &lt;br /&gt;
 P   1&lt;br /&gt;
   1      0.0247000              1.0000000        &lt;br /&gt;
 D   3&lt;br /&gt;
   1      2.9930000              0.0527063        &lt;br /&gt;
   2      1.0630000              0.5003907        &lt;br /&gt;
   3      0.3721000              0.5794024        &lt;br /&gt;
 D   1&lt;br /&gt;
   1      0.1178000              1.0000000&lt;br /&gt;
&lt;br /&gt;
-- [[User:M.Zimmer-De Iuliis|mzd]]  13 October 2009&lt;br /&gt;
&lt;br /&gt;
==Climate Modelling==&lt;br /&gt;
&lt;br /&gt;
==Medicine/Bio==&lt;br /&gt;
&lt;br /&gt;
==High Energy Physics==&lt;br /&gt;
&lt;br /&gt;
==Structural Biology==&lt;br /&gt;
Molecular simulation of proteins, lipids, carbohydrates, and other biologically relevant molecules.&lt;br /&gt;
===Molecular Dynamics (MD) simulation===&lt;br /&gt;
====GROMACS====&lt;br /&gt;
Please refer to the [[gromacs|GROMACS]] page&lt;br /&gt;
====AMBER====&lt;br /&gt;
Please refer to the [[amber|AMBER]] page&lt;br /&gt;
====NAMD====&lt;br /&gt;
NAMD is one of the better scaling MD packages out there. With sufficiently large systems, it is able to scale to hundreds or thousands of cores on Scinet. Below are details for compiling and running NAMD on Scinet.&lt;br /&gt;
&lt;br /&gt;
More information regarding performance and different compile options coming soon...&lt;br /&gt;
&lt;br /&gt;
=====Compiling NAMD for GPC=====&lt;br /&gt;
Ensure the proper compiler/mpi modules are loaded.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
module load intel&lt;br /&gt;
module load openmpi/1.3.3-intel-v11.0-ofed&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Compile Charm++ and NAMD'''&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
#Unpack source files and get required support libraries&lt;br /&gt;
tar -xzf NAMD_2.7b1_Source.tar.gz&lt;br /&gt;
cd NAMD_2.7b1_Source&lt;br /&gt;
tar -xf charm-6.1.tar&lt;br /&gt;
wget http://www.ks.uiuc.edu/Research/namd/libraries/fftw-linux-x86_64.tar.gz&lt;br /&gt;
wget http://www.ks.uiuc.edu/Research/namd/libraries/tcl-linux-x86_64.tar.gz&lt;br /&gt;
tar -xzf fftw-linux-x86_64.tar.gz; mv linux-x86_64 fftw&lt;br /&gt;
tar -xzf tcl-linux-x86_64.tar.gz; mv linux-x86_64 tcl&lt;br /&gt;
#Compile Charm++&lt;br /&gt;
cd charm-6.1&lt;br /&gt;
./build charm++ mpi-linux-x86_64 icc --basedir /scinet/gpc/mpi/openmpi/1.3.3-intel-v11.0-ofed/ --no-shared -O -DCMK_OPTIMIZE=1&lt;br /&gt;
cd ..&lt;br /&gt;
#Compile NAMD. &lt;br /&gt;
#Edit arch/Linux-x86_64-icc.arch and add &amp;quot;-lmpi&amp;quot; to the end of the CXXOPTS and COPTS line.&lt;br /&gt;
#Make a builds directory if you want different versions of NAMD compiled at the same time.&lt;br /&gt;
mkdir builds&lt;br /&gt;
./config builds/Linux-x86_64-icc --charm-arch mpi-linux-x86_64-icc&lt;br /&gt;
cd builds/Linux-x86_64-icc/&lt;br /&gt;
make -j4 namd2 # Adjust value of j as desired to specify number of simultaneous make targets. &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
--[[User:Cmadill|Cmadill]] 16:18, 27 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
=====Running Fortran=====&lt;br /&gt;
On the development nodes, there is an old gcc. The associated libraries are not on the compute nodes. Ensure the line:&lt;br /&gt;
&lt;br /&gt;
module load gcc&lt;br /&gt;
&lt;br /&gt;
is in your .bashrc file.&lt;br /&gt;
&lt;br /&gt;
====LAMMPS====&lt;br /&gt;
[[Image:StrongScalingLAMMPS.png|thumb|320px|right|Strong scaling test on GPC with OpenMPI and IntelMPI on Ethernet and InfiniBand]]&lt;br /&gt;
[[Image:WeakScalingLAMMPS.png|thumb|320px|right|Weak scaling test on GPC with OpenMPI and IntelMPI on Ethernet and InfiniBand]]&lt;br /&gt;
Results from strong scaling tests for LAMMPS using EAM potentials on GPC are shown in the graph on the right.  The test simulation ran 500 timesteps for 4,000,000 atoms.&lt;br /&gt;
&lt;br /&gt;
Results from weak scaling tests for LAMMPS using EAM potentials on GPC are shown in the graph on the right.  The test simulation ran 500 timesteps for 32,000 atoms per processor.&lt;br /&gt;
&lt;br /&gt;
OpenMPI version used: openmpi/1.4.1-intel-v11.0-ofed&lt;br /&gt;
&lt;br /&gt;
IntelMPI version used: intelmpi/impi-4.0.0.013&lt;br /&gt;
&lt;br /&gt;
Results show good scaling for both OpenMPI and IntelMPI up to 16 processors, after which performance begins to suffer.  On Infiniband, excellent scaling is maintained to 512 processors.&lt;br /&gt;
&lt;br /&gt;
IntelMPI shows slightly better performance compared to OpenMPI.&lt;br /&gt;
&lt;br /&gt;
===Monte Carlo (MC) simulation===&lt;/div&gt;</summary>
		<author><name>Jchu</name></author>
	</entry>
	<entry>
		<id>https://oldwiki.scinet.utoronto.ca/index.php?title=User_Codes&amp;diff=876</id>
		<title>User Codes</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.scinet.utoronto.ca/index.php?title=User_Codes&amp;diff=876"/>
		<updated>2010-02-02T18:57:44Z</updated>

		<summary type="html">&lt;p&gt;Jchu: /* LAMMPS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&lt;br /&gt;
==Astrophysics==&lt;br /&gt;
&lt;br /&gt;
===Athena (explicit, uniform grid MHD code)===&lt;br /&gt;
&lt;br /&gt;
[[Image:StrongScalingAthenaGPC.png|thumb|right|320px|Athena scaling on GPC with OpenMPI and MVAPICH2 on GigE, and OpenMPI on InfiniBand]]&lt;br /&gt;
&lt;br /&gt;
[http://www.astro.princeton.edu/~jstone/athena.html Athena] is a straightforward C code which doesn't use a lot of libraries so it is pretty straightforward to build and compile on new machines.   &lt;br /&gt;
&lt;br /&gt;
It encapsulates its compiler flags, etc in an &amp;lt;tt&amp;gt;Makeoptions.in&amp;lt;/tt&amp;gt; file which is then processed by &amp;lt;tt&amp;gt;configure&amp;lt;/tt&amp;gt;.   I've used the following additions to &amp;lt;tt&amp;gt;Makeoptions.in&amp;lt;/tt&amp;gt; on TCS and GPC:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
ifeq ($(MACHINE),scinettcs)&lt;br /&gt;
  CC = mpcc_r&lt;br /&gt;
  LDR = mpcc_r&lt;br /&gt;
  OPT = -O5 -q64 -qarch=pwr6 -qtune=pwr6 -qcache=auto -qlargepage -qstrict&lt;br /&gt;
  MPIINC =&lt;br /&gt;
  MPILIB =&lt;br /&gt;
  CFLAGS = $(OPT)&lt;br /&gt;
  LIB = -ldl -lm&lt;br /&gt;
else&lt;br /&gt;
ifeq ($(MACHINE),scinetgpc)&lt;br /&gt;
  CC = mpicc&lt;br /&gt;
  LDR = mpicc&lt;br /&gt;
  OPT = -O3&lt;br /&gt;
  MPIINC =&lt;br /&gt;
  MPILIB =&lt;br /&gt;
  CFLAGS = $(OPT)&lt;br /&gt;
  LIB = -lm&lt;br /&gt;
else&lt;br /&gt;
...&lt;br /&gt;
endif&lt;br /&gt;
endif&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
It performs quite well on the GPC, scaling extremely well even on a strong scaling test out to about 256 cores (32 nodes) on Gigabit ethernet, and performing beautifully on InfiniBand out to 512 cores (64 nodes). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Ljdursi|ljdursi]]  19:20, 13 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
===FLASH3 (Adaptive Mesh reactive hydrodynamics; explict hydro/MHD)===&lt;br /&gt;
&lt;br /&gt;
[[Image:weak-scaling-example.png|thumb|right|320px|Weak scaling test of the 2d sod problem on both the GPC and TCS.  The results are actually somewhat faster on the GPC; in both cases (weak) scaling is very good out at least to 256 cores]]&lt;br /&gt;
&lt;br /&gt;
[http://flash.uchicago.edu FLASH] encapsulates its machine-dependant information in the &amp;lt;tt&amp;gt;FLASH3/sites&amp;lt;/tt&amp;gt; directory.  For the GPC, you'll have to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load intel&lt;br /&gt;
module load openmpi&lt;br /&gt;
module load hdf5/183-v16-openmpi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and with that, the following file (&amp;lt;tt&amp;gt;sites/scinetgpc/Makefile.h&amp;lt;/tt&amp;gt;) works for me:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
## Must do module load hdf5/183-v16-openmpi&lt;br /&gt;
HDF5_PATH = ${SCINET_HDF5_BASE}&lt;br /&gt;
ZLIB_PATH = /usr/local&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Compiler and linker commands&lt;br /&gt;
#&lt;br /&gt;
#  We use the f90 compiler as the linker, so some C libraries may explicitly&lt;br /&gt;
#  need to be added into the link line.&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
## modules will put the right mpi in our path&lt;br /&gt;
FCOMP   = mpif77&lt;br /&gt;
CCOMP   = mpicc&lt;br /&gt;
CPPCOMP = mpiCC&lt;br /&gt;
LINK    = mpif77&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Compilation flags&lt;br /&gt;
#&lt;br /&gt;
#  Three sets of compilation/linking flags are defined: one for optimized&lt;br /&gt;
#  code, one for testing, and one for debugging.  The default is to use the &lt;br /&gt;
#  _OPT version.  Specifying -debug to setup will pick the _DEBUG version,&lt;br /&gt;
#  these should enable bounds checking.  Specifying -test is used for &lt;br /&gt;
#  flash_test, and is set for quick code generation, and (sometimes) &lt;br /&gt;
#  profiling.  The Makefile generated by setup will assign the generic token &lt;br /&gt;
#  (ex. FFLAGS) to the proper set of flags (ex. FFLAGS_OPT).&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
FFLAGS_OPT   =  -c -r8 -i4 -O3 -xSSE4.2&lt;br /&gt;
FFLAGS_DEBUG =  -c -g -r8 -i4 -O0&lt;br /&gt;
FFLAGS_TEST  =  -c -r8 -i4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# if we are using HDF5, we need to specify the path to the include files&lt;br /&gt;
CFLAGS_HDF5  = -I${HDF5_PATH}/include&lt;br /&gt;
&lt;br /&gt;
CFLAGS_OPT   = -c -O3 -xSSE4.2&lt;br /&gt;
CFLAGS_TEST  = -c -O2 &lt;br /&gt;
CFLAGS_DEBUG = -c -g  &lt;br /&gt;
&lt;br /&gt;
MDEFS = &lt;br /&gt;
&lt;br /&gt;
.SUFFIXES: .o .c .f .F .h .fh .F90 .f90&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Linker flags&lt;br /&gt;
#&lt;br /&gt;
#  There is a seperate version of the linker flags for each of the _OPT, &lt;br /&gt;
#  _DEBUG, and _TEST cases.&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
LFLAGS_OPT   = -o&lt;br /&gt;
LFLAGS_TEST  = -o&lt;br /&gt;
LFLAGS_DEBUG = -g -o&lt;br /&gt;
&lt;br /&gt;
MACHOBJ = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MV = mv -f&lt;br /&gt;
AR = ar -r&lt;br /&gt;
RM = rm -f&lt;br /&gt;
CD = cd&lt;br /&gt;
RL = ranlib&lt;br /&gt;
ECHO = echo&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Ljdursi|ljdursi]] 22:11, 13 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Aeronautics==&lt;br /&gt;
&lt;br /&gt;
==Chemistry==&lt;br /&gt;
&lt;br /&gt;
===GAMESS (US)===&lt;br /&gt;
The GAMESS version January 12, 2009 R3 was built using the Intel v11.1 compilers and v3.2.2 MPI library, according to the instructions in http://software.intel.com/en-us/articles/building-gamess-with-intel-compilers-intel-mkl-and-intel-mpi-on-linux/&lt;br /&gt;
&lt;br /&gt;
The required build scripts - comp, compall, lked - and run script - rungms - were modified to account for our own installation.  In order to build GAMESS one first must ensure that the intel and intelmpi modules are loaded (&amp;quot;module load intel intelmpi&amp;quot;).  This applies to running GAMESS as well.&lt;br /&gt;
The module &amp;quot;gamess&amp;quot; must also be loaded in order to run GAMESS (&amp;quot;module load gamess&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
The modified scripts are in the file /scinet/gpc/src/gamess-on-scinet.tar.gz&lt;br /&gt;
&lt;br /&gt;
====Running GAMESS====&lt;br /&gt;
- Make sure the directory /scratch/$USER/gamess-scratch exists (the $SCINET_RUNGMS script will create it if it does not exist)&lt;br /&gt;
&lt;br /&gt;
- Make sure the modules: intel, intelmpi, gamess are loaded (in your .bashrc: &amp;quot;module load intel intelmpi gamess&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
- Create a torque script to run GAMESS.  Here is an example:&lt;br /&gt;
&lt;br /&gt;
- The GAMESS executable is in $SCINET_GAMESS_HOME/gamess.00.x&lt;br /&gt;
- The rungms script is in $SCINET_GAMESS_HOME/rungms (actually it is $SCINET_RUNGMS)&lt;br /&gt;
&lt;br /&gt;
- For IB multinode runs, use the $SCINET_RUNGMS_IB script&lt;br /&gt;
&lt;br /&gt;
- The rungms script takes 4 arguments:  input file, executable number, number of compute processes, processors per node&lt;br /&gt;
&lt;br /&gt;
For example, in order to run with the input file /scratch/$USER/gamesstest01, on 8 cpus, and the default version (00)&lt;br /&gt;
of the executable on a machine with 8 cores:&lt;br /&gt;
&lt;br /&gt;
   # load the gamess module in .bashrc&lt;br /&gt;
   module load gamess  &lt;br /&gt;
&lt;br /&gt;
   # run the program&lt;br /&gt;
   $SCINET_RUNGMS /scratch/$USER/gamesstest01 00 8 8&lt;br /&gt;
&lt;br /&gt;
Here is a sample torque script for running a GAMESS calculation, on a single 8-core node:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#PBS -l nodes=1:ppn=8,walltime=48:00:00,os=centos53computeA&lt;br /&gt;
#PBS -N gamessjob&lt;br /&gt;
&lt;br /&gt;
## To submit type: qsub gms.sh&lt;br /&gt;
&lt;br /&gt;
# If not an interactive job (i.e. -I), then cd into the directory where&lt;br /&gt;
# I typed qsub.&lt;br /&gt;
if [ &amp;quot;$PBS_ENVIRONMENT&amp;quot; != &amp;quot;PBS_INTERACTIVE&amp;quot; ]; then&lt;br /&gt;
   if [ -n &amp;quot;$PBS_O_WORKDIR&amp;quot; ]; then&lt;br /&gt;
     cd $PBS_O_WORKDIR&lt;br /&gt;
   fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# the input file is typically named something like &amp;quot;gamesjob.inp&amp;quot;&lt;br /&gt;
# so the script will be run like &amp;quot;$SCINET_RUNGMS gamessjob 00 8 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# load the gamess module if not in .bashrc already&lt;br /&gt;
# actually, it MUST be in .bashrc&lt;br /&gt;
# module load gamess&lt;br /&gt;
&lt;br /&gt;
# run the program&lt;br /&gt;
&lt;br /&gt;
$SCINET_RUNGMS gamessjob 00 8 8&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a similar script, but this one uses 2 InfiniBand-connected nodes,&lt;br /&gt;
and runs the appropriate $SCINET_RUNGMS_IB script to actually run the job:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#PBS -l nodes=2:ib:ppn=8,walltime=48:00:00,os=centos53computeA&lt;br /&gt;
#PBS -N gamessjob&lt;br /&gt;
&lt;br /&gt;
## To submit type: qsub gmsib.sh&lt;br /&gt;
&lt;br /&gt;
# If not an interactive job (i.e. -I), then cd into the directory where&lt;br /&gt;
# I typed qsub.&lt;br /&gt;
if [ &amp;quot;$PBS_ENVIRONMENT&amp;quot; != &amp;quot;PBS_INTERACTIVE&amp;quot; ]; then&lt;br /&gt;
   if [ -n &amp;quot;$PBS_O_WORKDIR&amp;quot; ]; then&lt;br /&gt;
     cd $PBS_O_WORKDIR&lt;br /&gt;
   fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# the input file is typically named something like &amp;quot;gamesjob.inp&amp;quot;&lt;br /&gt;
# so the script will be run like &amp;quot;$SCINET_RUNGMS gamessjob 00 8 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# load the gamess module if not in .bashrc already&lt;br /&gt;
# actually, it MUST be in .bashrc&lt;br /&gt;
# module load gamess&lt;br /&gt;
&lt;br /&gt;
# This script requests InfiniBand-connected nodes (:ib above)&lt;br /&gt;
# so it must run with the IB version of the rungms script,&lt;br /&gt;
# $SCINET_RUNGMS_IB&lt;br /&gt;
&lt;br /&gt;
$SCINET_RUNGMS_IB gamessjob 00 16 8&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
-- [[User:Dgruner|dgruner]]  5 October 2009&lt;br /&gt;
&lt;br /&gt;
===Tips from the Fekl Lab===&lt;br /&gt;
&lt;br /&gt;
Through trial and error, we have found a few useful things that we would like to share:&lt;br /&gt;
&lt;br /&gt;
1. Two very useful, open-source programs for visualization of output files from GAMESS(US) and for generation of input files are [http://www.scl.ameslab.gov/MacMolPlt/ MacMolPlt]and [http://avogadro.openmolecules.net/wiki/Main_Page Avogadro].  The are available for UNIX/LINUX, Windows and Mac based machines, HOWEVER:  any input files that we have generated with these programs on a Windows-based machine do not run on Mac based machines.  We don't know why.&lt;br /&gt;
&lt;br /&gt;
2. [http://winscp.net/eng/index.php WinSCP] is a very useful tool that has a graphical user interface for moving files from a local machine to SCINET and vice versa.  It also has text editing capabilities.&lt;br /&gt;
&lt;br /&gt;
3. The [https://bse.pnl.gov/bse/portal ESML Basis Set Exchange] is an excellent source for custom basis set or effective core potential parameters.  Make sure that you specify &amp;quot;Gamess-US&amp;quot; in the format drop-down box.&lt;br /&gt;
&lt;br /&gt;
4.  The commercial program [http://www.chemcraftprog.com/ ChemCraft] is a highly useful visualization program that has the ability to edit molecules in a very similar fashion to GaussView.  It can also be customized to build GAMESS(US) input files.&lt;br /&gt;
&lt;br /&gt;
====Anatomy of a GAMESS(US) Input File with Basis Set Info in an External File====&lt;br /&gt;
&lt;br /&gt;
  $CONTRL SCFTYP=RHF RUNTYP=OPTIMIZE DFTTYP=M06-L MAXIT=199 MULT=1 NOSYM=1&lt;br /&gt;
   ECP=READ $END&lt;br /&gt;
  $SYSTEM TIMLIM=525600 MWORDS=1750 PARALL=.TRUE. $END&lt;br /&gt;
  $BASIS GBASIS=CUSTOMNI EXTFIL=.t. $END&lt;br /&gt;
  $SCF DIRSCF=.TRUE. FDIFF=.f. $END&lt;br /&gt;
  $STATPT OPTTOL=0.0001 NSTEP=500 HSSEND=.t. $END&lt;br /&gt;
  $DATA&lt;br /&gt;
  Mo_BDT3&lt;br /&gt;
 C1&lt;br /&gt;
 MOLYBDENUM 42.0      5.7556500000      4.4039600000     16.5808400000&lt;br /&gt;
 SULFUR     16.0      7.4169700000      3.1956300000     15.2089300000&lt;br /&gt;
 SULFUR     16.0      4.0966800000      3.2258300000     15.1761100000&lt;br /&gt;
 SULFUR     16.0      3.9677300000      4.4940500000     18.3266100000&lt;br /&gt;
 SULFUR     16.0      7.1776900000      3.5815000000     18.4485200000&lt;br /&gt;
 SULFUR     16.0      4.3776600000      6.2447400000     15.6786900000&lt;br /&gt;
 SULFUR     16.0      7.5478700000      6.0679800000     16.2223700000&lt;br /&gt;
 CARBON      6.0      6.4716900000      2.1004800000     14.1902300000&lt;br /&gt;
 CARBON      6.0      5.0690300000      2.1781400000     14.1080700000&lt;br /&gt;
 CARBON      6.0      4.8421800000      4.2701300000     19.8855500000&lt;br /&gt;
 CARBON      6.0      6.1969000000      3.9249600000     19.9397400000&lt;br /&gt;
 CARBON      6.0      6.8280600000      3.7834200000     21.1913200000&lt;br /&gt;
 CARBON      6.0      5.7697600000      7.6933500000     17.4241800000&lt;br /&gt;
 CARBON      6.0      7.2043100000      7.9413600000     17.8281100000&lt;br /&gt;
 CARBON      6.0      5.5051400000      7.0409700000     14.5903800000&lt;br /&gt;
 CARBON      6.0      6.8905200000      6.9194700000     14.7626200000&lt;br /&gt;
 CARBON      6.0      7.7396400000      7.5379800000     13.8285700000&lt;br /&gt;
 HYDROGEN    1.0      8.8190700000      7.4520600000     13.9252200000&lt;br /&gt;
 CARBON      6.0      7.2169400000      8.2960300000     12.7704100000&lt;br /&gt;
 HYDROGEN    1.0      7.8667000000      8.7825100000     12.0575600000&lt;br /&gt;
 CARBON      6.0      5.8260300000      8.4502300000     12.6467800000&lt;br /&gt;
 HYDROGEN    1.0      5.4143000000      9.0544300000     11.8493100000&lt;br /&gt;
 CARBON      6.0      4.9881500000      7.8192300000     13.5528400000&lt;br /&gt;
 HYDROGEN    1.0      3.9090500000      7.9420000000     13.4583700000&lt;br /&gt;
 CARBON      6.0      7.1538500000      1.1569600000     13.4143900000&lt;br /&gt;
 CARBON      6.0      4.4018100000      1.3603900000     13.1919900000&lt;br /&gt;
 CARBON      6.0      6.4791600000      0.3185500000     12.5353300000&lt;br /&gt;
 CARBON      6.0      5.0837400000      0.4369500000     12.4084900000&lt;br /&gt;
 HYDROGEN    1.0      7.0116000000     -0.4099400000     11.9434600000&lt;br /&gt;
 HYDROGEN    1.0      8.2399000000      1.0702400000     13.4937600000&lt;br /&gt;
 HYDROGEN    1.0      3.3185600000      1.4368700000     13.0953100000&lt;br /&gt;
 HYDROGEN    1.0      4.5549800000     -0.1997300000     11.7165200000&lt;br /&gt;
 CARBON      6.0      6.1105700000      3.9639000000     22.3866100000&lt;br /&gt;
 CARBON      6.0      4.1216300000      4.4424400000     21.1020100000&lt;br /&gt;
 HYDROGEN    1.0      7.8732900000      3.5217100000     21.2520500000&lt;br /&gt;
 CARBON      6.0      4.7606000000      4.2868500000     22.3363800000&lt;br /&gt;
 HYDROGEN    1.0      6.6064200000      3.8406000000     23.3428500000&lt;br /&gt;
 HYDROGEN    1.0      4.2065000000      4.4170700000     23.2667100000&lt;br /&gt;
 HYDROGEN    1.0      3.0674000000      4.6893500000     21.0889000000&lt;br /&gt;
 HYDROGEN    1.0      7.4249200000      7.7545300000     18.8583200000&lt;br /&gt;
 HYDROGEN    1.0      7.6651700000      8.9049700000     17.7652100000&lt;br /&gt;
 HYDROGEN    1.0      5.3324000000      8.6487800000     17.2222700000&lt;br /&gt;
 HYDROGEN    1.0      5.5015000000      7.1039000000     18.2759400000&lt;br /&gt;
  $END&lt;br /&gt;
  $ECP&lt;br /&gt;
 MO-ECP GEN     28     3&lt;br /&gt;
  5      ----- f potential     -----&lt;br /&gt;
     -0.0469492        0    537.9667807        &lt;br /&gt;
    -20.2080084        1    147.8982938        &lt;br /&gt;
   -106.2116302        2     45.7358898        &lt;br /&gt;
    -41.8107368        2     13.2911467        &lt;br /&gt;
     -4.2054103        2      4.7059961        &lt;br /&gt;
  3      ----- s-f potential     -----&lt;br /&gt;
      2.8063717        0    110.2991760        &lt;br /&gt;
     44.5162012        1     23.2014645        &lt;br /&gt;
     82.7785227        2      5.3530131        &lt;br /&gt;
  4      ----- p-f potential     -----&lt;br /&gt;
      4.9420876        0     63.2901397        &lt;br /&gt;
     25.8604976        1     23.3315302        &lt;br /&gt;
    132.4708742        2     24.6759423        &lt;br /&gt;
     57.3149794        2      4.6493040        &lt;br /&gt;
  5      ----- d-f potential     -----&lt;br /&gt;
      3.0054591        0    104.4839977        &lt;br /&gt;
     26.3637851        1     66.2307245        &lt;br /&gt;
    183.3849199        2     39.1283176        &lt;br /&gt;
     98.4453068        2     13.1164437        &lt;br /&gt;
     22.4901377        2      3.6280263 &lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
=====The Input Deck=====&lt;br /&gt;
&lt;br /&gt;
Below is the input deck.  It is where you tell GAMESS(US) what job type to execute and where all you individual parameters are entered for your specific job type.  The example input deck below is for a geometry optimization and frequency calculation.  This input deck is equivalent to the Gaussian job with &amp;quot;opt&amp;quot; and &amp;quot;freq&amp;quot; in the route section.&lt;br /&gt;
&lt;br /&gt;
  $CONTRL SCFTYP=RHF RUNTYP=OPTIMIZE DFTTYP=M06-L MAXIT=199 MULT=1 NOSYM=1&lt;br /&gt;
   ECP=READ $END&lt;br /&gt;
  $SYSTEM TIMLIM=2850 MWORDS=1750 MEMDDI=20 PARALL=.TRUE. $END&lt;br /&gt;
  $BASIS GBASIS=CUSTOMNI EXTFIL=.t. $END&lt;br /&gt;
  $SCF DIRSCF=.TRUE. FDIFF=.f. $END&lt;br /&gt;
  $STATPT OPTTOL=0.0001 NSTEP=500 HSSEND=.t. $END&lt;br /&gt;
  $DATA&lt;br /&gt;
&lt;br /&gt;
An important thing to note is the spacing.  In the input deck, there must be 1 space at the beginning of each line of the input deck.  If not, the job will fail.  Most builders will insert this space anyway, but it helps to double check.&lt;br /&gt;
&lt;br /&gt;
The end of the input deck is marked by the &amp;quot;$DATA&amp;quot; line.&lt;br /&gt;
&lt;br /&gt;
=====Job Title Line=====&lt;br /&gt;
&lt;br /&gt;
The next line of the file is the job title.  It can be anthing you wish, however, we have found that to be on the safe side, we avoide using symbols or spaces&lt;br /&gt;
&lt;br /&gt;
  Mo_BDT3&lt;br /&gt;
&lt;br /&gt;
=====Symmetry Point Group=====&lt;br /&gt;
&lt;br /&gt;
The next line of the file is the symmetry point group of your molecule.  Note that there is no leading space before the point group.&lt;br /&gt;
&lt;br /&gt;
 C1&lt;br /&gt;
&lt;br /&gt;
=====Coordinates=====&lt;br /&gt;
&lt;br /&gt;
The next block of text is set aside for the coordinates of the molecule.  This can be in internal (or z-matrix) format or cartesian coordinates.  Note that there is no leading space before the coordinates.  One may use the chemical symbol or the full name of each atom in the molecule.  Note that the end of the coordinates is signified by an &amp;quot;$END&amp;quot;, which MUST have one space preceding it.  The coordinates below do NOT have any basis set information inserted.  It is possible to insert basis set information directly into the input file.  This is accomplished by obtaining the desired basis set parameters from the EMSL and then inserting them below each relevant atom.  An example input file with inserted basis set information will be shown later.&lt;br /&gt;
&lt;br /&gt;
 MOLYBDENUM 42.0      5.7556500000      4.4039600000     16.5808400000&lt;br /&gt;
 SULFUR     16.0      7.4169700000      3.1956300000     15.2089300000&lt;br /&gt;
 SULFUR     16.0      4.0966800000      3.2258300000     15.1761100000&lt;br /&gt;
 SULFUR     16.0      3.9677300000      4.4940500000     18.3266100000&lt;br /&gt;
 SULFUR     16.0      7.1776900000      3.5815000000     18.4485200000&lt;br /&gt;
 SULFUR     16.0      4.3776600000      6.2447400000     15.6786900000&lt;br /&gt;
 SULFUR     16.0      7.5478700000      6.0679800000     16.2223700000&lt;br /&gt;
 CARBON      6.0      6.4716900000      2.1004800000     14.1902300000&lt;br /&gt;
 CARBON      6.0      5.0690300000      2.1781400000     14.1080700000&lt;br /&gt;
 CARBON      6.0      4.8421800000      4.2701300000     19.8855500000&lt;br /&gt;
 CARBON      6.0      6.1969000000      3.9249600000     19.9397400000&lt;br /&gt;
 CARBON      6.0      6.8280600000      3.7834200000     21.1913200000&lt;br /&gt;
 CARBON      6.0      5.7697600000      7.6933500000     17.4241800000&lt;br /&gt;
 CARBON      6.0      7.2043100000      7.9413600000     17.8281100000&lt;br /&gt;
 CARBON      6.0      5.5051400000      7.0409700000     14.5903800000&lt;br /&gt;
 CARBON      6.0      6.8905200000      6.9194700000     14.7626200000&lt;br /&gt;
 CARBON      6.0      7.7396400000      7.5379800000     13.8285700000&lt;br /&gt;
 HYDROGEN    1.0      8.8190700000      7.4520600000     13.9252200000&lt;br /&gt;
 CARBON      6.0      7.2169400000      8.2960300000     12.7704100000&lt;br /&gt;
 HYDROGEN    1.0      7.8667000000      8.7825100000     12.0575600000&lt;br /&gt;
 CARBON      6.0      5.8260300000      8.4502300000     12.6467800000&lt;br /&gt;
 HYDROGEN    1.0      5.4143000000      9.0544300000     11.8493100000&lt;br /&gt;
 CARBON      6.0      4.9881500000      7.8192300000     13.5528400000&lt;br /&gt;
 HYDROGEN    1.0      3.9090500000      7.9420000000     13.4583700000&lt;br /&gt;
 CARBON      6.0      7.1538500000      1.1569600000     13.4143900000&lt;br /&gt;
 CARBON      6.0      4.4018100000      1.3603900000     13.1919900000&lt;br /&gt;
 CARBON      6.0      6.4791600000      0.3185500000     12.5353300000&lt;br /&gt;
 CARBON      6.0      5.0837400000      0.4369500000     12.4084900000&lt;br /&gt;
 HYDROGEN    1.0      7.0116000000     -0.4099400000     11.9434600000&lt;br /&gt;
 HYDROGEN    1.0      8.2399000000      1.0702400000     13.4937600000&lt;br /&gt;
 HYDROGEN    1.0      3.3185600000      1.4368700000     13.0953100000&lt;br /&gt;
 HYDROGEN    1.0      4.5549800000     -0.1997300000     11.7165200000&lt;br /&gt;
 CARBON      6.0      6.1105700000      3.9639000000     22.3866100000&lt;br /&gt;
 CARBON      6.0      4.1216300000      4.4424400000     21.1020100000&lt;br /&gt;
 HYDROGEN    1.0      7.8732900000      3.5217100000     21.2520500000&lt;br /&gt;
 CARBON      6.0      4.7606000000      4.2868500000     22.3363800000&lt;br /&gt;
 HYDROGEN    1.0      6.6064200000      3.8406000000     23.3428500000&lt;br /&gt;
 HYDROGEN    1.0      4.2065000000      4.4170700000     23.2667100000&lt;br /&gt;
 HYDROGEN    1.0      3.0674000000      4.6893500000     21.0889000000&lt;br /&gt;
 HYDROGEN    1.0      7.4249200000      7.7545300000     18.8583200000&lt;br /&gt;
 HYDROGEN    1.0      7.6651700000      8.9049700000     17.7652100000&lt;br /&gt;
 HYDROGEN    1.0      5.3324000000      8.6487800000     17.2222700000&lt;br /&gt;
 HYDROGEN    1.0      5.5015000000      7.1039000000     18.2759400000&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
=====Effective Core Potential Data=====&lt;br /&gt;
&lt;br /&gt;
The effective core potential (ECP) data is entered after the coordinates.  It starts with &amp;quot;$ECP&amp;quot;, which must be preceded with a space.   The atoms of the molecule are listed in the same order as in the coordinates section and the parameters for the ECP are listed after each atom.  Note that for any atom that does NOT have an ECP, one must enter &amp;quot;ECP-NONE&amp;quot; or &amp;quot;NONE&amp;quot; after each atom without an ECP.&lt;br /&gt;
&lt;br /&gt;
 $ECP&lt;br /&gt;
 MO-ECP GEN     28     3&lt;br /&gt;
  5      ----- f potential     -----&lt;br /&gt;
     -0.0469492        0    537.9667807        &lt;br /&gt;
    -20.2080084        1    147.8982938        &lt;br /&gt;
   -106.2116302        2     45.7358898        &lt;br /&gt;
    -41.8107368        2     13.2911467        &lt;br /&gt;
     -4.2054103        2      4.7059961        &lt;br /&gt;
  3      ----- s-f potential     -----&lt;br /&gt;
      2.8063717        0    110.2991760        &lt;br /&gt;
     44.5162012        1     23.2014645        &lt;br /&gt;
     82.7785227        2      5.3530131        &lt;br /&gt;
  4      ----- p-f potential     -----&lt;br /&gt;
      4.9420876        0     63.2901397        &lt;br /&gt;
     25.8604976        1     23.3315302        &lt;br /&gt;
    132.4708742        2     24.6759423        &lt;br /&gt;
     57.3149794        2      4.6493040        &lt;br /&gt;
  5      ----- d-f potential     -----&lt;br /&gt;
      3.0054591        0    104.4839977        &lt;br /&gt;
     26.3637851        1     66.2307245        &lt;br /&gt;
    183.3849199        2     39.1283176        &lt;br /&gt;
     98.4453068        2     13.1164437        &lt;br /&gt;
     22.4901377        2      3.6280263 &lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
-- [[User:M.Zimmer-De Iuliis|mzd]]  16 November 2009&lt;br /&gt;
&lt;br /&gt;
====Using Effective Core Potentials in GAMESS(US)====&lt;br /&gt;
&lt;br /&gt;
For many metal containing compounds, it is very convenient and time saving to use an effective core potential (ECP) for the core metal electrons, as they are usually not important to the reactivity of the complex or the geometry around the metal.  Since GAMESS(US) has a limited number of built-in ECPs, one may want to make GAMESS(US) read an external file that contains the ECP data using the &amp;quot;EXTFIL&amp;quot; keyword in the $GBASIS command line of the input file.  In addition, to make GAMESS(US) use this external file, one must copy the &amp;quot;rungms&amp;quot; file and modify it accordingly.  The following is a list of instructions with commands that will work from a terminal.  One could also use WinSCP to do all of this with a GUI rather than a TUI.  &lt;br /&gt;
&lt;br /&gt;
=====Modifiying rungms to Use Custom Basis Set File=====&lt;br /&gt;
1. Copy &amp;quot;rungms&amp;quot; from /scinet/gpc/Applications/gamess to one's own /scratch/$USER/ directory:&lt;br /&gt;
 cp /scinet/gpc/Applications/gamess/rungms /scratch/$USER/&lt;br /&gt;
&lt;br /&gt;
2. Change to the scratch directory and check to see if &amp;quot;rungms&amp;quot; has copied successfully.&lt;br /&gt;
 cd /scratch/$USER&lt;br /&gt;
 ls&lt;br /&gt;
&lt;br /&gt;
3. Edit line 147 of the vi.  &lt;br /&gt;
 vi rungms&lt;br /&gt;
Move the cursor down to line 147 using the arrow keys.  It should say &amp;quot;setenv EXTBAS /dev/null&amp;quot;.  Using the arrow keys, move the cursor to the first &amp;quot;/&amp;quot; and then hit &amp;quot;i&amp;quot; to insert text.  Put the path to your external basis file here.  For example, /scratch/$USER/basisset.  Then hit &amp;quot;escape&amp;quot;.  To save the changes and exit vi, type &amp;quot;:&amp;quot; and you should see a colon appear at the bottom of the window.  Type &amp;quot;wq&amp;quot; (which should appear at the bottom of the window next to the colon) and then hit enter.  Now you are done with vi.&lt;br /&gt;
&lt;br /&gt;
=====Creating a Custom Basis Set File=====&lt;br /&gt;
1. To create a custom basis set file, you need create a new text document.  Our group's common practice is to comment out the first line of this file by inserting an exclamation mark (!) followed by noting the specific basis sets and ECPs that are going to be used for each of the atoms.  Let us the molecule Mo(CO)6, Molybdenum hexacarbonyl, as an example.  Below is the first line of the the external file, which we will call &amp;quot;CUSTOMMO&amp;quot;  (NOTE:  you can use any name for the external file that suits you, as long as it has no spaces and is 8 characters or less).&lt;br /&gt;
&lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&lt;br /&gt;
&lt;br /&gt;
2. The next step is to visit the [https://bse.pnl.gov/bse/portal EMSL Basis Set exchange] and select C and O from the periodic table.  Then, on the left of the page, select &amp;quot;6-31G&amp;quot; as the basis set.  Finally, make sure the output is in GAMESS(US) format using the drop-down menu and then click &amp;quot;get basis set&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:C_O_6_31G_basisset.JPG|centre]]&lt;br /&gt;
&lt;br /&gt;
3. A new window should appear with text in it.  For our example case, the text looks like this:&lt;br /&gt;
 &lt;br /&gt;
 !  6-31G  EMSL  Basis Set Exchange Library   10/13/09 11:12 AM&lt;br /&gt;
 ! Elements                             References&lt;br /&gt;
 ! --------                             ----------&lt;br /&gt;
 ! H - He: W.J. Hehre, R. Ditchfield and J.A. Pople, J. Chem. Phys. 56,&lt;br /&gt;
 ! Li - Ne: 2257 (1972).  Note: Li and B come from J.D. Dill and J.A.&lt;br /&gt;
 ! Pople, J. Chem. Phys. 62, 2921 (1975).&lt;br /&gt;
 ! Na - Ar: M.M. Francl, W.J. Petro, W.J. Hehre, J.S. Binkley, M.S. Gordon,&lt;br /&gt;
 ! D.J. DeFrees and J.A. Pople, J. Chem. Phys. 77, 3654 (1982)&lt;br /&gt;
 ! K  - Zn: V. Rassolov, J.A. Pople, M. Ratner and T.L. Windus, J. Chem. Phys.&lt;br /&gt;
 ! 109, 1223 (1998)&lt;br /&gt;
 ! Note: He and Ne are unpublished basis sets taken from the Gaussian&lt;br /&gt;
 ! program&lt;br /&gt;
 ! &lt;br /&gt;
 $DATA&amp;lt;br /&amp;gt;&lt;br /&gt;
 CARBON&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 OXYGEN&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000        &lt;br /&gt;
 $END&lt;br /&gt;
&lt;br /&gt;
3. Now, copy and paste the text between the $DATA and $END headings onto our external text file, CUSTOMMO.  We also need to change the change the name of each element to it symbol in the periodic table.  Finally, we need to add the name of the external file next to the element symbol, separated by one space.  Note that there should be a blank line separating the basis set information and the first, commented-out line (The line starting with the '!').  The CUSTOMMO should look like this:&lt;br /&gt;
 &lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&amp;lt;br /&amp;gt;&lt;br /&gt;
 C CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 O CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000 &lt;br /&gt;
&lt;br /&gt;
4. Repeat Step 3 above but choose Mo and select the LANL2DZ ECP instead.  A new window will pop up with the basis set information as well as the ECP data we need, since we specified the LANL2DZ '''ECP'''.  The ECP data is not inserted into the external file, rather it is placed into the input file itself (More on this later).  &lt;br /&gt;
&lt;br /&gt;
[[File:Mo_LANL2DZ_basisset.JPG|centre]]&lt;br /&gt;
&lt;br /&gt;
5.  After copying the molybdenum basis set information, your fiished external basis set file should look like this:&lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&amp;lt;br /&amp;gt;&lt;br /&gt;
 C CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 O CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000&amp;lt;br /&amp;gt; &lt;br /&gt;
 Mo CUSTOMO&lt;br /&gt;
 S   3&lt;br /&gt;
   1      2.3610000             -0.9121760        &lt;br /&gt;
   2      1.3090000              1.1477453        &lt;br /&gt;
   3      0.4500000              0.6097109        &lt;br /&gt;
 S   4&lt;br /&gt;
   1      2.3610000              0.8139259        &lt;br /&gt;
   2      1.3090000             -1.1360084        &lt;br /&gt;
   3      0.4500000             -1.1611592        &lt;br /&gt;
   4      0.1681000              1.0064786        &lt;br /&gt;
 S   1&lt;br /&gt;
   1      0.0423000              1.0000000        &lt;br /&gt;
 P   3&lt;br /&gt;
   1      4.8950000             -0.0908258        &lt;br /&gt;
   2      1.0440000              0.7042899        &lt;br /&gt;
   3      0.3877000              0.3973179        &lt;br /&gt;
 P   2&lt;br /&gt;
   1      0.4995000             -0.1081945        &lt;br /&gt;
   2      0.0780000              1.0368093        &lt;br /&gt;
 P   1&lt;br /&gt;
   1      0.0247000              1.0000000        &lt;br /&gt;
 D   3&lt;br /&gt;
   1      2.9930000              0.0527063        &lt;br /&gt;
   2      1.0630000              0.5003907        &lt;br /&gt;
   3      0.3721000              0.5794024        &lt;br /&gt;
 D   1&lt;br /&gt;
   1      0.1178000              1.0000000&lt;br /&gt;
&lt;br /&gt;
-- [[User:M.Zimmer-De Iuliis|mzd]]  13 October 2009&lt;br /&gt;
&lt;br /&gt;
==Climate Modelling==&lt;br /&gt;
&lt;br /&gt;
==Medicine/Bio==&lt;br /&gt;
&lt;br /&gt;
==High Energy Physics==&lt;br /&gt;
&lt;br /&gt;
==Structural Biology==&lt;br /&gt;
Molecular simulation of proteins, lipids, carbohydrates, and other biologically relevant molecules.&lt;br /&gt;
===Molecular Dynamics (MD) simulation===&lt;br /&gt;
====GROMACS====&lt;br /&gt;
Please refer to the [[gromacs|GROMACS]] page&lt;br /&gt;
====AMBER====&lt;br /&gt;
Please refer to the [[amber|AMBER]] page&lt;br /&gt;
====NAMD====&lt;br /&gt;
NAMD is one of the better scaling MD packages out there. With sufficiently large systems, it is able to scale to hundreds or thousands of cores on Scinet. Below are details for compiling and running NAMD on Scinet.&lt;br /&gt;
&lt;br /&gt;
More information regarding performance and different compile options coming soon...&lt;br /&gt;
&lt;br /&gt;
=====Compiling NAMD for GPC=====&lt;br /&gt;
Ensure the proper compiler/mpi modules are loaded.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
module load intel&lt;br /&gt;
module load openmpi/1.3.3-intel-v11.0-ofed&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Compile Charm++ and NAMD'''&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
#Unpack source files and get required support libraries&lt;br /&gt;
tar -xzf NAMD_2.7b1_Source.tar.gz&lt;br /&gt;
cd NAMD_2.7b1_Source&lt;br /&gt;
tar -xf charm-6.1.tar&lt;br /&gt;
wget http://www.ks.uiuc.edu/Research/namd/libraries/fftw-linux-x86_64.tar.gz&lt;br /&gt;
wget http://www.ks.uiuc.edu/Research/namd/libraries/tcl-linux-x86_64.tar.gz&lt;br /&gt;
tar -xzf fftw-linux-x86_64.tar.gz; mv linux-x86_64 fftw&lt;br /&gt;
tar -xzf tcl-linux-x86_64.tar.gz; mv linux-x86_64 tcl&lt;br /&gt;
#Compile Charm++&lt;br /&gt;
cd charm-6.1&lt;br /&gt;
./build charm++ mpi-linux-x86_64 icc --basedir /scinet/gpc/mpi/openmpi/1.3.3-intel-v11.0-ofed/ --no-shared -O -DCMK_OPTIMIZE=1&lt;br /&gt;
cd ..&lt;br /&gt;
#Compile NAMD. &lt;br /&gt;
#Edit arch/Linux-x86_64-icc.arch and add &amp;quot;-lmpi&amp;quot; to the end of the CXXOPTS and COPTS line.&lt;br /&gt;
#Make a builds directory if you want different versions of NAMD compiled at the same time.&lt;br /&gt;
mkdir builds&lt;br /&gt;
./config builds/Linux-x86_64-icc --charm-arch mpi-linux-x86_64-icc&lt;br /&gt;
cd builds/Linux-x86_64-icc/&lt;br /&gt;
make -j4 namd2 # Adjust value of j as desired to specify number of simultaneous make targets. &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
--[[User:Cmadill|Cmadill]] 16:18, 27 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
=====Running Fortran=====&lt;br /&gt;
On the development nodes, there is an old gcc. The associated libraries are not on the compute nodes. Ensure the line:&lt;br /&gt;
&lt;br /&gt;
module load gcc&lt;br /&gt;
&lt;br /&gt;
is in your .bashrc file.&lt;br /&gt;
&lt;br /&gt;
====LAMMPS====&lt;br /&gt;
[[Image:StrongScalingLAMMPS.png|thumb|320px|right|Strong scaling test on GPC with OpenMPI and IntelMPI on Ethernet and InfiniBand]]&lt;br /&gt;
[[Image:WeakScalingLAMMPS.png|thumb|320px|right|Weak scaling test on GPC with OpenMPI and IntelMPI on Ethernet and InfiniBand]]&lt;br /&gt;
Results from strong scaling tests for LAMMPS using EAM potentials on GPC are shown in the graph on the right.  The test simulation ran 500 timesteps for 4,000,000 atoms.&lt;br /&gt;
&lt;br /&gt;
Results from weak scaling tests for LAMMPS using EAM potentials on GPC are shown in the graph on the right.  The test simulation ran 500 timesteps for 32,000 atoms per processor.&lt;br /&gt;
&lt;br /&gt;
OpenMPI version used: openmpi/1.4.1-intel-v11.0-ofed&lt;br /&gt;
IntelMPI version used: intelmpi/impi-4.0.0.013&lt;br /&gt;
&lt;br /&gt;
Results show good scaling for both OpenMPI and IntelMPI up to 16 processors, after which performance begins to suffer.  On Infiniband, excellent scaling is maintained to 512 processors.&lt;br /&gt;
&lt;br /&gt;
IntelMPI is found to have a slight edge over OpenMPI.&lt;br /&gt;
&lt;br /&gt;
===Monte Carlo (MC) simulation===&lt;/div&gt;</summary>
		<author><name>Jchu</name></author>
	</entry>
	<entry>
		<id>https://oldwiki.scinet.utoronto.ca/index.php?title=User_Codes&amp;diff=875</id>
		<title>User Codes</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.scinet.utoronto.ca/index.php?title=User_Codes&amp;diff=875"/>
		<updated>2010-02-02T18:54:11Z</updated>

		<summary type="html">&lt;p&gt;Jchu: /* LAMMPS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&lt;br /&gt;
==Astrophysics==&lt;br /&gt;
&lt;br /&gt;
===Athena (explicit, uniform grid MHD code)===&lt;br /&gt;
&lt;br /&gt;
[[Image:StrongScalingAthenaGPC.png|thumb|right|320px|Athena scaling on GPC with OpenMPI and MVAPICH2 on GigE, and OpenMPI on InfiniBand]]&lt;br /&gt;
&lt;br /&gt;
[http://www.astro.princeton.edu/~jstone/athena.html Athena] is a straightforward C code which doesn't use a lot of libraries so it is pretty straightforward to build and compile on new machines.   &lt;br /&gt;
&lt;br /&gt;
It encapsulates its compiler flags, etc in an &amp;lt;tt&amp;gt;Makeoptions.in&amp;lt;/tt&amp;gt; file which is then processed by &amp;lt;tt&amp;gt;configure&amp;lt;/tt&amp;gt;.   I've used the following additions to &amp;lt;tt&amp;gt;Makeoptions.in&amp;lt;/tt&amp;gt; on TCS and GPC:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
ifeq ($(MACHINE),scinettcs)&lt;br /&gt;
  CC = mpcc_r&lt;br /&gt;
  LDR = mpcc_r&lt;br /&gt;
  OPT = -O5 -q64 -qarch=pwr6 -qtune=pwr6 -qcache=auto -qlargepage -qstrict&lt;br /&gt;
  MPIINC =&lt;br /&gt;
  MPILIB =&lt;br /&gt;
  CFLAGS = $(OPT)&lt;br /&gt;
  LIB = -ldl -lm&lt;br /&gt;
else&lt;br /&gt;
ifeq ($(MACHINE),scinetgpc)&lt;br /&gt;
  CC = mpicc&lt;br /&gt;
  LDR = mpicc&lt;br /&gt;
  OPT = -O3&lt;br /&gt;
  MPIINC =&lt;br /&gt;
  MPILIB =&lt;br /&gt;
  CFLAGS = $(OPT)&lt;br /&gt;
  LIB = -lm&lt;br /&gt;
else&lt;br /&gt;
...&lt;br /&gt;
endif&lt;br /&gt;
endif&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
It performs quite well on the GPC, scaling extremely well even on a strong scaling test out to about 256 cores (32 nodes) on Gigabit ethernet, and performing beautifully on InfiniBand out to 512 cores (64 nodes). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Ljdursi|ljdursi]]  19:20, 13 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
===FLASH3 (Adaptive Mesh reactive hydrodynamics; explict hydro/MHD)===&lt;br /&gt;
&lt;br /&gt;
[[Image:weak-scaling-example.png|thumb|right|320px|Weak scaling test of the 2d sod problem on both the GPC and TCS.  The results are actually somewhat faster on the GPC; in both cases (weak) scaling is very good out at least to 256 cores]]&lt;br /&gt;
&lt;br /&gt;
[http://flash.uchicago.edu FLASH] encapsulates its machine-dependant information in the &amp;lt;tt&amp;gt;FLASH3/sites&amp;lt;/tt&amp;gt; directory.  For the GPC, you'll have to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load intel&lt;br /&gt;
module load openmpi&lt;br /&gt;
module load hdf5/183-v16-openmpi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and with that, the following file (&amp;lt;tt&amp;gt;sites/scinetgpc/Makefile.h&amp;lt;/tt&amp;gt;) works for me:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
## Must do module load hdf5/183-v16-openmpi&lt;br /&gt;
HDF5_PATH = ${SCINET_HDF5_BASE}&lt;br /&gt;
ZLIB_PATH = /usr/local&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Compiler and linker commands&lt;br /&gt;
#&lt;br /&gt;
#  We use the f90 compiler as the linker, so some C libraries may explicitly&lt;br /&gt;
#  need to be added into the link line.&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
## modules will put the right mpi in our path&lt;br /&gt;
FCOMP   = mpif77&lt;br /&gt;
CCOMP   = mpicc&lt;br /&gt;
CPPCOMP = mpiCC&lt;br /&gt;
LINK    = mpif77&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Compilation flags&lt;br /&gt;
#&lt;br /&gt;
#  Three sets of compilation/linking flags are defined: one for optimized&lt;br /&gt;
#  code, one for testing, and one for debugging.  The default is to use the &lt;br /&gt;
#  _OPT version.  Specifying -debug to setup will pick the _DEBUG version,&lt;br /&gt;
#  these should enable bounds checking.  Specifying -test is used for &lt;br /&gt;
#  flash_test, and is set for quick code generation, and (sometimes) &lt;br /&gt;
#  profiling.  The Makefile generated by setup will assign the generic token &lt;br /&gt;
#  (ex. FFLAGS) to the proper set of flags (ex. FFLAGS_OPT).&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
FFLAGS_OPT   =  -c -r8 -i4 -O3 -xSSE4.2&lt;br /&gt;
FFLAGS_DEBUG =  -c -g -r8 -i4 -O0&lt;br /&gt;
FFLAGS_TEST  =  -c -r8 -i4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# if we are using HDF5, we need to specify the path to the include files&lt;br /&gt;
CFLAGS_HDF5  = -I${HDF5_PATH}/include&lt;br /&gt;
&lt;br /&gt;
CFLAGS_OPT   = -c -O3 -xSSE4.2&lt;br /&gt;
CFLAGS_TEST  = -c -O2 &lt;br /&gt;
CFLAGS_DEBUG = -c -g  &lt;br /&gt;
&lt;br /&gt;
MDEFS = &lt;br /&gt;
&lt;br /&gt;
.SUFFIXES: .o .c .f .F .h .fh .F90 .f90&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Linker flags&lt;br /&gt;
#&lt;br /&gt;
#  There is a seperate version of the linker flags for each of the _OPT, &lt;br /&gt;
#  _DEBUG, and _TEST cases.&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
LFLAGS_OPT   = -o&lt;br /&gt;
LFLAGS_TEST  = -o&lt;br /&gt;
LFLAGS_DEBUG = -g -o&lt;br /&gt;
&lt;br /&gt;
MACHOBJ = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MV = mv -f&lt;br /&gt;
AR = ar -r&lt;br /&gt;
RM = rm -f&lt;br /&gt;
CD = cd&lt;br /&gt;
RL = ranlib&lt;br /&gt;
ECHO = echo&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Ljdursi|ljdursi]] 22:11, 13 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Aeronautics==&lt;br /&gt;
&lt;br /&gt;
==Chemistry==&lt;br /&gt;
&lt;br /&gt;
===GAMESS (US)===&lt;br /&gt;
The GAMESS version January 12, 2009 R3 was built using the Intel v11.1 compilers and v3.2.2 MPI library, according to the instructions in http://software.intel.com/en-us/articles/building-gamess-with-intel-compilers-intel-mkl-and-intel-mpi-on-linux/&lt;br /&gt;
&lt;br /&gt;
The required build scripts - comp, compall, lked - and run script - rungms - were modified to account for our own installation.  In order to build GAMESS one first must ensure that the intel and intelmpi modules are loaded (&amp;quot;module load intel intelmpi&amp;quot;).  This applies to running GAMESS as well.&lt;br /&gt;
The module &amp;quot;gamess&amp;quot; must also be loaded in order to run GAMESS (&amp;quot;module load gamess&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
The modified scripts are in the file /scinet/gpc/src/gamess-on-scinet.tar.gz&lt;br /&gt;
&lt;br /&gt;
====Running GAMESS====&lt;br /&gt;
- Make sure the directory /scratch/$USER/gamess-scratch exists (the $SCINET_RUNGMS script will create it if it does not exist)&lt;br /&gt;
&lt;br /&gt;
- Make sure the modules: intel, intelmpi, gamess are loaded (in your .bashrc: &amp;quot;module load intel intelmpi gamess&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
- Create a torque script to run GAMESS.  Here is an example:&lt;br /&gt;
&lt;br /&gt;
- The GAMESS executable is in $SCINET_GAMESS_HOME/gamess.00.x&lt;br /&gt;
- The rungms script is in $SCINET_GAMESS_HOME/rungms (actually it is $SCINET_RUNGMS)&lt;br /&gt;
&lt;br /&gt;
- For IB multinode runs, use the $SCINET_RUNGMS_IB script&lt;br /&gt;
&lt;br /&gt;
- The rungms script takes 4 arguments:  input file, executable number, number of compute processes, processors per node&lt;br /&gt;
&lt;br /&gt;
For example, in order to run with the input file /scratch/$USER/gamesstest01, on 8 cpus, and the default version (00)&lt;br /&gt;
of the executable on a machine with 8 cores:&lt;br /&gt;
&lt;br /&gt;
   # load the gamess module in .bashrc&lt;br /&gt;
   module load gamess  &lt;br /&gt;
&lt;br /&gt;
   # run the program&lt;br /&gt;
   $SCINET_RUNGMS /scratch/$USER/gamesstest01 00 8 8&lt;br /&gt;
&lt;br /&gt;
Here is a sample torque script for running a GAMESS calculation, on a single 8-core node:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#PBS -l nodes=1:ppn=8,walltime=48:00:00,os=centos53computeA&lt;br /&gt;
#PBS -N gamessjob&lt;br /&gt;
&lt;br /&gt;
## To submit type: qsub gms.sh&lt;br /&gt;
&lt;br /&gt;
# If not an interactive job (i.e. -I), then cd into the directory where&lt;br /&gt;
# I typed qsub.&lt;br /&gt;
if [ &amp;quot;$PBS_ENVIRONMENT&amp;quot; != &amp;quot;PBS_INTERACTIVE&amp;quot; ]; then&lt;br /&gt;
   if [ -n &amp;quot;$PBS_O_WORKDIR&amp;quot; ]; then&lt;br /&gt;
     cd $PBS_O_WORKDIR&lt;br /&gt;
   fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# the input file is typically named something like &amp;quot;gamesjob.inp&amp;quot;&lt;br /&gt;
# so the script will be run like &amp;quot;$SCINET_RUNGMS gamessjob 00 8 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# load the gamess module if not in .bashrc already&lt;br /&gt;
# actually, it MUST be in .bashrc&lt;br /&gt;
# module load gamess&lt;br /&gt;
&lt;br /&gt;
# run the program&lt;br /&gt;
&lt;br /&gt;
$SCINET_RUNGMS gamessjob 00 8 8&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a similar script, but this one uses 2 InfiniBand-connected nodes,&lt;br /&gt;
and runs the appropriate $SCINET_RUNGMS_IB script to actually run the job:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#PBS -l nodes=2:ib:ppn=8,walltime=48:00:00,os=centos53computeA&lt;br /&gt;
#PBS -N gamessjob&lt;br /&gt;
&lt;br /&gt;
## To submit type: qsub gmsib.sh&lt;br /&gt;
&lt;br /&gt;
# If not an interactive job (i.e. -I), then cd into the directory where&lt;br /&gt;
# I typed qsub.&lt;br /&gt;
if [ &amp;quot;$PBS_ENVIRONMENT&amp;quot; != &amp;quot;PBS_INTERACTIVE&amp;quot; ]; then&lt;br /&gt;
   if [ -n &amp;quot;$PBS_O_WORKDIR&amp;quot; ]; then&lt;br /&gt;
     cd $PBS_O_WORKDIR&lt;br /&gt;
   fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# the input file is typically named something like &amp;quot;gamesjob.inp&amp;quot;&lt;br /&gt;
# so the script will be run like &amp;quot;$SCINET_RUNGMS gamessjob 00 8 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# load the gamess module if not in .bashrc already&lt;br /&gt;
# actually, it MUST be in .bashrc&lt;br /&gt;
# module load gamess&lt;br /&gt;
&lt;br /&gt;
# This script requests InfiniBand-connected nodes (:ib above)&lt;br /&gt;
# so it must run with the IB version of the rungms script,&lt;br /&gt;
# $SCINET_RUNGMS_IB&lt;br /&gt;
&lt;br /&gt;
$SCINET_RUNGMS_IB gamessjob 00 16 8&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
-- [[User:Dgruner|dgruner]]  5 October 2009&lt;br /&gt;
&lt;br /&gt;
===Tips from the Fekl Lab===&lt;br /&gt;
&lt;br /&gt;
Through trial and error, we have found a few useful things that we would like to share:&lt;br /&gt;
&lt;br /&gt;
1. Two very useful, open-source programs for visualization of output files from GAMESS(US) and for generation of input files are [http://www.scl.ameslab.gov/MacMolPlt/ MacMolPlt]and [http://avogadro.openmolecules.net/wiki/Main_Page Avogadro].  The are available for UNIX/LINUX, Windows and Mac based machines, HOWEVER:  any input files that we have generated with these programs on a Windows-based machine do not run on Mac based machines.  We don't know why.&lt;br /&gt;
&lt;br /&gt;
2. [http://winscp.net/eng/index.php WinSCP] is a very useful tool that has a graphical user interface for moving files from a local machine to SCINET and vice versa.  It also has text editing capabilities.&lt;br /&gt;
&lt;br /&gt;
3. The [https://bse.pnl.gov/bse/portal ESML Basis Set Exchange] is an excellent source for custom basis set or effective core potential parameters.  Make sure that you specify &amp;quot;Gamess-US&amp;quot; in the format drop-down box.&lt;br /&gt;
&lt;br /&gt;
4.  The commercial program [http://www.chemcraftprog.com/ ChemCraft] is a highly useful visualization program that has the ability to edit molecules in a very similar fashion to GaussView.  It can also be customized to build GAMESS(US) input files.&lt;br /&gt;
&lt;br /&gt;
====Anatomy of a GAMESS(US) Input File with Basis Set Info in an External File====&lt;br /&gt;
&lt;br /&gt;
  $CONTRL SCFTYP=RHF RUNTYP=OPTIMIZE DFTTYP=M06-L MAXIT=199 MULT=1 NOSYM=1&lt;br /&gt;
   ECP=READ $END&lt;br /&gt;
  $SYSTEM TIMLIM=525600 MWORDS=1750 PARALL=.TRUE. $END&lt;br /&gt;
  $BASIS GBASIS=CUSTOMNI EXTFIL=.t. $END&lt;br /&gt;
  $SCF DIRSCF=.TRUE. FDIFF=.f. $END&lt;br /&gt;
  $STATPT OPTTOL=0.0001 NSTEP=500 HSSEND=.t. $END&lt;br /&gt;
  $DATA&lt;br /&gt;
  Mo_BDT3&lt;br /&gt;
 C1&lt;br /&gt;
 MOLYBDENUM 42.0      5.7556500000      4.4039600000     16.5808400000&lt;br /&gt;
 SULFUR     16.0      7.4169700000      3.1956300000     15.2089300000&lt;br /&gt;
 SULFUR     16.0      4.0966800000      3.2258300000     15.1761100000&lt;br /&gt;
 SULFUR     16.0      3.9677300000      4.4940500000     18.3266100000&lt;br /&gt;
 SULFUR     16.0      7.1776900000      3.5815000000     18.4485200000&lt;br /&gt;
 SULFUR     16.0      4.3776600000      6.2447400000     15.6786900000&lt;br /&gt;
 SULFUR     16.0      7.5478700000      6.0679800000     16.2223700000&lt;br /&gt;
 CARBON      6.0      6.4716900000      2.1004800000     14.1902300000&lt;br /&gt;
 CARBON      6.0      5.0690300000      2.1781400000     14.1080700000&lt;br /&gt;
 CARBON      6.0      4.8421800000      4.2701300000     19.8855500000&lt;br /&gt;
 CARBON      6.0      6.1969000000      3.9249600000     19.9397400000&lt;br /&gt;
 CARBON      6.0      6.8280600000      3.7834200000     21.1913200000&lt;br /&gt;
 CARBON      6.0      5.7697600000      7.6933500000     17.4241800000&lt;br /&gt;
 CARBON      6.0      7.2043100000      7.9413600000     17.8281100000&lt;br /&gt;
 CARBON      6.0      5.5051400000      7.0409700000     14.5903800000&lt;br /&gt;
 CARBON      6.0      6.8905200000      6.9194700000     14.7626200000&lt;br /&gt;
 CARBON      6.0      7.7396400000      7.5379800000     13.8285700000&lt;br /&gt;
 HYDROGEN    1.0      8.8190700000      7.4520600000     13.9252200000&lt;br /&gt;
 CARBON      6.0      7.2169400000      8.2960300000     12.7704100000&lt;br /&gt;
 HYDROGEN    1.0      7.8667000000      8.7825100000     12.0575600000&lt;br /&gt;
 CARBON      6.0      5.8260300000      8.4502300000     12.6467800000&lt;br /&gt;
 HYDROGEN    1.0      5.4143000000      9.0544300000     11.8493100000&lt;br /&gt;
 CARBON      6.0      4.9881500000      7.8192300000     13.5528400000&lt;br /&gt;
 HYDROGEN    1.0      3.9090500000      7.9420000000     13.4583700000&lt;br /&gt;
 CARBON      6.0      7.1538500000      1.1569600000     13.4143900000&lt;br /&gt;
 CARBON      6.0      4.4018100000      1.3603900000     13.1919900000&lt;br /&gt;
 CARBON      6.0      6.4791600000      0.3185500000     12.5353300000&lt;br /&gt;
 CARBON      6.0      5.0837400000      0.4369500000     12.4084900000&lt;br /&gt;
 HYDROGEN    1.0      7.0116000000     -0.4099400000     11.9434600000&lt;br /&gt;
 HYDROGEN    1.0      8.2399000000      1.0702400000     13.4937600000&lt;br /&gt;
 HYDROGEN    1.0      3.3185600000      1.4368700000     13.0953100000&lt;br /&gt;
 HYDROGEN    1.0      4.5549800000     -0.1997300000     11.7165200000&lt;br /&gt;
 CARBON      6.0      6.1105700000      3.9639000000     22.3866100000&lt;br /&gt;
 CARBON      6.0      4.1216300000      4.4424400000     21.1020100000&lt;br /&gt;
 HYDROGEN    1.0      7.8732900000      3.5217100000     21.2520500000&lt;br /&gt;
 CARBON      6.0      4.7606000000      4.2868500000     22.3363800000&lt;br /&gt;
 HYDROGEN    1.0      6.6064200000      3.8406000000     23.3428500000&lt;br /&gt;
 HYDROGEN    1.0      4.2065000000      4.4170700000     23.2667100000&lt;br /&gt;
 HYDROGEN    1.0      3.0674000000      4.6893500000     21.0889000000&lt;br /&gt;
 HYDROGEN    1.0      7.4249200000      7.7545300000     18.8583200000&lt;br /&gt;
 HYDROGEN    1.0      7.6651700000      8.9049700000     17.7652100000&lt;br /&gt;
 HYDROGEN    1.0      5.3324000000      8.6487800000     17.2222700000&lt;br /&gt;
 HYDROGEN    1.0      5.5015000000      7.1039000000     18.2759400000&lt;br /&gt;
  $END&lt;br /&gt;
  $ECP&lt;br /&gt;
 MO-ECP GEN     28     3&lt;br /&gt;
  5      ----- f potential     -----&lt;br /&gt;
     -0.0469492        0    537.9667807        &lt;br /&gt;
    -20.2080084        1    147.8982938        &lt;br /&gt;
   -106.2116302        2     45.7358898        &lt;br /&gt;
    -41.8107368        2     13.2911467        &lt;br /&gt;
     -4.2054103        2      4.7059961        &lt;br /&gt;
  3      ----- s-f potential     -----&lt;br /&gt;
      2.8063717        0    110.2991760        &lt;br /&gt;
     44.5162012        1     23.2014645        &lt;br /&gt;
     82.7785227        2      5.3530131        &lt;br /&gt;
  4      ----- p-f potential     -----&lt;br /&gt;
      4.9420876        0     63.2901397        &lt;br /&gt;
     25.8604976        1     23.3315302        &lt;br /&gt;
    132.4708742        2     24.6759423        &lt;br /&gt;
     57.3149794        2      4.6493040        &lt;br /&gt;
  5      ----- d-f potential     -----&lt;br /&gt;
      3.0054591        0    104.4839977        &lt;br /&gt;
     26.3637851        1     66.2307245        &lt;br /&gt;
    183.3849199        2     39.1283176        &lt;br /&gt;
     98.4453068        2     13.1164437        &lt;br /&gt;
     22.4901377        2      3.6280263 &lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
=====The Input Deck=====&lt;br /&gt;
&lt;br /&gt;
Below is the input deck.  It is where you tell GAMESS(US) what job type to execute and where all you individual parameters are entered for your specific job type.  The example input deck below is for a geometry optimization and frequency calculation.  This input deck is equivalent to the Gaussian job with &amp;quot;opt&amp;quot; and &amp;quot;freq&amp;quot; in the route section.&lt;br /&gt;
&lt;br /&gt;
  $CONTRL SCFTYP=RHF RUNTYP=OPTIMIZE DFTTYP=M06-L MAXIT=199 MULT=1 NOSYM=1&lt;br /&gt;
   ECP=READ $END&lt;br /&gt;
  $SYSTEM TIMLIM=2850 MWORDS=1750 MEMDDI=20 PARALL=.TRUE. $END&lt;br /&gt;
  $BASIS GBASIS=CUSTOMNI EXTFIL=.t. $END&lt;br /&gt;
  $SCF DIRSCF=.TRUE. FDIFF=.f. $END&lt;br /&gt;
  $STATPT OPTTOL=0.0001 NSTEP=500 HSSEND=.t. $END&lt;br /&gt;
  $DATA&lt;br /&gt;
&lt;br /&gt;
An important thing to note is the spacing.  In the input deck, there must be 1 space at the beginning of each line of the input deck.  If not, the job will fail.  Most builders will insert this space anyway, but it helps to double check.&lt;br /&gt;
&lt;br /&gt;
The end of the input deck is marked by the &amp;quot;$DATA&amp;quot; line.&lt;br /&gt;
&lt;br /&gt;
=====Job Title Line=====&lt;br /&gt;
&lt;br /&gt;
The next line of the file is the job title.  It can be anthing you wish, however, we have found that to be on the safe side, we avoide using symbols or spaces&lt;br /&gt;
&lt;br /&gt;
  Mo_BDT3&lt;br /&gt;
&lt;br /&gt;
=====Symmetry Point Group=====&lt;br /&gt;
&lt;br /&gt;
The next line of the file is the symmetry point group of your molecule.  Note that there is no leading space before the point group.&lt;br /&gt;
&lt;br /&gt;
 C1&lt;br /&gt;
&lt;br /&gt;
=====Coordinates=====&lt;br /&gt;
&lt;br /&gt;
The next block of text is set aside for the coordinates of the molecule.  This can be in internal (or z-matrix) format or cartesian coordinates.  Note that there is no leading space before the coordinates.  One may use the chemical symbol or the full name of each atom in the molecule.  Note that the end of the coordinates is signified by an &amp;quot;$END&amp;quot;, which MUST have one space preceding it.  The coordinates below do NOT have any basis set information inserted.  It is possible to insert basis set information directly into the input file.  This is accomplished by obtaining the desired basis set parameters from the EMSL and then inserting them below each relevant atom.  An example input file with inserted basis set information will be shown later.&lt;br /&gt;
&lt;br /&gt;
 MOLYBDENUM 42.0      5.7556500000      4.4039600000     16.5808400000&lt;br /&gt;
 SULFUR     16.0      7.4169700000      3.1956300000     15.2089300000&lt;br /&gt;
 SULFUR     16.0      4.0966800000      3.2258300000     15.1761100000&lt;br /&gt;
 SULFUR     16.0      3.9677300000      4.4940500000     18.3266100000&lt;br /&gt;
 SULFUR     16.0      7.1776900000      3.5815000000     18.4485200000&lt;br /&gt;
 SULFUR     16.0      4.3776600000      6.2447400000     15.6786900000&lt;br /&gt;
 SULFUR     16.0      7.5478700000      6.0679800000     16.2223700000&lt;br /&gt;
 CARBON      6.0      6.4716900000      2.1004800000     14.1902300000&lt;br /&gt;
 CARBON      6.0      5.0690300000      2.1781400000     14.1080700000&lt;br /&gt;
 CARBON      6.0      4.8421800000      4.2701300000     19.8855500000&lt;br /&gt;
 CARBON      6.0      6.1969000000      3.9249600000     19.9397400000&lt;br /&gt;
 CARBON      6.0      6.8280600000      3.7834200000     21.1913200000&lt;br /&gt;
 CARBON      6.0      5.7697600000      7.6933500000     17.4241800000&lt;br /&gt;
 CARBON      6.0      7.2043100000      7.9413600000     17.8281100000&lt;br /&gt;
 CARBON      6.0      5.5051400000      7.0409700000     14.5903800000&lt;br /&gt;
 CARBON      6.0      6.8905200000      6.9194700000     14.7626200000&lt;br /&gt;
 CARBON      6.0      7.7396400000      7.5379800000     13.8285700000&lt;br /&gt;
 HYDROGEN    1.0      8.8190700000      7.4520600000     13.9252200000&lt;br /&gt;
 CARBON      6.0      7.2169400000      8.2960300000     12.7704100000&lt;br /&gt;
 HYDROGEN    1.0      7.8667000000      8.7825100000     12.0575600000&lt;br /&gt;
 CARBON      6.0      5.8260300000      8.4502300000     12.6467800000&lt;br /&gt;
 HYDROGEN    1.0      5.4143000000      9.0544300000     11.8493100000&lt;br /&gt;
 CARBON      6.0      4.9881500000      7.8192300000     13.5528400000&lt;br /&gt;
 HYDROGEN    1.0      3.9090500000      7.9420000000     13.4583700000&lt;br /&gt;
 CARBON      6.0      7.1538500000      1.1569600000     13.4143900000&lt;br /&gt;
 CARBON      6.0      4.4018100000      1.3603900000     13.1919900000&lt;br /&gt;
 CARBON      6.0      6.4791600000      0.3185500000     12.5353300000&lt;br /&gt;
 CARBON      6.0      5.0837400000      0.4369500000     12.4084900000&lt;br /&gt;
 HYDROGEN    1.0      7.0116000000     -0.4099400000     11.9434600000&lt;br /&gt;
 HYDROGEN    1.0      8.2399000000      1.0702400000     13.4937600000&lt;br /&gt;
 HYDROGEN    1.0      3.3185600000      1.4368700000     13.0953100000&lt;br /&gt;
 HYDROGEN    1.0      4.5549800000     -0.1997300000     11.7165200000&lt;br /&gt;
 CARBON      6.0      6.1105700000      3.9639000000     22.3866100000&lt;br /&gt;
 CARBON      6.0      4.1216300000      4.4424400000     21.1020100000&lt;br /&gt;
 HYDROGEN    1.0      7.8732900000      3.5217100000     21.2520500000&lt;br /&gt;
 CARBON      6.0      4.7606000000      4.2868500000     22.3363800000&lt;br /&gt;
 HYDROGEN    1.0      6.6064200000      3.8406000000     23.3428500000&lt;br /&gt;
 HYDROGEN    1.0      4.2065000000      4.4170700000     23.2667100000&lt;br /&gt;
 HYDROGEN    1.0      3.0674000000      4.6893500000     21.0889000000&lt;br /&gt;
 HYDROGEN    1.0      7.4249200000      7.7545300000     18.8583200000&lt;br /&gt;
 HYDROGEN    1.0      7.6651700000      8.9049700000     17.7652100000&lt;br /&gt;
 HYDROGEN    1.0      5.3324000000      8.6487800000     17.2222700000&lt;br /&gt;
 HYDROGEN    1.0      5.5015000000      7.1039000000     18.2759400000&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
=====Effective Core Potential Data=====&lt;br /&gt;
&lt;br /&gt;
The effective core potential (ECP) data is entered after the coordinates.  It starts with &amp;quot;$ECP&amp;quot;, which must be preceded with a space.   The atoms of the molecule are listed in the same order as in the coordinates section and the parameters for the ECP are listed after each atom.  Note that for any atom that does NOT have an ECP, one must enter &amp;quot;ECP-NONE&amp;quot; or &amp;quot;NONE&amp;quot; after each atom without an ECP.&lt;br /&gt;
&lt;br /&gt;
 $ECP&lt;br /&gt;
 MO-ECP GEN     28     3&lt;br /&gt;
  5      ----- f potential     -----&lt;br /&gt;
     -0.0469492        0    537.9667807        &lt;br /&gt;
    -20.2080084        1    147.8982938        &lt;br /&gt;
   -106.2116302        2     45.7358898        &lt;br /&gt;
    -41.8107368        2     13.2911467        &lt;br /&gt;
     -4.2054103        2      4.7059961        &lt;br /&gt;
  3      ----- s-f potential     -----&lt;br /&gt;
      2.8063717        0    110.2991760        &lt;br /&gt;
     44.5162012        1     23.2014645        &lt;br /&gt;
     82.7785227        2      5.3530131        &lt;br /&gt;
  4      ----- p-f potential     -----&lt;br /&gt;
      4.9420876        0     63.2901397        &lt;br /&gt;
     25.8604976        1     23.3315302        &lt;br /&gt;
    132.4708742        2     24.6759423        &lt;br /&gt;
     57.3149794        2      4.6493040        &lt;br /&gt;
  5      ----- d-f potential     -----&lt;br /&gt;
      3.0054591        0    104.4839977        &lt;br /&gt;
     26.3637851        1     66.2307245        &lt;br /&gt;
    183.3849199        2     39.1283176        &lt;br /&gt;
     98.4453068        2     13.1164437        &lt;br /&gt;
     22.4901377        2      3.6280263 &lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
-- [[User:M.Zimmer-De Iuliis|mzd]]  16 November 2009&lt;br /&gt;
&lt;br /&gt;
====Using Effective Core Potentials in GAMESS(US)====&lt;br /&gt;
&lt;br /&gt;
For many metal containing compounds, it is very convenient and time saving to use an effective core potential (ECP) for the core metal electrons, as they are usually not important to the reactivity of the complex or the geometry around the metal.  Since GAMESS(US) has a limited number of built-in ECPs, one may want to make GAMESS(US) read an external file that contains the ECP data using the &amp;quot;EXTFIL&amp;quot; keyword in the $GBASIS command line of the input file.  In addition, to make GAMESS(US) use this external file, one must copy the &amp;quot;rungms&amp;quot; file and modify it accordingly.  The following is a list of instructions with commands that will work from a terminal.  One could also use WinSCP to do all of this with a GUI rather than a TUI.  &lt;br /&gt;
&lt;br /&gt;
=====Modifiying rungms to Use Custom Basis Set File=====&lt;br /&gt;
1. Copy &amp;quot;rungms&amp;quot; from /scinet/gpc/Applications/gamess to one's own /scratch/$USER/ directory:&lt;br /&gt;
 cp /scinet/gpc/Applications/gamess/rungms /scratch/$USER/&lt;br /&gt;
&lt;br /&gt;
2. Change to the scratch directory and check to see if &amp;quot;rungms&amp;quot; has copied successfully.&lt;br /&gt;
 cd /scratch/$USER&lt;br /&gt;
 ls&lt;br /&gt;
&lt;br /&gt;
3. Edit line 147 of the vi.  &lt;br /&gt;
 vi rungms&lt;br /&gt;
Move the cursor down to line 147 using the arrow keys.  It should say &amp;quot;setenv EXTBAS /dev/null&amp;quot;.  Using the arrow keys, move the cursor to the first &amp;quot;/&amp;quot; and then hit &amp;quot;i&amp;quot; to insert text.  Put the path to your external basis file here.  For example, /scratch/$USER/basisset.  Then hit &amp;quot;escape&amp;quot;.  To save the changes and exit vi, type &amp;quot;:&amp;quot; and you should see a colon appear at the bottom of the window.  Type &amp;quot;wq&amp;quot; (which should appear at the bottom of the window next to the colon) and then hit enter.  Now you are done with vi.&lt;br /&gt;
&lt;br /&gt;
=====Creating a Custom Basis Set File=====&lt;br /&gt;
1. To create a custom basis set file, you need create a new text document.  Our group's common practice is to comment out the first line of this file by inserting an exclamation mark (!) followed by noting the specific basis sets and ECPs that are going to be used for each of the atoms.  Let us the molecule Mo(CO)6, Molybdenum hexacarbonyl, as an example.  Below is the first line of the the external file, which we will call &amp;quot;CUSTOMMO&amp;quot;  (NOTE:  you can use any name for the external file that suits you, as long as it has no spaces and is 8 characters or less).&lt;br /&gt;
&lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&lt;br /&gt;
&lt;br /&gt;
2. The next step is to visit the [https://bse.pnl.gov/bse/portal EMSL Basis Set exchange] and select C and O from the periodic table.  Then, on the left of the page, select &amp;quot;6-31G&amp;quot; as the basis set.  Finally, make sure the output is in GAMESS(US) format using the drop-down menu and then click &amp;quot;get basis set&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:C_O_6_31G_basisset.JPG|centre]]&lt;br /&gt;
&lt;br /&gt;
3. A new window should appear with text in it.  For our example case, the text looks like this:&lt;br /&gt;
 &lt;br /&gt;
 !  6-31G  EMSL  Basis Set Exchange Library   10/13/09 11:12 AM&lt;br /&gt;
 ! Elements                             References&lt;br /&gt;
 ! --------                             ----------&lt;br /&gt;
 ! H - He: W.J. Hehre, R. Ditchfield and J.A. Pople, J. Chem. Phys. 56,&lt;br /&gt;
 ! Li - Ne: 2257 (1972).  Note: Li and B come from J.D. Dill and J.A.&lt;br /&gt;
 ! Pople, J. Chem. Phys. 62, 2921 (1975).&lt;br /&gt;
 ! Na - Ar: M.M. Francl, W.J. Petro, W.J. Hehre, J.S. Binkley, M.S. Gordon,&lt;br /&gt;
 ! D.J. DeFrees and J.A. Pople, J. Chem. Phys. 77, 3654 (1982)&lt;br /&gt;
 ! K  - Zn: V. Rassolov, J.A. Pople, M. Ratner and T.L. Windus, J. Chem. Phys.&lt;br /&gt;
 ! 109, 1223 (1998)&lt;br /&gt;
 ! Note: He and Ne are unpublished basis sets taken from the Gaussian&lt;br /&gt;
 ! program&lt;br /&gt;
 ! &lt;br /&gt;
 $DATA&amp;lt;br /&amp;gt;&lt;br /&gt;
 CARBON&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 OXYGEN&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000        &lt;br /&gt;
 $END&lt;br /&gt;
&lt;br /&gt;
3. Now, copy and paste the text between the $DATA and $END headings onto our external text file, CUSTOMMO.  We also need to change the change the name of each element to it symbol in the periodic table.  Finally, we need to add the name of the external file next to the element symbol, separated by one space.  Note that there should be a blank line separating the basis set information and the first, commented-out line (The line starting with the '!').  The CUSTOMMO should look like this:&lt;br /&gt;
 &lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&amp;lt;br /&amp;gt;&lt;br /&gt;
 C CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 O CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000 &lt;br /&gt;
&lt;br /&gt;
4. Repeat Step 3 above but choose Mo and select the LANL2DZ ECP instead.  A new window will pop up with the basis set information as well as the ECP data we need, since we specified the LANL2DZ '''ECP'''.  The ECP data is not inserted into the external file, rather it is placed into the input file itself (More on this later).  &lt;br /&gt;
&lt;br /&gt;
[[File:Mo_LANL2DZ_basisset.JPG|centre]]&lt;br /&gt;
&lt;br /&gt;
5.  After copying the molybdenum basis set information, your fiished external basis set file should look like this:&lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&amp;lt;br /&amp;gt;&lt;br /&gt;
 C CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 O CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000&amp;lt;br /&amp;gt; &lt;br /&gt;
 Mo CUSTOMO&lt;br /&gt;
 S   3&lt;br /&gt;
   1      2.3610000             -0.9121760        &lt;br /&gt;
   2      1.3090000              1.1477453        &lt;br /&gt;
   3      0.4500000              0.6097109        &lt;br /&gt;
 S   4&lt;br /&gt;
   1      2.3610000              0.8139259        &lt;br /&gt;
   2      1.3090000             -1.1360084        &lt;br /&gt;
   3      0.4500000             -1.1611592        &lt;br /&gt;
   4      0.1681000              1.0064786        &lt;br /&gt;
 S   1&lt;br /&gt;
   1      0.0423000              1.0000000        &lt;br /&gt;
 P   3&lt;br /&gt;
   1      4.8950000             -0.0908258        &lt;br /&gt;
   2      1.0440000              0.7042899        &lt;br /&gt;
   3      0.3877000              0.3973179        &lt;br /&gt;
 P   2&lt;br /&gt;
   1      0.4995000             -0.1081945        &lt;br /&gt;
   2      0.0780000              1.0368093        &lt;br /&gt;
 P   1&lt;br /&gt;
   1      0.0247000              1.0000000        &lt;br /&gt;
 D   3&lt;br /&gt;
   1      2.9930000              0.0527063        &lt;br /&gt;
   2      1.0630000              0.5003907        &lt;br /&gt;
   3      0.3721000              0.5794024        &lt;br /&gt;
 D   1&lt;br /&gt;
   1      0.1178000              1.0000000&lt;br /&gt;
&lt;br /&gt;
-- [[User:M.Zimmer-De Iuliis|mzd]]  13 October 2009&lt;br /&gt;
&lt;br /&gt;
==Climate Modelling==&lt;br /&gt;
&lt;br /&gt;
==Medicine/Bio==&lt;br /&gt;
&lt;br /&gt;
==High Energy Physics==&lt;br /&gt;
&lt;br /&gt;
==Structural Biology==&lt;br /&gt;
Molecular simulation of proteins, lipids, carbohydrates, and other biologically relevant molecules.&lt;br /&gt;
===Molecular Dynamics (MD) simulation===&lt;br /&gt;
====GROMACS====&lt;br /&gt;
Please refer to the [[gromacs|GROMACS]] page&lt;br /&gt;
====AMBER====&lt;br /&gt;
Please refer to the [[amber|AMBER]] page&lt;br /&gt;
====NAMD====&lt;br /&gt;
NAMD is one of the better scaling MD packages out there. With sufficiently large systems, it is able to scale to hundreds or thousands of cores on Scinet. Below are details for compiling and running NAMD on Scinet.&lt;br /&gt;
&lt;br /&gt;
More information regarding performance and different compile options coming soon...&lt;br /&gt;
&lt;br /&gt;
=====Compiling NAMD for GPC=====&lt;br /&gt;
Ensure the proper compiler/mpi modules are loaded.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
module load intel&lt;br /&gt;
module load openmpi/1.3.3-intel-v11.0-ofed&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Compile Charm++ and NAMD'''&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
#Unpack source files and get required support libraries&lt;br /&gt;
tar -xzf NAMD_2.7b1_Source.tar.gz&lt;br /&gt;
cd NAMD_2.7b1_Source&lt;br /&gt;
tar -xf charm-6.1.tar&lt;br /&gt;
wget http://www.ks.uiuc.edu/Research/namd/libraries/fftw-linux-x86_64.tar.gz&lt;br /&gt;
wget http://www.ks.uiuc.edu/Research/namd/libraries/tcl-linux-x86_64.tar.gz&lt;br /&gt;
tar -xzf fftw-linux-x86_64.tar.gz; mv linux-x86_64 fftw&lt;br /&gt;
tar -xzf tcl-linux-x86_64.tar.gz; mv linux-x86_64 tcl&lt;br /&gt;
#Compile Charm++&lt;br /&gt;
cd charm-6.1&lt;br /&gt;
./build charm++ mpi-linux-x86_64 icc --basedir /scinet/gpc/mpi/openmpi/1.3.3-intel-v11.0-ofed/ --no-shared -O -DCMK_OPTIMIZE=1&lt;br /&gt;
cd ..&lt;br /&gt;
#Compile NAMD. &lt;br /&gt;
#Edit arch/Linux-x86_64-icc.arch and add &amp;quot;-lmpi&amp;quot; to the end of the CXXOPTS and COPTS line.&lt;br /&gt;
#Make a builds directory if you want different versions of NAMD compiled at the same time.&lt;br /&gt;
mkdir builds&lt;br /&gt;
./config builds/Linux-x86_64-icc --charm-arch mpi-linux-x86_64-icc&lt;br /&gt;
cd builds/Linux-x86_64-icc/&lt;br /&gt;
make -j4 namd2 # Adjust value of j as desired to specify number of simultaneous make targets. &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
--[[User:Cmadill|Cmadill]] 16:18, 27 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
=====Running Fortran=====&lt;br /&gt;
On the development nodes, there is an old gcc. The associated libraries are not on the compute nodes. Ensure the line:&lt;br /&gt;
&lt;br /&gt;
module load gcc&lt;br /&gt;
&lt;br /&gt;
is in your .bashrc file.&lt;br /&gt;
&lt;br /&gt;
====LAMMPS====&lt;br /&gt;
[[Image:StrongScalingLAMMPS.png|thumb|320px|Strong scaling test on GPC with OpenMPI and IntelMPI on Ethernet and InfiniBand]]&lt;br /&gt;
[[Image:WeakScalingLAMMPS.png|thumb|320px|Weak scaling test on GPC with OpenMPI and IntelMPI on Ethernet and InfiniBand]]&lt;br /&gt;
Results from strong scaling tests for LAMMPS using EAM potentials on GPC are shown in the graph above.  The test simulation ran 500 timesteps for 4,000,000 atoms.&lt;br /&gt;
Results from weak scaling tests for LAMMPS using EAM potentials on GPC are shown in the graph above.  The test simulation ran 500 timesteps for 32,000 atoms per processor.&lt;br /&gt;
&lt;br /&gt;
===Monte Carlo (MC) simulation===&lt;/div&gt;</summary>
		<author><name>Jchu</name></author>
	</entry>
	<entry>
		<id>https://oldwiki.scinet.utoronto.ca/index.php?title=User_Codes&amp;diff=874</id>
		<title>User Codes</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.scinet.utoronto.ca/index.php?title=User_Codes&amp;diff=874"/>
		<updated>2010-02-02T18:51:37Z</updated>

		<summary type="html">&lt;p&gt;Jchu: /* LAMMPS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&lt;br /&gt;
==Astrophysics==&lt;br /&gt;
&lt;br /&gt;
===Athena (explicit, uniform grid MHD code)===&lt;br /&gt;
&lt;br /&gt;
[[Image:StrongScalingAthenaGPC.png|thumb|right|320px|Athena scaling on GPC with OpenMPI and MVAPICH2 on GigE, and OpenMPI on InfiniBand]]&lt;br /&gt;
&lt;br /&gt;
[http://www.astro.princeton.edu/~jstone/athena.html Athena] is a straightforward C code which doesn't use a lot of libraries so it is pretty straightforward to build and compile on new machines.   &lt;br /&gt;
&lt;br /&gt;
It encapsulates its compiler flags, etc in an &amp;lt;tt&amp;gt;Makeoptions.in&amp;lt;/tt&amp;gt; file which is then processed by &amp;lt;tt&amp;gt;configure&amp;lt;/tt&amp;gt;.   I've used the following additions to &amp;lt;tt&amp;gt;Makeoptions.in&amp;lt;/tt&amp;gt; on TCS and GPC:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
ifeq ($(MACHINE),scinettcs)&lt;br /&gt;
  CC = mpcc_r&lt;br /&gt;
  LDR = mpcc_r&lt;br /&gt;
  OPT = -O5 -q64 -qarch=pwr6 -qtune=pwr6 -qcache=auto -qlargepage -qstrict&lt;br /&gt;
  MPIINC =&lt;br /&gt;
  MPILIB =&lt;br /&gt;
  CFLAGS = $(OPT)&lt;br /&gt;
  LIB = -ldl -lm&lt;br /&gt;
else&lt;br /&gt;
ifeq ($(MACHINE),scinetgpc)&lt;br /&gt;
  CC = mpicc&lt;br /&gt;
  LDR = mpicc&lt;br /&gt;
  OPT = -O3&lt;br /&gt;
  MPIINC =&lt;br /&gt;
  MPILIB =&lt;br /&gt;
  CFLAGS = $(OPT)&lt;br /&gt;
  LIB = -lm&lt;br /&gt;
else&lt;br /&gt;
...&lt;br /&gt;
endif&lt;br /&gt;
endif&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
It performs quite well on the GPC, scaling extremely well even on a strong scaling test out to about 256 cores (32 nodes) on Gigabit ethernet, and performing beautifully on InfiniBand out to 512 cores (64 nodes). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Ljdursi|ljdursi]]  19:20, 13 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
===FLASH3 (Adaptive Mesh reactive hydrodynamics; explict hydro/MHD)===&lt;br /&gt;
&lt;br /&gt;
[[Image:weak-scaling-example.png|thumb|right|320px|Weak scaling test of the 2d sod problem on both the GPC and TCS.  The results are actually somewhat faster on the GPC; in both cases (weak) scaling is very good out at least to 256 cores]]&lt;br /&gt;
&lt;br /&gt;
[http://flash.uchicago.edu FLASH] encapsulates its machine-dependant information in the &amp;lt;tt&amp;gt;FLASH3/sites&amp;lt;/tt&amp;gt; directory.  For the GPC, you'll have to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load intel&lt;br /&gt;
module load openmpi&lt;br /&gt;
module load hdf5/183-v16-openmpi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and with that, the following file (&amp;lt;tt&amp;gt;sites/scinetgpc/Makefile.h&amp;lt;/tt&amp;gt;) works for me:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
## Must do module load hdf5/183-v16-openmpi&lt;br /&gt;
HDF5_PATH = ${SCINET_HDF5_BASE}&lt;br /&gt;
ZLIB_PATH = /usr/local&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Compiler and linker commands&lt;br /&gt;
#&lt;br /&gt;
#  We use the f90 compiler as the linker, so some C libraries may explicitly&lt;br /&gt;
#  need to be added into the link line.&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
## modules will put the right mpi in our path&lt;br /&gt;
FCOMP   = mpif77&lt;br /&gt;
CCOMP   = mpicc&lt;br /&gt;
CPPCOMP = mpiCC&lt;br /&gt;
LINK    = mpif77&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Compilation flags&lt;br /&gt;
#&lt;br /&gt;
#  Three sets of compilation/linking flags are defined: one for optimized&lt;br /&gt;
#  code, one for testing, and one for debugging.  The default is to use the &lt;br /&gt;
#  _OPT version.  Specifying -debug to setup will pick the _DEBUG version,&lt;br /&gt;
#  these should enable bounds checking.  Specifying -test is used for &lt;br /&gt;
#  flash_test, and is set for quick code generation, and (sometimes) &lt;br /&gt;
#  profiling.  The Makefile generated by setup will assign the generic token &lt;br /&gt;
#  (ex. FFLAGS) to the proper set of flags (ex. FFLAGS_OPT).&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
FFLAGS_OPT   =  -c -r8 -i4 -O3 -xSSE4.2&lt;br /&gt;
FFLAGS_DEBUG =  -c -g -r8 -i4 -O0&lt;br /&gt;
FFLAGS_TEST  =  -c -r8 -i4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# if we are using HDF5, we need to specify the path to the include files&lt;br /&gt;
CFLAGS_HDF5  = -I${HDF5_PATH}/include&lt;br /&gt;
&lt;br /&gt;
CFLAGS_OPT   = -c -O3 -xSSE4.2&lt;br /&gt;
CFLAGS_TEST  = -c -O2 &lt;br /&gt;
CFLAGS_DEBUG = -c -g  &lt;br /&gt;
&lt;br /&gt;
MDEFS = &lt;br /&gt;
&lt;br /&gt;
.SUFFIXES: .o .c .f .F .h .fh .F90 .f90&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Linker flags&lt;br /&gt;
#&lt;br /&gt;
#  There is a seperate version of the linker flags for each of the _OPT, &lt;br /&gt;
#  _DEBUG, and _TEST cases.&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
LFLAGS_OPT   = -o&lt;br /&gt;
LFLAGS_TEST  = -o&lt;br /&gt;
LFLAGS_DEBUG = -g -o&lt;br /&gt;
&lt;br /&gt;
MACHOBJ = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MV = mv -f&lt;br /&gt;
AR = ar -r&lt;br /&gt;
RM = rm -f&lt;br /&gt;
CD = cd&lt;br /&gt;
RL = ranlib&lt;br /&gt;
ECHO = echo&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Ljdursi|ljdursi]] 22:11, 13 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Aeronautics==&lt;br /&gt;
&lt;br /&gt;
==Chemistry==&lt;br /&gt;
&lt;br /&gt;
===GAMESS (US)===&lt;br /&gt;
The GAMESS version January 12, 2009 R3 was built using the Intel v11.1 compilers and v3.2.2 MPI library, according to the instructions in http://software.intel.com/en-us/articles/building-gamess-with-intel-compilers-intel-mkl-and-intel-mpi-on-linux/&lt;br /&gt;
&lt;br /&gt;
The required build scripts - comp, compall, lked - and run script - rungms - were modified to account for our own installation.  In order to build GAMESS one first must ensure that the intel and intelmpi modules are loaded (&amp;quot;module load intel intelmpi&amp;quot;).  This applies to running GAMESS as well.&lt;br /&gt;
The module &amp;quot;gamess&amp;quot; must also be loaded in order to run GAMESS (&amp;quot;module load gamess&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
The modified scripts are in the file /scinet/gpc/src/gamess-on-scinet.tar.gz&lt;br /&gt;
&lt;br /&gt;
====Running GAMESS====&lt;br /&gt;
- Make sure the directory /scratch/$USER/gamess-scratch exists (the $SCINET_RUNGMS script will create it if it does not exist)&lt;br /&gt;
&lt;br /&gt;
- Make sure the modules: intel, intelmpi, gamess are loaded (in your .bashrc: &amp;quot;module load intel intelmpi gamess&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
- Create a torque script to run GAMESS.  Here is an example:&lt;br /&gt;
&lt;br /&gt;
- The GAMESS executable is in $SCINET_GAMESS_HOME/gamess.00.x&lt;br /&gt;
- The rungms script is in $SCINET_GAMESS_HOME/rungms (actually it is $SCINET_RUNGMS)&lt;br /&gt;
&lt;br /&gt;
- For IB multinode runs, use the $SCINET_RUNGMS_IB script&lt;br /&gt;
&lt;br /&gt;
- The rungms script takes 4 arguments:  input file, executable number, number of compute processes, processors per node&lt;br /&gt;
&lt;br /&gt;
For example, in order to run with the input file /scratch/$USER/gamesstest01, on 8 cpus, and the default version (00)&lt;br /&gt;
of the executable on a machine with 8 cores:&lt;br /&gt;
&lt;br /&gt;
   # load the gamess module in .bashrc&lt;br /&gt;
   module load gamess  &lt;br /&gt;
&lt;br /&gt;
   # run the program&lt;br /&gt;
   $SCINET_RUNGMS /scratch/$USER/gamesstest01 00 8 8&lt;br /&gt;
&lt;br /&gt;
Here is a sample torque script for running a GAMESS calculation, on a single 8-core node:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#PBS -l nodes=1:ppn=8,walltime=48:00:00,os=centos53computeA&lt;br /&gt;
#PBS -N gamessjob&lt;br /&gt;
&lt;br /&gt;
## To submit type: qsub gms.sh&lt;br /&gt;
&lt;br /&gt;
# If not an interactive job (i.e. -I), then cd into the directory where&lt;br /&gt;
# I typed qsub.&lt;br /&gt;
if [ &amp;quot;$PBS_ENVIRONMENT&amp;quot; != &amp;quot;PBS_INTERACTIVE&amp;quot; ]; then&lt;br /&gt;
   if [ -n &amp;quot;$PBS_O_WORKDIR&amp;quot; ]; then&lt;br /&gt;
     cd $PBS_O_WORKDIR&lt;br /&gt;
   fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# the input file is typically named something like &amp;quot;gamesjob.inp&amp;quot;&lt;br /&gt;
# so the script will be run like &amp;quot;$SCINET_RUNGMS gamessjob 00 8 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# load the gamess module if not in .bashrc already&lt;br /&gt;
# actually, it MUST be in .bashrc&lt;br /&gt;
# module load gamess&lt;br /&gt;
&lt;br /&gt;
# run the program&lt;br /&gt;
&lt;br /&gt;
$SCINET_RUNGMS gamessjob 00 8 8&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a similar script, but this one uses 2 InfiniBand-connected nodes,&lt;br /&gt;
and runs the appropriate $SCINET_RUNGMS_IB script to actually run the job:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#PBS -l nodes=2:ib:ppn=8,walltime=48:00:00,os=centos53computeA&lt;br /&gt;
#PBS -N gamessjob&lt;br /&gt;
&lt;br /&gt;
## To submit type: qsub gmsib.sh&lt;br /&gt;
&lt;br /&gt;
# If not an interactive job (i.e. -I), then cd into the directory where&lt;br /&gt;
# I typed qsub.&lt;br /&gt;
if [ &amp;quot;$PBS_ENVIRONMENT&amp;quot; != &amp;quot;PBS_INTERACTIVE&amp;quot; ]; then&lt;br /&gt;
   if [ -n &amp;quot;$PBS_O_WORKDIR&amp;quot; ]; then&lt;br /&gt;
     cd $PBS_O_WORKDIR&lt;br /&gt;
   fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# the input file is typically named something like &amp;quot;gamesjob.inp&amp;quot;&lt;br /&gt;
# so the script will be run like &amp;quot;$SCINET_RUNGMS gamessjob 00 8 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# load the gamess module if not in .bashrc already&lt;br /&gt;
# actually, it MUST be in .bashrc&lt;br /&gt;
# module load gamess&lt;br /&gt;
&lt;br /&gt;
# This script requests InfiniBand-connected nodes (:ib above)&lt;br /&gt;
# so it must run with the IB version of the rungms script,&lt;br /&gt;
# $SCINET_RUNGMS_IB&lt;br /&gt;
&lt;br /&gt;
$SCINET_RUNGMS_IB gamessjob 00 16 8&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
-- [[User:Dgruner|dgruner]]  5 October 2009&lt;br /&gt;
&lt;br /&gt;
===Tips from the Fekl Lab===&lt;br /&gt;
&lt;br /&gt;
Through trial and error, we have found a few useful things that we would like to share:&lt;br /&gt;
&lt;br /&gt;
1. Two very useful, open-source programs for visualization of output files from GAMESS(US) and for generation of input files are [http://www.scl.ameslab.gov/MacMolPlt/ MacMolPlt]and [http://avogadro.openmolecules.net/wiki/Main_Page Avogadro].  The are available for UNIX/LINUX, Windows and Mac based machines, HOWEVER:  any input files that we have generated with these programs on a Windows-based machine do not run on Mac based machines.  We don't know why.&lt;br /&gt;
&lt;br /&gt;
2. [http://winscp.net/eng/index.php WinSCP] is a very useful tool that has a graphical user interface for moving files from a local machine to SCINET and vice versa.  It also has text editing capabilities.&lt;br /&gt;
&lt;br /&gt;
3. The [https://bse.pnl.gov/bse/portal ESML Basis Set Exchange] is an excellent source for custom basis set or effective core potential parameters.  Make sure that you specify &amp;quot;Gamess-US&amp;quot; in the format drop-down box.&lt;br /&gt;
&lt;br /&gt;
4.  The commercial program [http://www.chemcraftprog.com/ ChemCraft] is a highly useful visualization program that has the ability to edit molecules in a very similar fashion to GaussView.  It can also be customized to build GAMESS(US) input files.&lt;br /&gt;
&lt;br /&gt;
====Anatomy of a GAMESS(US) Input File with Basis Set Info in an External File====&lt;br /&gt;
&lt;br /&gt;
  $CONTRL SCFTYP=RHF RUNTYP=OPTIMIZE DFTTYP=M06-L MAXIT=199 MULT=1 NOSYM=1&lt;br /&gt;
   ECP=READ $END&lt;br /&gt;
  $SYSTEM TIMLIM=525600 MWORDS=1750 PARALL=.TRUE. $END&lt;br /&gt;
  $BASIS GBASIS=CUSTOMNI EXTFIL=.t. $END&lt;br /&gt;
  $SCF DIRSCF=.TRUE. FDIFF=.f. $END&lt;br /&gt;
  $STATPT OPTTOL=0.0001 NSTEP=500 HSSEND=.t. $END&lt;br /&gt;
  $DATA&lt;br /&gt;
  Mo_BDT3&lt;br /&gt;
 C1&lt;br /&gt;
 MOLYBDENUM 42.0      5.7556500000      4.4039600000     16.5808400000&lt;br /&gt;
 SULFUR     16.0      7.4169700000      3.1956300000     15.2089300000&lt;br /&gt;
 SULFUR     16.0      4.0966800000      3.2258300000     15.1761100000&lt;br /&gt;
 SULFUR     16.0      3.9677300000      4.4940500000     18.3266100000&lt;br /&gt;
 SULFUR     16.0      7.1776900000      3.5815000000     18.4485200000&lt;br /&gt;
 SULFUR     16.0      4.3776600000      6.2447400000     15.6786900000&lt;br /&gt;
 SULFUR     16.0      7.5478700000      6.0679800000     16.2223700000&lt;br /&gt;
 CARBON      6.0      6.4716900000      2.1004800000     14.1902300000&lt;br /&gt;
 CARBON      6.0      5.0690300000      2.1781400000     14.1080700000&lt;br /&gt;
 CARBON      6.0      4.8421800000      4.2701300000     19.8855500000&lt;br /&gt;
 CARBON      6.0      6.1969000000      3.9249600000     19.9397400000&lt;br /&gt;
 CARBON      6.0      6.8280600000      3.7834200000     21.1913200000&lt;br /&gt;
 CARBON      6.0      5.7697600000      7.6933500000     17.4241800000&lt;br /&gt;
 CARBON      6.0      7.2043100000      7.9413600000     17.8281100000&lt;br /&gt;
 CARBON      6.0      5.5051400000      7.0409700000     14.5903800000&lt;br /&gt;
 CARBON      6.0      6.8905200000      6.9194700000     14.7626200000&lt;br /&gt;
 CARBON      6.0      7.7396400000      7.5379800000     13.8285700000&lt;br /&gt;
 HYDROGEN    1.0      8.8190700000      7.4520600000     13.9252200000&lt;br /&gt;
 CARBON      6.0      7.2169400000      8.2960300000     12.7704100000&lt;br /&gt;
 HYDROGEN    1.0      7.8667000000      8.7825100000     12.0575600000&lt;br /&gt;
 CARBON      6.0      5.8260300000      8.4502300000     12.6467800000&lt;br /&gt;
 HYDROGEN    1.0      5.4143000000      9.0544300000     11.8493100000&lt;br /&gt;
 CARBON      6.0      4.9881500000      7.8192300000     13.5528400000&lt;br /&gt;
 HYDROGEN    1.0      3.9090500000      7.9420000000     13.4583700000&lt;br /&gt;
 CARBON      6.0      7.1538500000      1.1569600000     13.4143900000&lt;br /&gt;
 CARBON      6.0      4.4018100000      1.3603900000     13.1919900000&lt;br /&gt;
 CARBON      6.0      6.4791600000      0.3185500000     12.5353300000&lt;br /&gt;
 CARBON      6.0      5.0837400000      0.4369500000     12.4084900000&lt;br /&gt;
 HYDROGEN    1.0      7.0116000000     -0.4099400000     11.9434600000&lt;br /&gt;
 HYDROGEN    1.0      8.2399000000      1.0702400000     13.4937600000&lt;br /&gt;
 HYDROGEN    1.0      3.3185600000      1.4368700000     13.0953100000&lt;br /&gt;
 HYDROGEN    1.0      4.5549800000     -0.1997300000     11.7165200000&lt;br /&gt;
 CARBON      6.0      6.1105700000      3.9639000000     22.3866100000&lt;br /&gt;
 CARBON      6.0      4.1216300000      4.4424400000     21.1020100000&lt;br /&gt;
 HYDROGEN    1.0      7.8732900000      3.5217100000     21.2520500000&lt;br /&gt;
 CARBON      6.0      4.7606000000      4.2868500000     22.3363800000&lt;br /&gt;
 HYDROGEN    1.0      6.6064200000      3.8406000000     23.3428500000&lt;br /&gt;
 HYDROGEN    1.0      4.2065000000      4.4170700000     23.2667100000&lt;br /&gt;
 HYDROGEN    1.0      3.0674000000      4.6893500000     21.0889000000&lt;br /&gt;
 HYDROGEN    1.0      7.4249200000      7.7545300000     18.8583200000&lt;br /&gt;
 HYDROGEN    1.0      7.6651700000      8.9049700000     17.7652100000&lt;br /&gt;
 HYDROGEN    1.0      5.3324000000      8.6487800000     17.2222700000&lt;br /&gt;
 HYDROGEN    1.0      5.5015000000      7.1039000000     18.2759400000&lt;br /&gt;
  $END&lt;br /&gt;
  $ECP&lt;br /&gt;
 MO-ECP GEN     28     3&lt;br /&gt;
  5      ----- f potential     -----&lt;br /&gt;
     -0.0469492        0    537.9667807        &lt;br /&gt;
    -20.2080084        1    147.8982938        &lt;br /&gt;
   -106.2116302        2     45.7358898        &lt;br /&gt;
    -41.8107368        2     13.2911467        &lt;br /&gt;
     -4.2054103        2      4.7059961        &lt;br /&gt;
  3      ----- s-f potential     -----&lt;br /&gt;
      2.8063717        0    110.2991760        &lt;br /&gt;
     44.5162012        1     23.2014645        &lt;br /&gt;
     82.7785227        2      5.3530131        &lt;br /&gt;
  4      ----- p-f potential     -----&lt;br /&gt;
      4.9420876        0     63.2901397        &lt;br /&gt;
     25.8604976        1     23.3315302        &lt;br /&gt;
    132.4708742        2     24.6759423        &lt;br /&gt;
     57.3149794        2      4.6493040        &lt;br /&gt;
  5      ----- d-f potential     -----&lt;br /&gt;
      3.0054591        0    104.4839977        &lt;br /&gt;
     26.3637851        1     66.2307245        &lt;br /&gt;
    183.3849199        2     39.1283176        &lt;br /&gt;
     98.4453068        2     13.1164437        &lt;br /&gt;
     22.4901377        2      3.6280263 &lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
=====The Input Deck=====&lt;br /&gt;
&lt;br /&gt;
Below is the input deck.  It is where you tell GAMESS(US) what job type to execute and where all you individual parameters are entered for your specific job type.  The example input deck below is for a geometry optimization and frequency calculation.  This input deck is equivalent to the Gaussian job with &amp;quot;opt&amp;quot; and &amp;quot;freq&amp;quot; in the route section.&lt;br /&gt;
&lt;br /&gt;
  $CONTRL SCFTYP=RHF RUNTYP=OPTIMIZE DFTTYP=M06-L MAXIT=199 MULT=1 NOSYM=1&lt;br /&gt;
   ECP=READ $END&lt;br /&gt;
  $SYSTEM TIMLIM=2850 MWORDS=1750 MEMDDI=20 PARALL=.TRUE. $END&lt;br /&gt;
  $BASIS GBASIS=CUSTOMNI EXTFIL=.t. $END&lt;br /&gt;
  $SCF DIRSCF=.TRUE. FDIFF=.f. $END&lt;br /&gt;
  $STATPT OPTTOL=0.0001 NSTEP=500 HSSEND=.t. $END&lt;br /&gt;
  $DATA&lt;br /&gt;
&lt;br /&gt;
An important thing to note is the spacing.  In the input deck, there must be 1 space at the beginning of each line of the input deck.  If not, the job will fail.  Most builders will insert this space anyway, but it helps to double check.&lt;br /&gt;
&lt;br /&gt;
The end of the input deck is marked by the &amp;quot;$DATA&amp;quot; line.&lt;br /&gt;
&lt;br /&gt;
=====Job Title Line=====&lt;br /&gt;
&lt;br /&gt;
The next line of the file is the job title.  It can be anthing you wish, however, we have found that to be on the safe side, we avoide using symbols or spaces&lt;br /&gt;
&lt;br /&gt;
  Mo_BDT3&lt;br /&gt;
&lt;br /&gt;
=====Symmetry Point Group=====&lt;br /&gt;
&lt;br /&gt;
The next line of the file is the symmetry point group of your molecule.  Note that there is no leading space before the point group.&lt;br /&gt;
&lt;br /&gt;
 C1&lt;br /&gt;
&lt;br /&gt;
=====Coordinates=====&lt;br /&gt;
&lt;br /&gt;
The next block of text is set aside for the coordinates of the molecule.  This can be in internal (or z-matrix) format or cartesian coordinates.  Note that there is no leading space before the coordinates.  One may use the chemical symbol or the full name of each atom in the molecule.  Note that the end of the coordinates is signified by an &amp;quot;$END&amp;quot;, which MUST have one space preceding it.  The coordinates below do NOT have any basis set information inserted.  It is possible to insert basis set information directly into the input file.  This is accomplished by obtaining the desired basis set parameters from the EMSL and then inserting them below each relevant atom.  An example input file with inserted basis set information will be shown later.&lt;br /&gt;
&lt;br /&gt;
 MOLYBDENUM 42.0      5.7556500000      4.4039600000     16.5808400000&lt;br /&gt;
 SULFUR     16.0      7.4169700000      3.1956300000     15.2089300000&lt;br /&gt;
 SULFUR     16.0      4.0966800000      3.2258300000     15.1761100000&lt;br /&gt;
 SULFUR     16.0      3.9677300000      4.4940500000     18.3266100000&lt;br /&gt;
 SULFUR     16.0      7.1776900000      3.5815000000     18.4485200000&lt;br /&gt;
 SULFUR     16.0      4.3776600000      6.2447400000     15.6786900000&lt;br /&gt;
 SULFUR     16.0      7.5478700000      6.0679800000     16.2223700000&lt;br /&gt;
 CARBON      6.0      6.4716900000      2.1004800000     14.1902300000&lt;br /&gt;
 CARBON      6.0      5.0690300000      2.1781400000     14.1080700000&lt;br /&gt;
 CARBON      6.0      4.8421800000      4.2701300000     19.8855500000&lt;br /&gt;
 CARBON      6.0      6.1969000000      3.9249600000     19.9397400000&lt;br /&gt;
 CARBON      6.0      6.8280600000      3.7834200000     21.1913200000&lt;br /&gt;
 CARBON      6.0      5.7697600000      7.6933500000     17.4241800000&lt;br /&gt;
 CARBON      6.0      7.2043100000      7.9413600000     17.8281100000&lt;br /&gt;
 CARBON      6.0      5.5051400000      7.0409700000     14.5903800000&lt;br /&gt;
 CARBON      6.0      6.8905200000      6.9194700000     14.7626200000&lt;br /&gt;
 CARBON      6.0      7.7396400000      7.5379800000     13.8285700000&lt;br /&gt;
 HYDROGEN    1.0      8.8190700000      7.4520600000     13.9252200000&lt;br /&gt;
 CARBON      6.0      7.2169400000      8.2960300000     12.7704100000&lt;br /&gt;
 HYDROGEN    1.0      7.8667000000      8.7825100000     12.0575600000&lt;br /&gt;
 CARBON      6.0      5.8260300000      8.4502300000     12.6467800000&lt;br /&gt;
 HYDROGEN    1.0      5.4143000000      9.0544300000     11.8493100000&lt;br /&gt;
 CARBON      6.0      4.9881500000      7.8192300000     13.5528400000&lt;br /&gt;
 HYDROGEN    1.0      3.9090500000      7.9420000000     13.4583700000&lt;br /&gt;
 CARBON      6.0      7.1538500000      1.1569600000     13.4143900000&lt;br /&gt;
 CARBON      6.0      4.4018100000      1.3603900000     13.1919900000&lt;br /&gt;
 CARBON      6.0      6.4791600000      0.3185500000     12.5353300000&lt;br /&gt;
 CARBON      6.0      5.0837400000      0.4369500000     12.4084900000&lt;br /&gt;
 HYDROGEN    1.0      7.0116000000     -0.4099400000     11.9434600000&lt;br /&gt;
 HYDROGEN    1.0      8.2399000000      1.0702400000     13.4937600000&lt;br /&gt;
 HYDROGEN    1.0      3.3185600000      1.4368700000     13.0953100000&lt;br /&gt;
 HYDROGEN    1.0      4.5549800000     -0.1997300000     11.7165200000&lt;br /&gt;
 CARBON      6.0      6.1105700000      3.9639000000     22.3866100000&lt;br /&gt;
 CARBON      6.0      4.1216300000      4.4424400000     21.1020100000&lt;br /&gt;
 HYDROGEN    1.0      7.8732900000      3.5217100000     21.2520500000&lt;br /&gt;
 CARBON      6.0      4.7606000000      4.2868500000     22.3363800000&lt;br /&gt;
 HYDROGEN    1.0      6.6064200000      3.8406000000     23.3428500000&lt;br /&gt;
 HYDROGEN    1.0      4.2065000000      4.4170700000     23.2667100000&lt;br /&gt;
 HYDROGEN    1.0      3.0674000000      4.6893500000     21.0889000000&lt;br /&gt;
 HYDROGEN    1.0      7.4249200000      7.7545300000     18.8583200000&lt;br /&gt;
 HYDROGEN    1.0      7.6651700000      8.9049700000     17.7652100000&lt;br /&gt;
 HYDROGEN    1.0      5.3324000000      8.6487800000     17.2222700000&lt;br /&gt;
 HYDROGEN    1.0      5.5015000000      7.1039000000     18.2759400000&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
=====Effective Core Potential Data=====&lt;br /&gt;
&lt;br /&gt;
The effective core potential (ECP) data is entered after the coordinates.  It starts with &amp;quot;$ECP&amp;quot;, which must be preceded with a space.   The atoms of the molecule are listed in the same order as in the coordinates section and the parameters for the ECP are listed after each atom.  Note that for any atom that does NOT have an ECP, one must enter &amp;quot;ECP-NONE&amp;quot; or &amp;quot;NONE&amp;quot; after each atom without an ECP.&lt;br /&gt;
&lt;br /&gt;
 $ECP&lt;br /&gt;
 MO-ECP GEN     28     3&lt;br /&gt;
  5      ----- f potential     -----&lt;br /&gt;
     -0.0469492        0    537.9667807        &lt;br /&gt;
    -20.2080084        1    147.8982938        &lt;br /&gt;
   -106.2116302        2     45.7358898        &lt;br /&gt;
    -41.8107368        2     13.2911467        &lt;br /&gt;
     -4.2054103        2      4.7059961        &lt;br /&gt;
  3      ----- s-f potential     -----&lt;br /&gt;
      2.8063717        0    110.2991760        &lt;br /&gt;
     44.5162012        1     23.2014645        &lt;br /&gt;
     82.7785227        2      5.3530131        &lt;br /&gt;
  4      ----- p-f potential     -----&lt;br /&gt;
      4.9420876        0     63.2901397        &lt;br /&gt;
     25.8604976        1     23.3315302        &lt;br /&gt;
    132.4708742        2     24.6759423        &lt;br /&gt;
     57.3149794        2      4.6493040        &lt;br /&gt;
  5      ----- d-f potential     -----&lt;br /&gt;
      3.0054591        0    104.4839977        &lt;br /&gt;
     26.3637851        1     66.2307245        &lt;br /&gt;
    183.3849199        2     39.1283176        &lt;br /&gt;
     98.4453068        2     13.1164437        &lt;br /&gt;
     22.4901377        2      3.6280263 &lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
-- [[User:M.Zimmer-De Iuliis|mzd]]  16 November 2009&lt;br /&gt;
&lt;br /&gt;
====Using Effective Core Potentials in GAMESS(US)====&lt;br /&gt;
&lt;br /&gt;
For many metal containing compounds, it is very convenient and time saving to use an effective core potential (ECP) for the core metal electrons, as they are usually not important to the reactivity of the complex or the geometry around the metal.  Since GAMESS(US) has a limited number of built-in ECPs, one may want to make GAMESS(US) read an external file that contains the ECP data using the &amp;quot;EXTFIL&amp;quot; keyword in the $GBASIS command line of the input file.  In addition, to make GAMESS(US) use this external file, one must copy the &amp;quot;rungms&amp;quot; file and modify it accordingly.  The following is a list of instructions with commands that will work from a terminal.  One could also use WinSCP to do all of this with a GUI rather than a TUI.  &lt;br /&gt;
&lt;br /&gt;
=====Modifiying rungms to Use Custom Basis Set File=====&lt;br /&gt;
1. Copy &amp;quot;rungms&amp;quot; from /scinet/gpc/Applications/gamess to one's own /scratch/$USER/ directory:&lt;br /&gt;
 cp /scinet/gpc/Applications/gamess/rungms /scratch/$USER/&lt;br /&gt;
&lt;br /&gt;
2. Change to the scratch directory and check to see if &amp;quot;rungms&amp;quot; has copied successfully.&lt;br /&gt;
 cd /scratch/$USER&lt;br /&gt;
 ls&lt;br /&gt;
&lt;br /&gt;
3. Edit line 147 of the vi.  &lt;br /&gt;
 vi rungms&lt;br /&gt;
Move the cursor down to line 147 using the arrow keys.  It should say &amp;quot;setenv EXTBAS /dev/null&amp;quot;.  Using the arrow keys, move the cursor to the first &amp;quot;/&amp;quot; and then hit &amp;quot;i&amp;quot; to insert text.  Put the path to your external basis file here.  For example, /scratch/$USER/basisset.  Then hit &amp;quot;escape&amp;quot;.  To save the changes and exit vi, type &amp;quot;:&amp;quot; and you should see a colon appear at the bottom of the window.  Type &amp;quot;wq&amp;quot; (which should appear at the bottom of the window next to the colon) and then hit enter.  Now you are done with vi.&lt;br /&gt;
&lt;br /&gt;
=====Creating a Custom Basis Set File=====&lt;br /&gt;
1. To create a custom basis set file, you need create a new text document.  Our group's common practice is to comment out the first line of this file by inserting an exclamation mark (!) followed by noting the specific basis sets and ECPs that are going to be used for each of the atoms.  Let us the molecule Mo(CO)6, Molybdenum hexacarbonyl, as an example.  Below is the first line of the the external file, which we will call &amp;quot;CUSTOMMO&amp;quot;  (NOTE:  you can use any name for the external file that suits you, as long as it has no spaces and is 8 characters or less).&lt;br /&gt;
&lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&lt;br /&gt;
&lt;br /&gt;
2. The next step is to visit the [https://bse.pnl.gov/bse/portal EMSL Basis Set exchange] and select C and O from the periodic table.  Then, on the left of the page, select &amp;quot;6-31G&amp;quot; as the basis set.  Finally, make sure the output is in GAMESS(US) format using the drop-down menu and then click &amp;quot;get basis set&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:C_O_6_31G_basisset.JPG|centre]]&lt;br /&gt;
&lt;br /&gt;
3. A new window should appear with text in it.  For our example case, the text looks like this:&lt;br /&gt;
 &lt;br /&gt;
 !  6-31G  EMSL  Basis Set Exchange Library   10/13/09 11:12 AM&lt;br /&gt;
 ! Elements                             References&lt;br /&gt;
 ! --------                             ----------&lt;br /&gt;
 ! H - He: W.J. Hehre, R. Ditchfield and J.A. Pople, J. Chem. Phys. 56,&lt;br /&gt;
 ! Li - Ne: 2257 (1972).  Note: Li and B come from J.D. Dill and J.A.&lt;br /&gt;
 ! Pople, J. Chem. Phys. 62, 2921 (1975).&lt;br /&gt;
 ! Na - Ar: M.M. Francl, W.J. Petro, W.J. Hehre, J.S. Binkley, M.S. Gordon,&lt;br /&gt;
 ! D.J. DeFrees and J.A. Pople, J. Chem. Phys. 77, 3654 (1982)&lt;br /&gt;
 ! K  - Zn: V. Rassolov, J.A. Pople, M. Ratner and T.L. Windus, J. Chem. Phys.&lt;br /&gt;
 ! 109, 1223 (1998)&lt;br /&gt;
 ! Note: He and Ne are unpublished basis sets taken from the Gaussian&lt;br /&gt;
 ! program&lt;br /&gt;
 ! &lt;br /&gt;
 $DATA&amp;lt;br /&amp;gt;&lt;br /&gt;
 CARBON&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 OXYGEN&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000        &lt;br /&gt;
 $END&lt;br /&gt;
&lt;br /&gt;
3. Now, copy and paste the text between the $DATA and $END headings onto our external text file, CUSTOMMO.  We also need to change the change the name of each element to it symbol in the periodic table.  Finally, we need to add the name of the external file next to the element symbol, separated by one space.  Note that there should be a blank line separating the basis set information and the first, commented-out line (The line starting with the '!').  The CUSTOMMO should look like this:&lt;br /&gt;
 &lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&amp;lt;br /&amp;gt;&lt;br /&gt;
 C CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 O CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000 &lt;br /&gt;
&lt;br /&gt;
4. Repeat Step 3 above but choose Mo and select the LANL2DZ ECP instead.  A new window will pop up with the basis set information as well as the ECP data we need, since we specified the LANL2DZ '''ECP'''.  The ECP data is not inserted into the external file, rather it is placed into the input file itself (More on this later).  &lt;br /&gt;
&lt;br /&gt;
[[File:Mo_LANL2DZ_basisset.JPG|centre]]&lt;br /&gt;
&lt;br /&gt;
5.  After copying the molybdenum basis set information, your fiished external basis set file should look like this:&lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&amp;lt;br /&amp;gt;&lt;br /&gt;
 C CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 O CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000&amp;lt;br /&amp;gt; &lt;br /&gt;
 Mo CUSTOMO&lt;br /&gt;
 S   3&lt;br /&gt;
   1      2.3610000             -0.9121760        &lt;br /&gt;
   2      1.3090000              1.1477453        &lt;br /&gt;
   3      0.4500000              0.6097109        &lt;br /&gt;
 S   4&lt;br /&gt;
   1      2.3610000              0.8139259        &lt;br /&gt;
   2      1.3090000             -1.1360084        &lt;br /&gt;
   3      0.4500000             -1.1611592        &lt;br /&gt;
   4      0.1681000              1.0064786        &lt;br /&gt;
 S   1&lt;br /&gt;
   1      0.0423000              1.0000000        &lt;br /&gt;
 P   3&lt;br /&gt;
   1      4.8950000             -0.0908258        &lt;br /&gt;
   2      1.0440000              0.7042899        &lt;br /&gt;
   3      0.3877000              0.3973179        &lt;br /&gt;
 P   2&lt;br /&gt;
   1      0.4995000             -0.1081945        &lt;br /&gt;
   2      0.0780000              1.0368093        &lt;br /&gt;
 P   1&lt;br /&gt;
   1      0.0247000              1.0000000        &lt;br /&gt;
 D   3&lt;br /&gt;
   1      2.9930000              0.0527063        &lt;br /&gt;
   2      1.0630000              0.5003907        &lt;br /&gt;
   3      0.3721000              0.5794024        &lt;br /&gt;
 D   1&lt;br /&gt;
   1      0.1178000              1.0000000&lt;br /&gt;
&lt;br /&gt;
-- [[User:M.Zimmer-De Iuliis|mzd]]  13 October 2009&lt;br /&gt;
&lt;br /&gt;
==Climate Modelling==&lt;br /&gt;
&lt;br /&gt;
==Medicine/Bio==&lt;br /&gt;
&lt;br /&gt;
==High Energy Physics==&lt;br /&gt;
&lt;br /&gt;
==Structural Biology==&lt;br /&gt;
Molecular simulation of proteins, lipids, carbohydrates, and other biologically relevant molecules.&lt;br /&gt;
===Molecular Dynamics (MD) simulation===&lt;br /&gt;
====GROMACS====&lt;br /&gt;
Please refer to the [[gromacs|GROMACS]] page&lt;br /&gt;
====AMBER====&lt;br /&gt;
Please refer to the [[amber|AMBER]] page&lt;br /&gt;
====NAMD====&lt;br /&gt;
NAMD is one of the better scaling MD packages out there. With sufficiently large systems, it is able to scale to hundreds or thousands of cores on Scinet. Below are details for compiling and running NAMD on Scinet.&lt;br /&gt;
&lt;br /&gt;
More information regarding performance and different compile options coming soon...&lt;br /&gt;
&lt;br /&gt;
=====Compiling NAMD for GPC=====&lt;br /&gt;
Ensure the proper compiler/mpi modules are loaded.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
module load intel&lt;br /&gt;
module load openmpi/1.3.3-intel-v11.0-ofed&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Compile Charm++ and NAMD'''&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
#Unpack source files and get required support libraries&lt;br /&gt;
tar -xzf NAMD_2.7b1_Source.tar.gz&lt;br /&gt;
cd NAMD_2.7b1_Source&lt;br /&gt;
tar -xf charm-6.1.tar&lt;br /&gt;
wget http://www.ks.uiuc.edu/Research/namd/libraries/fftw-linux-x86_64.tar.gz&lt;br /&gt;
wget http://www.ks.uiuc.edu/Research/namd/libraries/tcl-linux-x86_64.tar.gz&lt;br /&gt;
tar -xzf fftw-linux-x86_64.tar.gz; mv linux-x86_64 fftw&lt;br /&gt;
tar -xzf tcl-linux-x86_64.tar.gz; mv linux-x86_64 tcl&lt;br /&gt;
#Compile Charm++&lt;br /&gt;
cd charm-6.1&lt;br /&gt;
./build charm++ mpi-linux-x86_64 icc --basedir /scinet/gpc/mpi/openmpi/1.3.3-intel-v11.0-ofed/ --no-shared -O -DCMK_OPTIMIZE=1&lt;br /&gt;
cd ..&lt;br /&gt;
#Compile NAMD. &lt;br /&gt;
#Edit arch/Linux-x86_64-icc.arch and add &amp;quot;-lmpi&amp;quot; to the end of the CXXOPTS and COPTS line.&lt;br /&gt;
#Make a builds directory if you want different versions of NAMD compiled at the same time.&lt;br /&gt;
mkdir builds&lt;br /&gt;
./config builds/Linux-x86_64-icc --charm-arch mpi-linux-x86_64-icc&lt;br /&gt;
cd builds/Linux-x86_64-icc/&lt;br /&gt;
make -j4 namd2 # Adjust value of j as desired to specify number of simultaneous make targets. &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
--[[User:Cmadill|Cmadill]] 16:18, 27 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
=====Running Fortran=====&lt;br /&gt;
On the development nodes, there is an old gcc. The associated libraries are not on the compute nodes. Ensure the line:&lt;br /&gt;
&lt;br /&gt;
module load gcc&lt;br /&gt;
&lt;br /&gt;
is in your .bashrc file.&lt;br /&gt;
&lt;br /&gt;
====LAMMPS====&lt;br /&gt;
[[Image:StrongScalingLAMMPS.png|thumb|right|320px|Strong scaling test on GPC with OpenMPI and IntelMPI on Ethernet and InfiniBand]]&lt;br /&gt;
Results from strong scaling tests for LAMMPS using EAM potentials on GPC are shown in graph on the right.  The test simulation ran 500 timesteps for 4,000,000 atoms.&lt;br /&gt;
[[Image:WeakScalingLAMMPS.png|thumb|right|320px|Weak scaling test on GPC with OpenMPI and IntelMPI on Ethernet and InfiniBand]]&lt;br /&gt;
Results from weak scaling tests for LAMMPS using EAM potentials on GPC are shown in graph on the right.  The test simulation ran 500 timesteps for 32,000 atoms per processor.&lt;br /&gt;
&lt;br /&gt;
===Monte Carlo (MC) simulation===&lt;/div&gt;</summary>
		<author><name>Jchu</name></author>
	</entry>
	<entry>
		<id>https://oldwiki.scinet.utoronto.ca/index.php?title=User_Codes&amp;diff=873</id>
		<title>User Codes</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.scinet.utoronto.ca/index.php?title=User_Codes&amp;diff=873"/>
		<updated>2010-02-02T18:46:07Z</updated>

		<summary type="html">&lt;p&gt;Jchu: /* LAMMPS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&lt;br /&gt;
==Astrophysics==&lt;br /&gt;
&lt;br /&gt;
===Athena (explicit, uniform grid MHD code)===&lt;br /&gt;
&lt;br /&gt;
[[Image:StrongScalingAthenaGPC.png|thumb|right|320px|Athena scaling on GPC with OpenMPI and MVAPICH2 on GigE, and OpenMPI on InfiniBand]]&lt;br /&gt;
&lt;br /&gt;
[http://www.astro.princeton.edu/~jstone/athena.html Athena] is a straightforward C code which doesn't use a lot of libraries so it is pretty straightforward to build and compile on new machines.   &lt;br /&gt;
&lt;br /&gt;
It encapsulates its compiler flags, etc in an &amp;lt;tt&amp;gt;Makeoptions.in&amp;lt;/tt&amp;gt; file which is then processed by &amp;lt;tt&amp;gt;configure&amp;lt;/tt&amp;gt;.   I've used the following additions to &amp;lt;tt&amp;gt;Makeoptions.in&amp;lt;/tt&amp;gt; on TCS and GPC:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
ifeq ($(MACHINE),scinettcs)&lt;br /&gt;
  CC = mpcc_r&lt;br /&gt;
  LDR = mpcc_r&lt;br /&gt;
  OPT = -O5 -q64 -qarch=pwr6 -qtune=pwr6 -qcache=auto -qlargepage -qstrict&lt;br /&gt;
  MPIINC =&lt;br /&gt;
  MPILIB =&lt;br /&gt;
  CFLAGS = $(OPT)&lt;br /&gt;
  LIB = -ldl -lm&lt;br /&gt;
else&lt;br /&gt;
ifeq ($(MACHINE),scinetgpc)&lt;br /&gt;
  CC = mpicc&lt;br /&gt;
  LDR = mpicc&lt;br /&gt;
  OPT = -O3&lt;br /&gt;
  MPIINC =&lt;br /&gt;
  MPILIB =&lt;br /&gt;
  CFLAGS = $(OPT)&lt;br /&gt;
  LIB = -lm&lt;br /&gt;
else&lt;br /&gt;
...&lt;br /&gt;
endif&lt;br /&gt;
endif&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
It performs quite well on the GPC, scaling extremely well even on a strong scaling test out to about 256 cores (32 nodes) on Gigabit ethernet, and performing beautifully on InfiniBand out to 512 cores (64 nodes). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Ljdursi|ljdursi]]  19:20, 13 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
===FLASH3 (Adaptive Mesh reactive hydrodynamics; explict hydro/MHD)===&lt;br /&gt;
&lt;br /&gt;
[[Image:weak-scaling-example.png|thumb|right|320px|Weak scaling test of the 2d sod problem on both the GPC and TCS.  The results are actually somewhat faster on the GPC; in both cases (weak) scaling is very good out at least to 256 cores]]&lt;br /&gt;
&lt;br /&gt;
[http://flash.uchicago.edu FLASH] encapsulates its machine-dependant information in the &amp;lt;tt&amp;gt;FLASH3/sites&amp;lt;/tt&amp;gt; directory.  For the GPC, you'll have to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load intel&lt;br /&gt;
module load openmpi&lt;br /&gt;
module load hdf5/183-v16-openmpi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and with that, the following file (&amp;lt;tt&amp;gt;sites/scinetgpc/Makefile.h&amp;lt;/tt&amp;gt;) works for me:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
## Must do module load hdf5/183-v16-openmpi&lt;br /&gt;
HDF5_PATH = ${SCINET_HDF5_BASE}&lt;br /&gt;
ZLIB_PATH = /usr/local&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Compiler and linker commands&lt;br /&gt;
#&lt;br /&gt;
#  We use the f90 compiler as the linker, so some C libraries may explicitly&lt;br /&gt;
#  need to be added into the link line.&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
## modules will put the right mpi in our path&lt;br /&gt;
FCOMP   = mpif77&lt;br /&gt;
CCOMP   = mpicc&lt;br /&gt;
CPPCOMP = mpiCC&lt;br /&gt;
LINK    = mpif77&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Compilation flags&lt;br /&gt;
#&lt;br /&gt;
#  Three sets of compilation/linking flags are defined: one for optimized&lt;br /&gt;
#  code, one for testing, and one for debugging.  The default is to use the &lt;br /&gt;
#  _OPT version.  Specifying -debug to setup will pick the _DEBUG version,&lt;br /&gt;
#  these should enable bounds checking.  Specifying -test is used for &lt;br /&gt;
#  flash_test, and is set for quick code generation, and (sometimes) &lt;br /&gt;
#  profiling.  The Makefile generated by setup will assign the generic token &lt;br /&gt;
#  (ex. FFLAGS) to the proper set of flags (ex. FFLAGS_OPT).&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
FFLAGS_OPT   =  -c -r8 -i4 -O3 -xSSE4.2&lt;br /&gt;
FFLAGS_DEBUG =  -c -g -r8 -i4 -O0&lt;br /&gt;
FFLAGS_TEST  =  -c -r8 -i4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# if we are using HDF5, we need to specify the path to the include files&lt;br /&gt;
CFLAGS_HDF5  = -I${HDF5_PATH}/include&lt;br /&gt;
&lt;br /&gt;
CFLAGS_OPT   = -c -O3 -xSSE4.2&lt;br /&gt;
CFLAGS_TEST  = -c -O2 &lt;br /&gt;
CFLAGS_DEBUG = -c -g  &lt;br /&gt;
&lt;br /&gt;
MDEFS = &lt;br /&gt;
&lt;br /&gt;
.SUFFIXES: .o .c .f .F .h .fh .F90 .f90&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Linker flags&lt;br /&gt;
#&lt;br /&gt;
#  There is a seperate version of the linker flags for each of the _OPT, &lt;br /&gt;
#  _DEBUG, and _TEST cases.&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
LFLAGS_OPT   = -o&lt;br /&gt;
LFLAGS_TEST  = -o&lt;br /&gt;
LFLAGS_DEBUG = -g -o&lt;br /&gt;
&lt;br /&gt;
MACHOBJ = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MV = mv -f&lt;br /&gt;
AR = ar -r&lt;br /&gt;
RM = rm -f&lt;br /&gt;
CD = cd&lt;br /&gt;
RL = ranlib&lt;br /&gt;
ECHO = echo&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Ljdursi|ljdursi]] 22:11, 13 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Aeronautics==&lt;br /&gt;
&lt;br /&gt;
==Chemistry==&lt;br /&gt;
&lt;br /&gt;
===GAMESS (US)===&lt;br /&gt;
The GAMESS version January 12, 2009 R3 was built using the Intel v11.1 compilers and v3.2.2 MPI library, according to the instructions in http://software.intel.com/en-us/articles/building-gamess-with-intel-compilers-intel-mkl-and-intel-mpi-on-linux/&lt;br /&gt;
&lt;br /&gt;
The required build scripts - comp, compall, lked - and run script - rungms - were modified to account for our own installation.  In order to build GAMESS one first must ensure that the intel and intelmpi modules are loaded (&amp;quot;module load intel intelmpi&amp;quot;).  This applies to running GAMESS as well.&lt;br /&gt;
The module &amp;quot;gamess&amp;quot; must also be loaded in order to run GAMESS (&amp;quot;module load gamess&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
The modified scripts are in the file /scinet/gpc/src/gamess-on-scinet.tar.gz&lt;br /&gt;
&lt;br /&gt;
====Running GAMESS====&lt;br /&gt;
- Make sure the directory /scratch/$USER/gamess-scratch exists (the $SCINET_RUNGMS script will create it if it does not exist)&lt;br /&gt;
&lt;br /&gt;
- Make sure the modules: intel, intelmpi, gamess are loaded (in your .bashrc: &amp;quot;module load intel intelmpi gamess&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
- Create a torque script to run GAMESS.  Here is an example:&lt;br /&gt;
&lt;br /&gt;
- The GAMESS executable is in $SCINET_GAMESS_HOME/gamess.00.x&lt;br /&gt;
- The rungms script is in $SCINET_GAMESS_HOME/rungms (actually it is $SCINET_RUNGMS)&lt;br /&gt;
&lt;br /&gt;
- For IB multinode runs, use the $SCINET_RUNGMS_IB script&lt;br /&gt;
&lt;br /&gt;
- The rungms script takes 4 arguments:  input file, executable number, number of compute processes, processors per node&lt;br /&gt;
&lt;br /&gt;
For example, in order to run with the input file /scratch/$USER/gamesstest01, on 8 cpus, and the default version (00)&lt;br /&gt;
of the executable on a machine with 8 cores:&lt;br /&gt;
&lt;br /&gt;
   # load the gamess module in .bashrc&lt;br /&gt;
   module load gamess  &lt;br /&gt;
&lt;br /&gt;
   # run the program&lt;br /&gt;
   $SCINET_RUNGMS /scratch/$USER/gamesstest01 00 8 8&lt;br /&gt;
&lt;br /&gt;
Here is a sample torque script for running a GAMESS calculation, on a single 8-core node:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#PBS -l nodes=1:ppn=8,walltime=48:00:00,os=centos53computeA&lt;br /&gt;
#PBS -N gamessjob&lt;br /&gt;
&lt;br /&gt;
## To submit type: qsub gms.sh&lt;br /&gt;
&lt;br /&gt;
# If not an interactive job (i.e. -I), then cd into the directory where&lt;br /&gt;
# I typed qsub.&lt;br /&gt;
if [ &amp;quot;$PBS_ENVIRONMENT&amp;quot; != &amp;quot;PBS_INTERACTIVE&amp;quot; ]; then&lt;br /&gt;
   if [ -n &amp;quot;$PBS_O_WORKDIR&amp;quot; ]; then&lt;br /&gt;
     cd $PBS_O_WORKDIR&lt;br /&gt;
   fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# the input file is typically named something like &amp;quot;gamesjob.inp&amp;quot;&lt;br /&gt;
# so the script will be run like &amp;quot;$SCINET_RUNGMS gamessjob 00 8 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# load the gamess module if not in .bashrc already&lt;br /&gt;
# actually, it MUST be in .bashrc&lt;br /&gt;
# module load gamess&lt;br /&gt;
&lt;br /&gt;
# run the program&lt;br /&gt;
&lt;br /&gt;
$SCINET_RUNGMS gamessjob 00 8 8&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a similar script, but this one uses 2 InfiniBand-connected nodes,&lt;br /&gt;
and runs the appropriate $SCINET_RUNGMS_IB script to actually run the job:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#PBS -l nodes=2:ib:ppn=8,walltime=48:00:00,os=centos53computeA&lt;br /&gt;
#PBS -N gamessjob&lt;br /&gt;
&lt;br /&gt;
## To submit type: qsub gmsib.sh&lt;br /&gt;
&lt;br /&gt;
# If not an interactive job (i.e. -I), then cd into the directory where&lt;br /&gt;
# I typed qsub.&lt;br /&gt;
if [ &amp;quot;$PBS_ENVIRONMENT&amp;quot; != &amp;quot;PBS_INTERACTIVE&amp;quot; ]; then&lt;br /&gt;
   if [ -n &amp;quot;$PBS_O_WORKDIR&amp;quot; ]; then&lt;br /&gt;
     cd $PBS_O_WORKDIR&lt;br /&gt;
   fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# the input file is typically named something like &amp;quot;gamesjob.inp&amp;quot;&lt;br /&gt;
# so the script will be run like &amp;quot;$SCINET_RUNGMS gamessjob 00 8 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# load the gamess module if not in .bashrc already&lt;br /&gt;
# actually, it MUST be in .bashrc&lt;br /&gt;
# module load gamess&lt;br /&gt;
&lt;br /&gt;
# This script requests InfiniBand-connected nodes (:ib above)&lt;br /&gt;
# so it must run with the IB version of the rungms script,&lt;br /&gt;
# $SCINET_RUNGMS_IB&lt;br /&gt;
&lt;br /&gt;
$SCINET_RUNGMS_IB gamessjob 00 16 8&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
-- [[User:Dgruner|dgruner]]  5 October 2009&lt;br /&gt;
&lt;br /&gt;
===Tips from the Fekl Lab===&lt;br /&gt;
&lt;br /&gt;
Through trial and error, we have found a few useful things that we would like to share:&lt;br /&gt;
&lt;br /&gt;
1. Two very useful, open-source programs for visualization of output files from GAMESS(US) and for generation of input files are [http://www.scl.ameslab.gov/MacMolPlt/ MacMolPlt]and [http://avogadro.openmolecules.net/wiki/Main_Page Avogadro].  The are available for UNIX/LINUX, Windows and Mac based machines, HOWEVER:  any input files that we have generated with these programs on a Windows-based machine do not run on Mac based machines.  We don't know why.&lt;br /&gt;
&lt;br /&gt;
2. [http://winscp.net/eng/index.php WinSCP] is a very useful tool that has a graphical user interface for moving files from a local machine to SCINET and vice versa.  It also has text editing capabilities.&lt;br /&gt;
&lt;br /&gt;
3. The [https://bse.pnl.gov/bse/portal ESML Basis Set Exchange] is an excellent source for custom basis set or effective core potential parameters.  Make sure that you specify &amp;quot;Gamess-US&amp;quot; in the format drop-down box.&lt;br /&gt;
&lt;br /&gt;
4.  The commercial program [http://www.chemcraftprog.com/ ChemCraft] is a highly useful visualization program that has the ability to edit molecules in a very similar fashion to GaussView.  It can also be customized to build GAMESS(US) input files.&lt;br /&gt;
&lt;br /&gt;
====Anatomy of a GAMESS(US) Input File with Basis Set Info in an External File====&lt;br /&gt;
&lt;br /&gt;
  $CONTRL SCFTYP=RHF RUNTYP=OPTIMIZE DFTTYP=M06-L MAXIT=199 MULT=1 NOSYM=1&lt;br /&gt;
   ECP=READ $END&lt;br /&gt;
  $SYSTEM TIMLIM=525600 MWORDS=1750 PARALL=.TRUE. $END&lt;br /&gt;
  $BASIS GBASIS=CUSTOMNI EXTFIL=.t. $END&lt;br /&gt;
  $SCF DIRSCF=.TRUE. FDIFF=.f. $END&lt;br /&gt;
  $STATPT OPTTOL=0.0001 NSTEP=500 HSSEND=.t. $END&lt;br /&gt;
  $DATA&lt;br /&gt;
  Mo_BDT3&lt;br /&gt;
 C1&lt;br /&gt;
 MOLYBDENUM 42.0      5.7556500000      4.4039600000     16.5808400000&lt;br /&gt;
 SULFUR     16.0      7.4169700000      3.1956300000     15.2089300000&lt;br /&gt;
 SULFUR     16.0      4.0966800000      3.2258300000     15.1761100000&lt;br /&gt;
 SULFUR     16.0      3.9677300000      4.4940500000     18.3266100000&lt;br /&gt;
 SULFUR     16.0      7.1776900000      3.5815000000     18.4485200000&lt;br /&gt;
 SULFUR     16.0      4.3776600000      6.2447400000     15.6786900000&lt;br /&gt;
 SULFUR     16.0      7.5478700000      6.0679800000     16.2223700000&lt;br /&gt;
 CARBON      6.0      6.4716900000      2.1004800000     14.1902300000&lt;br /&gt;
 CARBON      6.0      5.0690300000      2.1781400000     14.1080700000&lt;br /&gt;
 CARBON      6.0      4.8421800000      4.2701300000     19.8855500000&lt;br /&gt;
 CARBON      6.0      6.1969000000      3.9249600000     19.9397400000&lt;br /&gt;
 CARBON      6.0      6.8280600000      3.7834200000     21.1913200000&lt;br /&gt;
 CARBON      6.0      5.7697600000      7.6933500000     17.4241800000&lt;br /&gt;
 CARBON      6.0      7.2043100000      7.9413600000     17.8281100000&lt;br /&gt;
 CARBON      6.0      5.5051400000      7.0409700000     14.5903800000&lt;br /&gt;
 CARBON      6.0      6.8905200000      6.9194700000     14.7626200000&lt;br /&gt;
 CARBON      6.0      7.7396400000      7.5379800000     13.8285700000&lt;br /&gt;
 HYDROGEN    1.0      8.8190700000      7.4520600000     13.9252200000&lt;br /&gt;
 CARBON      6.0      7.2169400000      8.2960300000     12.7704100000&lt;br /&gt;
 HYDROGEN    1.0      7.8667000000      8.7825100000     12.0575600000&lt;br /&gt;
 CARBON      6.0      5.8260300000      8.4502300000     12.6467800000&lt;br /&gt;
 HYDROGEN    1.0      5.4143000000      9.0544300000     11.8493100000&lt;br /&gt;
 CARBON      6.0      4.9881500000      7.8192300000     13.5528400000&lt;br /&gt;
 HYDROGEN    1.0      3.9090500000      7.9420000000     13.4583700000&lt;br /&gt;
 CARBON      6.0      7.1538500000      1.1569600000     13.4143900000&lt;br /&gt;
 CARBON      6.0      4.4018100000      1.3603900000     13.1919900000&lt;br /&gt;
 CARBON      6.0      6.4791600000      0.3185500000     12.5353300000&lt;br /&gt;
 CARBON      6.0      5.0837400000      0.4369500000     12.4084900000&lt;br /&gt;
 HYDROGEN    1.0      7.0116000000     -0.4099400000     11.9434600000&lt;br /&gt;
 HYDROGEN    1.0      8.2399000000      1.0702400000     13.4937600000&lt;br /&gt;
 HYDROGEN    1.0      3.3185600000      1.4368700000     13.0953100000&lt;br /&gt;
 HYDROGEN    1.0      4.5549800000     -0.1997300000     11.7165200000&lt;br /&gt;
 CARBON      6.0      6.1105700000      3.9639000000     22.3866100000&lt;br /&gt;
 CARBON      6.0      4.1216300000      4.4424400000     21.1020100000&lt;br /&gt;
 HYDROGEN    1.0      7.8732900000      3.5217100000     21.2520500000&lt;br /&gt;
 CARBON      6.0      4.7606000000      4.2868500000     22.3363800000&lt;br /&gt;
 HYDROGEN    1.0      6.6064200000      3.8406000000     23.3428500000&lt;br /&gt;
 HYDROGEN    1.0      4.2065000000      4.4170700000     23.2667100000&lt;br /&gt;
 HYDROGEN    1.0      3.0674000000      4.6893500000     21.0889000000&lt;br /&gt;
 HYDROGEN    1.0      7.4249200000      7.7545300000     18.8583200000&lt;br /&gt;
 HYDROGEN    1.0      7.6651700000      8.9049700000     17.7652100000&lt;br /&gt;
 HYDROGEN    1.0      5.3324000000      8.6487800000     17.2222700000&lt;br /&gt;
 HYDROGEN    1.0      5.5015000000      7.1039000000     18.2759400000&lt;br /&gt;
  $END&lt;br /&gt;
  $ECP&lt;br /&gt;
 MO-ECP GEN     28     3&lt;br /&gt;
  5      ----- f potential     -----&lt;br /&gt;
     -0.0469492        0    537.9667807        &lt;br /&gt;
    -20.2080084        1    147.8982938        &lt;br /&gt;
   -106.2116302        2     45.7358898        &lt;br /&gt;
    -41.8107368        2     13.2911467        &lt;br /&gt;
     -4.2054103        2      4.7059961        &lt;br /&gt;
  3      ----- s-f potential     -----&lt;br /&gt;
      2.8063717        0    110.2991760        &lt;br /&gt;
     44.5162012        1     23.2014645        &lt;br /&gt;
     82.7785227        2      5.3530131        &lt;br /&gt;
  4      ----- p-f potential     -----&lt;br /&gt;
      4.9420876        0     63.2901397        &lt;br /&gt;
     25.8604976        1     23.3315302        &lt;br /&gt;
    132.4708742        2     24.6759423        &lt;br /&gt;
     57.3149794        2      4.6493040        &lt;br /&gt;
  5      ----- d-f potential     -----&lt;br /&gt;
      3.0054591        0    104.4839977        &lt;br /&gt;
     26.3637851        1     66.2307245        &lt;br /&gt;
    183.3849199        2     39.1283176        &lt;br /&gt;
     98.4453068        2     13.1164437        &lt;br /&gt;
     22.4901377        2      3.6280263 &lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
=====The Input Deck=====&lt;br /&gt;
&lt;br /&gt;
Below is the input deck.  It is where you tell GAMESS(US) what job type to execute and where all you individual parameters are entered for your specific job type.  The example input deck below is for a geometry optimization and frequency calculation.  This input deck is equivalent to the Gaussian job with &amp;quot;opt&amp;quot; and &amp;quot;freq&amp;quot; in the route section.&lt;br /&gt;
&lt;br /&gt;
  $CONTRL SCFTYP=RHF RUNTYP=OPTIMIZE DFTTYP=M06-L MAXIT=199 MULT=1 NOSYM=1&lt;br /&gt;
   ECP=READ $END&lt;br /&gt;
  $SYSTEM TIMLIM=2850 MWORDS=1750 MEMDDI=20 PARALL=.TRUE. $END&lt;br /&gt;
  $BASIS GBASIS=CUSTOMNI EXTFIL=.t. $END&lt;br /&gt;
  $SCF DIRSCF=.TRUE. FDIFF=.f. $END&lt;br /&gt;
  $STATPT OPTTOL=0.0001 NSTEP=500 HSSEND=.t. $END&lt;br /&gt;
  $DATA&lt;br /&gt;
&lt;br /&gt;
An important thing to note is the spacing.  In the input deck, there must be 1 space at the beginning of each line of the input deck.  If not, the job will fail.  Most builders will insert this space anyway, but it helps to double check.&lt;br /&gt;
&lt;br /&gt;
The end of the input deck is marked by the &amp;quot;$DATA&amp;quot; line.&lt;br /&gt;
&lt;br /&gt;
=====Job Title Line=====&lt;br /&gt;
&lt;br /&gt;
The next line of the file is the job title.  It can be anthing you wish, however, we have found that to be on the safe side, we avoide using symbols or spaces&lt;br /&gt;
&lt;br /&gt;
  Mo_BDT3&lt;br /&gt;
&lt;br /&gt;
=====Symmetry Point Group=====&lt;br /&gt;
&lt;br /&gt;
The next line of the file is the symmetry point group of your molecule.  Note that there is no leading space before the point group.&lt;br /&gt;
&lt;br /&gt;
 C1&lt;br /&gt;
&lt;br /&gt;
=====Coordinates=====&lt;br /&gt;
&lt;br /&gt;
The next block of text is set aside for the coordinates of the molecule.  This can be in internal (or z-matrix) format or cartesian coordinates.  Note that there is no leading space before the coordinates.  One may use the chemical symbol or the full name of each atom in the molecule.  Note that the end of the coordinates is signified by an &amp;quot;$END&amp;quot;, which MUST have one space preceding it.  The coordinates below do NOT have any basis set information inserted.  It is possible to insert basis set information directly into the input file.  This is accomplished by obtaining the desired basis set parameters from the EMSL and then inserting them below each relevant atom.  An example input file with inserted basis set information will be shown later.&lt;br /&gt;
&lt;br /&gt;
 MOLYBDENUM 42.0      5.7556500000      4.4039600000     16.5808400000&lt;br /&gt;
 SULFUR     16.0      7.4169700000      3.1956300000     15.2089300000&lt;br /&gt;
 SULFUR     16.0      4.0966800000      3.2258300000     15.1761100000&lt;br /&gt;
 SULFUR     16.0      3.9677300000      4.4940500000     18.3266100000&lt;br /&gt;
 SULFUR     16.0      7.1776900000      3.5815000000     18.4485200000&lt;br /&gt;
 SULFUR     16.0      4.3776600000      6.2447400000     15.6786900000&lt;br /&gt;
 SULFUR     16.0      7.5478700000      6.0679800000     16.2223700000&lt;br /&gt;
 CARBON      6.0      6.4716900000      2.1004800000     14.1902300000&lt;br /&gt;
 CARBON      6.0      5.0690300000      2.1781400000     14.1080700000&lt;br /&gt;
 CARBON      6.0      4.8421800000      4.2701300000     19.8855500000&lt;br /&gt;
 CARBON      6.0      6.1969000000      3.9249600000     19.9397400000&lt;br /&gt;
 CARBON      6.0      6.8280600000      3.7834200000     21.1913200000&lt;br /&gt;
 CARBON      6.0      5.7697600000      7.6933500000     17.4241800000&lt;br /&gt;
 CARBON      6.0      7.2043100000      7.9413600000     17.8281100000&lt;br /&gt;
 CARBON      6.0      5.5051400000      7.0409700000     14.5903800000&lt;br /&gt;
 CARBON      6.0      6.8905200000      6.9194700000     14.7626200000&lt;br /&gt;
 CARBON      6.0      7.7396400000      7.5379800000     13.8285700000&lt;br /&gt;
 HYDROGEN    1.0      8.8190700000      7.4520600000     13.9252200000&lt;br /&gt;
 CARBON      6.0      7.2169400000      8.2960300000     12.7704100000&lt;br /&gt;
 HYDROGEN    1.0      7.8667000000      8.7825100000     12.0575600000&lt;br /&gt;
 CARBON      6.0      5.8260300000      8.4502300000     12.6467800000&lt;br /&gt;
 HYDROGEN    1.0      5.4143000000      9.0544300000     11.8493100000&lt;br /&gt;
 CARBON      6.0      4.9881500000      7.8192300000     13.5528400000&lt;br /&gt;
 HYDROGEN    1.0      3.9090500000      7.9420000000     13.4583700000&lt;br /&gt;
 CARBON      6.0      7.1538500000      1.1569600000     13.4143900000&lt;br /&gt;
 CARBON      6.0      4.4018100000      1.3603900000     13.1919900000&lt;br /&gt;
 CARBON      6.0      6.4791600000      0.3185500000     12.5353300000&lt;br /&gt;
 CARBON      6.0      5.0837400000      0.4369500000     12.4084900000&lt;br /&gt;
 HYDROGEN    1.0      7.0116000000     -0.4099400000     11.9434600000&lt;br /&gt;
 HYDROGEN    1.0      8.2399000000      1.0702400000     13.4937600000&lt;br /&gt;
 HYDROGEN    1.0      3.3185600000      1.4368700000     13.0953100000&lt;br /&gt;
 HYDROGEN    1.0      4.5549800000     -0.1997300000     11.7165200000&lt;br /&gt;
 CARBON      6.0      6.1105700000      3.9639000000     22.3866100000&lt;br /&gt;
 CARBON      6.0      4.1216300000      4.4424400000     21.1020100000&lt;br /&gt;
 HYDROGEN    1.0      7.8732900000      3.5217100000     21.2520500000&lt;br /&gt;
 CARBON      6.0      4.7606000000      4.2868500000     22.3363800000&lt;br /&gt;
 HYDROGEN    1.0      6.6064200000      3.8406000000     23.3428500000&lt;br /&gt;
 HYDROGEN    1.0      4.2065000000      4.4170700000     23.2667100000&lt;br /&gt;
 HYDROGEN    1.0      3.0674000000      4.6893500000     21.0889000000&lt;br /&gt;
 HYDROGEN    1.0      7.4249200000      7.7545300000     18.8583200000&lt;br /&gt;
 HYDROGEN    1.0      7.6651700000      8.9049700000     17.7652100000&lt;br /&gt;
 HYDROGEN    1.0      5.3324000000      8.6487800000     17.2222700000&lt;br /&gt;
 HYDROGEN    1.0      5.5015000000      7.1039000000     18.2759400000&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
=====Effective Core Potential Data=====&lt;br /&gt;
&lt;br /&gt;
The effective core potential (ECP) data is entered after the coordinates.  It starts with &amp;quot;$ECP&amp;quot;, which must be preceded with a space.   The atoms of the molecule are listed in the same order as in the coordinates section and the parameters for the ECP are listed after each atom.  Note that for any atom that does NOT have an ECP, one must enter &amp;quot;ECP-NONE&amp;quot; or &amp;quot;NONE&amp;quot; after each atom without an ECP.&lt;br /&gt;
&lt;br /&gt;
 $ECP&lt;br /&gt;
 MO-ECP GEN     28     3&lt;br /&gt;
  5      ----- f potential     -----&lt;br /&gt;
     -0.0469492        0    537.9667807        &lt;br /&gt;
    -20.2080084        1    147.8982938        &lt;br /&gt;
   -106.2116302        2     45.7358898        &lt;br /&gt;
    -41.8107368        2     13.2911467        &lt;br /&gt;
     -4.2054103        2      4.7059961        &lt;br /&gt;
  3      ----- s-f potential     -----&lt;br /&gt;
      2.8063717        0    110.2991760        &lt;br /&gt;
     44.5162012        1     23.2014645        &lt;br /&gt;
     82.7785227        2      5.3530131        &lt;br /&gt;
  4      ----- p-f potential     -----&lt;br /&gt;
      4.9420876        0     63.2901397        &lt;br /&gt;
     25.8604976        1     23.3315302        &lt;br /&gt;
    132.4708742        2     24.6759423        &lt;br /&gt;
     57.3149794        2      4.6493040        &lt;br /&gt;
  5      ----- d-f potential     -----&lt;br /&gt;
      3.0054591        0    104.4839977        &lt;br /&gt;
     26.3637851        1     66.2307245        &lt;br /&gt;
    183.3849199        2     39.1283176        &lt;br /&gt;
     98.4453068        2     13.1164437        &lt;br /&gt;
     22.4901377        2      3.6280263 &lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
-- [[User:M.Zimmer-De Iuliis|mzd]]  16 November 2009&lt;br /&gt;
&lt;br /&gt;
====Using Effective Core Potentials in GAMESS(US)====&lt;br /&gt;
&lt;br /&gt;
For many metal containing compounds, it is very convenient and time saving to use an effective core potential (ECP) for the core metal electrons, as they are usually not important to the reactivity of the complex or the geometry around the metal.  Since GAMESS(US) has a limited number of built-in ECPs, one may want to make GAMESS(US) read an external file that contains the ECP data using the &amp;quot;EXTFIL&amp;quot; keyword in the $GBASIS command line of the input file.  In addition, to make GAMESS(US) use this external file, one must copy the &amp;quot;rungms&amp;quot; file and modify it accordingly.  The following is a list of instructions with commands that will work from a terminal.  One could also use WinSCP to do all of this with a GUI rather than a TUI.  &lt;br /&gt;
&lt;br /&gt;
=====Modifiying rungms to Use Custom Basis Set File=====&lt;br /&gt;
1. Copy &amp;quot;rungms&amp;quot; from /scinet/gpc/Applications/gamess to one's own /scratch/$USER/ directory:&lt;br /&gt;
 cp /scinet/gpc/Applications/gamess/rungms /scratch/$USER/&lt;br /&gt;
&lt;br /&gt;
2. Change to the scratch directory and check to see if &amp;quot;rungms&amp;quot; has copied successfully.&lt;br /&gt;
 cd /scratch/$USER&lt;br /&gt;
 ls&lt;br /&gt;
&lt;br /&gt;
3. Edit line 147 of the vi.  &lt;br /&gt;
 vi rungms&lt;br /&gt;
Move the cursor down to line 147 using the arrow keys.  It should say &amp;quot;setenv EXTBAS /dev/null&amp;quot;.  Using the arrow keys, move the cursor to the first &amp;quot;/&amp;quot; and then hit &amp;quot;i&amp;quot; to insert text.  Put the path to your external basis file here.  For example, /scratch/$USER/basisset.  Then hit &amp;quot;escape&amp;quot;.  To save the changes and exit vi, type &amp;quot;:&amp;quot; and you should see a colon appear at the bottom of the window.  Type &amp;quot;wq&amp;quot; (which should appear at the bottom of the window next to the colon) and then hit enter.  Now you are done with vi.&lt;br /&gt;
&lt;br /&gt;
=====Creating a Custom Basis Set File=====&lt;br /&gt;
1. To create a custom basis set file, you need create a new text document.  Our group's common practice is to comment out the first line of this file by inserting an exclamation mark (!) followed by noting the specific basis sets and ECPs that are going to be used for each of the atoms.  Let us the molecule Mo(CO)6, Molybdenum hexacarbonyl, as an example.  Below is the first line of the the external file, which we will call &amp;quot;CUSTOMMO&amp;quot;  (NOTE:  you can use any name for the external file that suits you, as long as it has no spaces and is 8 characters or less).&lt;br /&gt;
&lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&lt;br /&gt;
&lt;br /&gt;
2. The next step is to visit the [https://bse.pnl.gov/bse/portal EMSL Basis Set exchange] and select C and O from the periodic table.  Then, on the left of the page, select &amp;quot;6-31G&amp;quot; as the basis set.  Finally, make sure the output is in GAMESS(US) format using the drop-down menu and then click &amp;quot;get basis set&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:C_O_6_31G_basisset.JPG|centre]]&lt;br /&gt;
&lt;br /&gt;
3. A new window should appear with text in it.  For our example case, the text looks like this:&lt;br /&gt;
 &lt;br /&gt;
 !  6-31G  EMSL  Basis Set Exchange Library   10/13/09 11:12 AM&lt;br /&gt;
 ! Elements                             References&lt;br /&gt;
 ! --------                             ----------&lt;br /&gt;
 ! H - He: W.J. Hehre, R. Ditchfield and J.A. Pople, J. Chem. Phys. 56,&lt;br /&gt;
 ! Li - Ne: 2257 (1972).  Note: Li and B come from J.D. Dill and J.A.&lt;br /&gt;
 ! Pople, J. Chem. Phys. 62, 2921 (1975).&lt;br /&gt;
 ! Na - Ar: M.M. Francl, W.J. Petro, W.J. Hehre, J.S. Binkley, M.S. Gordon,&lt;br /&gt;
 ! D.J. DeFrees and J.A. Pople, J. Chem. Phys. 77, 3654 (1982)&lt;br /&gt;
 ! K  - Zn: V. Rassolov, J.A. Pople, M. Ratner and T.L. Windus, J. Chem. Phys.&lt;br /&gt;
 ! 109, 1223 (1998)&lt;br /&gt;
 ! Note: He and Ne are unpublished basis sets taken from the Gaussian&lt;br /&gt;
 ! program&lt;br /&gt;
 ! &lt;br /&gt;
 $DATA&amp;lt;br /&amp;gt;&lt;br /&gt;
 CARBON&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 OXYGEN&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000        &lt;br /&gt;
 $END&lt;br /&gt;
&lt;br /&gt;
3. Now, copy and paste the text between the $DATA and $END headings onto our external text file, CUSTOMMO.  We also need to change the change the name of each element to it symbol in the periodic table.  Finally, we need to add the name of the external file next to the element symbol, separated by one space.  Note that there should be a blank line separating the basis set information and the first, commented-out line (The line starting with the '!').  The CUSTOMMO should look like this:&lt;br /&gt;
 &lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&amp;lt;br /&amp;gt;&lt;br /&gt;
 C CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 O CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000 &lt;br /&gt;
&lt;br /&gt;
4. Repeat Step 3 above but choose Mo and select the LANL2DZ ECP instead.  A new window will pop up with the basis set information as well as the ECP data we need, since we specified the LANL2DZ '''ECP'''.  The ECP data is not inserted into the external file, rather it is placed into the input file itself (More on this later).  &lt;br /&gt;
&lt;br /&gt;
[[File:Mo_LANL2DZ_basisset.JPG|centre]]&lt;br /&gt;
&lt;br /&gt;
5.  After copying the molybdenum basis set information, your fiished external basis set file should look like this:&lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&amp;lt;br /&amp;gt;&lt;br /&gt;
 C CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 O CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000&amp;lt;br /&amp;gt; &lt;br /&gt;
 Mo CUSTOMO&lt;br /&gt;
 S   3&lt;br /&gt;
   1      2.3610000             -0.9121760        &lt;br /&gt;
   2      1.3090000              1.1477453        &lt;br /&gt;
   3      0.4500000              0.6097109        &lt;br /&gt;
 S   4&lt;br /&gt;
   1      2.3610000              0.8139259        &lt;br /&gt;
   2      1.3090000             -1.1360084        &lt;br /&gt;
   3      0.4500000             -1.1611592        &lt;br /&gt;
   4      0.1681000              1.0064786        &lt;br /&gt;
 S   1&lt;br /&gt;
   1      0.0423000              1.0000000        &lt;br /&gt;
 P   3&lt;br /&gt;
   1      4.8950000             -0.0908258        &lt;br /&gt;
   2      1.0440000              0.7042899        &lt;br /&gt;
   3      0.3877000              0.3973179        &lt;br /&gt;
 P   2&lt;br /&gt;
   1      0.4995000             -0.1081945        &lt;br /&gt;
   2      0.0780000              1.0368093        &lt;br /&gt;
 P   1&lt;br /&gt;
   1      0.0247000              1.0000000        &lt;br /&gt;
 D   3&lt;br /&gt;
   1      2.9930000              0.0527063        &lt;br /&gt;
   2      1.0630000              0.5003907        &lt;br /&gt;
   3      0.3721000              0.5794024        &lt;br /&gt;
 D   1&lt;br /&gt;
   1      0.1178000              1.0000000&lt;br /&gt;
&lt;br /&gt;
-- [[User:M.Zimmer-De Iuliis|mzd]]  13 October 2009&lt;br /&gt;
&lt;br /&gt;
==Climate Modelling==&lt;br /&gt;
&lt;br /&gt;
==Medicine/Bio==&lt;br /&gt;
&lt;br /&gt;
==High Energy Physics==&lt;br /&gt;
&lt;br /&gt;
==Structural Biology==&lt;br /&gt;
Molecular simulation of proteins, lipids, carbohydrates, and other biologically relevant molecules.&lt;br /&gt;
===Molecular Dynamics (MD) simulation===&lt;br /&gt;
====GROMACS====&lt;br /&gt;
Please refer to the [[gromacs|GROMACS]] page&lt;br /&gt;
====AMBER====&lt;br /&gt;
Please refer to the [[amber|AMBER]] page&lt;br /&gt;
====NAMD====&lt;br /&gt;
NAMD is one of the better scaling MD packages out there. With sufficiently large systems, it is able to scale to hundreds or thousands of cores on Scinet. Below are details for compiling and running NAMD on Scinet.&lt;br /&gt;
&lt;br /&gt;
More information regarding performance and different compile options coming soon...&lt;br /&gt;
&lt;br /&gt;
=====Compiling NAMD for GPC=====&lt;br /&gt;
Ensure the proper compiler/mpi modules are loaded.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
module load intel&lt;br /&gt;
module load openmpi/1.3.3-intel-v11.0-ofed&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Compile Charm++ and NAMD'''&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
#Unpack source files and get required support libraries&lt;br /&gt;
tar -xzf NAMD_2.7b1_Source.tar.gz&lt;br /&gt;
cd NAMD_2.7b1_Source&lt;br /&gt;
tar -xf charm-6.1.tar&lt;br /&gt;
wget http://www.ks.uiuc.edu/Research/namd/libraries/fftw-linux-x86_64.tar.gz&lt;br /&gt;
wget http://www.ks.uiuc.edu/Research/namd/libraries/tcl-linux-x86_64.tar.gz&lt;br /&gt;
tar -xzf fftw-linux-x86_64.tar.gz; mv linux-x86_64 fftw&lt;br /&gt;
tar -xzf tcl-linux-x86_64.tar.gz; mv linux-x86_64 tcl&lt;br /&gt;
#Compile Charm++&lt;br /&gt;
cd charm-6.1&lt;br /&gt;
./build charm++ mpi-linux-x86_64 icc --basedir /scinet/gpc/mpi/openmpi/1.3.3-intel-v11.0-ofed/ --no-shared -O -DCMK_OPTIMIZE=1&lt;br /&gt;
cd ..&lt;br /&gt;
#Compile NAMD. &lt;br /&gt;
#Edit arch/Linux-x86_64-icc.arch and add &amp;quot;-lmpi&amp;quot; to the end of the CXXOPTS and COPTS line.&lt;br /&gt;
#Make a builds directory if you want different versions of NAMD compiled at the same time.&lt;br /&gt;
mkdir builds&lt;br /&gt;
./config builds/Linux-x86_64-icc --charm-arch mpi-linux-x86_64-icc&lt;br /&gt;
cd builds/Linux-x86_64-icc/&lt;br /&gt;
make -j4 namd2 # Adjust value of j as desired to specify number of simultaneous make targets. &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
--[[User:Cmadill|Cmadill]] 16:18, 27 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
=====Running Fortran=====&lt;br /&gt;
On the development nodes, there is an old gcc. The associated libraries are not on the compute nodes. Ensure the line:&lt;br /&gt;
&lt;br /&gt;
module load gcc&lt;br /&gt;
&lt;br /&gt;
is in your .bashrc file.&lt;br /&gt;
&lt;br /&gt;
====LAMMPS====&lt;br /&gt;
[[Image:StrongScalingLAMMPS.png|thumb|right|320px|Strong scaling test on GPC with OpenMPI and IntelMPI on Ethernet and InfiniBand]][[Image:WeakScalingLAMMPS.png|thumb|right|320px|Weak scaling test on GPC with OpenMPI and IntelMPI on Ethernet and InfiniBand]]&lt;br /&gt;
&lt;br /&gt;
===Monte Carlo (MC) simulation===&lt;/div&gt;</summary>
		<author><name>Jchu</name></author>
	</entry>
	<entry>
		<id>https://oldwiki.scinet.utoronto.ca/index.php?title=User_Codes&amp;diff=872</id>
		<title>User Codes</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.scinet.utoronto.ca/index.php?title=User_Codes&amp;diff=872"/>
		<updated>2010-02-02T18:44:42Z</updated>

		<summary type="html">&lt;p&gt;Jchu: /* Molecular Dynamics (MD) simulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&lt;br /&gt;
==Astrophysics==&lt;br /&gt;
&lt;br /&gt;
===Athena (explicit, uniform grid MHD code)===&lt;br /&gt;
&lt;br /&gt;
[[Image:StrongScalingAthenaGPC.png|thumb|right|320px|Athena scaling on GPC with OpenMPI and MVAPICH2 on GigE, and OpenMPI on InfiniBand]]&lt;br /&gt;
&lt;br /&gt;
[http://www.astro.princeton.edu/~jstone/athena.html Athena] is a straightforward C code which doesn't use a lot of libraries so it is pretty straightforward to build and compile on new machines.   &lt;br /&gt;
&lt;br /&gt;
It encapsulates its compiler flags, etc in an &amp;lt;tt&amp;gt;Makeoptions.in&amp;lt;/tt&amp;gt; file which is then processed by &amp;lt;tt&amp;gt;configure&amp;lt;/tt&amp;gt;.   I've used the following additions to &amp;lt;tt&amp;gt;Makeoptions.in&amp;lt;/tt&amp;gt; on TCS and GPC:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
ifeq ($(MACHINE),scinettcs)&lt;br /&gt;
  CC = mpcc_r&lt;br /&gt;
  LDR = mpcc_r&lt;br /&gt;
  OPT = -O5 -q64 -qarch=pwr6 -qtune=pwr6 -qcache=auto -qlargepage -qstrict&lt;br /&gt;
  MPIINC =&lt;br /&gt;
  MPILIB =&lt;br /&gt;
  CFLAGS = $(OPT)&lt;br /&gt;
  LIB = -ldl -lm&lt;br /&gt;
else&lt;br /&gt;
ifeq ($(MACHINE),scinetgpc)&lt;br /&gt;
  CC = mpicc&lt;br /&gt;
  LDR = mpicc&lt;br /&gt;
  OPT = -O3&lt;br /&gt;
  MPIINC =&lt;br /&gt;
  MPILIB =&lt;br /&gt;
  CFLAGS = $(OPT)&lt;br /&gt;
  LIB = -lm&lt;br /&gt;
else&lt;br /&gt;
...&lt;br /&gt;
endif&lt;br /&gt;
endif&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
It performs quite well on the GPC, scaling extremely well even on a strong scaling test out to about 256 cores (32 nodes) on Gigabit ethernet, and performing beautifully on InfiniBand out to 512 cores (64 nodes). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Ljdursi|ljdursi]]  19:20, 13 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
===FLASH3 (Adaptive Mesh reactive hydrodynamics; explict hydro/MHD)===&lt;br /&gt;
&lt;br /&gt;
[[Image:weak-scaling-example.png|thumb|right|320px|Weak scaling test of the 2d sod problem on both the GPC and TCS.  The results are actually somewhat faster on the GPC; in both cases (weak) scaling is very good out at least to 256 cores]]&lt;br /&gt;
&lt;br /&gt;
[http://flash.uchicago.edu FLASH] encapsulates its machine-dependant information in the &amp;lt;tt&amp;gt;FLASH3/sites&amp;lt;/tt&amp;gt; directory.  For the GPC, you'll have to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load intel&lt;br /&gt;
module load openmpi&lt;br /&gt;
module load hdf5/183-v16-openmpi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and with that, the following file (&amp;lt;tt&amp;gt;sites/scinetgpc/Makefile.h&amp;lt;/tt&amp;gt;) works for me:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
## Must do module load hdf5/183-v16-openmpi&lt;br /&gt;
HDF5_PATH = ${SCINET_HDF5_BASE}&lt;br /&gt;
ZLIB_PATH = /usr/local&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Compiler and linker commands&lt;br /&gt;
#&lt;br /&gt;
#  We use the f90 compiler as the linker, so some C libraries may explicitly&lt;br /&gt;
#  need to be added into the link line.&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
## modules will put the right mpi in our path&lt;br /&gt;
FCOMP   = mpif77&lt;br /&gt;
CCOMP   = mpicc&lt;br /&gt;
CPPCOMP = mpiCC&lt;br /&gt;
LINK    = mpif77&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Compilation flags&lt;br /&gt;
#&lt;br /&gt;
#  Three sets of compilation/linking flags are defined: one for optimized&lt;br /&gt;
#  code, one for testing, and one for debugging.  The default is to use the &lt;br /&gt;
#  _OPT version.  Specifying -debug to setup will pick the _DEBUG version,&lt;br /&gt;
#  these should enable bounds checking.  Specifying -test is used for &lt;br /&gt;
#  flash_test, and is set for quick code generation, and (sometimes) &lt;br /&gt;
#  profiling.  The Makefile generated by setup will assign the generic token &lt;br /&gt;
#  (ex. FFLAGS) to the proper set of flags (ex. FFLAGS_OPT).&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
FFLAGS_OPT   =  -c -r8 -i4 -O3 -xSSE4.2&lt;br /&gt;
FFLAGS_DEBUG =  -c -g -r8 -i4 -O0&lt;br /&gt;
FFLAGS_TEST  =  -c -r8 -i4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# if we are using HDF5, we need to specify the path to the include files&lt;br /&gt;
CFLAGS_HDF5  = -I${HDF5_PATH}/include&lt;br /&gt;
&lt;br /&gt;
CFLAGS_OPT   = -c -O3 -xSSE4.2&lt;br /&gt;
CFLAGS_TEST  = -c -O2 &lt;br /&gt;
CFLAGS_DEBUG = -c -g  &lt;br /&gt;
&lt;br /&gt;
MDEFS = &lt;br /&gt;
&lt;br /&gt;
.SUFFIXES: .o .c .f .F .h .fh .F90 .f90&lt;br /&gt;
&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
# Linker flags&lt;br /&gt;
#&lt;br /&gt;
#  There is a seperate version of the linker flags for each of the _OPT, &lt;br /&gt;
#  _DEBUG, and _TEST cases.&lt;br /&gt;
#----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
LFLAGS_OPT   = -o&lt;br /&gt;
LFLAGS_TEST  = -o&lt;br /&gt;
LFLAGS_DEBUG = -g -o&lt;br /&gt;
&lt;br /&gt;
MACHOBJ = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MV = mv -f&lt;br /&gt;
AR = ar -r&lt;br /&gt;
RM = rm -f&lt;br /&gt;
CD = cd&lt;br /&gt;
RL = ranlib&lt;br /&gt;
ECHO = echo&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Ljdursi|ljdursi]] 22:11, 13 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Aeronautics==&lt;br /&gt;
&lt;br /&gt;
==Chemistry==&lt;br /&gt;
&lt;br /&gt;
===GAMESS (US)===&lt;br /&gt;
The GAMESS version January 12, 2009 R3 was built using the Intel v11.1 compilers and v3.2.2 MPI library, according to the instructions in http://software.intel.com/en-us/articles/building-gamess-with-intel-compilers-intel-mkl-and-intel-mpi-on-linux/&lt;br /&gt;
&lt;br /&gt;
The required build scripts - comp, compall, lked - and run script - rungms - were modified to account for our own installation.  In order to build GAMESS one first must ensure that the intel and intelmpi modules are loaded (&amp;quot;module load intel intelmpi&amp;quot;).  This applies to running GAMESS as well.&lt;br /&gt;
The module &amp;quot;gamess&amp;quot; must also be loaded in order to run GAMESS (&amp;quot;module load gamess&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
The modified scripts are in the file /scinet/gpc/src/gamess-on-scinet.tar.gz&lt;br /&gt;
&lt;br /&gt;
====Running GAMESS====&lt;br /&gt;
- Make sure the directory /scratch/$USER/gamess-scratch exists (the $SCINET_RUNGMS script will create it if it does not exist)&lt;br /&gt;
&lt;br /&gt;
- Make sure the modules: intel, intelmpi, gamess are loaded (in your .bashrc: &amp;quot;module load intel intelmpi gamess&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
- Create a torque script to run GAMESS.  Here is an example:&lt;br /&gt;
&lt;br /&gt;
- The GAMESS executable is in $SCINET_GAMESS_HOME/gamess.00.x&lt;br /&gt;
- The rungms script is in $SCINET_GAMESS_HOME/rungms (actually it is $SCINET_RUNGMS)&lt;br /&gt;
&lt;br /&gt;
- For IB multinode runs, use the $SCINET_RUNGMS_IB script&lt;br /&gt;
&lt;br /&gt;
- The rungms script takes 4 arguments:  input file, executable number, number of compute processes, processors per node&lt;br /&gt;
&lt;br /&gt;
For example, in order to run with the input file /scratch/$USER/gamesstest01, on 8 cpus, and the default version (00)&lt;br /&gt;
of the executable on a machine with 8 cores:&lt;br /&gt;
&lt;br /&gt;
   # load the gamess module in .bashrc&lt;br /&gt;
   module load gamess  &lt;br /&gt;
&lt;br /&gt;
   # run the program&lt;br /&gt;
   $SCINET_RUNGMS /scratch/$USER/gamesstest01 00 8 8&lt;br /&gt;
&lt;br /&gt;
Here is a sample torque script for running a GAMESS calculation, on a single 8-core node:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#PBS -l nodes=1:ppn=8,walltime=48:00:00,os=centos53computeA&lt;br /&gt;
#PBS -N gamessjob&lt;br /&gt;
&lt;br /&gt;
## To submit type: qsub gms.sh&lt;br /&gt;
&lt;br /&gt;
# If not an interactive job (i.e. -I), then cd into the directory where&lt;br /&gt;
# I typed qsub.&lt;br /&gt;
if [ &amp;quot;$PBS_ENVIRONMENT&amp;quot; != &amp;quot;PBS_INTERACTIVE&amp;quot; ]; then&lt;br /&gt;
   if [ -n &amp;quot;$PBS_O_WORKDIR&amp;quot; ]; then&lt;br /&gt;
     cd $PBS_O_WORKDIR&lt;br /&gt;
   fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# the input file is typically named something like &amp;quot;gamesjob.inp&amp;quot;&lt;br /&gt;
# so the script will be run like &amp;quot;$SCINET_RUNGMS gamessjob 00 8 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# load the gamess module if not in .bashrc already&lt;br /&gt;
# actually, it MUST be in .bashrc&lt;br /&gt;
# module load gamess&lt;br /&gt;
&lt;br /&gt;
# run the program&lt;br /&gt;
&lt;br /&gt;
$SCINET_RUNGMS gamessjob 00 8 8&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a similar script, but this one uses 2 InfiniBand-connected nodes,&lt;br /&gt;
and runs the appropriate $SCINET_RUNGMS_IB script to actually run the job:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#PBS -l nodes=2:ib:ppn=8,walltime=48:00:00,os=centos53computeA&lt;br /&gt;
#PBS -N gamessjob&lt;br /&gt;
&lt;br /&gt;
## To submit type: qsub gmsib.sh&lt;br /&gt;
&lt;br /&gt;
# If not an interactive job (i.e. -I), then cd into the directory where&lt;br /&gt;
# I typed qsub.&lt;br /&gt;
if [ &amp;quot;$PBS_ENVIRONMENT&amp;quot; != &amp;quot;PBS_INTERACTIVE&amp;quot; ]; then&lt;br /&gt;
   if [ -n &amp;quot;$PBS_O_WORKDIR&amp;quot; ]; then&lt;br /&gt;
     cd $PBS_O_WORKDIR&lt;br /&gt;
   fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# the input file is typically named something like &amp;quot;gamesjob.inp&amp;quot;&lt;br /&gt;
# so the script will be run like &amp;quot;$SCINET_RUNGMS gamessjob 00 8 8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# load the gamess module if not in .bashrc already&lt;br /&gt;
# actually, it MUST be in .bashrc&lt;br /&gt;
# module load gamess&lt;br /&gt;
&lt;br /&gt;
# This script requests InfiniBand-connected nodes (:ib above)&lt;br /&gt;
# so it must run with the IB version of the rungms script,&lt;br /&gt;
# $SCINET_RUNGMS_IB&lt;br /&gt;
&lt;br /&gt;
$SCINET_RUNGMS_IB gamessjob 00 16 8&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
-- [[User:Dgruner|dgruner]]  5 October 2009&lt;br /&gt;
&lt;br /&gt;
===Tips from the Fekl Lab===&lt;br /&gt;
&lt;br /&gt;
Through trial and error, we have found a few useful things that we would like to share:&lt;br /&gt;
&lt;br /&gt;
1. Two very useful, open-source programs for visualization of output files from GAMESS(US) and for generation of input files are [http://www.scl.ameslab.gov/MacMolPlt/ MacMolPlt]and [http://avogadro.openmolecules.net/wiki/Main_Page Avogadro].  The are available for UNIX/LINUX, Windows and Mac based machines, HOWEVER:  any input files that we have generated with these programs on a Windows-based machine do not run on Mac based machines.  We don't know why.&lt;br /&gt;
&lt;br /&gt;
2. [http://winscp.net/eng/index.php WinSCP] is a very useful tool that has a graphical user interface for moving files from a local machine to SCINET and vice versa.  It also has text editing capabilities.&lt;br /&gt;
&lt;br /&gt;
3. The [https://bse.pnl.gov/bse/portal ESML Basis Set Exchange] is an excellent source for custom basis set or effective core potential parameters.  Make sure that you specify &amp;quot;Gamess-US&amp;quot; in the format drop-down box.&lt;br /&gt;
&lt;br /&gt;
4.  The commercial program [http://www.chemcraftprog.com/ ChemCraft] is a highly useful visualization program that has the ability to edit molecules in a very similar fashion to GaussView.  It can also be customized to build GAMESS(US) input files.&lt;br /&gt;
&lt;br /&gt;
====Anatomy of a GAMESS(US) Input File with Basis Set Info in an External File====&lt;br /&gt;
&lt;br /&gt;
  $CONTRL SCFTYP=RHF RUNTYP=OPTIMIZE DFTTYP=M06-L MAXIT=199 MULT=1 NOSYM=1&lt;br /&gt;
   ECP=READ $END&lt;br /&gt;
  $SYSTEM TIMLIM=525600 MWORDS=1750 PARALL=.TRUE. $END&lt;br /&gt;
  $BASIS GBASIS=CUSTOMNI EXTFIL=.t. $END&lt;br /&gt;
  $SCF DIRSCF=.TRUE. FDIFF=.f. $END&lt;br /&gt;
  $STATPT OPTTOL=0.0001 NSTEP=500 HSSEND=.t. $END&lt;br /&gt;
  $DATA&lt;br /&gt;
  Mo_BDT3&lt;br /&gt;
 C1&lt;br /&gt;
 MOLYBDENUM 42.0      5.7556500000      4.4039600000     16.5808400000&lt;br /&gt;
 SULFUR     16.0      7.4169700000      3.1956300000     15.2089300000&lt;br /&gt;
 SULFUR     16.0      4.0966800000      3.2258300000     15.1761100000&lt;br /&gt;
 SULFUR     16.0      3.9677300000      4.4940500000     18.3266100000&lt;br /&gt;
 SULFUR     16.0      7.1776900000      3.5815000000     18.4485200000&lt;br /&gt;
 SULFUR     16.0      4.3776600000      6.2447400000     15.6786900000&lt;br /&gt;
 SULFUR     16.0      7.5478700000      6.0679800000     16.2223700000&lt;br /&gt;
 CARBON      6.0      6.4716900000      2.1004800000     14.1902300000&lt;br /&gt;
 CARBON      6.0      5.0690300000      2.1781400000     14.1080700000&lt;br /&gt;
 CARBON      6.0      4.8421800000      4.2701300000     19.8855500000&lt;br /&gt;
 CARBON      6.0      6.1969000000      3.9249600000     19.9397400000&lt;br /&gt;
 CARBON      6.0      6.8280600000      3.7834200000     21.1913200000&lt;br /&gt;
 CARBON      6.0      5.7697600000      7.6933500000     17.4241800000&lt;br /&gt;
 CARBON      6.0      7.2043100000      7.9413600000     17.8281100000&lt;br /&gt;
 CARBON      6.0      5.5051400000      7.0409700000     14.5903800000&lt;br /&gt;
 CARBON      6.0      6.8905200000      6.9194700000     14.7626200000&lt;br /&gt;
 CARBON      6.0      7.7396400000      7.5379800000     13.8285700000&lt;br /&gt;
 HYDROGEN    1.0      8.8190700000      7.4520600000     13.9252200000&lt;br /&gt;
 CARBON      6.0      7.2169400000      8.2960300000     12.7704100000&lt;br /&gt;
 HYDROGEN    1.0      7.8667000000      8.7825100000     12.0575600000&lt;br /&gt;
 CARBON      6.0      5.8260300000      8.4502300000     12.6467800000&lt;br /&gt;
 HYDROGEN    1.0      5.4143000000      9.0544300000     11.8493100000&lt;br /&gt;
 CARBON      6.0      4.9881500000      7.8192300000     13.5528400000&lt;br /&gt;
 HYDROGEN    1.0      3.9090500000      7.9420000000     13.4583700000&lt;br /&gt;
 CARBON      6.0      7.1538500000      1.1569600000     13.4143900000&lt;br /&gt;
 CARBON      6.0      4.4018100000      1.3603900000     13.1919900000&lt;br /&gt;
 CARBON      6.0      6.4791600000      0.3185500000     12.5353300000&lt;br /&gt;
 CARBON      6.0      5.0837400000      0.4369500000     12.4084900000&lt;br /&gt;
 HYDROGEN    1.0      7.0116000000     -0.4099400000     11.9434600000&lt;br /&gt;
 HYDROGEN    1.0      8.2399000000      1.0702400000     13.4937600000&lt;br /&gt;
 HYDROGEN    1.0      3.3185600000      1.4368700000     13.0953100000&lt;br /&gt;
 HYDROGEN    1.0      4.5549800000     -0.1997300000     11.7165200000&lt;br /&gt;
 CARBON      6.0      6.1105700000      3.9639000000     22.3866100000&lt;br /&gt;
 CARBON      6.0      4.1216300000      4.4424400000     21.1020100000&lt;br /&gt;
 HYDROGEN    1.0      7.8732900000      3.5217100000     21.2520500000&lt;br /&gt;
 CARBON      6.0      4.7606000000      4.2868500000     22.3363800000&lt;br /&gt;
 HYDROGEN    1.0      6.6064200000      3.8406000000     23.3428500000&lt;br /&gt;
 HYDROGEN    1.0      4.2065000000      4.4170700000     23.2667100000&lt;br /&gt;
 HYDROGEN    1.0      3.0674000000      4.6893500000     21.0889000000&lt;br /&gt;
 HYDROGEN    1.0      7.4249200000      7.7545300000     18.8583200000&lt;br /&gt;
 HYDROGEN    1.0      7.6651700000      8.9049700000     17.7652100000&lt;br /&gt;
 HYDROGEN    1.0      5.3324000000      8.6487800000     17.2222700000&lt;br /&gt;
 HYDROGEN    1.0      5.5015000000      7.1039000000     18.2759400000&lt;br /&gt;
  $END&lt;br /&gt;
  $ECP&lt;br /&gt;
 MO-ECP GEN     28     3&lt;br /&gt;
  5      ----- f potential     -----&lt;br /&gt;
     -0.0469492        0    537.9667807        &lt;br /&gt;
    -20.2080084        1    147.8982938        &lt;br /&gt;
   -106.2116302        2     45.7358898        &lt;br /&gt;
    -41.8107368        2     13.2911467        &lt;br /&gt;
     -4.2054103        2      4.7059961        &lt;br /&gt;
  3      ----- s-f potential     -----&lt;br /&gt;
      2.8063717        0    110.2991760        &lt;br /&gt;
     44.5162012        1     23.2014645        &lt;br /&gt;
     82.7785227        2      5.3530131        &lt;br /&gt;
  4      ----- p-f potential     -----&lt;br /&gt;
      4.9420876        0     63.2901397        &lt;br /&gt;
     25.8604976        1     23.3315302        &lt;br /&gt;
    132.4708742        2     24.6759423        &lt;br /&gt;
     57.3149794        2      4.6493040        &lt;br /&gt;
  5      ----- d-f potential     -----&lt;br /&gt;
      3.0054591        0    104.4839977        &lt;br /&gt;
     26.3637851        1     66.2307245        &lt;br /&gt;
    183.3849199        2     39.1283176        &lt;br /&gt;
     98.4453068        2     13.1164437        &lt;br /&gt;
     22.4901377        2      3.6280263 &lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
=====The Input Deck=====&lt;br /&gt;
&lt;br /&gt;
Below is the input deck.  It is where you tell GAMESS(US) what job type to execute and where all you individual parameters are entered for your specific job type.  The example input deck below is for a geometry optimization and frequency calculation.  This input deck is equivalent to the Gaussian job with &amp;quot;opt&amp;quot; and &amp;quot;freq&amp;quot; in the route section.&lt;br /&gt;
&lt;br /&gt;
  $CONTRL SCFTYP=RHF RUNTYP=OPTIMIZE DFTTYP=M06-L MAXIT=199 MULT=1 NOSYM=1&lt;br /&gt;
   ECP=READ $END&lt;br /&gt;
  $SYSTEM TIMLIM=2850 MWORDS=1750 MEMDDI=20 PARALL=.TRUE. $END&lt;br /&gt;
  $BASIS GBASIS=CUSTOMNI EXTFIL=.t. $END&lt;br /&gt;
  $SCF DIRSCF=.TRUE. FDIFF=.f. $END&lt;br /&gt;
  $STATPT OPTTOL=0.0001 NSTEP=500 HSSEND=.t. $END&lt;br /&gt;
  $DATA&lt;br /&gt;
&lt;br /&gt;
An important thing to note is the spacing.  In the input deck, there must be 1 space at the beginning of each line of the input deck.  If not, the job will fail.  Most builders will insert this space anyway, but it helps to double check.&lt;br /&gt;
&lt;br /&gt;
The end of the input deck is marked by the &amp;quot;$DATA&amp;quot; line.&lt;br /&gt;
&lt;br /&gt;
=====Job Title Line=====&lt;br /&gt;
&lt;br /&gt;
The next line of the file is the job title.  It can be anthing you wish, however, we have found that to be on the safe side, we avoide using symbols or spaces&lt;br /&gt;
&lt;br /&gt;
  Mo_BDT3&lt;br /&gt;
&lt;br /&gt;
=====Symmetry Point Group=====&lt;br /&gt;
&lt;br /&gt;
The next line of the file is the symmetry point group of your molecule.  Note that there is no leading space before the point group.&lt;br /&gt;
&lt;br /&gt;
 C1&lt;br /&gt;
&lt;br /&gt;
=====Coordinates=====&lt;br /&gt;
&lt;br /&gt;
The next block of text is set aside for the coordinates of the molecule.  This can be in internal (or z-matrix) format or cartesian coordinates.  Note that there is no leading space before the coordinates.  One may use the chemical symbol or the full name of each atom in the molecule.  Note that the end of the coordinates is signified by an &amp;quot;$END&amp;quot;, which MUST have one space preceding it.  The coordinates below do NOT have any basis set information inserted.  It is possible to insert basis set information directly into the input file.  This is accomplished by obtaining the desired basis set parameters from the EMSL and then inserting them below each relevant atom.  An example input file with inserted basis set information will be shown later.&lt;br /&gt;
&lt;br /&gt;
 MOLYBDENUM 42.0      5.7556500000      4.4039600000     16.5808400000&lt;br /&gt;
 SULFUR     16.0      7.4169700000      3.1956300000     15.2089300000&lt;br /&gt;
 SULFUR     16.0      4.0966800000      3.2258300000     15.1761100000&lt;br /&gt;
 SULFUR     16.0      3.9677300000      4.4940500000     18.3266100000&lt;br /&gt;
 SULFUR     16.0      7.1776900000      3.5815000000     18.4485200000&lt;br /&gt;
 SULFUR     16.0      4.3776600000      6.2447400000     15.6786900000&lt;br /&gt;
 SULFUR     16.0      7.5478700000      6.0679800000     16.2223700000&lt;br /&gt;
 CARBON      6.0      6.4716900000      2.1004800000     14.1902300000&lt;br /&gt;
 CARBON      6.0      5.0690300000      2.1781400000     14.1080700000&lt;br /&gt;
 CARBON      6.0      4.8421800000      4.2701300000     19.8855500000&lt;br /&gt;
 CARBON      6.0      6.1969000000      3.9249600000     19.9397400000&lt;br /&gt;
 CARBON      6.0      6.8280600000      3.7834200000     21.1913200000&lt;br /&gt;
 CARBON      6.0      5.7697600000      7.6933500000     17.4241800000&lt;br /&gt;
 CARBON      6.0      7.2043100000      7.9413600000     17.8281100000&lt;br /&gt;
 CARBON      6.0      5.5051400000      7.0409700000     14.5903800000&lt;br /&gt;
 CARBON      6.0      6.8905200000      6.9194700000     14.7626200000&lt;br /&gt;
 CARBON      6.0      7.7396400000      7.5379800000     13.8285700000&lt;br /&gt;
 HYDROGEN    1.0      8.8190700000      7.4520600000     13.9252200000&lt;br /&gt;
 CARBON      6.0      7.2169400000      8.2960300000     12.7704100000&lt;br /&gt;
 HYDROGEN    1.0      7.8667000000      8.7825100000     12.0575600000&lt;br /&gt;
 CARBON      6.0      5.8260300000      8.4502300000     12.6467800000&lt;br /&gt;
 HYDROGEN    1.0      5.4143000000      9.0544300000     11.8493100000&lt;br /&gt;
 CARBON      6.0      4.9881500000      7.8192300000     13.5528400000&lt;br /&gt;
 HYDROGEN    1.0      3.9090500000      7.9420000000     13.4583700000&lt;br /&gt;
 CARBON      6.0      7.1538500000      1.1569600000     13.4143900000&lt;br /&gt;
 CARBON      6.0      4.4018100000      1.3603900000     13.1919900000&lt;br /&gt;
 CARBON      6.0      6.4791600000      0.3185500000     12.5353300000&lt;br /&gt;
 CARBON      6.0      5.0837400000      0.4369500000     12.4084900000&lt;br /&gt;
 HYDROGEN    1.0      7.0116000000     -0.4099400000     11.9434600000&lt;br /&gt;
 HYDROGEN    1.0      8.2399000000      1.0702400000     13.4937600000&lt;br /&gt;
 HYDROGEN    1.0      3.3185600000      1.4368700000     13.0953100000&lt;br /&gt;
 HYDROGEN    1.0      4.5549800000     -0.1997300000     11.7165200000&lt;br /&gt;
 CARBON      6.0      6.1105700000      3.9639000000     22.3866100000&lt;br /&gt;
 CARBON      6.0      4.1216300000      4.4424400000     21.1020100000&lt;br /&gt;
 HYDROGEN    1.0      7.8732900000      3.5217100000     21.2520500000&lt;br /&gt;
 CARBON      6.0      4.7606000000      4.2868500000     22.3363800000&lt;br /&gt;
 HYDROGEN    1.0      6.6064200000      3.8406000000     23.3428500000&lt;br /&gt;
 HYDROGEN    1.0      4.2065000000      4.4170700000     23.2667100000&lt;br /&gt;
 HYDROGEN    1.0      3.0674000000      4.6893500000     21.0889000000&lt;br /&gt;
 HYDROGEN    1.0      7.4249200000      7.7545300000     18.8583200000&lt;br /&gt;
 HYDROGEN    1.0      7.6651700000      8.9049700000     17.7652100000&lt;br /&gt;
 HYDROGEN    1.0      5.3324000000      8.6487800000     17.2222700000&lt;br /&gt;
 HYDROGEN    1.0      5.5015000000      7.1039000000     18.2759400000&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
=====Effective Core Potential Data=====&lt;br /&gt;
&lt;br /&gt;
The effective core potential (ECP) data is entered after the coordinates.  It starts with &amp;quot;$ECP&amp;quot;, which must be preceded with a space.   The atoms of the molecule are listed in the same order as in the coordinates section and the parameters for the ECP are listed after each atom.  Note that for any atom that does NOT have an ECP, one must enter &amp;quot;ECP-NONE&amp;quot; or &amp;quot;NONE&amp;quot; after each atom without an ECP.&lt;br /&gt;
&lt;br /&gt;
 $ECP&lt;br /&gt;
 MO-ECP GEN     28     3&lt;br /&gt;
  5      ----- f potential     -----&lt;br /&gt;
     -0.0469492        0    537.9667807        &lt;br /&gt;
    -20.2080084        1    147.8982938        &lt;br /&gt;
   -106.2116302        2     45.7358898        &lt;br /&gt;
    -41.8107368        2     13.2911467        &lt;br /&gt;
     -4.2054103        2      4.7059961        &lt;br /&gt;
  3      ----- s-f potential     -----&lt;br /&gt;
      2.8063717        0    110.2991760        &lt;br /&gt;
     44.5162012        1     23.2014645        &lt;br /&gt;
     82.7785227        2      5.3530131        &lt;br /&gt;
  4      ----- p-f potential     -----&lt;br /&gt;
      4.9420876        0     63.2901397        &lt;br /&gt;
     25.8604976        1     23.3315302        &lt;br /&gt;
    132.4708742        2     24.6759423        &lt;br /&gt;
     57.3149794        2      4.6493040        &lt;br /&gt;
  5      ----- d-f potential     -----&lt;br /&gt;
      3.0054591        0    104.4839977        &lt;br /&gt;
     26.3637851        1     66.2307245        &lt;br /&gt;
    183.3849199        2     39.1283176        &lt;br /&gt;
     98.4453068        2     13.1164437        &lt;br /&gt;
     22.4901377        2      3.6280263 &lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 S NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 C NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
 H NONE&lt;br /&gt;
  $END&lt;br /&gt;
&lt;br /&gt;
-- [[User:M.Zimmer-De Iuliis|mzd]]  16 November 2009&lt;br /&gt;
&lt;br /&gt;
====Using Effective Core Potentials in GAMESS(US)====&lt;br /&gt;
&lt;br /&gt;
For many metal containing compounds, it is very convenient and time saving to use an effective core potential (ECP) for the core metal electrons, as they are usually not important to the reactivity of the complex or the geometry around the metal.  Since GAMESS(US) has a limited number of built-in ECPs, one may want to make GAMESS(US) read an external file that contains the ECP data using the &amp;quot;EXTFIL&amp;quot; keyword in the $GBASIS command line of the input file.  In addition, to make GAMESS(US) use this external file, one must copy the &amp;quot;rungms&amp;quot; file and modify it accordingly.  The following is a list of instructions with commands that will work from a terminal.  One could also use WinSCP to do all of this with a GUI rather than a TUI.  &lt;br /&gt;
&lt;br /&gt;
=====Modifiying rungms to Use Custom Basis Set File=====&lt;br /&gt;
1. Copy &amp;quot;rungms&amp;quot; from /scinet/gpc/Applications/gamess to one's own /scratch/$USER/ directory:&lt;br /&gt;
 cp /scinet/gpc/Applications/gamess/rungms /scratch/$USER/&lt;br /&gt;
&lt;br /&gt;
2. Change to the scratch directory and check to see if &amp;quot;rungms&amp;quot; has copied successfully.&lt;br /&gt;
 cd /scratch/$USER&lt;br /&gt;
 ls&lt;br /&gt;
&lt;br /&gt;
3. Edit line 147 of the vi.  &lt;br /&gt;
 vi rungms&lt;br /&gt;
Move the cursor down to line 147 using the arrow keys.  It should say &amp;quot;setenv EXTBAS /dev/null&amp;quot;.  Using the arrow keys, move the cursor to the first &amp;quot;/&amp;quot; and then hit &amp;quot;i&amp;quot; to insert text.  Put the path to your external basis file here.  For example, /scratch/$USER/basisset.  Then hit &amp;quot;escape&amp;quot;.  To save the changes and exit vi, type &amp;quot;:&amp;quot; and you should see a colon appear at the bottom of the window.  Type &amp;quot;wq&amp;quot; (which should appear at the bottom of the window next to the colon) and then hit enter.  Now you are done with vi.&lt;br /&gt;
&lt;br /&gt;
=====Creating a Custom Basis Set File=====&lt;br /&gt;
1. To create a custom basis set file, you need create a new text document.  Our group's common practice is to comment out the first line of this file by inserting an exclamation mark (!) followed by noting the specific basis sets and ECPs that are going to be used for each of the atoms.  Let us the molecule Mo(CO)6, Molybdenum hexacarbonyl, as an example.  Below is the first line of the the external file, which we will call &amp;quot;CUSTOMMO&amp;quot;  (NOTE:  you can use any name for the external file that suits you, as long as it has no spaces and is 8 characters or less).&lt;br /&gt;
&lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&lt;br /&gt;
&lt;br /&gt;
2. The next step is to visit the [https://bse.pnl.gov/bse/portal EMSL Basis Set exchange] and select C and O from the periodic table.  Then, on the left of the page, select &amp;quot;6-31G&amp;quot; as the basis set.  Finally, make sure the output is in GAMESS(US) format using the drop-down menu and then click &amp;quot;get basis set&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:C_O_6_31G_basisset.JPG|centre]]&lt;br /&gt;
&lt;br /&gt;
3. A new window should appear with text in it.  For our example case, the text looks like this:&lt;br /&gt;
 &lt;br /&gt;
 !  6-31G  EMSL  Basis Set Exchange Library   10/13/09 11:12 AM&lt;br /&gt;
 ! Elements                             References&lt;br /&gt;
 ! --------                             ----------&lt;br /&gt;
 ! H - He: W.J. Hehre, R. Ditchfield and J.A. Pople, J. Chem. Phys. 56,&lt;br /&gt;
 ! Li - Ne: 2257 (1972).  Note: Li and B come from J.D. Dill and J.A.&lt;br /&gt;
 ! Pople, J. Chem. Phys. 62, 2921 (1975).&lt;br /&gt;
 ! Na - Ar: M.M. Francl, W.J. Petro, W.J. Hehre, J.S. Binkley, M.S. Gordon,&lt;br /&gt;
 ! D.J. DeFrees and J.A. Pople, J. Chem. Phys. 77, 3654 (1982)&lt;br /&gt;
 ! K  - Zn: V. Rassolov, J.A. Pople, M. Ratner and T.L. Windus, J. Chem. Phys.&lt;br /&gt;
 ! 109, 1223 (1998)&lt;br /&gt;
 ! Note: He and Ne are unpublished basis sets taken from the Gaussian&lt;br /&gt;
 ! program&lt;br /&gt;
 ! &lt;br /&gt;
 $DATA&amp;lt;br /&amp;gt;&lt;br /&gt;
 CARBON&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 OXYGEN&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000        &lt;br /&gt;
 $END&lt;br /&gt;
&lt;br /&gt;
3. Now, copy and paste the text between the $DATA and $END headings onto our external text file, CUSTOMMO.  We also need to change the change the name of each element to it symbol in the periodic table.  Finally, we need to add the name of the external file next to the element symbol, separated by one space.  Note that there should be a blank line separating the basis set information and the first, commented-out line (The line starting with the '!').  The CUSTOMMO should look like this:&lt;br /&gt;
 &lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&amp;lt;br /&amp;gt;&lt;br /&gt;
 C CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 O CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000 &lt;br /&gt;
&lt;br /&gt;
4. Repeat Step 3 above but choose Mo and select the LANL2DZ ECP instead.  A new window will pop up with the basis set information as well as the ECP data we need, since we specified the LANL2DZ '''ECP'''.  The ECP data is not inserted into the external file, rather it is placed into the input file itself (More on this later).  &lt;br /&gt;
&lt;br /&gt;
[[File:Mo_LANL2DZ_basisset.JPG|centre]]&lt;br /&gt;
&lt;br /&gt;
5.  After copying the molybdenum basis set information, your fiished external basis set file should look like this:&lt;br /&gt;
 ! 6-31G on C and O and LANL2D2 ECP on Mo&amp;lt;br /&amp;gt;&lt;br /&gt;
 C CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   3047.5249000              0.0018347        &lt;br /&gt;
   2    457.3695100              0.0140373        &lt;br /&gt;
   3    103.9486900              0.0688426        &lt;br /&gt;
   4     29.2101550              0.2321844        &lt;br /&gt;
   5      9.2866630              0.4679413        &lt;br /&gt;
   6      3.1639270              0.3623120        &lt;br /&gt;
 L   3&lt;br /&gt;
   1      7.8682724             -0.1193324              0.0689991        &lt;br /&gt;
   2      1.8812885             -0.1608542              0.3164240        &lt;br /&gt;
   3      0.5442493              1.1434564              0.7443083        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.1687144              1.0000000              1.0000000&amp;lt;br /&amp;gt;      &lt;br /&gt;
 O CUSTOMMO&lt;br /&gt;
 S   6&lt;br /&gt;
   1   5484.6717000              0.0018311        &lt;br /&gt;
   2    825.2349500              0.0139501        &lt;br /&gt;
   3    188.0469600              0.0684451        &lt;br /&gt;
   4     52.9645000              0.2327143        &lt;br /&gt;
   5     16.8975700              0.4701930        &lt;br /&gt;
   6      5.7996353              0.3585209        &lt;br /&gt;
 L   3&lt;br /&gt;
   1     15.5396160             -0.1107775              0.0708743        &lt;br /&gt;
   2      3.5999336             -0.1480263              0.3397528        &lt;br /&gt;
   3      1.0137618              1.1307670              0.7271586        &lt;br /&gt;
 L   1&lt;br /&gt;
   1      0.2700058              1.0000000              1.0000000&amp;lt;br /&amp;gt; &lt;br /&gt;
 Mo CUSTOMO&lt;br /&gt;
 S   3&lt;br /&gt;
   1      2.3610000             -0.9121760        &lt;br /&gt;
   2      1.3090000              1.1477453        &lt;br /&gt;
   3      0.4500000              0.6097109        &lt;br /&gt;
 S   4&lt;br /&gt;
   1      2.3610000              0.8139259        &lt;br /&gt;
   2      1.3090000             -1.1360084        &lt;br /&gt;
   3      0.4500000             -1.1611592        &lt;br /&gt;
   4      0.1681000              1.0064786        &lt;br /&gt;
 S   1&lt;br /&gt;
   1      0.0423000              1.0000000        &lt;br /&gt;
 P   3&lt;br /&gt;
   1      4.8950000             -0.0908258        &lt;br /&gt;
   2      1.0440000              0.7042899        &lt;br /&gt;
   3      0.3877000              0.3973179        &lt;br /&gt;
 P   2&lt;br /&gt;
   1      0.4995000             -0.1081945        &lt;br /&gt;
   2      0.0780000              1.0368093        &lt;br /&gt;
 P   1&lt;br /&gt;
   1      0.0247000              1.0000000        &lt;br /&gt;
 D   3&lt;br /&gt;
   1      2.9930000              0.0527063        &lt;br /&gt;
   2      1.0630000              0.5003907        &lt;br /&gt;
   3      0.3721000              0.5794024        &lt;br /&gt;
 D   1&lt;br /&gt;
   1      0.1178000              1.0000000&lt;br /&gt;
&lt;br /&gt;
-- [[User:M.Zimmer-De Iuliis|mzd]]  13 October 2009&lt;br /&gt;
&lt;br /&gt;
==Climate Modelling==&lt;br /&gt;
&lt;br /&gt;
==Medicine/Bio==&lt;br /&gt;
&lt;br /&gt;
==High Energy Physics==&lt;br /&gt;
&lt;br /&gt;
==Structural Biology==&lt;br /&gt;
Molecular simulation of proteins, lipids, carbohydrates, and other biologically relevant molecules.&lt;br /&gt;
===Molecular Dynamics (MD) simulation===&lt;br /&gt;
====GROMACS====&lt;br /&gt;
Please refer to the [[gromacs|GROMACS]] page&lt;br /&gt;
====AMBER====&lt;br /&gt;
Please refer to the [[amber|AMBER]] page&lt;br /&gt;
====NAMD====&lt;br /&gt;
NAMD is one of the better scaling MD packages out there. With sufficiently large systems, it is able to scale to hundreds or thousands of cores on Scinet. Below are details for compiling and running NAMD on Scinet.&lt;br /&gt;
&lt;br /&gt;
More information regarding performance and different compile options coming soon...&lt;br /&gt;
&lt;br /&gt;
=====Compiling NAMD for GPC=====&lt;br /&gt;
Ensure the proper compiler/mpi modules are loaded.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
module load intel&lt;br /&gt;
module load openmpi/1.3.3-intel-v11.0-ofed&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Compile Charm++ and NAMD'''&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
#Unpack source files and get required support libraries&lt;br /&gt;
tar -xzf NAMD_2.7b1_Source.tar.gz&lt;br /&gt;
cd NAMD_2.7b1_Source&lt;br /&gt;
tar -xf charm-6.1.tar&lt;br /&gt;
wget http://www.ks.uiuc.edu/Research/namd/libraries/fftw-linux-x86_64.tar.gz&lt;br /&gt;
wget http://www.ks.uiuc.edu/Research/namd/libraries/tcl-linux-x86_64.tar.gz&lt;br /&gt;
tar -xzf fftw-linux-x86_64.tar.gz; mv linux-x86_64 fftw&lt;br /&gt;
tar -xzf tcl-linux-x86_64.tar.gz; mv linux-x86_64 tcl&lt;br /&gt;
#Compile Charm++&lt;br /&gt;
cd charm-6.1&lt;br /&gt;
./build charm++ mpi-linux-x86_64 icc --basedir /scinet/gpc/mpi/openmpi/1.3.3-intel-v11.0-ofed/ --no-shared -O -DCMK_OPTIMIZE=1&lt;br /&gt;
cd ..&lt;br /&gt;
#Compile NAMD. &lt;br /&gt;
#Edit arch/Linux-x86_64-icc.arch and add &amp;quot;-lmpi&amp;quot; to the end of the CXXOPTS and COPTS line.&lt;br /&gt;
#Make a builds directory if you want different versions of NAMD compiled at the same time.&lt;br /&gt;
mkdir builds&lt;br /&gt;
./config builds/Linux-x86_64-icc --charm-arch mpi-linux-x86_64-icc&lt;br /&gt;
cd builds/Linux-x86_64-icc/&lt;br /&gt;
make -j4 namd2 # Adjust value of j as desired to specify number of simultaneous make targets. &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
--[[User:Cmadill|Cmadill]] 16:18, 27 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
=====Running Fortran=====&lt;br /&gt;
On the development nodes, there is an old gcc. The associated libraries are not on the compute nodes. Ensure the line:&lt;br /&gt;
&lt;br /&gt;
module load gcc&lt;br /&gt;
&lt;br /&gt;
is in your .bashrc file.&lt;br /&gt;
&lt;br /&gt;
====LAMMPS====&lt;br /&gt;
&lt;br /&gt;
===Monte Carlo (MC) simulation===&lt;/div&gt;</summary>
		<author><name>Jchu</name></author>
	</entry>
	<entry>
		<id>https://oldwiki.scinet.utoronto.ca/index.php?title=File:StrongScalingLAMMPS.png&amp;diff=871</id>
		<title>File:StrongScalingLAMMPS.png</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.scinet.utoronto.ca/index.php?title=File:StrongScalingLAMMPS.png&amp;diff=871"/>
		<updated>2010-02-02T18:43:46Z</updated>

		<summary type="html">&lt;p&gt;Jchu: uploaded a new version of &amp;quot;File:StrongScalingLAMMPS.png&amp;quot;: Strong scaling test for LAMMPS (using EAM potentials) on GPC with OpenMPI and IntelMPI for both Ethernet and Infiniband&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jchu</name></author>
	</entry>
	<entry>
		<id>https://oldwiki.scinet.utoronto.ca/index.php?title=File:WeakScalingLAMMPS.png&amp;diff=870</id>
		<title>File:WeakScalingLAMMPS.png</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.scinet.utoronto.ca/index.php?title=File:WeakScalingLAMMPS.png&amp;diff=870"/>
		<updated>2010-02-02T18:42:22Z</updated>

		<summary type="html">&lt;p&gt;Jchu: Weak scaling test for LAMMPS (using EAM potentials) on GPC with OpenMPI and IntelMPI using both Ethernet and Infiniband.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Weak scaling test for LAMMPS (using EAM potentials) on GPC with OpenMPI and IntelMPI using both Ethernet and Infiniband.&lt;/div&gt;</summary>
		<author><name>Jchu</name></author>
	</entry>
	<entry>
		<id>https://oldwiki.scinet.utoronto.ca/index.php?title=File:StrongScalingLAMMPS.png&amp;diff=869</id>
		<title>File:StrongScalingLAMMPS.png</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.scinet.utoronto.ca/index.php?title=File:StrongScalingLAMMPS.png&amp;diff=869"/>
		<updated>2010-02-02T18:40:46Z</updated>

		<summary type="html">&lt;p&gt;Jchu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jchu</name></author>
	</entry>
	<entry>
		<id>https://oldwiki.scinet.utoronto.ca/index.php?title=File:Strong.png&amp;diff=868</id>
		<title>File:Strong.png</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.scinet.utoronto.ca/index.php?title=File:Strong.png&amp;diff=868"/>
		<updated>2010-02-02T18:32:29Z</updated>

		<summary type="html">&lt;p&gt;Jchu: Strong scaling test for LAMMPS (using EAM potentials) on GPC with OpenMPI and IntelMPI for both Ethernet and Infiniband&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Strong scaling test for LAMMPS (using EAM potentials) on GPC with OpenMPI and IntelMPI for both Ethernet and Infiniband&lt;/div&gt;</summary>
		<author><name>Jchu</name></author>
	</entry>
</feed>