<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://chemwiki.ch.ic.ac.uk/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Marobb</id>
	<title>ChemWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://chemwiki.ch.ic.ac.uk/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Marobb"/>
	<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/wiki/Special:Contributions/Marobb"/>
	<updated>2026-05-16T10:41:58Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Resgrp:comp-photo-dyn/mctdh90dev/input&amp;diff=31687</id>
		<title>Resgrp:comp-photo-dyn/mctdh90dev/input</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Resgrp:comp-photo-dyn/mctdh90dev/input&amp;diff=31687"/>
		<updated>2008-12-11T09:25:57Z</updated>

		<summary type="html">&lt;p&gt;Marobb: /* 7a. The Frank-Condon Point */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Creating Input for Dynamics Calculations =&lt;br /&gt;
&lt;br /&gt;
== MCTDH versions ==&lt;br /&gt;
&lt;br /&gt;
* Current version (mctdh90dev): The input required for the dynamics calculation is an optimised ground state structure and an optimised conical intersection in the appropriate orientation . The ground state structure must have been optimised with state averaged orbitals. These orbitals must be &amp;quot;cleaned&amp;quot; and the high precision frequencies must have been calculated.&lt;br /&gt;
&lt;br /&gt;
* Development version (mctdh90.31dev): The only input required for the dynamics calculation is an optimised ground state structure and an optimised conical intersection (the rotation will be &amp;quot;automatic&amp;quot;). Again, the ground state structure must have been optimised with state averaged orbitals. These orbitals must be &amp;quot;cleaned&amp;quot; and finally high precision frequencies must be calculated.&lt;br /&gt;
&lt;br /&gt;
* The main objective of this tutorial is learn how to run dynamics calculations, thus we will give you the optimised geometries in the appropiate rotation. (A description of how to rotate a structure will follow in due course)&lt;br /&gt;
&lt;br /&gt;
== State Averaged Orbitals==&lt;br /&gt;
&lt;br /&gt;
Discussion on the necessity of using state averaged orbitals to go here. NEED TO REPRESENT BOTH GROUND AND EXCITED STATES AT THE SAME TIME. I AM NOT CLEAR WHY YOU ARE USING STATE AVERAGING AT EQUILIBRIUM GEOMETRY. NORMALLY THIS WOULD NOT BE A SENSIBLE THING TO DO.&lt;br /&gt;
&lt;br /&gt;
= Gaussian Calculations - CASSCF =&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;1. Generate a starting geometry.&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
First of all, we need a set of initial orbitals for the CASSCF calculation, which can be obtained from a simple restricted Hartree-Fock (RHF/STO-3G) optimization. It is useful in systems with high symmetry to start with the molecule in the standard orientation and from a symmetrised geometry. This can be achieved by running a Gaussian calculation without the nosymm keyword and using the geometry returned by this calculation.&lt;br /&gt;
&lt;br /&gt;
* NB You should use the structures given in this tutorial because they are  oriented appropriately.&lt;br /&gt;
&lt;br /&gt;
[[Media:buta-s-orient.gjf]]&lt;br /&gt;
&lt;br /&gt;
[[Media:buta-s-orient.log]]&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;2. Identify the Orbitals Required for the CASSCF Calculation&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
Use the geometry from 1. Calculate the HF orbitals with a tight basis set e.g. STO-3G (so that it is easier to identify the relevant orbitals for CASSCF).&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;HF/STO-3G pop=full nosymm geom=check&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Nosymm is required because every time a calculation is run on the molecule with a different symmetry Gaussian reorients the molecule for that particular point group and will destroy the active space. Nosymm disables this feature.&lt;br /&gt;
* Pop=full prints out the orbitals.&lt;br /&gt;
* Inspect the orbitals. Select those required for the CASSCF. &lt;br /&gt;
&lt;br /&gt;
[[Media:buta-hf.gjf]]&lt;br /&gt;
&lt;br /&gt;
[[Media:buta-hf.log]]&lt;br /&gt;
&lt;br /&gt;
[[Media:buta-hf.fchk]]&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;3. Identify the State Averaged Orbitals for the Ground State&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
An orbital inspection using any visualization software before performing any CASSCF calculation is essential to identify which orbitals make up the chosen active space. In some cases it may be necessary to use &#039;&#039;&#039;guess=alter&#039;&#039;&#039; to change the order of the orbitals to make sure the optimisation (see step 4) proceeds with the correct orbitals. Gaussian assumes that the electrons specified in a CASSCF calculation come from the highest occupied orbitals in the initial guess and then takes the remaining orbitals as the lowest virtuals of this guess. &lt;br /&gt;
&lt;br /&gt;
* In this example, the relevant orbitals are the four pi orbitals, which contain four electrons (so the calculation is 4,4). The four orbitals that form the pi molecular orbitals are 14, 15, 16 and 17, thus we do not have to worry about swapping orbitals with the keword &#039;&#039;alter&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Use the orbitals chosen in 2. (i.e. use the .chk from 2.) Use the final geometry from 2.&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;CAS(4,4,nroot=2,stateaverage) STO-3G nosymm IOP(5/97=100,10/97=100) guess=read&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here, the weights of each state must be listed explicitly. The weights are 0.5 and 0.5. These must be specified by typing 0.5 followed by 7 spaces then 0.5 (on the same line) (The Gaussian program reads 10 characters (inc spaces) for the first weight and another 10 characters for the second weight. Thus the 7 spaces plus the three characters &amp;quot;0&amp;quot;, &amp;quot;.&amp;quot; and &amp;quot;5&amp;quot; make up the first 10 characters before the second weight is read.) This line must be repeated as many times as there are to be SCF cycles. Since this quantity is unknown, simply repeat the line many times (it may be repeated more than the number of SCF cycles).&lt;br /&gt;
&lt;br /&gt;
* The IOp (5/97=100,10/97=100) tells the program to switch the order of the two states. This is so that we calculate the ground state rather than the excited state. (Gaussian CASSCF calculations always perform optimisations on the highest state listed, so by switching the order we force optimisation of what is actually the lower state.)&lt;br /&gt;
* Nroot=2 specifies the &#039;&#039;first&#039;&#039; excited state so the orbitals will averaged over the ground state and the first excited state.&lt;br /&gt;
&lt;br /&gt;
* Inspect the orbitals. Select those required for the CASSCF optimisation. The relevant orbitals are still 14, 15, 16 and 17.&lt;br /&gt;
&lt;br /&gt;
[[Media:buta-orbs-sa.gjf]]&lt;br /&gt;
&lt;br /&gt;
[[Media:buta-orbs-sa.log]]&lt;br /&gt;
&lt;br /&gt;
[[Media:buta-orbs-sa.fchk]]&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;4. Perform a CASSCF Optimisation on the Ground State with the State Averaged Orbitals&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
Use the orbitals chosen in 3. Use the .chk from 3.&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;opt=conical pop=full CAS(4,4,nroot=2,stateaverage) STO-3G nosymm IOP(10/10=700005) IOP(5/97=100,10/97=100) geom=checkpoint guess=read&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
N.B. This is not a conical intersection optimisation! However, the keyword opt=conical specifies automatically that the populations of the two states will each be 0.5. Thus there is no need to specify the populations manually (which can be tedious). The initial &#039;7&#039; in IOp (10/10=700005) specifies that the calculation should be an optimisation to a minimum (rather than a conical intersection). The final &#039;5&#039; ensures that the orbital rotation derivative contributions from the CP-MC-SCF equations are included. (This is necessary and is usually the default. However, in the current version of Gaussian, the combination of &#039;&#039;&#039;opt&#039;&#039;&#039; and &#039;&#039;&#039;stateaverage&#039;&#039;&#039; excludes this).&lt;br /&gt;
Stateaverage is the default for opt=conical.&lt;br /&gt;
Nroot=2 is the default for opt=conical.&lt;br /&gt;
Do not include the keyword &#039;&#039;&#039;freq&#039;&#039;&#039; in the optimisation. (This combination of IOps does not allow &#039;&#039;&#039;opt&#039;&#039;&#039; and &#039;&#039;&#039;freq&#039;&#039;&#039; to be keywords in the same job.)&lt;br /&gt;
&lt;br /&gt;
[[Media:buta-cas.gjf]]&lt;br /&gt;
&lt;br /&gt;
[[Media:buta-cas.log]]&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;5. &amp;quot;Clean&amp;quot; the Orbitals&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
In this case, all the orbitals in the active space are pure pi orbitals. Due to small numerical inaccuracies, the final orbitals may include small contributions from other (non-pi) orbitals. The aim of this step is to remove these contributions so that the active space consists (in this example) only of contributions from the C 2PY atomic orbitals. The four relevant orbitals are occupied orbitals 14 and 15 and virtual orbitals 16 and 17. In fact, they are already clean in this example. Verify this by inspection of the &amp;quot;Molecular Orbital Coefficients&amp;quot; in the population analysis. &lt;br /&gt;
&lt;br /&gt;
In other cases, multiple optimisations may be necessary to clean the orbitals:&lt;br /&gt;
&lt;br /&gt;
Open the file in GaussView, and Edit/Symmetrize. Use this symmetrised geometry as a starting geometry for another optimsation as in 4 (including the keyword &#039;&#039;&#039;nosymm&#039;&#039;&#039;). &lt;br /&gt;
Use the .chk from 4.&lt;br /&gt;
Re-run the optimisation exactly as in 4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Ideally here we include the keyword &#039;&#039;&#039;opt=(maxstep=1)&#039;&#039;&#039;. This should ensure that the optimisation takes the smallest possible step: we already know that the geometry is very close to the minimum and we need to prevent any significant re-orientation that might occur if large steps are taken. However, this does not seem to work (at least with g03).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Repeat until the orbitals are clean.&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;6. Calculate the (High Precision) Vibrational Modes for the Ground State &#039;&#039;with State Averaged Orbitals&#039;&#039;&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
Use the .chk and the geometry from 5. The geometry must be specified explicitly. (With this combination of IOPs, Gaussian extracts the wrong geometry from the .chk file if &#039;&#039;&#039;geom=checkpoint&#039;&#039;&#039; is specified.)&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;CAS(4,4,nroot=2) STO-3G freq=hpmodes guess=read IOP(5/17=41000200,10/10=700007) IOP(5/97=100,10/97=100)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The IOp (5/17=41000200,10/10=700007): includes the CP-MC-SCF correction (as above) (for a frequency calculation); and specifies state averaged orbitals. Do not include the keyword &#039;&#039;&#039;stateaverage&#039;&#039;&#039; with &#039;&#039;&#039;freq&#039;&#039;&#039; (the current version of Gaussian does not support this). Freq=hpmodes tells Gaussian to print the vibrational modes to 5 decimal places. As before, the IOp (5/97=100,10/97=100) forces calculation of the ground state. Do not use the keyword nosymm here. (Nosymm may prevent Gaussian from identifying the symmetries of the orbitals.)&lt;br /&gt;
&lt;br /&gt;
[[Media:buta-hpfreq.gjf]]&lt;br /&gt;
&lt;br /&gt;
[[Media:buta-hpfreq.log]]&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;7. The Conical Intersection&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
One strategy for locating the conical intersection is to calculate the Frank-Condon point and run an optimisation from there, following (one of) the negative frequency(ies).&lt;br /&gt;
&lt;br /&gt;
=== 7a. The Frank-Condon Point ===&lt;br /&gt;
&lt;br /&gt;
Use the .chk from 4. Using the same orbitals perform a single point energy calculation for the first excited state.&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;CAS(4,4,nroot=2,stateaverage) STO-3G pop=full nosymm guess=read geom=checkpoint&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
As in 3, the weights of each state must be listed explicitly. The weights are 0.5 and 0.5. These must be specified by typing 0.5 followed by 7 spaces then 0.5 (on the same line) &#039;&#039;(The Gaussian program reads 10 characters (inc spaces) for the first weight and another 10 characters for the second weight. Thus the 7 spaces plus the three characters &amp;quot;0&amp;quot;, &amp;quot;.&amp;quot; and &amp;quot;5&amp;quot; make up the first 10 characters before the second weight is read.)&#039;&#039; This line must be repeated as many times as there are to be SCF cycles. NO ONLY READ ONCE! Since this quantity is unknown, simply repeat the line many times (it may be repeated more than the number of SCF cycles).&lt;br /&gt;
&lt;br /&gt;
[[Media:buta-fc.gjf]]&lt;br /&gt;
&lt;br /&gt;
[[Media:buta-fc.log]]&lt;br /&gt;
&lt;br /&gt;
=== 7b. Calculate the frequencies ===&lt;br /&gt;
&lt;br /&gt;
Use the .chk and the geometry from 7a. The geometry must be specified explicitly. (With this combination of IOPs, Gaussian extracts the wrong geometry from the .chk file if &#039;&#039;&#039;geom=checkpoint&#039;&#039;&#039; is specified.)&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;CAS(4,4,nroot=2) STO-3G nosymm freq guess=read IOP(5/17=41000200,10/10=700007)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The IOp (5/17=41000200,10/10=700007): includes the CP-MC-SCF correction (as above) (for a frequency calculation); and specifies state averaged orbitals. Do not include the keyword &#039;&#039;&#039;stateaverage&#039;&#039;&#039; with &#039;&#039;&#039;freq&#039;&#039;&#039; (the current version of Gaussian does not support this). &lt;br /&gt;
&lt;br /&gt;
Identify the negative vibration leading to the conical intersection. Distort the geometry along this mode (Gaussview 4 will let you save the geometry) to get a starting geometry for a conical intersection optimsation.&lt;br /&gt;
&lt;br /&gt;
[[Media:butafcfreq.gjf]]&lt;br /&gt;
&lt;br /&gt;
[[Media:butafcfreq.log]]&lt;br /&gt;
&lt;br /&gt;
=== 7c. Optimising the Conical Intersection ===&lt;br /&gt;
&lt;br /&gt;
Use the .chk and the starting geometry obtained from 7b.&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;CAS(4,4,nroot=2,stateaverage) STO-3G opt=conical pop=full nosymm guess=read&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Stateaverage is the default for opt=conical.&lt;br /&gt;
Nroot=2 is the default for opt=conical.&lt;/div&gt;</summary>
		<author><name>Marobb</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Resgrp:comp-photo-dyn/mctdh90dev/install/cluster&amp;diff=29240</id>
		<title>Resgrp:comp-photo-dyn/mctdh90dev/install/cluster</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Resgrp:comp-photo-dyn/mctdh90dev/install/cluster&amp;diff=29240"/>
		<updated>2008-12-04T11:03:49Z</updated>

		<summary type="html">&lt;p&gt;Marobb: /* Installing the program as an user */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installing the program as an user =&lt;br /&gt;
&lt;br /&gt;
*First of all, to install the MCTDH package you have to go login to your cluster account. &lt;br /&gt;
&lt;br /&gt;
     ssh USERNAME@login.cx1.hpc.ic.ac.uk&lt;br /&gt;
&lt;br /&gt;
* You should now be logged into your $HOME directory (/home/$USER). Make a backup of your bash profile. During the installation of the MCTDH package your bash profile will be changed, thus saving it is a good preventive measure:&lt;br /&gt;
&lt;br /&gt;
     cp .bachrc .bashrc_{{CURRENTDAY}}_{{CURRENTMONTH}}_{{CURRENTYEAR}}  &lt;br /&gt;
&lt;br /&gt;
* We are going to install the MCTDH package version 90dev. The installation script is in the following folder: /home/gaussian-devel/mctdh/mctdh90dev, this directory will be termed the MCTDH directory during this tutorial.&lt;br /&gt;
&lt;br /&gt;
* Go to this folder:&lt;br /&gt;
&lt;br /&gt;
     cd /home/gaussian-devel/mctdh/mctdh90dev&lt;br /&gt;
&lt;br /&gt;
* Inside the install folder type:&lt;br /&gt;
&lt;br /&gt;
     ./install_mctdh -u&lt;br /&gt;
&lt;br /&gt;
The option &amp;quot;-u&amp;quot; is in order to add you as a new user to the already installed package. &lt;br /&gt;
This install script can be stopped any time with &amp;quot;Ctrl C&amp;quot;, thus if you think you have made a wrong choice, just run it again!&lt;br /&gt;
&lt;br /&gt;
* The install script asks a few simple questions, and automatically generates the executables and documentation:&lt;br /&gt;
&lt;br /&gt;
1) The script requests your permission to modify your .bashrc profile.&lt;br /&gt;
&lt;br /&gt;
     For your convenience I will write some statements to your&lt;br /&gt;
     configuration files &lt;br /&gt;
     (i.e. to  ~/.profile or ~/.bashrc or ~/.cshrc or ~/.kshrc).&lt;br /&gt;
     &amp;quot;Your old ~/.XXX configuration file will be saved to ~/.save-XXX-$$.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
     Choose: b) write the commands to my ~/.bashrc file&lt;br /&gt;
     (for bash users).&lt;br /&gt;
     Or    : c) rather write them to my ~/.cshrc file&lt;br /&gt;
     (for csh and tcsh users).&#039;&lt;br /&gt;
     Or    : k) rather write them to my ~/.kshrc file&lt;br /&gt;
    (kcsh users).&lt;br /&gt;
     Or    : p) please, rather write them to my ~/.profile file.&lt;br /&gt;
               (alternative for ksh and bash users (not recommended)).&lt;br /&gt;
     Or    : y) yes, write the commands to my ~/.bashrc file.&lt;br /&gt;
      (same as b))&lt;br /&gt;
     Or    : n) no, do not touch my configuration files.&lt;br /&gt;
&lt;br /&gt;
     (b|c|k|p|y|n) ? : &lt;br /&gt;
&lt;br /&gt;
     Please answer &amp;quot;b&amp;quot;, &amp;quot;c&amp;quot;, &amp;quot;k&amp;quot;, &amp;quot;p&amp;quot;, or &amp;quot;y&amp;quot; or &amp;quot;n&amp;quot;&#039;&lt;br /&gt;
&lt;br /&gt;
* Answer &amp;quot;yes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
2) The script requests your permission to copy the file .mctdhrc to your $HOME directory.&lt;br /&gt;
&lt;br /&gt;
     The file mctdhrc may be copied to $HOME/.mctdhrc.&lt;br /&gt;
     The .bashrc will then source .mctdhrc.&lt;br /&gt;
     Doing so, the bash-functions cdm and minstall will be available&lt;br /&gt;
     and a link $HOME/mctdh -&amp;gt; $MCTDH_DIR will be installed.&lt;br /&gt;
&lt;br /&gt;
     Shall I copy mctdhrc to $HOME/.mctdhrc (y/n) ? : &lt;br /&gt;
&lt;br /&gt;
* Answer &amp;quot;yes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* If the installation has been successful, you should see the message:&lt;br /&gt;
&lt;br /&gt;
     --------------------------------------------------------------------------------&lt;br /&gt;
  &lt;br /&gt;
      *****  END OF NEW USER INSTALLATION  *****&lt;br /&gt;
     -------------------------------------------------------------------------------- &lt;br /&gt;
&lt;br /&gt;
* At the end of the installation process, don&#039;t forget to  source your .bashrc in order to set some environment variables. In your $HOME directory type:&lt;br /&gt;
&lt;br /&gt;
     source .bashrc&lt;br /&gt;
&lt;br /&gt;
When the .bashrc is sourced, the the hidden file .mctdhrc will then be sourced as well. The .mctdhrc script sets the link mctdh -&amp;gt; /home/gaussian-devel/mctdh/mctdh90dev, and defines the bash-function cdm and menv. &lt;br /&gt;
&lt;br /&gt;
* Now you should notice that:&lt;br /&gt;
&lt;br /&gt;
# A link to the folder /home/gaussian-devel/mctdh has been created in your HOME directory.&lt;br /&gt;
# Now you have two new commands:&lt;br /&gt;
    &lt;br /&gt;
cdm: the command cdm cd-es to /home/gaussian-devel/mctdh/mctdh90dev and any subdirectory&lt;br /&gt;
&lt;br /&gt;
menv: the MCTDH environment variables are listed&lt;br /&gt;
&lt;br /&gt;
dd_generator: script which allows to create the required files to run dynamics calculation. The script asks a few simple questions, and automatically generates all the necessary files.&lt;/div&gt;</summary>
		<author><name>Marobb</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Resgrp:comp-photo-dyn/mctdh90dev/run/cluster&amp;diff=29238</id>
		<title>Resgrp:comp-photo-dyn/mctdh90dev/run/cluster</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Resgrp:comp-photo-dyn/mctdh90dev/run/cluster&amp;diff=29238"/>
		<updated>2008-12-04T10:49:46Z</updated>

		<summary type="html">&lt;p&gt;Marobb: /* &amp;#039;&amp;#039;&amp;#039;Gaussian Output to be Used as Input for the Dynamics Program&amp;#039;&amp;#039;&amp;#039; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= &#039;&#039;&#039;Basic use of the MCTDH package&#039;&#039;&#039; =&lt;br /&gt;
&lt;br /&gt;
(Need a general introduction about how the program works including: choice of number of gaussians; what the database is and how to create/maintain it; nos of processors that should be used; definition of final propagation time and propagation time step; use of initial momentum; and &#039;explain why we would ever need to start from the lower state. Or can we assume that the user should understand this already (and know, for example, how many gaussians is appropriate?))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;Creating the Directories&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
* First of all, you have to create a folder where to save the calculations in your $HOME and $WORK directories. Create a directory in $HOME, and an identical directory in $WORK that has the same path. Keep pathlengths as short as possible (if the total path becomes too long the dynamics code will not run). For simplicity, in this case, assume this directory is named &#039;&#039;but&#039;&#039; (for butadiene).&lt;br /&gt;
&lt;br /&gt;
     mkdir buta&lt;br /&gt;
&lt;br /&gt;
* Therefore, you should have:&lt;br /&gt;
&lt;br /&gt;
    /home/$USER/buta&lt;br /&gt;
    /work/$USER/buta&lt;br /&gt;
&lt;br /&gt;
* Create a subdirectory called &#039;&#039;&#039;dd_data&#039;&#039;&#039; in the new directory in $WORK.  Thus we should start with:&lt;br /&gt;
&lt;br /&gt;
    /home/$USER/buta&lt;br /&gt;
    /work/$USER/buta&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
    /work/$USER/buta/dd_data&lt;br /&gt;
&lt;br /&gt;
* Important Note: it is essential to have the same path in both directories, $HOME and $WORK. Do not change the path-names within the HOME/WORK directories. If you re-name or move any subdirectory in your, for example HOME directory, you have to be consistent and make the same changes into the $WORK directory.&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;Gaussian Output to be Used as Input for the Dynamics Program&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
* Populate the new directory in /work/$USER/but/dd_data with four files which must be named: &#039;&#039;&#039;coin.log&#039;&#039;&#039;; &#039;&#039;&#039;start.fchk&#039;&#039;&#039;; &#039;&#039;&#039;start.log&#039;&#039;&#039;; and &#039;&#039;&#039;template&#039;&#039;&#039; (no extension). These files are requested in order to run any dynamics simulation, they are the basis that the script dd_generator will use to create the necessary files for running MCTDH.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;coin.log&#039;&#039;&#039; is the logfile resulting from the optimisation of the conical intersection (Part A, 7). NB The optimised conical intersection must be rotated prior to running the dynamics. There is an Excel spreadsheet available to effect this transformation. After the rotation the structure should be re-optimised (in most cases it will not move but it is sensible to check the Gaussian output to verify that it has not been re-rotated during the final optimisation (otherwise repeat the rotation and optimisation until there is no further rotation during the optimisation). I SEE PROBLEMS HERE.  IF YOU ROTATE THEN PREVIOUS GUESS IS RUBBISH.&lt;br /&gt;
&lt;br /&gt;
[[Media:coin.log]]&lt;br /&gt;
&lt;br /&gt;
(Here will be a link to how make the rotation)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;start.fchk&#039;&#039;&#039; is the formatted checkpoint file from the high precision vibrational modes of the ground state with state averaged orbitals (Part A, 6)&lt;br /&gt;
&lt;br /&gt;
[[Media:start.fchk]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;start.log&#039;&#039;&#039; is the log file from the high precision vibrational modes of the ground state with state averaged orbitals (Part A, 6)&lt;br /&gt;
&lt;br /&gt;
[[Media:start.log]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;template&#039;&#039;&#039; is a template gaussian input file to be used by the dynamics program (For example, use the input file from the high precision vibrational modes of the ground state with state averaged orbitals (Part A, 6)). The file &#039;&#039;&#039;template&#039;&#039;&#039; will be the template for the creation of GAUSSIAN inputs, it must contain all the mutual keywords of the GAUSSIAN calculations which will be run on the fly by MCTDH. &lt;br /&gt;
 &lt;br /&gt;
[[Media:template.noext]]&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;The Generator&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
* The &amp;quot;generator&amp;quot; script uses the Gaussian output files from 2 along with other information supplied by the user to create input files for the dynamics program.&lt;br /&gt;
&lt;br /&gt;
* Navigate to /home/$USER/but and run the generator by typing:&lt;br /&gt;
&lt;br /&gt;
     dd_generator&lt;br /&gt;
&lt;br /&gt;
* Typing dd_generator will run the script automatically. After installing the MCTDH package this command has been added to your list of executable commands. &lt;br /&gt;
&lt;br /&gt;
     ********************************************************************************&lt;br /&gt;
     ********************    -------  DD GENERATOR  --------    *****************&lt;br /&gt;
     ********************************************************************************&lt;br /&gt;
&lt;br /&gt;
* The generator will ask a series of questions and will use the answers provided to prepare the input files for the dynamics program. The questions it asks are listed below along with answers for a trial run on butadiene.&lt;br /&gt;
&lt;br /&gt;
==== List of questions ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;table border=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt; &#039;&#039;&#039;Question&#039;&#039;&#039; &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; &#039;&#039;&#039;Recommended answer&#039;&#039;&#039; &amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt; &#039;&#039;&#039;Which version of GAUSSIAN should we use? (gdv|g03)&#039;&#039;&#039; &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; * g03 &amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt; &#039;&#039;&#039;How many processors should we use? (1|2|4)&#039;&#039;&#039;&#039; &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; * 1 &amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt; &#039;&#039;&#039;What is the name of the molecule?&#039;&#039;&#039; &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; * butadiene &#039;&#039;(the first four letters will be used to name the new files that the generator is creating)&#039;&#039; &amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt; &#039;&#039;&#039;What is the number of atoms?&#039;&#039;&#039; &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; * 10 &amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt; &#039;&#039;&#039;What is the number of nuclear Gaussian functions?&#039;&#039;&#039; &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; * 1 &amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt; &#039;&#039;&#039;&#039;What is the final propagation time (in fs)?&#039;&#039;&#039;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; * 100 &amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt; &#039;&#039;&#039;What is the propagation time step (in fs)?&#039;&#039;&#039;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; * 0.1 &amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt; &#039;&#039;&#039;From which electronic state should the wavepacket start? (2|1)&#039;&#039;&#039;&#039;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; * 2 &amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt; &#039;&#039;&#039;Will there be an initial momentum given to the wavepacket? (y|n)&#039;&#039;&#039;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; * n &amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt; &#039;&#039;&#039;Do you want to add a reference label to the name of the case? (y|n)&#039;&#039;&#039;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; * y &amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt; &#039;&#039;&#039;Please type your text:&#039;&#039;&#039;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; * trial &#039;&#039;(NB remember to keep this short to prevent the total path becoming too long))&#039;&#039; &amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt; &#039;&#039;&#039;What will be the status of the database? (rdwr|rd|wr|none)&#039;&#039;&#039;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; * none &amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Choose rd for read, wr for write etc. &lt;br /&gt;
* In this case we are not going to use the data base, but if it was used (rd or rdwr is specified) the script would ask  the user to specify the threshold below which the database values will be used (% criterion). In this case the value none is chosen so this question is not asked.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;table border=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt; &#039;&#039;&#039;Please type the value of the maximum-difference criterion (in %):&#039;&#039;&#039;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; * 1 (if 1 is specified, the database value will be used if the geometry is within 1% of the new geometry being calculated) &amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;Files created by the generator.&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
* At the end the script dd_generator tells you that has read the files start.fchk, start.log, and coin.log from the folder /work/dm107/dyn/dd_data/ and written the file start.chk.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Read formatted file /work/dm107/dyn_90dev/dd_data/start.fchk&lt;br /&gt;
 Write checkpoint file /work/dm107/dyn_90dev/dd_data/start.chk&lt;br /&gt;
   about to read parameters...&lt;br /&gt;
   ... parameters just read&lt;br /&gt;
   about to read file /work/dm107/dyn_90dev/dd_data/start.log                   &lt;br /&gt;
                                                               ...&lt;br /&gt;
   ... file /work/dm107/dyn_90dev/dd_data/start.log                             &lt;br /&gt;
                                                      read successfully&lt;br /&gt;
   about to read file /work/dm107/dyn_90dev/dd_data/coin.log                    &lt;br /&gt;
                                                               ...&lt;br /&gt;
   ... file /work/dm107/dyn_90dev/dd_data/coin.log                              &lt;br /&gt;
                                                      read successfully&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and that the extraction of data and the creation of a summary file were done successfully&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Data extracted successfully&lt;br /&gt;
The summary of this file generation is in:&lt;br /&gt;
-rw-r--r--  1 dm107 hpc-users 3070 Dec  2 17:06 /home/dm107/dyn_90dev/but1dd1o.txt&lt;br /&gt;
 &lt;br /&gt;
Do not forget you still can add a momentum, change the integrator, change convergence criteria for GAUSSIAN and MCTDH...&lt;br /&gt;
 &lt;br /&gt;
Do not forget to use a re-orientated conical intersection in /work/dm107/dyn_90dev/dd_data/coin.log&lt;br /&gt;
 &lt;br /&gt;
Do not forget to check the order of the atoms of the conical intersection geometry in /work/dm107/dyn_90dev/dd_data/coin.log&lt;br /&gt;
 &lt;br /&gt;
Now go to your jobscript file and give values to the memory and walltime.&lt;br /&gt;
 &lt;br /&gt;
Good luck!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The dd_generator script has generated four files in the same directory (/home/$USER/but):&lt;br /&gt;
&lt;br /&gt;
# but1dd1o.inp  &lt;br /&gt;
# but1dd1o.job  &lt;br /&gt;
# but1dd1o.txt  &lt;br /&gt;
# but1dd_wr.op&lt;br /&gt;
&lt;br /&gt;
(Link to a more detailed explanation of this files)&lt;br /&gt;
&lt;br /&gt;
* The script has also created some files and directories inside /work/$USER/but where the MCTDH and GAUSSIAN calculations will be stored:&lt;br /&gt;
&lt;br /&gt;
1) Directories:&lt;br /&gt;
&lt;br /&gt;
* butadd1o_trial&lt;br /&gt;
* butadd1o_trial/dd_data&lt;br /&gt;
&lt;br /&gt;
2) Files (Inside butadd1o_trial/dd_data):&lt;br /&gt;
&lt;br /&gt;
# refdb.dat &lt;br /&gt;
# start.chk  &lt;br /&gt;
# template&lt;br /&gt;
&lt;br /&gt;
3) Files inside /work/$USER/but/dd_data&lt;br /&gt;
&lt;br /&gt;
backward.dat&lt;br /&gt;
forward.dat&lt;br /&gt;
&lt;br /&gt;
=== Detailed information about files and directories ===&lt;br /&gt;
&lt;br /&gt;
* The log file&lt;br /&gt;
&lt;br /&gt;
This file contains information such as the source code version, type of calculation performed, integrator used, numerical parameters, which data files are opened, any error messages, and much more &amp;quot;garbage&amp;quot;. The information provided by the log file can be very helpful, in particular when searching for errors. One should always carefully inspect the log file.&lt;br /&gt;
&lt;br /&gt;
* The output file&lt;br /&gt;
&lt;br /&gt;
The output contains some standard results:&lt;br /&gt;
&lt;br /&gt;
Time: time in fs.&lt;br /&gt;
CPU:  CPU time in fs.&lt;br /&gt;
Norm:&lt;br /&gt;
E-tot: the total energy. This value should be relatively conserved.&lt;br /&gt;
E-corr: correlated Hamiltonian energy&lt;br /&gt;
Delta-E: diference between E-tot at time t=0 and the current time t&lt;br /&gt;
&lt;br /&gt;
Note: In a multi-packet run, i.e. when npacket &amp;gt; 1, the total energy and the norm of the wavefunction, as given in the &amp;quot;total&amp;quot; part, are averaged over the packets.&lt;br /&gt;
&lt;br /&gt;
For each state:&lt;br /&gt;
&lt;br /&gt;
pop.: state population&lt;br /&gt;
E-corr: &lt;br /&gt;
E-tot&lt;br /&gt;
&lt;br /&gt;
For every mode:	&lt;br /&gt;
&lt;br /&gt;
Position expectation value &amp;lt;q&amp;gt;&lt;br /&gt;
standard deviation Sqrt[&amp;lt;q**2&amp;gt;-&amp;lt;q&amp;gt;**2]&lt;br /&gt;
Momentum expectation value &amp;lt;p&amp;gt;&lt;br /&gt;
standard deviation Sqrt[&amp;lt;p**2&amp;gt;-&amp;lt;p&amp;gt;**2]&lt;br /&gt;
&lt;br /&gt;
At the end of the propagation, the total CPU-time, host, date and time, path of the name-directory and (if specified in the input) the title of the run are printed.&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;Some modifications must be made to the files before running the dynamics.&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
* In the .job file in /home/$USER/but specify the memory and walltime.&lt;br /&gt;
&lt;br /&gt;
* In the file named &#039;&#039;template&#039;&#039; in /work/$USER/but/butadd1o_trial/dd_data, complete the pathname to match its location. In this case the path should be /work/$USER/but/butadd1o_trial/dd_data.&lt;br /&gt;
&lt;br /&gt;
* Only in the case of running gdv, copy the start.chk file into the folder /work/$USER/dyn_90dev/but1dd1o/dd_data&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;Running the dynamics.&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
* Navigate to $HOME/but. Queue the job file. In this case, type:&lt;br /&gt;
&lt;br /&gt;
     qsub butadd1o_trial.job&lt;br /&gt;
&lt;br /&gt;
=&#039;&#039;&#039;Analysis of the results.&#039;&#039;&#039;=&lt;br /&gt;
&lt;br /&gt;
()&lt;/div&gt;</summary>
		<author><name>Marobb</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Resgrp:comp-photo-dyn/mctdh90dev/run/cluster&amp;diff=26272</id>
		<title>Resgrp:comp-photo-dyn/mctdh90dev/run/cluster</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Resgrp:comp-photo-dyn/mctdh90dev/run/cluster&amp;diff=26272"/>
		<updated>2008-11-25T13:34:00Z</updated>

		<summary type="html">&lt;p&gt;Marobb: /* Inside your $HOME */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Basic use of the MCTDH package=&lt;br /&gt;
&lt;br /&gt;
* First of all, you have to create a folder where to save the calculations in your $HOME and $WORK directories. &lt;br /&gt;
&lt;br /&gt;
     mkdir dynamycs&lt;br /&gt;
&lt;br /&gt;
You have to do it in $HOME and $WORK directories. Therefore, you should have:&lt;br /&gt;
&lt;br /&gt;
    /home/$USER/dynamics&lt;br /&gt;
    /work/$USER/dynamics&lt;br /&gt;
&lt;br /&gt;
* Important Note: it is essential to have the same path in both directories, $HOME and $WORK. Do not change the path-names within the HOME/WORK directories. If you re-name or move any subdirectory in your, for example HOME directory, you have to be consistent and make the same changes into the $WORK directory.&lt;br /&gt;
&lt;br /&gt;
== Inside your $WORK ==&lt;br /&gt;
&lt;br /&gt;
* Create a folder called dd_data in the dynamics ($WORK) directory&lt;br /&gt;
&lt;br /&gt;
    mkdir dd_data&lt;br /&gt;
&lt;br /&gt;
* Copy the following file named template.dat  NO IDEA WHAT THIS MEANS?&lt;br /&gt;
&lt;br /&gt;
* Copy the GAUSSIAN output and checkpoint file of the initial structure as start.log, start.chk, respectively.&lt;br /&gt;
&lt;br /&gt;
* Format the start.chk file.  WHERE HAS THIS COME FROM?  WHAT COMPUTATION DOES IT CORRESPOND TO?&lt;br /&gt;
&lt;br /&gt;
     formchk start.chk start.fchk&lt;br /&gt;
&lt;br /&gt;
* Copy the log file of the conial intersection in the same directory with the name coin.log NOT CLEAR AT ALL&lt;br /&gt;
DO YOU MEAN SINGLE POINT, OPTIMIZATION OR WHAT&lt;br /&gt;
&lt;br /&gt;
== Inside your $HOME ==&lt;br /&gt;
 &lt;br /&gt;
* Copy the script dd_generator, dd_filegen.f and dd_filegen.out to the bin folder in your $HOME directory.&lt;br /&gt;
&lt;br /&gt;
*  Inside the dynamics folder ($HOME). Type dd_generator to run the script.  NEED TO EXPLAIN WHAT THIS IS.  COPY FROM WHERE?&lt;br /&gt;
    &lt;br /&gt;
     dd_generator&lt;br /&gt;
&lt;br /&gt;
* The script generator will run. This scipt generates all the necessary files to run the dynamics simulation. It will ask you several questions:&lt;br /&gt;
&lt;br /&gt;
# Version&lt;br /&gt;
# processors&lt;br /&gt;
# name&lt;br /&gt;
# atoms&lt;br /&gt;
# gauss func&lt;br /&gt;
# max time&lt;br /&gt;
Tells version&lt;br /&gt;
# step&lt;br /&gt;
# state&lt;br /&gt;
# high root&lt;br /&gt;
# start&lt;br /&gt;
# momentum&lt;br /&gt;
# label&lt;br /&gt;
# base&lt;br /&gt;
&lt;br /&gt;
* The dd_generator script has generated four files in the same directory &lt;br /&gt;
&lt;br /&gt;
# name.inp&lt;br /&gt;
# name.job&lt;br /&gt;
# name. txt&lt;br /&gt;
# name.op&lt;br /&gt;
&lt;br /&gt;
* Now before launching the job to the qsub, you need to define the memory and time.&lt;br /&gt;
&lt;br /&gt;
* Send the job to the qsub system.&lt;br /&gt;
&lt;br /&gt;
    qsub name.job&lt;/div&gt;</summary>
		<author><name>Marobb</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Resgrp:comp-photo-dyn/mctdh90dev/run/cluster&amp;diff=26270</id>
		<title>Resgrp:comp-photo-dyn/mctdh90dev/run/cluster</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Resgrp:comp-photo-dyn/mctdh90dev/run/cluster&amp;diff=26270"/>
		<updated>2008-11-25T13:32:48Z</updated>

		<summary type="html">&lt;p&gt;Marobb: /* Inside your $WORK */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Basic use of the MCTDH package=&lt;br /&gt;
&lt;br /&gt;
* First of all, you have to create a folder where to save the calculations in your $HOME and $WORK directories. &lt;br /&gt;
&lt;br /&gt;
     mkdir dynamycs&lt;br /&gt;
&lt;br /&gt;
You have to do it in $HOME and $WORK directories. Therefore, you should have:&lt;br /&gt;
&lt;br /&gt;
    /home/$USER/dynamics&lt;br /&gt;
    /work/$USER/dynamics&lt;br /&gt;
&lt;br /&gt;
* Important Note: it is essential to have the same path in both directories, $HOME and $WORK. Do not change the path-names within the HOME/WORK directories. If you re-name or move any subdirectory in your, for example HOME directory, you have to be consistent and make the same changes into the $WORK directory.&lt;br /&gt;
&lt;br /&gt;
== Inside your $WORK ==&lt;br /&gt;
&lt;br /&gt;
* Create a folder called dd_data in the dynamics ($WORK) directory&lt;br /&gt;
&lt;br /&gt;
    mkdir dd_data&lt;br /&gt;
&lt;br /&gt;
* Copy the following file named template.dat  NO IDEA WHAT THIS MEANS?&lt;br /&gt;
&lt;br /&gt;
* Copy the GAUSSIAN output and checkpoint file of the initial structure as start.log, start.chk, respectively.&lt;br /&gt;
&lt;br /&gt;
* Format the start.chk file.  WHERE HAS THIS COME FROM?  WHAT COMPUTATION DOES IT CORRESPOND TO?&lt;br /&gt;
&lt;br /&gt;
     formchk start.chk start.fchk&lt;br /&gt;
&lt;br /&gt;
* Copy the log file of the conial intersection in the same directory with the name coin.log NOT CLEAR AT ALL&lt;br /&gt;
DO YOU MEAN SINGLE POINT, OPTIMIZATION OR WHAT&lt;br /&gt;
&lt;br /&gt;
== Inside your $HOME ==&lt;br /&gt;
 &lt;br /&gt;
* Copy the script dd_generator, dd_filegen.f and dd_filegen.out to the bin folder at your $HOME directory.&lt;br /&gt;
&lt;br /&gt;
*  Inside the dynamics folder ($HOME). Type dd_generator to run the script.&lt;br /&gt;
    &lt;br /&gt;
     dd_generator&lt;br /&gt;
&lt;br /&gt;
* The script generator will run. This scipt generates all the necessary files to run the dynamics simulation. It will ask you several questions:&lt;br /&gt;
&lt;br /&gt;
# Version&lt;br /&gt;
# processors&lt;br /&gt;
# name&lt;br /&gt;
# atoms&lt;br /&gt;
# gauss func&lt;br /&gt;
# max time&lt;br /&gt;
Tells version&lt;br /&gt;
# step&lt;br /&gt;
# state&lt;br /&gt;
# high root&lt;br /&gt;
# start&lt;br /&gt;
# momentum&lt;br /&gt;
# label&lt;br /&gt;
# base&lt;br /&gt;
&lt;br /&gt;
* The dd_generator script has generated four files in the same directory &lt;br /&gt;
&lt;br /&gt;
# name.inp&lt;br /&gt;
# name.job&lt;br /&gt;
# name. txt&lt;br /&gt;
# name.op&lt;br /&gt;
&lt;br /&gt;
* Now before launching the job to the qsub, you need to define the memory and time.&lt;br /&gt;
&lt;br /&gt;
* Send the job to the qsub system.&lt;br /&gt;
&lt;br /&gt;
    qsub name.job&lt;/div&gt;</summary>
		<author><name>Marobb</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Resgrp:comp-photo-dyn/mctdh90dev/input&amp;diff=26229</id>
		<title>Resgrp:comp-photo-dyn/mctdh90dev/input</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Resgrp:comp-photo-dyn/mctdh90dev/input&amp;diff=26229"/>
		<updated>2008-11-25T09:38:18Z</updated>

		<summary type="html">&lt;p&gt;Marobb: /* Part b: The Conical Intersection */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Benjamin / Charlotte / David / Marta to create this please! Some Documentation and some tutorials...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating Input for Dynamics Calculations. Example: Butadiene.==&lt;br /&gt;
&lt;br /&gt;
The only input required for the dynamics calculation is an optimised ground state structure. This structure must have been optimised with state averaged orbitals. These orbitals must be &amp;quot;cleaned&amp;quot; and finally high precision frequencies must be calculated.  NOT TRUE   YOU NEED OPTIMIZED CI IN ORDER TO GET DIAMATIZATION!&lt;br /&gt;
&lt;br /&gt;
== Part a: The Ground State ==&lt;br /&gt;
&lt;br /&gt;
MY COMMENTS IN UPPER CASE  MAR&lt;br /&gt;
&lt;br /&gt;
JUST A GENERAL COMMENT THAT I WILL ELABORATE ON BELOW. I THINK THE BEST STRATEGY IS ALWAYS TO DETERMINE THE STARTING SET OF ORBITALS IN ONE JOB STEP. AND THEN WHEN ONE IS CERTAIN THAT THIS IS CORRECT THEN THE OPTIMISATION CAN BEGIN. ALSO SOME DISCUSSION ABOUT STATE AVERAGING IS ESSENTIAL SINCE DOING A CALCULATION OF A MINIMUM GEOMETRY WITH THE ENERGY GAP MAY BE LARGE, ONE WOULD NOT NORMALLY USE STATE AVERAGE ORBITALS. YOU ARE USING A SPECIAL STRATEGY HERE FOR DYNAMICS BECAUSE YOU NEED TO REPRESENT BOTH GROUND AND EXCITED STATES AT THE SAME TIME. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1. Optimise the Ground State Structure (at a low level) to Identify the Orbitals Required for the CASSCF Calculation (see step 2)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;opt HF/STO-3G pop=full nosymm&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Nosymm is required to ensure that the molecule is not re-orientated during the optimisation (this would destroy the active space).&lt;br /&gt;
Pop=full prints out the orbitals.&lt;br /&gt;
THIS IS A LITTLE BIT CONFUSING. THE TITLE IMPLIES SOMETHING TO DO WITH THE ORBITALS. AND I AGREE THAT ONE SHOULD DO THE INITIAL SELECTION OF THE CASSCF WINDOW USING A MINIMAL BASIS. BUT SURELY YOU WANT TO START THE DYNAMICS FROM A GOOD GROUND STATE OPTIMISED GEOMETRY AND THIS IS INDEPENDENT OF THE SELECTION OF THE ORBITALS. SO IT SEEMS TO ME THERE ARE TWO TASKS: ONE TO GET ESSENTIAL STARTING GEOMETRY AND THAT HAS NOTHING TO DO WITH CASSCF AND THEN THERE IS THE ISSUE OF CHOOSING THE STARTING ORBITALS AND THIS CAN BE DONE WITH THE MINIMUM BASIS. BUT YOU HAVE REALLY SAID ALMOST NOTHING ABOUT THIS.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2a. Perform a CASSCF Optimisation on the Ground State &#039;&#039;with State Averaged Orbitals&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the .chk from 1. Verify that the required orbitals are the two HOMOs and the two LUMOs. I&#039;M QUITE NERVOUS ABOUT THIS STATEMENT. EVEN IN A MINIMUM BASIS THE ORBITALS MAY REQUIRE SOME THOUGHT. THE POINT REALLY IS THAT YOU NEED TO LOOK AT THE ORBITALS THAT HAVE COME FROM WHATEVER GUESS YOU ARE USING. AND YOU HAVE NOT SAID ANYTHING ABOUT INSPECTING THE GUESTS. (IN OTHER WORDS YOU NEED TO STOP THE CALCULATION AFTER THE GUESS, MAKE SURE THE ORBITALS ARE SAVED TO THE CHECKPOINT FILE ETC)It may be necessary in some cases to use guess=alter to change the order of the orbitals to make sure the desired orbitals are listed as the two HOMOs and two LUMOs. (Gaussian will use the two HOMOs and the two LUMOs in the CASSCF calculation.) In this case the orbitals are in the correct order. The relevant orbitals are the four pi orbitals, which contain four electrons (so the calculation is 4,4). Nroot=2 specifies the &#039;&#039;first&#039;&#039; excited state so the state averaged orbitals will be constructed for this state and the ground state.I GUESS THIS TYPE OF DISCUSSION AT THE END NEEDS TO GO AT THE BEGINNING.&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;opt=conical CAS(4,4,nroot=2,stateaverage) STO-3G nosymm IOP(10/10=700005) IOP(5/97=100,10/97=100) geom=checkpoint guess=read&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
N.B. This is not a conical intersection optimisation! However, the keyword opt=conical specifies that the populations of the two states will each be 0.5, automatically. Thus there is no need to specify the populations manually (which can be tedious). The IOp (5/97=100,10/97=100) tells the program to switch the order of the two states. This is so that we optimise the ground state (rather than the excited state). Gaussian CASSCF calculations always perform optimisations on the highest state listed so by switching the order we force optimisation of what is actually the lower state. The initial &#039;7&#039; in IOp (10/10=700005) specifies that the calculation should be an optimisation to a minimum (rather than a conical intersection). The final &#039;5&#039; ensures that the orbital rotation derivative contributions from the CP-MC-SCF equations are included. (This is necessary and is usually the default. However, in the current version of Gaussian, the combination of &#039;&#039;&#039;opt&#039;&#039;&#039; and &#039;&#039;&#039;stateaverage&#039;&#039;&#039; excludes this).&lt;br /&gt;
Stateaverage is the default for opt=conical.&lt;br /&gt;
Nroot=2 is the default for opt=conical.&lt;br /&gt;
Do not include the keyword freq in the optimisation: perform a separate freq calculation (This combination of IOps does not allow &#039;&#039;&#039;opt&#039;&#039;&#039; and &#039;&#039;&#039;freq&#039;&#039;&#039; to be keywords in the same job.)&lt;br /&gt;
&lt;br /&gt;
 I AM NOT CLEAR WHY YOU ARE USING STATE AVERAGING AT EQUILIBRIUM GEOMETRY. NORMALLY THIS WOULD NOT BE A SENSIBLE THING TO DO.&lt;br /&gt;
&lt;br /&gt;
BUT AGAIN I WOULD ALWAYS THINK OF THE BEST STRATEGY WOULD BE TO PERFORM A CALCULATION AT SOME GEOMETRY AND VERIFY THAT THE ACTIVE ORBITAL SET WAS CORRECT BEFORE BEGINNING A GEOMETRY OPTIMISATION. SO PROBABLY THIS LITTLE SECTION MIGHT BE DIVIDED INTO TWO.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3a. &amp;quot;Clean&amp;quot; the Orbitals&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the .chk from 2a.&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;opt=(conical,stepsize=1) CAS(4,4,nroot=2,stateaverage) STO-3G nosymm IOP(10/10=700005) IOP(5/97=100,10/97=100) geom=checkpoint guess=read&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Open the file in GaussView, and Edit/Symmetrize. Use this symmetrised geometry as a starting geometry for another optimsation as in 2a (including the keyword &#039;&#039;&#039;nosymm&#039;&#039;&#039;). The only difference is that here we include the keyword &#039;&#039;&#039;opt=(stepsize=1)&#039;&#039;&#039;. This ensures that the optimisation takes the smallest possible step: we already know that the geometry is very close to the minimum and we need to prevent any significant re-orienting that might occur if large steps are taken. Repeat until the orbitals are clean (check by verifying the relevant orbitals in the population analysis). In this case the 4 relevant orbitals are occupied orbitals 14 and 15 and virtual orbitals 16 and 17. By the final optimisation they should consist only of contributions from the C 2PZ atomic orbitals.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4a. Calculate the (High Precision) Vibrational Modes for the Ground State &#039;&#039;with State Averaged Orbitals&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the .chk from 3a.&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;CAS(4,4,nroot=2) STO-3G nosymm freq=hpmodes guess=read geom=checkpoint IOP(5/17=41000200,10/10=700007) IOP(5/97=100,10/97=100)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The IOp (5/17=41000200,10/10=700007): includes the CP-MC-SCF correction (as above); and specifies state averaged orbitals. Do not include the keyword &#039;&#039;&#039;stateaverage&#039;&#039;&#039; with &#039;&#039;&#039;freq&#039;&#039;&#039; (the current version of Gaussian does not support this). Freq=hpmodes tells Gaussian to print the vibrational modes to 5 decimal places. As before, the IOp (5/97=100,10/97=100) forces calculation of the ground state.&lt;br /&gt;
&lt;br /&gt;
== Part b: The Conical Intersection ==&lt;br /&gt;
&lt;br /&gt;
IN THIS MOLECULE YOU MIGHT ALSO TRY TO RUN AN IRC FROM THE FRANCK CONDON GEOMETRY. IT SHOULD TERMINATE ON THE COMICAL INTERSECTION&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2b. Perform a CASSCF Optimisation on the Ground State&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the .chk from 1. Verify that the required orbitals are the two HOMOs and the two LUMOs. It may be necessary in some cases to use guess=alter to change the order of the orbitals to make sure the desired orbitals are listed as the two HOMOs and two LUMOs. (Gaussian will use the two HOMOs and the two LUMOs in the CASSCF calculation.)&lt;br /&gt;
&lt;br /&gt;
AGAIN THE TERMINOLOGY IS NOT VERY PRECISE. THE TERMS HOMO AND LUMO NORMALLY RELATED TO ENERGIES COMPUTED BY SCF. YOU MEAN SOMETHING DIFFERENT. YOU ARE USING THE TERM TO RELATE TO THE POSITION OF THE ORBITALS AFTER THEY HAVE BEEN REORDERED POSSIBLY.&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;CAS(4,4,nroot=1) STO-3G pop=full nosymm opt guess=read geom=checkpoint&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 I WOULD SAY THAT STARTING FROM A GROUND STATE CASSCF IS NORMALLY A VERY BAD STRATEGY. BUT MORE IMPORTANT YOU ARE MIXING UP TO STRATEGIC ISSUES: CHOOSING THE ACTIVE SPACE, AND DOING THE OPTIMISATION. SO I SUGGEST THAT IN THE PREVIOUS SECTION YOU WRITE SOMETHING GENERALLY ABOUT CHOOSING THE ACTIVE SPACE AND THAT STRATEGY IS THE SAME EVERYWHERE. AND IN THIS SECTION YOU CONCENTRATE ON THE CONICAL INTERSECTION OPTIMISATION. HERE THE BIG ISSUE IS TO GET THE STARTING GEOMETRY. IN THIS CASE PROBABLY AN MEP IS THE BEST STRATEGY.&lt;br /&gt;
&lt;br /&gt;
Nroot=1 is the default for opt.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3b.Perform a CASSCF Conical Intersection (CI) Optimisation&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the .chk from 2b for the orbital guess. It may be necessary to use a starting geometry close to the desired CI geometry.&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;CAS(4,4,nroot=2,stateaverage) STO-3G nosymm opt=conical guess=read&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Stateaverage is the default for opt=conical.&lt;br /&gt;
Nroot=2 is the default for opt=conical.&lt;/div&gt;</summary>
		<author><name>Marobb</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Resgrp:comp-photo-dyn/mctdh90dev/input&amp;diff=26228</id>
		<title>Resgrp:comp-photo-dyn/mctdh90dev/input</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Resgrp:comp-photo-dyn/mctdh90dev/input&amp;diff=26228"/>
		<updated>2008-11-25T09:31:02Z</updated>

		<summary type="html">&lt;p&gt;Marobb: /* Part a: The Ground State */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Benjamin / Charlotte / David / Marta to create this please! Some Documentation and some tutorials...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating Input for Dynamics Calculations. Example: Butadiene.==&lt;br /&gt;
&lt;br /&gt;
The only input required for the dynamics calculation is an optimised ground state structure. This structure must have been optimised with state averaged orbitals. These orbitals must be &amp;quot;cleaned&amp;quot; and finally high precision frequencies must be calculated.  NOT TRUE   YOU NEED OPTIMIZED CI IN ORDER TO GET DIAMATIZATION!&lt;br /&gt;
&lt;br /&gt;
== Part a: The Ground State ==&lt;br /&gt;
&lt;br /&gt;
MY COMMENTS IN UPPER CASE  MAR&lt;br /&gt;
&lt;br /&gt;
JUST A GENERAL COMMENT THAT I WILL ELABORATE ON BELOW. I THINK THE BEST STRATEGY IS ALWAYS TO DETERMINE THE STARTING SET OF ORBITALS IN ONE JOB STEP. AND THEN WHEN ONE IS CERTAIN THAT THIS IS CORRECT THEN THE OPTIMISATION CAN BEGIN. ALSO SOME DISCUSSION ABOUT STATE AVERAGING IS ESSENTIAL SINCE DOING A CALCULATION OF A MINIMUM GEOMETRY WITH THE ENERGY GAP MAY BE LARGE, ONE WOULD NOT NORMALLY USE STATE AVERAGE ORBITALS. YOU ARE USING A SPECIAL STRATEGY HERE FOR DYNAMICS BECAUSE YOU NEED TO REPRESENT BOTH GROUND AND EXCITED STATES AT THE SAME TIME. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1. Optimise the Ground State Structure (at a low level) to Identify the Orbitals Required for the CASSCF Calculation (see step 2)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;opt HF/STO-3G pop=full nosymm&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Nosymm is required to ensure that the molecule is not re-orientated during the optimisation (this would destroy the active space).&lt;br /&gt;
Pop=full prints out the orbitals.&lt;br /&gt;
THIS IS A LITTLE BIT CONFUSING. THE TITLE IMPLIES SOMETHING TO DO WITH THE ORBITALS. AND I AGREE THAT ONE SHOULD DO THE INITIAL SELECTION OF THE CASSCF WINDOW USING A MINIMAL BASIS. BUT SURELY YOU WANT TO START THE DYNAMICS FROM A GOOD GROUND STATE OPTIMISED GEOMETRY AND THIS IS INDEPENDENT OF THE SELECTION OF THE ORBITALS. SO IT SEEMS TO ME THERE ARE TWO TASKS: ONE TO GET ESSENTIAL STARTING GEOMETRY AND THAT HAS NOTHING TO DO WITH CASSCF AND THEN THERE IS THE ISSUE OF CHOOSING THE STARTING ORBITALS AND THIS CAN BE DONE WITH THE MINIMUM BASIS. BUT YOU HAVE REALLY SAID ALMOST NOTHING ABOUT THIS.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2a. Perform a CASSCF Optimisation on the Ground State &#039;&#039;with State Averaged Orbitals&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the .chk from 1. Verify that the required orbitals are the two HOMOs and the two LUMOs. I&#039;M QUITE NERVOUS ABOUT THIS STATEMENT. EVEN IN A MINIMUM BASIS THE ORBITALS MAY REQUIRE SOME THOUGHT. THE POINT REALLY IS THAT YOU NEED TO LOOK AT THE ORBITALS THAT HAVE COME FROM WHATEVER GUESS YOU ARE USING. AND YOU HAVE NOT SAID ANYTHING ABOUT INSPECTING THE GUESTS. (IN OTHER WORDS YOU NEED TO STOP THE CALCULATION AFTER THE GUESS, MAKE SURE THE ORBITALS ARE SAVED TO THE CHECKPOINT FILE ETC)It may be necessary in some cases to use guess=alter to change the order of the orbitals to make sure the desired orbitals are listed as the two HOMOs and two LUMOs. (Gaussian will use the two HOMOs and the two LUMOs in the CASSCF calculation.) In this case the orbitals are in the correct order. The relevant orbitals are the four pi orbitals, which contain four electrons (so the calculation is 4,4). Nroot=2 specifies the &#039;&#039;first&#039;&#039; excited state so the state averaged orbitals will be constructed for this state and the ground state.I GUESS THIS TYPE OF DISCUSSION AT THE END NEEDS TO GO AT THE BEGINNING.&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;opt=conical CAS(4,4,nroot=2,stateaverage) STO-3G nosymm IOP(10/10=700005) IOP(5/97=100,10/97=100) geom=checkpoint guess=read&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
N.B. This is not a conical intersection optimisation! However, the keyword opt=conical specifies that the populations of the two states will each be 0.5, automatically. Thus there is no need to specify the populations manually (which can be tedious). The IOp (5/97=100,10/97=100) tells the program to switch the order of the two states. This is so that we optimise the ground state (rather than the excited state). Gaussian CASSCF calculations always perform optimisations on the highest state listed so by switching the order we force optimisation of what is actually the lower state. The initial &#039;7&#039; in IOp (10/10=700005) specifies that the calculation should be an optimisation to a minimum (rather than a conical intersection). The final &#039;5&#039; ensures that the orbital rotation derivative contributions from the CP-MC-SCF equations are included. (This is necessary and is usually the default. However, in the current version of Gaussian, the combination of &#039;&#039;&#039;opt&#039;&#039;&#039; and &#039;&#039;&#039;stateaverage&#039;&#039;&#039; excludes this).&lt;br /&gt;
Stateaverage is the default for opt=conical.&lt;br /&gt;
Nroot=2 is the default for opt=conical.&lt;br /&gt;
Do not include the keyword freq in the optimisation: perform a separate freq calculation (This combination of IOps does not allow &#039;&#039;&#039;opt&#039;&#039;&#039; and &#039;&#039;&#039;freq&#039;&#039;&#039; to be keywords in the same job.)&lt;br /&gt;
&lt;br /&gt;
 I AM NOT CLEAR WHY YOU ARE USING STATE AVERAGING AT EQUILIBRIUM GEOMETRY. NORMALLY THIS WOULD NOT BE A SENSIBLE THING TO DO.&lt;br /&gt;
&lt;br /&gt;
BUT AGAIN I WOULD ALWAYS THINK OF THE BEST STRATEGY WOULD BE TO PERFORM A CALCULATION AT SOME GEOMETRY AND VERIFY THAT THE ACTIVE ORBITAL SET WAS CORRECT BEFORE BEGINNING A GEOMETRY OPTIMISATION. SO PROBABLY THIS LITTLE SECTION MIGHT BE DIVIDED INTO TWO.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3a. &amp;quot;Clean&amp;quot; the Orbitals&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the .chk from 2a.&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;opt=(conical,stepsize=1) CAS(4,4,nroot=2,stateaverage) STO-3G nosymm IOP(10/10=700005) IOP(5/97=100,10/97=100) geom=checkpoint guess=read&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Open the file in GaussView, and Edit/Symmetrize. Use this symmetrised geometry as a starting geometry for another optimsation as in 2a (including the keyword &#039;&#039;&#039;nosymm&#039;&#039;&#039;). The only difference is that here we include the keyword &#039;&#039;&#039;opt=(stepsize=1)&#039;&#039;&#039;. This ensures that the optimisation takes the smallest possible step: we already know that the geometry is very close to the minimum and we need to prevent any significant re-orienting that might occur if large steps are taken. Repeat until the orbitals are clean (check by verifying the relevant orbitals in the population analysis). In this case the 4 relevant orbitals are occupied orbitals 14 and 15 and virtual orbitals 16 and 17. By the final optimisation they should consist only of contributions from the C 2PZ atomic orbitals.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4a. Calculate the (High Precision) Vibrational Modes for the Ground State &#039;&#039;with State Averaged Orbitals&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the .chk from 3a.&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;CAS(4,4,nroot=2) STO-3G nosymm freq=hpmodes guess=read geom=checkpoint IOP(5/17=41000200,10/10=700007) IOP(5/97=100,10/97=100)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The IOp (5/17=41000200,10/10=700007): includes the CP-MC-SCF correction (as above); and specifies state averaged orbitals. Do not include the keyword &#039;&#039;&#039;stateaverage&#039;&#039;&#039; with &#039;&#039;&#039;freq&#039;&#039;&#039; (the current version of Gaussian does not support this). Freq=hpmodes tells Gaussian to print the vibrational modes to 5 decimal places. As before, the IOp (5/97=100,10/97=100) forces calculation of the ground state.&lt;br /&gt;
&lt;br /&gt;
== Part b: The Conical Intersection ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2b. Perform a CASSCF Optimisation on the Ground State&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the .chk from 1. Verify that the required orbitals are the two HOMOs and the two LUMOs. It may be necessary in some cases to use guess=alter to change the order of the orbitals to make sure the desired orbitals are listed as the two HOMOs and two LUMOs. (Gaussian will use the two HOMOs and the two LUMOs in the CASSCF calculation.)&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;CAS(4,4,nroot=1) STO-3G pop=full nosymm opt guess=read geom=checkpoint&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Nroot=1 is the default for opt.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3b.Perform a CASSCF Conical Intersection (CI) Optimisation&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the .chk from 2b for the orbital guess. It may be necessary to use a starting geometry close to the desired CI geometry.&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;CAS(4,4,nroot=2,stateaverage) STO-3G nosymm opt=conical guess=read&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Stateaverage is the default for opt=conical.&lt;br /&gt;
Nroot=2 is the default for opt=conical.&lt;/div&gt;</summary>
		<author><name>Marobb</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Resgrp:comp-photo-dyn/mctdh90dev/input&amp;diff=26227</id>
		<title>Resgrp:comp-photo-dyn/mctdh90dev/input</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Resgrp:comp-photo-dyn/mctdh90dev/input&amp;diff=26227"/>
		<updated>2008-11-25T09:19:45Z</updated>

		<summary type="html">&lt;p&gt;Marobb: /* Part a: The Ground State */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Benjamin / Charlotte / David / Marta to create this please! Some Documentation and some tutorials...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating Input for Dynamics Calculations. Example: Butadiene.==&lt;br /&gt;
&lt;br /&gt;
The only input required for the dynamics calculation is an optimised ground state structure. This structure must have been optimised with state averaged orbitals. These orbitals must be &amp;quot;cleaned&amp;quot; and finally high precision frequencies must be calculated.  NOT TRUE   YOU NEED OPTIMIZED CI IN ORDER TO GET DIAMATIZATION!&lt;br /&gt;
&lt;br /&gt;
== Part a: The Ground State ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1. Optimise the Ground State Structure (at a low level) to Identify the Orbitals Required for the CASSCF Calculation (see step 2)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;opt HF/STO-3G pop=full nosymm&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Nosymm is required to ensure that the molecule is not re-orientated during the optimisation (this would destroy the active space).&lt;br /&gt;
Pop=full prints out the orbitals.&lt;br /&gt;
THIS IS A LITTLE BIT CONFUSING. THE TITLE IMPLIES SOMETHING TO DO WITH THE ORBITALS. AND I AGREE THAT ONE SHOULD DO THE INITIAL SELECTION OF THE CASSCF WINDOW USING A MINIMAL BASIS. BUT SURELY YOU WANT TO START THE DYNAMICS FROM A GOOD GROUND STATE OPTIMISED GEOMETRY AND THIS IS INDEPENDENT OF THE SELECTION OF THE ORBITALS. SO IT SEEMS TO ME THERE ARE TWO TASKS: ONE TO GET ESSENTIAL STARTING GEOMETRY AND THAT HAS NOTHING TO DO WITH CASSCF AND THEN THERE IS THE ISSUE OF CHOOSING THE STARTING ORBITALS AND THIS CAN BE DONE WITH THE MINIMUM BASIS. BUT YOU HAVE REALLY SAID ALMOST NOTHING ABOUT THIS.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2a. Perform a CASSCF Optimisation on the Ground State &#039;&#039;with State Averaged Orbitals&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the .chk from 1. Verify that the required orbitals are the two HOMOs and the two LUMOs. It may be necessary in some cases to use guess=alter to change the order of the orbitals to make sure the desired orbitals are listed as the two HOMOs and two LUMOs. (Gaussian will use the two HOMOs and the two LUMOs in the CASSCF calculation.) In this case the orbitals are in the correct order. The relevant orbitals are the four pi orbitals, which contain four electrons (so the calculation is 4,4). Nroot=2 specifies the &#039;&#039;first&#039;&#039; excited state so the state averaged orbitals will be constructed for this state and the ground state.&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;opt=conical CAS(4,4,nroot=2,stateaverage) STO-3G nosymm IOP(10/10=700005) IOP(5/97=100,10/97=100) geom=checkpoint guess=read&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
N.B. This is not a conical intersection optimisation! However, the keyword opt=conical specifies that the populations of the two states will each be 0.5, automatically. Thus there is no need to specify the populations manually (which can be tedious). The IOp (5/97=100,10/97=100) tells the program to switch the order of the two states. This is so that we optimise the ground state (rather than the excited state). Gaussian CASSCF calculations always perform optimisations on the highest state listed so by switching the order we force optimisation of what is actually the lower state. The initial &#039;7&#039; in IOp (10/10=700005) specifies that the calculation should be an optimisation to a minimum (rather than a conical intersection). The final &#039;5&#039; ensures that the orbital rotation derivative contributions from the CP-MC-SCF equations are included. (This is necessary and is usually the default. However, in the current version of Gaussian, the combination of &#039;&#039;&#039;opt&#039;&#039;&#039; and &#039;&#039;&#039;stateaverage&#039;&#039;&#039; excludes this).&lt;br /&gt;
Stateaverage is the default for opt=conical.&lt;br /&gt;
Nroot=2 is the default for opt=conical.&lt;br /&gt;
Do not include the keyword freq in the optimisation: perform a separate freq calculation (This combination of IOps does not allow &#039;&#039;&#039;opt&#039;&#039;&#039; and &#039;&#039;&#039;freq&#039;&#039;&#039; to be keywords in the same job.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3a. &amp;quot;Clean&amp;quot; the Orbitals&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the .chk from 2a.&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;opt=(conical,stepsize=1) CAS(4,4,nroot=2,stateaverage) STO-3G nosymm IOP(10/10=700005) IOP(5/97=100,10/97=100) geom=checkpoint guess=read&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Open the file in GaussView, and Edit/Symmetrize. Use this symmetrised geometry as a starting geometry for another optimsation as in 2a (including the keyword &#039;&#039;&#039;nosymm&#039;&#039;&#039;). The only difference is that here we include the keyword &#039;&#039;&#039;opt=(stepsize=1)&#039;&#039;&#039;. This ensures that the optimisation takes the smallest possible step: we already know that the geometry is very close to the minimum and we need to prevent any significant re-orienting that might occur if large steps are taken. Repeat until the orbitals are clean (check by verifying the relevant orbitals in the population analysis). In this case the 4 relevant orbitals are occupied orbitals 14 and 15 and virtual orbitals 16 and 17. By the final optimisation they should consist only of contributions from the C 2PZ atomic orbitals.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4a. Calculate the (High Precision) Vibrational Modes for the Ground State &#039;&#039;with State Averaged Orbitals&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the .chk from 3a.&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;CAS(4,4,nroot=2) STO-3G nosymm freq=hpmodes guess=read geom=checkpoint IOP(5/17=41000200,10/10=700007) IOP(5/97=100,10/97=100)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The IOp (5/17=41000200,10/10=700007): includes the CP-MC-SCF correction (as above); and specifies state averaged orbitals. Do not include the keyword &#039;&#039;&#039;stateaverage&#039;&#039;&#039; with &#039;&#039;&#039;freq&#039;&#039;&#039; (the current version of Gaussian does not support this). Freq=hpmodes tells Gaussian to print the vibrational modes to 5 decimal places. As before, the IOp (5/97=100,10/97=100) forces calculation of the ground state.&lt;br /&gt;
&lt;br /&gt;
== Part b: The Conical Intersection ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2b. Perform a CASSCF Optimisation on the Ground State&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the .chk from 1. Verify that the required orbitals are the two HOMOs and the two LUMOs. It may be necessary in some cases to use guess=alter to change the order of the orbitals to make sure the desired orbitals are listed as the two HOMOs and two LUMOs. (Gaussian will use the two HOMOs and the two LUMOs in the CASSCF calculation.)&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;CAS(4,4,nroot=1) STO-3G pop=full nosymm opt guess=read geom=checkpoint&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Nroot=1 is the default for opt.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3b.Perform a CASSCF Conical Intersection (CI) Optimisation&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the .chk from 2b for the orbital guess. It may be necessary to use a starting geometry close to the desired CI geometry.&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;CAS(4,4,nroot=2,stateaverage) STO-3G nosymm opt=conical guess=read&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Stateaverage is the default for opt=conical.&lt;br /&gt;
Nroot=2 is the default for opt=conical.&lt;/div&gt;</summary>
		<author><name>Marobb</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Resgrp:comp-photo-dyn/mctdh90dev/input&amp;diff=26107</id>
		<title>Resgrp:comp-photo-dyn/mctdh90dev/input</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Resgrp:comp-photo-dyn/mctdh90dev/input&amp;diff=26107"/>
		<updated>2008-11-24T17:14:49Z</updated>

		<summary type="html">&lt;p&gt;Marobb: /* Creating Input for Dynamics Calculations. Example: Butadiene. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Benjamin / Charlotte / David / Marta to create this please! Some Documentation and some tutorials...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating Input for Dynamics Calculations. Example: Butadiene.==&lt;br /&gt;
&lt;br /&gt;
The only input required for the dynamics calculation is an optimised ground state structure. This structure must have been optimised with state averaged orbitals. These orbitals must be &amp;quot;cleaned&amp;quot; and finally high precision frequencies must be calculated.  NOT TRUE   YOU NEED OPTIMIZED CI IN ORDER TO GET DIAMATIZATION!&lt;br /&gt;
&lt;br /&gt;
== Part a: The Ground State ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1. Optimise the Ground State Structure (at a low level) to Identify the Orbitals Required for the CASSCF Calculation (see step 2)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;opt HF/STO-3G pop=full nosymm&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Nosymm is required to ensure that the molecule is not re-orientated during the optimisation (this would destroy the active space).&lt;br /&gt;
Pop=full prints out the orbitals.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2a. Perform a CASSCF Optimisation on the Ground State &#039;&#039;with State Averaged Orbitals&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the .chk from 1. Verify that the required orbitals are the two HOMOs and the two LUMOs. It may be necessary in some cases to use guess=alter to change the order of the orbitals to make sure the desired orbitals are listed as the two HOMOs and two LUMOs. (Gaussian will use the two HOMOs and the two LUMOs in the CASSCF calculation.) In this case the orbitals are in the correct order. The relevant orbitals are the four pi orbitals, which contain four electrons (so the calculation is 4,4). Nroot=2 specifies the &#039;&#039;first&#039;&#039; excited state so the state averaged orbitals will be constructed for this state and the ground state.&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;opt=conical CAS(4,4,nroot=2,stateaverage) STO-3G nosymm IOP(10/10=700005) IOP(5/97=100,10/97=100) geom=checkpoint guess=read&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
N.B. This is not a conical intersection optimisation! However, the keyword opt=conical specifies that the populations of the two states will each be 0.5, automatically. Thus there is no need to specify the populations manually (which can be tedious). The IOp (5/97=100,10/97=100) tells the program to switch the order of the two states. This is so that we optimise the ground state (rather than the excited state). Gaussian CASSCF calculations always perform optimisations on the highest state listed so by switching the order we force optimisation of what is actually the lower state. The initial &#039;7&#039; in IOp (10/10=700005) specifies that the calculation should be an optimisation to a minimum (rather than a conical intersection). The final &#039;5&#039; ensures that the orbital rotation derivative contributions from the CP-MC-SCF equations are included. (This is necessary and is usually the default. However, in the current version of Gaussian, the combination of &#039;&#039;&#039;opt&#039;&#039;&#039; and &#039;&#039;&#039;stateaverage&#039;&#039;&#039; excludes this).&lt;br /&gt;
Stateaverage is the default for opt=conical.&lt;br /&gt;
Nroot=2 is the default for opt=conical.&lt;br /&gt;
Do not include the keyword freq in the optimisation: perform a separate freq calculation (This combination of IOps does not allow &#039;&#039;&#039;opt&#039;&#039;&#039; and &#039;&#039;&#039;freq&#039;&#039;&#039; to be keywords in the same job.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3a. &amp;quot;Clean&amp;quot; the Orbitals&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the .chk from 2a.&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;opt=(conical,stepsize=1) CAS(4,4,nroot=2,stateaverage) STO-3G nosymm IOP(10/10=700005) IOP(5/97=100,10/97=100) geom=checkpoint guess=read&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Open the file in GaussView, and Edit/Symmetrize. Use this symmetrised geometry as a starting geometry for another optimsation as in 2a (including the keyword &#039;&#039;&#039;nosymm&#039;&#039;&#039;). The only difference is that here we include the keyword &#039;&#039;&#039;opt=(stepsize=1)&#039;&#039;&#039;. This ensures that the optimisation takes the smallest possible step: we already know that the geometry is very close to the minimum and we need to prevent any significant re-orienting that might occur if large steps are taken. Repeat until the orbitals are clean (check by verifying the relevant orbitals in the population analysis). In this case the 4 relevant orbitals are occupied orbitals 14 and 15 and virtual orbitals 16 and 17. By the final optimisation they should consist only of contributions from the C 2PZ atomic orbitals.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4a. Calculate the (High Precision) Vibrational Modes for the Ground State &#039;&#039;with State Averaged Orbitals&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the .chk from 3a.&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;CAS(4,4,nroot=2) STO-3G nosymm freq=hpmodes guess=read geom=checkpoint IOP(5/17=41000200,10/10=700007) IOP(5/97=100,10/97=100)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The IOp (5/17=41000200,10/10=700007): includes the CP-MC-SCF correction (as above); and specifies state averaged orbitals. Do not include the keyword &#039;&#039;&#039;stateaverage&#039;&#039;&#039; with &#039;&#039;&#039;freq&#039;&#039;&#039; (the current version of Gaussian does not support this). Freq=hpmodes tells Gaussian to print the vibrational modes to 5 decimal places. As before, the IOp (5/97=100,10/97=100) forces calculation of the ground state. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Part b: The Conical Intersection ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2b. Perform a CASSCF Optimisation on the Ground State&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the .chk from 1. Verify that the required orbitals are the two HOMOs and the two LUMOs. It may be necessary in some cases to use guess=alter to change the order of the orbitals to make sure the desired orbitals are listed as the two HOMOs and two LUMOs. (Gaussian will use the two HOMOs and the two LUMOs in the CASSCF calculation.)&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;CAS(4,4,nroot=1) STO-3G pop=full nosymm opt guess=read geom=checkpoint&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Nroot=1 is the default for opt.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3b.Perform a CASSCF Conical Intersection (CI) Optimisation&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the .chk from 2b for the orbital guess. It may be necessary to use a starting geometry close to the desired CI geometry.&lt;br /&gt;
&lt;br /&gt;
Keywords: &#039;&#039;&#039;CAS(4,4,nroot=2,stateaverage) STO-3G nosymm opt=conical guess=read&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Stateaverage is the default for opt=conical.&lt;br /&gt;
Nroot=2 is the default for opt=conical.&lt;/div&gt;</summary>
		<author><name>Marobb</name></author>
	</entry>
</feed>