<?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=Mlaraujo</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=Mlaraujo"/>
	<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/wiki/Special:Contributions/Mlaraujo"/>
	<updated>2026-05-16T09:33:28Z</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/mctdh90.31dv/run&amp;diff=40692</id>
		<title>Resgrp:comp-photo-dyn/mctdh90.31dv/run</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Resgrp:comp-photo-dyn/mctdh90.31dv/run&amp;diff=40692"/>
		<updated>2009-02-04T11:30:18Z</updated>

		<summary type="html">&lt;p&gt;Mlaraujo: /* &amp;#039;&amp;#039;&amp;#039;Current Known Bugs&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;
==&#039;&#039;&#039;Symmetry Considerations&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
The way the diabatisation is performed in mctdh90.31dv sometimes leads to complications involving symmetry.  The diabatic states are defined using the conical intersection described in coin.log. If the molecule is highly symmetric, there will be more than one conical intersection (all identical by symmetry). If the wavepacket moves close to one of the other conical intersections that is not described in coin.log, the diabatic states may not be properly described in this area of the PES. This of course means that the behaviour of the wavepacket(s) is likely to be described poorly also.&lt;br /&gt;
&lt;br /&gt;
If the conical intersection has lower symmetry than the starting material, the symmetry must necessarily be broken during the dynamics calculation before the conical intersection is reached. The breaking of each mode will occur either due to the accumulation of small numerical inaccuracies or if a momentum is given which forces particular modes to break symmetry.&lt;br /&gt;
Mctdh90.31dv uses frequency-mass-weighted normal coordinates to describe molecular geometries. Each frequency-mass-weighted coordinate corresponds to a vibration of the molecule (and there are therefore 3N-6 coordinates). Displacements of atoms are described by a (or a combination of) vibration(s). Each vibration can be displaced in one of two directions: positive or negative. The 3N-6 frequency-mass-weighted coordinates can be classified by symmetry. Whether a particular symmetry mode is broken in the positive or negative direction will be equally likely if no initial momentum is given. Thus for each mode that is broken during a simulation the symmetry may break in the positive direction or the negative direction. There will be 2&amp;lt;sup&amp;gt;x&amp;lt;/sup&amp;gt; possible conical intersections corresponding to a particular starting geometry, where x is the number of modes that must be broken going from starting material to conical intersection.&lt;br /&gt;
&lt;br /&gt;
Example: Butadiene&lt;br /&gt;
&lt;br /&gt;
Cis-butadiene belongs to the C&amp;lt;sub&amp;gt;2h&amp;lt;/sub&amp;gt; point group and its 3N-6 frequency-mass-weighted coordinates can be classified as A&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;, B&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;, A&amp;lt;sub&amp;gt;u&amp;lt;/sub&amp;gt; or B&amp;lt;sub&amp;gt;u&amp;lt;/sub&amp;gt; (see the C&amp;lt;sub&amp;gt;2h&amp;lt;/sub&amp;gt; character table and  GAUSSIAN frequency output). The S&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;/S&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt; conical intersection has no symmetry. Thus there are four symmetry modes that must be broken going from starting material to conical intersection. There are sixteen (2&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt;) equivalent conical intersections that could be specified in coin.log, corresponding to all possible ways of distorting the starting geometry into the conical intersection geometry. The sixteen conical intersections correspond to: two structures resulting from disrotatory motion in one direction followed by out-of-plane twisting (and their enantiomers); two structures resulting from disrotatory motion in the other direction followed by out-of-plane twisting (and their enantiomers); two structures resulting from conrotatory motion in one direction followed by out-of-plane twisting (and their enantiomers); and  two structures resulting from conrotatory motion in the other direction followed by out-of-plane twisting (and their enantiomers). Each of the sixteen conical intersections will have a different arrangement of atomic labels but all can be reached by distorting the starting geometry.&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;Creating the Directories&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
* First of all, create a folder in which 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, we are going to assume that this directory is named &#039;&#039;buta&#039;&#039; (for butadiene).&lt;br /&gt;
&lt;br /&gt;
     mkdir 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 you should start with:&lt;br /&gt;
&lt;br /&gt;
    /home/$USER/buta&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 in 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 /work/$USER/buta/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.dat&#039;&#039;&#039;.These files are required in order to run any dynamics simulation, they are the basis that the script dd_generator (see the following section) will use to create the necessary files for running MCTDH.  You may also create a file named &amp;quot;&#039;momentum.dat&amp;quot;&#039; if you wish to give a momentum to the wavepacket(s) (this is optional and may be created later instead). &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. NB The MCTDH program will rotate the conical intersection before starting the dynamics. To do this it must be provided with three angles which describe the appropriate rotation. There is an Excel spreadsheet available to calculate these angles (see the section entitled &amp;quot;Rotating the Conical Intersection&amp;quot;). NB the final conical intersection log file must only contain one geometry (otherwise the dynamics program will not know which geometry to use). IS THIS STATEMENT TRUE FOR THIS VERSION??&lt;br /&gt;
&lt;br /&gt;
[[Media:coin.log]]&lt;br /&gt;
&lt;br /&gt;
(Insert a link here to section &amp;quot;Rotating the Conical Intersection&amp;quot;)&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.dat&#039;&#039;&#039; is a template for the creation of GAUSSIAN input files by the MCTDH program. It contains all the mutual keywords of the GAUSSIAN calculations which will be run on-the-fly by MCTDH. It also contains other information relating to the GAUSSIAN calculations such as memory requirements.&lt;br /&gt;
 &lt;br /&gt;
[[Media:template.dat]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;momentum.dat&#039;&#039;&#039; is a file containing a list of values to be used as vectors to indicate the momentum to be given to a particular (set of) wavepacket(s). The vectors must be listed in the order of the frequency-mass-weighted normal coordinates specified in the Excel spreadsheet. They give the magnitude of the momentum to be given along each of these frequency-mass-weighted normal coordinates. N.B. The signs of the values here are important!&lt;br /&gt;
 &lt;br /&gt;
[[Media:momentum.dat]]&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 (above) along with other information supplied by the user to create input files for MCTDH.&lt;br /&gt;
&lt;br /&gt;
* Navigate to /home/$USER/buta and run the generator by typing:&lt;br /&gt;
&lt;br /&gt;
     dd_generator&lt;br /&gt;
&lt;br /&gt;
for the HPC Cluster, or &lt;br /&gt;
&lt;br /&gt;
     dd_generator_MAC&lt;br /&gt;
&lt;br /&gt;
for a MAC OS X system&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;Answer for this tutorial&#039;&#039;&#039; &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; &#039;&#039;&#039;Explanation&#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;td&amp;gt;  &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 shared-memory processors should we use? (1|2|4|8)&lt;br /&gt;
N.B.: (ncpus=1) serial or (ncpus=2|4|8) parallel (omp) version of MCTDH launched as batch job&lt;br /&gt;
and launching monoprocessor GAUSSIAN interactive jobs (nprocshared=1 or no specification)&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; 1 &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;  &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 &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; The first four letters will be used to name the new files that the generator is creating &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;td&amp;gt;  &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;The number of nuclear degrees of freedom is 24.&lt;br /&gt;
Do you want to reduce the dimensionality? (y|n)&lt;br /&gt;
(N.B.: this can be used also for re-ordering the coordinates)&lt;br /&gt;
&#039;&#039;&#039; &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; n &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;  &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;td&amp;gt; 1 means 1 gaussian on state 1 and 1 gaussian on state 2. This is the &amp;quot;single-set&amp;quot; implementation of MCTDH therefore the gaussian wavepacket on state 1 is the same as the gaussian wavepacket on state 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;&#039;What is the final propagation time (in fs)?&#039;&#039;&#039;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; 200 &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;  &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;td&amp;gt;  &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 electronic states? (1|2)&#039;&#039;&#039;&#039;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; 2 &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;  &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 highest electronic root?&#039;&#039;&#039;&#039;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; 2 &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;  &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;td&amp;gt;  &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; y &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;  &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;td&amp;gt;  &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 &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;This question is only asked if the answer to the previous question was yes.  &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;td&amp;gt; Choose rd for read, wr for write etc. In this case we are not going to use the database, 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 (%). In this case the value none is chosen so this question is not asked.&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 the value of the maximum-difference criterion (in %):&#039;&#039;&#039;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; 1 &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;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;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt; &#039;&#039;&#039;&amp;gt;&amp;gt; Manual rotation (using Excel spreadsheet) &amp;lt;&amp;lt;&lt;br /&gt;
   Please type the values of the three Euler angles (in deg)&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; 176.543006&lt;br /&gt;
185.772905&lt;br /&gt;
4.538147 &amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;From the spreadsheet [[Media:spreadsheet.xls]]&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;The generator will now tell you that it has read the files start.fchk 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/$USER/buta/dd_data/start.fchk&lt;br /&gt;
 Write checkpoint file /work/$USER/buta/dd_data/start.chk&lt;br /&gt;
using /apps/gaussian/g03_e01/g03/unfchk&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;/pre&amp;gt;&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 read the direction of the initial momentum from the existing file in /work/$USER/buta/dd_data? (y|n)&lt;br /&gt;
(you still have time to change it now, before answering)&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; y &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;This question is only asked if the answer to the question &amp;quot;Will there be an initial momentum given to the wavepacket?&amp;quot; was yes.  &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 the value of the excess kinetic energy (in eV) for calculating the magnitude:&#039;&#039;&#039; &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; 1 &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;  &amp;lt;/td&amp;gt;&amp;lt;/tr&amp;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;
* The generator will now tell you that it has read the files start.log, coin.log and momentum.dat (if a momentum has been specified) from the folder /work/dm107/dyn/dd_data/:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&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;
 *********************************************************&lt;br /&gt;
 Mass-weighted displacement from start to coin:&lt;br /&gt;
    old total norm: 22.070387&lt;br /&gt;
    new total norm:  4.669035&lt;br /&gt;
  vibrational part:  4.669035&lt;br /&gt;
   rotational part:  0.000000&lt;br /&gt;
 *********************************************************&lt;br /&gt;
   ... file /work/dm107/dyn_90dev/dd_data/coin.log                             &lt;br /&gt;
                                                      read successfully&lt;br /&gt;
   about to read file /work/dm107/dyn_90dev/dd_data/momentum.dat                      &lt;br /&gt;
                                                               ...&lt;br /&gt;
 *********************************************************&lt;br /&gt;
 Using the momentum given in momentum.dat would have given&lt;br /&gt;
an excess kinetic energy (in eV) of: 15.269&lt;br /&gt;
 For your information, the momentum has been multiplied&lt;br /&gt;
by a factor of:  0.572&lt;br /&gt;
 *********************************************************&lt;br /&gt;
  &lt;br /&gt;
   ... file /work/dm107/dyn_90dev/dd_data/momentum.dat                                &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 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/buta):&lt;br /&gt;
&lt;br /&gt;
# but1dd1p_trial.inp  &lt;br /&gt;
# but1dd1p_trial.job  &lt;br /&gt;
# but1dd1p_trial.txt  &lt;br /&gt;
# but1dd_none.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 in /work/$USER/buta where the MCTDH and GAUSSIAN calculations will be stored:&lt;br /&gt;
&lt;br /&gt;
1) Directories:&lt;br /&gt;
&lt;br /&gt;
* butadd1p_trial&lt;br /&gt;
* butadd1p_trial/dd_data&lt;br /&gt;
&lt;br /&gt;
2) Files (in butadd1o_trial/dd_data):&lt;br /&gt;
&lt;br /&gt;
# refdb.dat &lt;br /&gt;
# start.chk  &lt;br /&gt;
# template.dat&lt;br /&gt;
# forward.dat&lt;br /&gt;
# backward.dat&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;Modifications to 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/buta specify the memory and walltime if you are in the HPC Cluster.&lt;br /&gt;
&lt;br /&gt;
* When running a development version of GAUSSIAN (gdvg03 or gdvg01), copy the start.chk file into the folder /work/$USER/dyn_90dev/but1dd1p_trial/dd_data. The unformatted checkpoint file form start.fchk that dd_generator has created is corrupted. IS THIS STATEMENT TRUE FOR THIS VERSION??&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;Running the dynamics.&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
* Navigate to /home/$USER/buta. Queue the job file. In this case, type:&lt;br /&gt;
&lt;br /&gt;
     qsub butadd1p_trial.job&lt;br /&gt;
&lt;br /&gt;
for MAC OS X users the shell command is already written in butadd1p_trial.job&lt;br /&gt;
&lt;br /&gt;
=&#039;&#039;&#039;Analysis of the results&#039;&#039;&#039;=&lt;br /&gt;
&lt;br /&gt;
The most important files are the output and .res files.&lt;br /&gt;
&lt;br /&gt;
=== Detailed information about files and directories ===&lt;br /&gt;
&lt;br /&gt;
* The log file (log)&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. 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 (output)&lt;br /&gt;
&lt;br /&gt;
The output contains some standard results:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Time&#039;&#039;&#039;: time in fs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CPU&#039;&#039;&#039;:  CPU time in s.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Norm&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;E-tot&#039;&#039;&#039;: the total energy in eV. This value should be conserved (i.e by the end of the run the E-tot value should not be too different  from what it was a time=0).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;E-corr&#039;&#039;&#039;: correlated Hamiltonian energy&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Delta-E&#039;&#039;&#039;: 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;
&#039;&#039;&#039;population&#039;&#039;&#039; : diabatic populations of state 1 and state 2 (in that order) at the current time t&lt;br /&gt;
&lt;br /&gt;
For every mode:	&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt; q &amp;gt;&#039;&#039;&#039;: position expectation value&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;dq&amp;gt;&#039;&#039;&#039;: standard deviation Sqrt[&amp;lt; q&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; &amp;gt; - &amp;lt; q &amp;gt;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt; p &amp;gt;&#039;&#039;&#039; : momentum expectation value&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;dq&amp;gt;&#039;&#039;&#039;: standard deviation Sqrt[&amp;lt; p&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; &amp;gt; - &amp;lt; p &amp;gt;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
* dvr&lt;br /&gt;
&lt;br /&gt;
* oper&lt;br /&gt;
&lt;br /&gt;
*ddpeserr&lt;br /&gt;
&lt;br /&gt;
*input&lt;br /&gt;
&lt;br /&gt;
*op.log&lt;br /&gt;
&lt;br /&gt;
*psi&lt;br /&gt;
&lt;br /&gt;
*check&lt;br /&gt;
&lt;br /&gt;
*auto&lt;br /&gt;
&lt;br /&gt;
*ddpes&lt;br /&gt;
&lt;br /&gt;
*restart&lt;br /&gt;
&lt;br /&gt;
*stop&lt;br /&gt;
&lt;br /&gt;
*speed&lt;br /&gt;
&lt;br /&gt;
*timing&lt;br /&gt;
&lt;br /&gt;
*update&lt;br /&gt;
&lt;br /&gt;
= &#039;&#039;&#039;Current Known Bugs&#039;&#039;&#039; =&lt;br /&gt;
&lt;br /&gt;
Parallelisation:&lt;br /&gt;
It is not possible to run calculations in parallel with version 90.31dv (reading the same template.dat file simultaneously by each processor is causing problems).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Total energy:&lt;br /&gt;
&lt;br /&gt;
1) The total energy can be &amp;quot;artificially&amp;quot; increased by much. If so, try a different integrator.&lt;br /&gt;
&lt;br /&gt;
2) If Delta-E suddenly becomes too large, you can get the following message: &lt;br /&gt;
&amp;quot;ERROR in subroutine WRGAUSSIAN :&lt;br /&gt;
 Do not use $Swap:...$ metastring in file /.../template.dat&amp;quot;&lt;br /&gt;
Often, when getting this message, no more steps are added to the simulation, although the calculation seems to keep running (the integrator keeps trying and failing).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using the database:&lt;br /&gt;
&lt;br /&gt;
1) Every record generated with mctdh90.31dev and several GWPs is corrupted, so, for now, when launching calculations with more that one wavepacket, use &amp;quot;formdd_none.op&amp;quot; (i.e. do not read nor write the database).&lt;br /&gt;
[For instance, when using dbrdwr and starting from a clean db, all newly generated records are added to the existing database, even if they are identical to records that were already written in the db.]&lt;br /&gt;
&lt;br /&gt;
2) Records obtained in calculations with one GWP should be OK, but this is still to be confirmed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Impossible case&amp;quot;:&lt;br /&gt;
Error message that forces the calculation to stop. It seems to be associated with moving towards an &amp;quot;unexpected&amp;quot; geometry (e.g. a radical).&lt;/div&gt;</summary>
		<author><name>Mlaraujo</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Resgrp:comp-photo-dyn/mctdh90.31dv/run&amp;diff=40691</id>
		<title>Resgrp:comp-photo-dyn/mctdh90.31dv/run</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Resgrp:comp-photo-dyn/mctdh90.31dv/run&amp;diff=40691"/>
		<updated>2009-02-04T11:29:56Z</updated>

		<summary type="html">&lt;p&gt;Mlaraujo: /* &amp;#039;&amp;#039;&amp;#039;Current Known Bugs&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;
==&#039;&#039;&#039;Symmetry Considerations&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
The way the diabatisation is performed in mctdh90.31dv sometimes leads to complications involving symmetry.  The diabatic states are defined using the conical intersection described in coin.log. If the molecule is highly symmetric, there will be more than one conical intersection (all identical by symmetry). If the wavepacket moves close to one of the other conical intersections that is not described in coin.log, the diabatic states may not be properly described in this area of the PES. This of course means that the behaviour of the wavepacket(s) is likely to be described poorly also.&lt;br /&gt;
&lt;br /&gt;
If the conical intersection has lower symmetry than the starting material, the symmetry must necessarily be broken during the dynamics calculation before the conical intersection is reached. The breaking of each mode will occur either due to the accumulation of small numerical inaccuracies or if a momentum is given which forces particular modes to break symmetry.&lt;br /&gt;
Mctdh90.31dv uses frequency-mass-weighted normal coordinates to describe molecular geometries. Each frequency-mass-weighted coordinate corresponds to a vibration of the molecule (and there are therefore 3N-6 coordinates). Displacements of atoms are described by a (or a combination of) vibration(s). Each vibration can be displaced in one of two directions: positive or negative. The 3N-6 frequency-mass-weighted coordinates can be classified by symmetry. Whether a particular symmetry mode is broken in the positive or negative direction will be equally likely if no initial momentum is given. Thus for each mode that is broken during a simulation the symmetry may break in the positive direction or the negative direction. There will be 2&amp;lt;sup&amp;gt;x&amp;lt;/sup&amp;gt; possible conical intersections corresponding to a particular starting geometry, where x is the number of modes that must be broken going from starting material to conical intersection.&lt;br /&gt;
&lt;br /&gt;
Example: Butadiene&lt;br /&gt;
&lt;br /&gt;
Cis-butadiene belongs to the C&amp;lt;sub&amp;gt;2h&amp;lt;/sub&amp;gt; point group and its 3N-6 frequency-mass-weighted coordinates can be classified as A&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;, B&amp;lt;sub&amp;gt;g&amp;lt;/sub&amp;gt;, A&amp;lt;sub&amp;gt;u&amp;lt;/sub&amp;gt; or B&amp;lt;sub&amp;gt;u&amp;lt;/sub&amp;gt; (see the C&amp;lt;sub&amp;gt;2h&amp;lt;/sub&amp;gt; character table and  GAUSSIAN frequency output). The S&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;/S&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt; conical intersection has no symmetry. Thus there are four symmetry modes that must be broken going from starting material to conical intersection. There are sixteen (2&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt;) equivalent conical intersections that could be specified in coin.log, corresponding to all possible ways of distorting the starting geometry into the conical intersection geometry. The sixteen conical intersections correspond to: two structures resulting from disrotatory motion in one direction followed by out-of-plane twisting (and their enantiomers); two structures resulting from disrotatory motion in the other direction followed by out-of-plane twisting (and their enantiomers); two structures resulting from conrotatory motion in one direction followed by out-of-plane twisting (and their enantiomers); and  two structures resulting from conrotatory motion in the other direction followed by out-of-plane twisting (and their enantiomers). Each of the sixteen conical intersections will have a different arrangement of atomic labels but all can be reached by distorting the starting geometry.&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;Creating the Directories&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
* First of all, create a folder in which 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, we are going to assume that this directory is named &#039;&#039;buta&#039;&#039; (for butadiene).&lt;br /&gt;
&lt;br /&gt;
     mkdir 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 you should start with:&lt;br /&gt;
&lt;br /&gt;
    /home/$USER/buta&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 in 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 /work/$USER/buta/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.dat&#039;&#039;&#039;.These files are required in order to run any dynamics simulation, they are the basis that the script dd_generator (see the following section) will use to create the necessary files for running MCTDH.  You may also create a file named &amp;quot;&#039;momentum.dat&amp;quot;&#039; if you wish to give a momentum to the wavepacket(s) (this is optional and may be created later instead). &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. NB The MCTDH program will rotate the conical intersection before starting the dynamics. To do this it must be provided with three angles which describe the appropriate rotation. There is an Excel spreadsheet available to calculate these angles (see the section entitled &amp;quot;Rotating the Conical Intersection&amp;quot;). NB the final conical intersection log file must only contain one geometry (otherwise the dynamics program will not know which geometry to use). IS THIS STATEMENT TRUE FOR THIS VERSION??&lt;br /&gt;
&lt;br /&gt;
[[Media:coin.log]]&lt;br /&gt;
&lt;br /&gt;
(Insert a link here to section &amp;quot;Rotating the Conical Intersection&amp;quot;)&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.dat&#039;&#039;&#039; is a template for the creation of GAUSSIAN input files by the MCTDH program. It contains all the mutual keywords of the GAUSSIAN calculations which will be run on-the-fly by MCTDH. It also contains other information relating to the GAUSSIAN calculations such as memory requirements.&lt;br /&gt;
 &lt;br /&gt;
[[Media:template.dat]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;momentum.dat&#039;&#039;&#039; is a file containing a list of values to be used as vectors to indicate the momentum to be given to a particular (set of) wavepacket(s). The vectors must be listed in the order of the frequency-mass-weighted normal coordinates specified in the Excel spreadsheet. They give the magnitude of the momentum to be given along each of these frequency-mass-weighted normal coordinates. N.B. The signs of the values here are important!&lt;br /&gt;
 &lt;br /&gt;
[[Media:momentum.dat]]&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 (above) along with other information supplied by the user to create input files for MCTDH.&lt;br /&gt;
&lt;br /&gt;
* Navigate to /home/$USER/buta and run the generator by typing:&lt;br /&gt;
&lt;br /&gt;
     dd_generator&lt;br /&gt;
&lt;br /&gt;
for the HPC Cluster, or &lt;br /&gt;
&lt;br /&gt;
     dd_generator_MAC&lt;br /&gt;
&lt;br /&gt;
for a MAC OS X system&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;Answer for this tutorial&#039;&#039;&#039; &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; &#039;&#039;&#039;Explanation&#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;td&amp;gt;  &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 shared-memory processors should we use? (1|2|4|8)&lt;br /&gt;
N.B.: (ncpus=1) serial or (ncpus=2|4|8) parallel (omp) version of MCTDH launched as batch job&lt;br /&gt;
and launching monoprocessor GAUSSIAN interactive jobs (nprocshared=1 or no specification)&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; 1 &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;  &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 &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; The first four letters will be used to name the new files that the generator is creating &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;td&amp;gt;  &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;The number of nuclear degrees of freedom is 24.&lt;br /&gt;
Do you want to reduce the dimensionality? (y|n)&lt;br /&gt;
(N.B.: this can be used also for re-ordering the coordinates)&lt;br /&gt;
&#039;&#039;&#039; &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; n &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;  &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;td&amp;gt; 1 means 1 gaussian on state 1 and 1 gaussian on state 2. This is the &amp;quot;single-set&amp;quot; implementation of MCTDH therefore the gaussian wavepacket on state 1 is the same as the gaussian wavepacket on state 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;&#039;What is the final propagation time (in fs)?&#039;&#039;&#039;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; 200 &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;  &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;td&amp;gt;  &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 electronic states? (1|2)&#039;&#039;&#039;&#039;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; 2 &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;  &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 highest electronic root?&#039;&#039;&#039;&#039;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; 2 &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;  &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;td&amp;gt;  &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; y &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;  &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;td&amp;gt;  &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 &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;This question is only asked if the answer to the previous question was yes.  &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;td&amp;gt; Choose rd for read, wr for write etc. In this case we are not going to use the database, 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 (%). In this case the value none is chosen so this question is not asked.&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 the value of the maximum-difference criterion (in %):&#039;&#039;&#039;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; 1 &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;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;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt; &#039;&#039;&#039;&amp;gt;&amp;gt; Manual rotation (using Excel spreadsheet) &amp;lt;&amp;lt;&lt;br /&gt;
   Please type the values of the three Euler angles (in deg)&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; 176.543006&lt;br /&gt;
185.772905&lt;br /&gt;
4.538147 &amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;From the spreadsheet [[Media:spreadsheet.xls]]&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;The generator will now tell you that it has read the files start.fchk 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/$USER/buta/dd_data/start.fchk&lt;br /&gt;
 Write checkpoint file /work/$USER/buta/dd_data/start.chk&lt;br /&gt;
using /apps/gaussian/g03_e01/g03/unfchk&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;/pre&amp;gt;&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 read the direction of the initial momentum from the existing file in /work/$USER/buta/dd_data? (y|n)&lt;br /&gt;
(you still have time to change it now, before answering)&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; y &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;This question is only asked if the answer to the question &amp;quot;Will there be an initial momentum given to the wavepacket?&amp;quot; was yes.  &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 the value of the excess kinetic energy (in eV) for calculating the magnitude:&#039;&#039;&#039; &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt; 1 &amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;  &amp;lt;/td&amp;gt;&amp;lt;/tr&amp;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;
* The generator will now tell you that it has read the files start.log, coin.log and momentum.dat (if a momentum has been specified) from the folder /work/dm107/dyn/dd_data/:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&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;
 *********************************************************&lt;br /&gt;
 Mass-weighted displacement from start to coin:&lt;br /&gt;
    old total norm: 22.070387&lt;br /&gt;
    new total norm:  4.669035&lt;br /&gt;
  vibrational part:  4.669035&lt;br /&gt;
   rotational part:  0.000000&lt;br /&gt;
 *********************************************************&lt;br /&gt;
   ... file /work/dm107/dyn_90dev/dd_data/coin.log                             &lt;br /&gt;
                                                      read successfully&lt;br /&gt;
   about to read file /work/dm107/dyn_90dev/dd_data/momentum.dat                      &lt;br /&gt;
                                                               ...&lt;br /&gt;
 *********************************************************&lt;br /&gt;
 Using the momentum given in momentum.dat would have given&lt;br /&gt;
an excess kinetic energy (in eV) of: 15.269&lt;br /&gt;
 For your information, the momentum has been multiplied&lt;br /&gt;
by a factor of:  0.572&lt;br /&gt;
 *********************************************************&lt;br /&gt;
  &lt;br /&gt;
   ... file /work/dm107/dyn_90dev/dd_data/momentum.dat                                &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 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/buta):&lt;br /&gt;
&lt;br /&gt;
# but1dd1p_trial.inp  &lt;br /&gt;
# but1dd1p_trial.job  &lt;br /&gt;
# but1dd1p_trial.txt  &lt;br /&gt;
# but1dd_none.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 in /work/$USER/buta where the MCTDH and GAUSSIAN calculations will be stored:&lt;br /&gt;
&lt;br /&gt;
1) Directories:&lt;br /&gt;
&lt;br /&gt;
* butadd1p_trial&lt;br /&gt;
* butadd1p_trial/dd_data&lt;br /&gt;
&lt;br /&gt;
2) Files (in butadd1o_trial/dd_data):&lt;br /&gt;
&lt;br /&gt;
# refdb.dat &lt;br /&gt;
# start.chk  &lt;br /&gt;
# template.dat&lt;br /&gt;
# forward.dat&lt;br /&gt;
# backward.dat&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;Modifications to 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/buta specify the memory and walltime if you are in the HPC Cluster.&lt;br /&gt;
&lt;br /&gt;
* When running a development version of GAUSSIAN (gdvg03 or gdvg01), copy the start.chk file into the folder /work/$USER/dyn_90dev/but1dd1p_trial/dd_data. The unformatted checkpoint file form start.fchk that dd_generator has created is corrupted. IS THIS STATEMENT TRUE FOR THIS VERSION??&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;Running the dynamics.&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
* Navigate to /home/$USER/buta. Queue the job file. In this case, type:&lt;br /&gt;
&lt;br /&gt;
     qsub butadd1p_trial.job&lt;br /&gt;
&lt;br /&gt;
for MAC OS X users the shell command is already written in butadd1p_trial.job&lt;br /&gt;
&lt;br /&gt;
=&#039;&#039;&#039;Analysis of the results&#039;&#039;&#039;=&lt;br /&gt;
&lt;br /&gt;
The most important files are the output and .res files.&lt;br /&gt;
&lt;br /&gt;
=== Detailed information about files and directories ===&lt;br /&gt;
&lt;br /&gt;
* The log file (log)&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. 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 (output)&lt;br /&gt;
&lt;br /&gt;
The output contains some standard results:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Time&#039;&#039;&#039;: time in fs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CPU&#039;&#039;&#039;:  CPU time in s.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Norm&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;E-tot&#039;&#039;&#039;: the total energy in eV. This value should be conserved (i.e by the end of the run the E-tot value should not be too different  from what it was a time=0).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;E-corr&#039;&#039;&#039;: correlated Hamiltonian energy&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Delta-E&#039;&#039;&#039;: 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;
&#039;&#039;&#039;population&#039;&#039;&#039; : diabatic populations of state 1 and state 2 (in that order) at the current time t&lt;br /&gt;
&lt;br /&gt;
For every mode:	&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt; q &amp;gt;&#039;&#039;&#039;: position expectation value&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;dq&amp;gt;&#039;&#039;&#039;: standard deviation Sqrt[&amp;lt; q&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; &amp;gt; - &amp;lt; q &amp;gt;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt; p &amp;gt;&#039;&#039;&#039; : momentum expectation value&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;dq&amp;gt;&#039;&#039;&#039;: standard deviation Sqrt[&amp;lt; p&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; &amp;gt; - &amp;lt; p &amp;gt;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
* dvr&lt;br /&gt;
&lt;br /&gt;
* oper&lt;br /&gt;
&lt;br /&gt;
*ddpeserr&lt;br /&gt;
&lt;br /&gt;
*input&lt;br /&gt;
&lt;br /&gt;
*op.log&lt;br /&gt;
&lt;br /&gt;
*psi&lt;br /&gt;
&lt;br /&gt;
*check&lt;br /&gt;
&lt;br /&gt;
*auto&lt;br /&gt;
&lt;br /&gt;
*ddpes&lt;br /&gt;
&lt;br /&gt;
*restart&lt;br /&gt;
&lt;br /&gt;
*stop&lt;br /&gt;
&lt;br /&gt;
*speed&lt;br /&gt;
&lt;br /&gt;
*timing&lt;br /&gt;
&lt;br /&gt;
*update&lt;br /&gt;
&lt;br /&gt;
= &#039;&#039;&#039;Current Known Bugs&#039;&#039;&#039; =&lt;br /&gt;
&lt;br /&gt;
Parallelisation:&lt;br /&gt;
It is not possible to run calculations in parallel with version 90.31dv (reading the same template.dat file simultaneously by each processor is causing problems).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Total energy:&lt;br /&gt;
1) The total energy can be &amp;quot;artificially&amp;quot; increased by much. If so, try a different integrator.&lt;br /&gt;
&lt;br /&gt;
2) If Delta-E suddenly becomes too large, you can get the following message: &lt;br /&gt;
&amp;quot;ERROR in subroutine WRGAUSSIAN :&lt;br /&gt;
 Do not use $Swap:...$ metastring in file /.../template.dat&amp;quot;&lt;br /&gt;
Often, when getting this message, no more steps are added to the simulation, although the calculation seems to keep running (the integrator keeps trying and failing).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using the database:&lt;br /&gt;
1) Every record generated with mctdh90.31dev and several GWPs is corrupted, so, for now, when launching calculations with more that one wavepacket, use &amp;quot;formdd_none.op&amp;quot; (i.e. do not read nor write the database).&lt;br /&gt;
[For instance, when using dbrdwr and starting from a clean db, all newly generated records are added to the existing database, even if they are identical to records that were already written in the db.]&lt;br /&gt;
&lt;br /&gt;
2) Records obtained in calculations with one GWP should be OK, but this is still to be confirmed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Impossible case&amp;quot;:&lt;br /&gt;
Error message that forces the calculation to stop. It seems to be associated with moving towards an &amp;quot;unexpected&amp;quot; geometry (e.g. a radical).&lt;/div&gt;</summary>
		<author><name>Mlaraujo</name></author>
	</entry>
</feed>