<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikis.ch.cam.ac.uk/thom/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cak49</id>
	<title>Thom Group Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wikis.ch.cam.ac.uk/thom/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cak49"/>
	<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/thom/wiki/index.php/Special:Contributions/Cak49"/>
	<updated>2026-06-10T19:45:19Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.7</generator>
	<entry>
		<id>https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Getting_Started_with_cerebro&amp;diff=884</id>
		<title>Getting Started with cerebro</title>
		<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Getting_Started_with_cerebro&amp;diff=884"/>
		<updated>2021-07-27T19:18:57Z</updated>

		<summary type="html">&lt;p&gt;Cak49: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Overview=&lt;br /&gt;
cerebro is a compute cluster.  Unlike on the workstations, jobs are not run directly from the command line (e.g. just doing &amp;lt;code&amp;gt;qchem file.in file.out&amp;lt;/code&amp;gt;).  Instead, jobs are sent to a queue which is managed by &amp;lt;code&amp;gt;SLURM&amp;lt;/code&amp;gt;.  To submit a job, you need to write a submit file with information about your job then submit it to the queue using the &amp;lt;code&amp;gt;sbatch&amp;lt;/code&amp;gt; command.  Jobs create a &amp;lt;code&amp;gt;slurm-&amp;lt;jobid&amp;gt;.out&amp;lt;/code&amp;gt; file which contains their terminal output.  If you think something might have gone wrong with a job (e.g. something crashed, it ran out of time, etc...) the &amp;lt;code&amp;gt;slurm&amp;lt;/code&amp;gt; file is usually a good place to start looking for the issue.&lt;br /&gt;
&lt;br /&gt;
General information about cerebro is available on the department website [https://www.ch.cam.ac.uk/computing/cerebro-user-notes here].&lt;br /&gt;
&lt;br /&gt;
=Helpful Commands=&lt;br /&gt;
==&amp;lt;code&amp;gt;sbatch&amp;lt;/code&amp;gt;==&lt;br /&gt;
&amp;lt;code&amp;gt;sbatch&amp;lt;/code&amp;gt; is used to submit a job to the queue, e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;sbatch $old $long submit_file&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can specify whether a job runs on the old nodes (12 CPUs max) or the new nodes (16 CPUs max) using &amp;lt;code&amp;gt;$old&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$new&amp;lt;/code&amp;gt;, respectively.&lt;br /&gt;
&lt;br /&gt;
You can also specify the partition on which you would like the job to run using one of four options:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;width: 8ex;&amp;quot; |&#039;&#039;&#039;Partition&#039;&#039;&#039; || style=&amp;quot;width: 14ex;&amp;quot; | &#039;&#039;&#039;sbatch Option&#039;&#039;&#039; || style=&amp;quot;width: 10ex;&amp;quot; | &#039;&#039;&#039;Time Limit&#039;&#039;&#039;|| style=&amp;quot;width: 45ex;&amp;quot; | &#039;&#039;&#039;Other Notes&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| TEST   || $test || 4 hours || highest priority partition - jobs should run right away&lt;br /&gt;
|-&lt;br /&gt;
| LONG  || $long || 48 hours || default partition&lt;br /&gt;
|-&lt;br /&gt;
| XLONG || $xlong || 7 days || 96 core limit&lt;br /&gt;
|-&lt;br /&gt;
| XXLONG   || $xxlong || 30 days  || 56 core limit&lt;br /&gt;
|}&lt;br /&gt;
More information about SLURM on cerebro is available on the department website [https://www.ch.cam.ac.uk/computing/slurm-usage here] and [https://www.ch.cam.ac.uk/computing/cerebro-queues-and-parallel-job-configuration here],  and general information about SLURM can be found [https://slurm.schedmd.com/overview.html here].&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;code&amp;gt;squeue&amp;lt;/code&amp;gt;==&lt;br /&gt;
To see all the jobs in the queue, do&lt;br /&gt;
&amp;lt;pre&amp;gt;squeue&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To see all the jobs that you have queued or running, do&lt;br /&gt;
&amp;lt;pre&amp;gt;squeue -u &amp;lt;your-crsid&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;code&amp;gt;scancel&amp;lt;/code&amp;gt;==&lt;br /&gt;
To cancel a job, do&lt;br /&gt;
&amp;lt;pre&amp;gt;scancel &amp;lt;JOBID&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Make sure you have the right job ID!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
More information on queuing is available [https://wikis.ch.cam.ac.uk/thom/wiki/index.php/Queuing here].&lt;br /&gt;
&lt;br /&gt;
=Using Q-Chem=&lt;br /&gt;
&lt;br /&gt;
If you have not used Q-Chem on cerebro before, first check whether you have access with &amp;lt;code&amp;gt;which qchem&amp;lt;/code&amp;gt;. If that does not return anything, you&#039;ll need to add a few lines to your &amp;lt;code&amp;gt;.bashrc&amp;lt;/code&amp;gt; file. For Q-Chem 5.3, add&lt;br /&gt;
&amp;lt;pre&amp;gt;# QChem&lt;br /&gt;
export QC=trunk&lt;br /&gt;
source /home/maf63/code/qcsetup-general.bash&lt;br /&gt;
source ~/.slurmrc&amp;lt;/pre&amp;gt;&lt;br /&gt;
to your &amp;lt;code&amp;gt;.bashrc&amp;lt;/code&amp;gt; file, then do &amp;lt;code&amp;gt;source ~/.bashrc&amp;lt;/code&amp;gt;.  Doing &amp;lt;code&amp;gt;which qchem&amp;lt;/code&amp;gt; should give &amp;lt;code&amp;gt;/sharedscratch/maf63/qchem-general/bin/qchem&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Once you have Q-Chem set up, you&#039;ll be able to submit jobs. Here is a generic submit file for Q-Chem on cerebro:&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# Set default outfile if not defined&lt;br /&gt;
outfile=${outfile:-qchem.out}&lt;br /&gt;
scratch=${scratch:-qchem.scratch}&lt;br /&gt;
export OMP_NUM_THREADS=$SLURM_CPUS_ON_NODE&lt;br /&gt;
&lt;br /&gt;
# Run the calculation&lt;br /&gt;
echo &amp;quot;Using Q-Chem: &amp;quot; $QC &lt;br /&gt;
rm -rf $QCSCRATCH/$scratch&lt;br /&gt;
cp -r $scratch $QCSCRATCH/$scratch&lt;br /&gt;
qchem -nt $SLURM_CPUS_ON_NODE -save $infile $outfile $scratch&lt;br /&gt;
&lt;br /&gt;
# Recover the scratch directory (optional)&lt;br /&gt;
# cp -r $QCSCRATCH/$scratch/* $scratch/&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use this submit file, copy it to &amp;lt;code&amp;gt;submit.qchem&amp;lt;/code&amp;gt;, then do&lt;br /&gt;
# &amp;lt;code&amp;gt;export infile=&amp;lt;your_qchem_input_file&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
# &amp;lt;code&amp;gt;export outfile=&amp;lt;name_of_qchem_output_file&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
# &amp;lt;code&amp;gt;export scratch=&amp;lt;name_of_a_scratch_directory&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
# &amp;lt;code&amp;gt;sbatch &amp;lt;your options&amp;gt; submit.qchem&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Using QCMagic=&lt;br /&gt;
If you have not used QCMagic on cerebro before, you will need to install it first - instructions are available [https://wikis.ch.cam.ac.uk/thom/wiki/index.php/QCMagic#Installation here].&lt;br /&gt;
&lt;br /&gt;
Here is a submit file template for a QCMagic job:&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
export OMP_NUM_THREADS=$SLURM_CPUS_ON_NODE&lt;br /&gt;
&lt;br /&gt;
# Run the calculation&lt;br /&gt;
runscanSurface.py -p 12 -L --read-minima=1 etc... &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you copy this information to a file called &amp;lt;code&amp;gt;submit.qcmagic&amp;lt;/code&amp;gt;, you can then submit it with&lt;br /&gt;
&amp;lt;pre&amp;gt;sbatch $old $test submit.qcmagic&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include multiple commands in a submit file, e.g.:&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
export OMP_NUM_THREADS=$SLURM_CPUS_ON_NODE&lt;br /&gt;
&lt;br /&gt;
# Run the calculation&lt;br /&gt;
runscanSurface.py -p 12 -L --read-minima=4 --read-only output_file.out state_4_read &amp;gt; term_read&lt;br /&gt;
runqcSDExtract.py -p 12 -L --reconverge --rem=&amp;quot;SCF_CONVERGENCE 10&amp;quot; state_4_read.sd state_4 &amp;gt; term_reconv&lt;br /&gt;
runcombineSDXC.py -i state_1.sd state_2.sd state_3.sd state_4.sd -o states_1234 &amp;gt; term_sdxc&lt;br /&gt;
runrunSDXC.py -p 12 -L --template=template.in states_1234.sd states_1234 &amp;gt; term_new&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cak49</name></author>
	</entry>
	<entry>
		<id>https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Getting_Started_with_cerebro&amp;diff=883</id>
		<title>Getting Started with cerebro</title>
		<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Getting_Started_with_cerebro&amp;diff=883"/>
		<updated>2021-07-27T18:27:36Z</updated>

		<summary type="html">&lt;p&gt;Cak49: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Overview=&lt;br /&gt;
cerebro is a compute cluster.  Unlike on the workstations, jobs are not run directly from the command line (e.g. just doing &amp;lt;code&amp;gt;qchem file.in file.out&amp;lt;/code&amp;gt;).  Instead, jobs are sent to a queue which is managed by &amp;lt;code&amp;gt;SLURM&amp;lt;/code&amp;gt;.  To submit a job, you need to write a submit file with information about your job then submit it to the queue using the &amp;lt;code&amp;gt;sbatch&amp;lt;/code&amp;gt; command.  Jobs create a &amp;lt;code&amp;gt;slurm-&amp;lt;jobid&amp;gt;.out&amp;lt;/code&amp;gt; file which contains their terminal output.  If you think something might have gone wrong with a job (e.g. something crashed, it ran out of time, etc...) the &amp;lt;code&amp;gt;slurm&amp;lt;/code&amp;gt; file is usually a good place to start looking for the issue.&lt;br /&gt;
&lt;br /&gt;
General information about cerebro is available on the department website [https://www.ch.cam.ac.uk/computing/cerebro-user-notes here].&lt;br /&gt;
&lt;br /&gt;
=Helpful Commands=&lt;br /&gt;
==&amp;lt;code&amp;gt;sbatch&amp;lt;/code&amp;gt;==&lt;br /&gt;
&amp;lt;code&amp;gt;sbatch&amp;lt;/code&amp;gt; is used to submit a job to the queue, e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;sbatch $old $long submit_file&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can specify whether a job runs on the old nodes (12 CPUs max) or the new nodes (16 CPUs max) using &amp;lt;code&amp;gt;$old&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$new&amp;lt;/code&amp;gt;, respectively.&lt;br /&gt;
&lt;br /&gt;
You can also specify the partition on which you would like the job to run using one of four options:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;width: 8ex;&amp;quot; |&#039;&#039;&#039;Partition&#039;&#039;&#039; || style=&amp;quot;width: 14ex;&amp;quot; | &#039;&#039;&#039;sbatch Option&#039;&#039;&#039; || style=&amp;quot;width: 10ex;&amp;quot; | &#039;&#039;&#039;Time Limit&#039;&#039;&#039;|| style=&amp;quot;width: 45ex;&amp;quot; | &#039;&#039;&#039;Other Notes&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| TEST   || $test || 4 hours || highest priority partition - jobs should run right away&lt;br /&gt;
|-&lt;br /&gt;
| LONG  || $long || 48 hours || default partition&lt;br /&gt;
|-&lt;br /&gt;
| XLONG || $xlong || 7 days || 96 core limit&lt;br /&gt;
|-&lt;br /&gt;
| XXLONG   || $xxlong || 30 days  || 56 core limit&lt;br /&gt;
|}&lt;br /&gt;
More information about SLURM on cerebro is available on the department website [https://www.ch.cam.ac.uk/computing/slurm-usage here] and [https://www.ch.cam.ac.uk/computing/cerebro-queues-and-parallel-job-configuration here],  and general information about SLURM can be found [https://slurm.schedmd.com/overview.html here].&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;code&amp;gt;squeue&amp;lt;/code&amp;gt;==&lt;br /&gt;
To see all the jobs in the queue, do&lt;br /&gt;
&amp;lt;pre&amp;gt;squeue&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To see all the jobs that you have queued or running, do&lt;br /&gt;
&amp;lt;pre&amp;gt;squeue -u &amp;lt;your-crsid&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;code&amp;gt;scancel&amp;lt;/code&amp;gt;==&lt;br /&gt;
To cancel a job, do&lt;br /&gt;
&amp;lt;pre&amp;gt;scancel &amp;lt;JOBID&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Make sure you have the right job ID!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
More information on queuing is available [https://wikis.ch.cam.ac.uk/thom/wiki/index.php/Queuing here].&lt;br /&gt;
&lt;br /&gt;
=Using Q-Chem=&lt;br /&gt;
&lt;br /&gt;
If you have not used Q-Chem on cerebro before, first check whether you have access with &amp;lt;code&amp;gt;which qchem&amp;lt;/code&amp;gt;. If that does not return anything, you&#039;ll need to add a few lines to your &amp;lt;code&amp;gt;.bashrc&amp;lt;/code&amp;gt; file. For Q-Chem 5.3, add&lt;br /&gt;
&amp;lt;pre&amp;gt;# QChem&lt;br /&gt;
export QC=trunk&lt;br /&gt;
source /home/maf63/code/qcsetup-general.bash&lt;br /&gt;
source ~/.slurmrc&amp;lt;/pre&amp;gt;&lt;br /&gt;
to your &amp;lt;code&amp;gt;.bashrc&amp;lt;/code&amp;gt; file, then do &amp;lt;code&amp;gt;source ~/.bashrc&amp;lt;/code&amp;gt;.  Doing &amp;lt;code&amp;gt;which qchem&amp;lt;/code&amp;gt; should give &amp;lt;code&amp;gt;/sharedscratch/cbh31/code/qchem5/qc521/bin/qchem&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Once you have Q-Chem set up, you&#039;ll be able to submit jobs. Here is a generic submit file for Q-Chem on cerebro:&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# Set default outfile if not defined&lt;br /&gt;
outfile=${outfile:-qchem.out}&lt;br /&gt;
scratch=${scratch:-qchem.scratch}&lt;br /&gt;
export OMP_NUM_THREADS=$SLURM_CPUS_ON_NODE&lt;br /&gt;
&lt;br /&gt;
# Run the calculation&lt;br /&gt;
echo &amp;quot;Using Q-Chem: &amp;quot; $QC &lt;br /&gt;
rm -rf $QCSCRATCH/$scratch&lt;br /&gt;
cp -r $scratch $QCSCRATCH/$scratch&lt;br /&gt;
qchem -nt $SLURM_CPUS_ON_NODE -save $infile $outfile $scratch&lt;br /&gt;
&lt;br /&gt;
# Recover the scratch directory (optional)&lt;br /&gt;
# cp -r $QCSCRATCH/$scratch/* $scratch/&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use this submit file, copy it to &amp;lt;code&amp;gt;submit.qchem&amp;lt;/code&amp;gt;, then do&lt;br /&gt;
# &amp;lt;code&amp;gt;export infile=&amp;lt;your_qchem_input_file&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
# &amp;lt;code&amp;gt;export outfile=&amp;lt;name_of_qchem_output_file&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
# &amp;lt;code&amp;gt;export scratch=&amp;lt;name_of_a_scratch_directory&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
# &amp;lt;code&amp;gt;sbatch &amp;lt;your options&amp;gt; submit.qchem&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Using QCMagic=&lt;br /&gt;
If you have not used QCMagic on cerebro before, you will need to install it first - instructions are available [https://wikis.ch.cam.ac.uk/thom/wiki/index.php/QCMagic#Installation here].&lt;br /&gt;
&lt;br /&gt;
Here is a submit file template for a QCMagic job:&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
export OMP_NUM_THREADS=$SLURM_CPUS_ON_NODE&lt;br /&gt;
&lt;br /&gt;
# Run the calculation&lt;br /&gt;
runscanSurface.py -p 12 -L --read-minima=1 etc... &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you copy this information to a file called &amp;lt;code&amp;gt;submit.qcmagic&amp;lt;/code&amp;gt;, you can then submit it with&lt;br /&gt;
&amp;lt;pre&amp;gt;sbatch $old $test submit.qcmagic&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include multiple commands in a submit file, e.g.:&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
export OMP_NUM_THREADS=$SLURM_CPUS_ON_NODE&lt;br /&gt;
&lt;br /&gt;
# Run the calculation&lt;br /&gt;
runscanSurface.py -p 12 -L --read-minima=4 --read-only output_file.out state_4_read &amp;gt; term_read&lt;br /&gt;
runqcSDExtract.py -p 12 -L --reconverge --rem=&amp;quot;SCF_CONVERGENCE 10&amp;quot; state_4_read.sd state_4 &amp;gt; term_reconv&lt;br /&gt;
runcombineSDXC.py -i state_1.sd state_2.sd state_3.sd state_4.sd -o states_1234 &amp;gt; term_sdxc&lt;br /&gt;
runrunSDXC.py -p 12 -L --template=template.in states_1234.sd states_1234 &amp;gt; term_new&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cak49</name></author>
	</entry>
	<entry>
		<id>https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=QChem&amp;diff=882</id>
		<title>QChem</title>
		<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=QChem&amp;diff=882"/>
		<updated>2021-07-27T14:22:02Z</updated>

		<summary type="html">&lt;p&gt;Cak49: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Q-Chem is a commercial quantum chemistry package available for use in our group.&lt;br /&gt;
&lt;br /&gt;
==Fragment Guesses with multiple bases==&lt;br /&gt;
To use basis set projection and fragment guesses you have to run the smaller basis set calculation with fragments first, and then read this into a second calculation which does the projection&lt;br /&gt;
&amp;lt;pre&amp;gt;$molecule&lt;br /&gt;
     0 1&lt;br /&gt;
  --&lt;br /&gt;
  0 1&lt;br /&gt;
     H       0.000000    -0.115747     1.133769&lt;br /&gt;
     H       0.000000     1.109931    -0.113383&lt;br /&gt;
     O       0.000000     0.005817    -0.020386&lt;br /&gt;
  --&lt;br /&gt;
  0 1&lt;br /&gt;
     He      10000   0 0&lt;br /&gt;
  $end&lt;br /&gt;
&lt;br /&gt;
  $rem&lt;br /&gt;
     JOBTYPE              sp&lt;br /&gt;
     EXCHANGE             b3lyp&lt;br /&gt;
     BASIS                cc-pVDZ&lt;br /&gt;
     scf_guess fragmo&lt;br /&gt;
     CORRELATION          none&lt;br /&gt;
     SYMMETRY             false&lt;br /&gt;
     SYM_IGNORE           true&lt;br /&gt;
  $end&lt;br /&gt;
&lt;br /&gt;
  @@@&lt;br /&gt;
&lt;br /&gt;
  $molecule&lt;br /&gt;
  read&lt;br /&gt;
  $end&lt;br /&gt;
&lt;br /&gt;
  $rem&lt;br /&gt;
     scf_guess read&lt;br /&gt;
     JOBTYPE              sp&lt;br /&gt;
     EXCHANGE             b3lyp&lt;br /&gt;
     BASIS                cc-pVTZ&lt;br /&gt;
     BASIS2                cc-pVDZ&lt;br /&gt;
     CORRELATION          none&lt;br /&gt;
     MAX_SCF_CYCLES       600&lt;br /&gt;
     SYMMETRY             false&lt;br /&gt;
     SYM_IGNORE           true&lt;br /&gt;
     basisprojtype ovprojection&lt;br /&gt;
  $end&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==INTDUMP / FCIDUMP ==&lt;br /&gt;
To create files in the FCIDUMP format (used e.g. by Hande) create a QChem input file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$molecule&lt;br /&gt;
0 1&lt;br /&gt;
  H 0 0 0&lt;br /&gt;
  H 1 0 0&lt;br /&gt;
$end&lt;br /&gt;
&lt;br /&gt;
$rem&lt;br /&gt;
  correlation idump&lt;br /&gt;
  exchange hf&lt;br /&gt;
  basis sto-3G&lt;br /&gt;
  use_abelian_subgroup true&lt;br /&gt;
  scf_guess_print 9999&lt;br /&gt;
$end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and use the version of QChem currently (2020-02-20) available from:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[you@liminal] $ export QC=public_o&lt;br /&gt;
[you@liminal] $ source ~ajwt3/code/qchem/qcsetup.bash&lt;br /&gt;
[you@liminal] $ qchem your-input-file.in&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should produce a file called &amp;lt;code&amp;gt;INTDUMP&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;amp;FCI NORB= 2,NELEC=  2,MS2=  0&lt;br /&gt;
  ORBSYM=1,6,&lt;br /&gt;
  ISYM=1 UHF=.FALSE.&lt;br /&gt;
 &amp;amp;END&lt;br /&gt;
     0.62640249948715   1   1   1   1&lt;br /&gt;
     0.19679058349422   1   2   1   2&lt;br /&gt;
      0.6217067630807   2   2   1   1&lt;br /&gt;
     0.19679058349422   2   1   1   2&lt;br /&gt;
     0.19679058349422   2   1   2   1&lt;br /&gt;
     0.65307074688898   2   2   2   2&lt;br /&gt;
     -1.1108441795661   1   1   0   0&lt;br /&gt;
    -0.58912100326925   2   2   0   0&lt;br /&gt;
    -0.39980670964291   1   0   0   0&lt;br /&gt;
     0.37823811728909   2   0   0   0&lt;br /&gt;
     0.52917721026434   0   0   0   0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting SCF Metadynamics Calculations==&lt;br /&gt;
&lt;br /&gt;
A full example for SCF Metadynamics can be found at [https://wikis.ch.cam.ac.uk/thom/wiki/index.php/QCMagic QCMagic SymmetryTools Tutorial (Section 7.1)].  This section provides more information on how to choose parameters in different situations.&lt;br /&gt;
&lt;br /&gt;
If a calculation repeatedly converges on the same solution, adjusting one or more of these keywords can help to find different solutions.&lt;br /&gt;
* Increasing &amp;lt;code&amp;gt;SCF_MINFIND_INITNORM&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;SCF_MINFIND_INITLAMBDA&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;SCF_MINFIND_INCREASEFACTOR&amp;lt;/code&amp;gt; can help get out of the minimum.  However, setting &amp;lt;code&amp;gt;SCF_MINFIND_INITLAMBDA&amp;lt;/code&amp;gt; too high can result in SCF solutions with very high energies, and &amp;lt;code&amp;gt;SCF_MINFIND_INITNORM&amp;lt;/code&amp;gt; can get in the way of convergence, particularly when reading in a solution (in that case, set it to zero).&lt;br /&gt;
* Increasing &amp;lt;code&amp;gt;SCF_MINFIND_RESTARTSTEPS&amp;lt;/code&amp;gt; helps if a solution is close to another minima but does not converge before the calculation restarts with new orbitals&lt;br /&gt;
* Changing &amp;lt;code&amp;gt;SCF_MINFIND_RANDOMMIXING&amp;lt;/code&amp;gt; is generally helpful.  +/- 15708 and 31416 are sensible values to try, and 07854 (which corresponds to halfway between swapping the orbitals) can also help.&lt;br /&gt;
&lt;br /&gt;
If the resulting solutions are too high in energy,&lt;br /&gt;
* decreasing &amp;lt;code&amp;gt;SCF_MINFIND_INITNORM&amp;lt;/code&amp;gt; &lt;br /&gt;
* decreasing &amp;lt;code&amp;gt;SCF_MINFIND_INITLAMBDA&amp;lt;/code&amp;gt; &lt;br /&gt;
* decreasing &amp;lt;code&amp;gt;SCF_MINFIND_MIXENERGY&amp;lt;/code&amp;gt; (even to 00005)&lt;br /&gt;
* adjusting &amp;lt;code&amp;gt;MOM_START&amp;lt;/code&amp;gt;&lt;br /&gt;
* and using &amp;lt;code&amp;gt;SCF_MINFIND_MIXMETHOD&amp;lt;/code&amp;gt; 1 or 2&lt;br /&gt;
can help to find lower-energy excited states.&lt;br /&gt;
&lt;br /&gt;
==NOCI Tutorial==&lt;br /&gt;
This tutorial includes two possible methods for doing NOCI.  The examples below show how to do NOCI at a single geometry, but these methods can easily be extended to cover NOCI at multiple points along a path.&lt;br /&gt;
&lt;br /&gt;
===Method #1===&lt;br /&gt;
In this approach, we find minima using SCF Metadynamics and then do NOCI on them in the same Q-Chem output file. A sample Q-Chem input file for formaldehyde is shown below. In this example, we have Q-Chem generate four initial reference determinants using SCF Metadynamics by selecting &amp;lt;code&amp;gt;NOCI_REGEN 0&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;NOCI_DETGEN 3&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;SCF_SAVEMINIMA 4&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$molecule&lt;br /&gt;
0 1&lt;br /&gt;
  H   -0.0000000    0.9275885    1.1766889&lt;br /&gt;
  C   -0.0000000    0.0000000    0.6019825&lt;br /&gt;
  H   -0.0000000   -0.9275885    1.1766889&lt;br /&gt;
  O    0.0000000   -0.0000000   -0.6001772&lt;br /&gt;
$end&lt;br /&gt;
&lt;br /&gt;
$rem&lt;br /&gt;
   EXCHANGE                   HF&lt;br /&gt;
   CORRELATION                NOCI&lt;br /&gt;
   BASIS		      STO-3G&lt;br /&gt;
   UNRESTRICTED               true&lt;br /&gt;
   MAX_SCF_CYCLES             1000&lt;br /&gt;
   SCF_CONVERGENCE            10&lt;br /&gt;
   MOM_START                  1&lt;br /&gt;
   SCF_SAVEMINIMA             4&lt;br /&gt;
   SCF_MINFIND_INITNORM       05000&lt;br /&gt;
   SCF_MINFIND_INITLAMBDA     00300&lt;br /&gt;
   SCF_MINFIND_RANDOMMIXING   30000&lt;br /&gt;
   SCF_MINFIND_MIXMETHOD      1&lt;br /&gt;
   USE_LIBNOCI                true&lt;br /&gt;
   NOCI_REFGEN                0&lt;br /&gt;
   NOCI_DETGEN                3&lt;br /&gt;
   NOCI_NEIGVAL               4&lt;br /&gt;
   NOCI_PRINT                 5&lt;br /&gt;
$end&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We then run &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;qchem formaldehyde.noci.in formaldehyde.noci.out&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and look for the energies of the SCF solutions with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;grep “Saving Minimum” formaldehyde.noci.out&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which gives&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;      Saving Minimum 1:    -112.3535105301&lt;br /&gt;
      Saving Minimum 2:    -111.9177589859&lt;br /&gt;
      Saving Minimum 3:    -111.7116823375&lt;br /&gt;
      Saving Minimum 4:    -112.3571993219&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Information about the resulting NOCI states is printed at the end of the output file.  In this example, the energies and S^2 values can be examined with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -A5 &amp;quot;NOCI Energy&amp;quot; formaldehyde.noci.out&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
giving&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;  NOCI Energy:&lt;br /&gt;
            1           2           3           4    &lt;br /&gt;
    1  -112.36268  -112.16945  -111.91685  -111.71168&lt;br /&gt;
  NOCI &amp;lt;S^2&amp;gt;:&lt;br /&gt;
            1           2           3           4    &lt;br /&gt;
    1   0.0835515   1.8508569   0.0321459   1.0273785&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Method #2===&lt;br /&gt;
In this method, we use QCMagic to read in SCF Metadynamics states in &amp;lt;code&amp;gt;.sd&amp;lt;/code&amp;gt; files into a Q-Chem NOCI calculation.  &lt;br /&gt;
&lt;br /&gt;
In this example, we are starting with HF SCF solutions for formaldehyde in four separate &amp;lt;code&amp;gt;.sd&amp;lt;/code&amp;gt; files (&amp;lt;code&amp;gt;form.s1.sd&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;form.s2.sd&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;form.s3.sd&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;form.s4.sd&amp;lt;/code&amp;gt;) with the following energies:&lt;br /&gt;
&amp;lt;pre&amp;gt;-112.3535105299      Minimum 1&lt;br /&gt;
-111.9177348081      Minimum 2&lt;br /&gt;
-111.4909067597      Minimum 3&lt;br /&gt;
-111.8200842261      Minimum 4&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
First, we combine all &amp;lt;code&amp;gt;.sd&amp;lt;/code&amp;gt; files for the states at a particular geometry using &amp;lt;code&amp;gt;runcombineSDXC.py&amp;lt;/code&amp;gt;, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;runcombineSDXC.py -i form.s1.sd\&lt;br /&gt;
                     form.s2.sd\&lt;br /&gt;
                     form.s3.sd\&lt;br /&gt;
                     form.s4.sd\&lt;br /&gt;
                  -o form_1234 &amp;gt; terminal_sdxc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This creates an &amp;lt;code&amp;gt;.sd&amp;lt;/code&amp;gt; file, &amp;lt;code&amp;gt;form_1234.sd&amp;lt;/code&amp;gt;, which contains all the minima at that geometry.  We then use &amp;lt;code&amp;gt;runrunSDXC.py&amp;lt;/code&amp;gt; to apply a template for NOCI and call Q-Chem:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;runrunSDXC.py -p 12 -L --template=noci.template form_1234.sd noci_form_1234 &amp;gt; terminal_noci&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An example &amp;lt;code&amp;gt;noci.template&amp;lt;/code&amp;gt; file for LIBNOCI is shown below: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$molecule&lt;br /&gt;
read&lt;br /&gt;
$end&lt;br /&gt;
&lt;br /&gt;
$rem&lt;br /&gt;
        EXCHANGE                HF&lt;br /&gt;
        CORRELATION             NOCI&lt;br /&gt;
        UNRESTRICTED            TRUE&lt;br /&gt;
        BASIS                   STO-3G&lt;br /&gt;
        SCF_SAVEMINIMA          4&lt;br /&gt;
        SCF_READMINIMA          -4&lt;br /&gt;
        NOCI_PRINT              10&lt;br /&gt;
        USE_LIBNOCI             TRUE&lt;br /&gt;
        NOCI_REFGEN             1&lt;br /&gt;
        NOCI_DETGEN             0&lt;br /&gt;
        SKIP_SCFMAN             TRUE&lt;br /&gt;
        SYMMETRY                OFF&lt;br /&gt;
$end&lt;br /&gt;
&lt;br /&gt;
$noci&lt;br /&gt;
1 2 3 4&lt;br /&gt;
$end&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this template, we specify &amp;lt;code&amp;gt;NOCI_REFGEN 1&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;NOCI_DETGEN 0&amp;lt;/code&amp;gt; since we are reading in our reference determinants and do not wish to generate any more.  We use the &amp;lt;code&amp;gt;$noci&amp;lt;/code&amp;gt; section to specify which states to read in: here, we read in all the states, though we could read in a subset of the states in the &amp;lt;code&amp;gt;.sd&amp;lt;/code&amp;gt; file if we wanted to.  In this example, we use &amp;lt;code&amp;gt;SKIP_SCFMAN TRUE&amp;lt;/code&amp;gt; to avoid reconverging the solutions.  If we wanted to reconverge them, we would omit this option and include any missing SCF options in the template.&lt;br /&gt;
&lt;br /&gt;
We can now examine our output file, &amp;lt;code&amp;gt;noci_form_1234.g0.xc0.out&amp;lt;/code&amp;gt;.  First, we check the energies of the HF states we read in with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;grep &amp;quot;Total Energy =&amp;quot; noci_form_1234.g0.xc0.out&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which gives&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;    Total Energy =     -112.3535105266&lt;br /&gt;
    Total Energy =     -111.9177347312&lt;br /&gt;
    Total Energy =     -111.4909067030&lt;br /&gt;
    Total Energy =     -111.8200841138&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and examine the energies and S^2 values of the NOCI solutions with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -A5 &amp;quot;NOCI Energy&amp;quot; noci_form_1234.g0.xc0.out&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
giving&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;  NOCI Energy:&lt;br /&gt;
            1           2           3           4    &lt;br /&gt;
    1  -112.35436  -111.91688  -111.82008  -111.49091&lt;br /&gt;
  NOCI &amp;lt;S^2&amp;gt;:&lt;br /&gt;
            1           2           3           4    &lt;br /&gt;
    1   0.0000000   0.0000000   1.0107832   1.9977364&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(N.B. If we compare the NOCI states from method #1 and method #2, we notice that they are different because we used different HF states in both methods. If we had used the same states in both examples, we would get the same NOCI results.)&lt;br /&gt;
&lt;br /&gt;
===Further Information===&lt;br /&gt;
Finding SCF solutions with Metadynamics:&lt;br /&gt;
* [https://wikis.ch.cam.ac.uk/thom/wiki/index.php/QCMagic QCMagic SymmetryTools Tutorial (Section 7.1)] &lt;br /&gt;
* Q-Chem section on Troubleshooting Metadynamics Calculations: see above&lt;br /&gt;
* [https://manual.q-chem.com/5.3/sec_SCF-meta-dyn.html Q-Chem documentation on SCF Metadynamics (Section 4.9.2)]&lt;br /&gt;
* [https://manual.q-chem.com/5.3/subsubsec_SCFMetadynNOCI.html Q-Chem documentation on the LIBNOCI implementation of SCF Metadynamics (Section 4.9.3)]&lt;br /&gt;
NOCI&lt;br /&gt;
* [https://manual.q-chem.com/5.3/subsec_NOCI.html Q-Chem documentation for NOCI (Section 7.4)]&lt;br /&gt;
* Burton H. G. A.; Thom, A. J. W. General Approach for Multireference Ground and Excited States Using Nonorthogonal Configuration Interaction. J Chem. Theory Comput. 2019, 15, 4851.&lt;br /&gt;
Keywords for different implementations of NOCI in Q-Chem&lt;br /&gt;
* LIBNOCI (most recent implementation):  &amp;lt;code&amp;gt;USE_LIBNOCI TRUE&amp;lt;/code&amp;gt;&lt;br /&gt;
* older implementation: &amp;lt;code&amp;gt;USE_LIBNOCI FALSE&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;GEN_SCFMAN OFF&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cak49</name></author>
	</entry>
	<entry>
		<id>https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Getting_Started_with_cerebro&amp;diff=880</id>
		<title>Getting Started with cerebro</title>
		<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Getting_Started_with_cerebro&amp;diff=880"/>
		<updated>2021-07-25T00:03:06Z</updated>

		<summary type="html">&lt;p&gt;Cak49: Added information about getting started with cerebro&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Overview=&lt;br /&gt;
cerebro is a compute cluster.  Unlike on the workstations, jobs are not run directly from the command line (e.g. just doing &amp;lt;code&amp;gt;qchem file.in file.out&amp;lt;/code&amp;gt;).  Instead, jobs are sent to a queue which is managed by &amp;lt;code&amp;gt;SLURM&amp;lt;/code&amp;gt;.  To submit a job, you need to write a submit file with information about your job then submit it to the queue using the &amp;lt;code&amp;gt;sbatch&amp;lt;/code&amp;gt; command.  Jobs create a &amp;lt;code&amp;gt;slurm-&amp;lt;jobid&amp;gt;.out&amp;lt;/code&amp;gt; file which contains their terminal output.  If you think something might have gone wrong with a job (e.g. something crashed, it ran out of time, etc...) the &amp;lt;code&amp;gt;slurm&amp;lt;/code&amp;gt; file is usually a good place to start looking for the issue.&lt;br /&gt;
&lt;br /&gt;
General information about cerebro is available on the department website [https://www.ch.cam.ac.uk/computing/cerebro-user-notes here].&lt;br /&gt;
&lt;br /&gt;
=Helpful Commands=&lt;br /&gt;
==&amp;lt;code&amp;gt;sbatch&amp;lt;/code&amp;gt;==&lt;br /&gt;
&amp;lt;code&amp;gt;sbatch&amp;lt;/code&amp;gt; is used to submit a job to the queue, e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;sbatch $old $long submit_file&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can specify whether a job runs on the old nodes (12 CPUs max) or the new nodes (16 CPUs max) using &amp;lt;code&amp;gt;$old&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$new&amp;lt;/code&amp;gt;, respectively.&lt;br /&gt;
&lt;br /&gt;
You can also specify the partition on which you would like the job to run using one of four options:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;width: 8ex;&amp;quot; |&#039;&#039;&#039;Partition&#039;&#039;&#039; || style=&amp;quot;width: 14ex;&amp;quot; | &#039;&#039;&#039;sbatch Option&#039;&#039;&#039; || style=&amp;quot;width: 10ex;&amp;quot; | &#039;&#039;&#039;Time Limit&#039;&#039;&#039;|| style=&amp;quot;width: 45ex;&amp;quot; | &#039;&#039;&#039;Other Notes&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| TEST   || $test || 4 hours || highest priority partition - jobs should run right away&lt;br /&gt;
|-&lt;br /&gt;
| LONG  || $long || 48 hours || default partition&lt;br /&gt;
|-&lt;br /&gt;
| XLONG || $xlong || 7 days || 96 core limit&lt;br /&gt;
|-&lt;br /&gt;
| XXLONG   || $xxlong || 30 days  || 56 core limit&lt;br /&gt;
|}&lt;br /&gt;
More information about SLURM on cerebro is available on the department website [https://www.ch.cam.ac.uk/computing/slurm-usage here] and [https://www.ch.cam.ac.uk/computing/cerebro-queues-and-parallel-job-configuration here],  and general information about SLURM can be found [https://slurm.schedmd.com/overview.html here].&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;code&amp;gt;squeue&amp;lt;/code&amp;gt;==&lt;br /&gt;
To see all the jobs in the queue, do&lt;br /&gt;
&amp;lt;pre&amp;gt;squeue&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To see all the jobs that you have queued or running, do&lt;br /&gt;
&amp;lt;pre&amp;gt;squeue -u &amp;lt;your-crsid&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;code&amp;gt;scancel&amp;lt;/code&amp;gt;==&lt;br /&gt;
To cancel a job, do&lt;br /&gt;
&amp;lt;pre&amp;gt;scancel &amp;lt;JOBID&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Make sure you have the right job ID!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
More information on queuing is available [https://wikis.ch.cam.ac.uk/thom/wiki/index.php/Queuing here].&lt;br /&gt;
&lt;br /&gt;
=Using Q-Chem=&lt;br /&gt;
If you have not used Q-Chem on cerebro before, first check if you have access with &amp;lt;code&amp;gt;which qchem&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Once you have Q-Chem set up, you&#039;ll be able to submit jobs. Here is a generic submit file for Q-Chem on cerebro:&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# Set default outfile if not defined&lt;br /&gt;
outfile=${outfile:-qchem.out}&lt;br /&gt;
scratch=${scratch:-qchem.scratch}&lt;br /&gt;
export OMP_NUM_THREADS=$SLURM_CPUS_ON_NODE&lt;br /&gt;
&lt;br /&gt;
# Run the calculation&lt;br /&gt;
echo &amp;quot;Using Q-Chem: &amp;quot; $QC &lt;br /&gt;
rm -rf $QCSCRATCH/$scratch&lt;br /&gt;
cp -r $scratch $QCSCRATCH/$scratch&lt;br /&gt;
qchem -nt $SLURM_CPUS_ON_NODE -save $infile $outfile $scratch&lt;br /&gt;
&lt;br /&gt;
# Recover the scratch directory (optional)&lt;br /&gt;
# cp -r $QCSCRATCH/$scratch/* $scratch/&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use this submit file, copy it to &amp;lt;code&amp;gt;submit.qchem&amp;lt;/code&amp;gt;, then do&lt;br /&gt;
# &amp;lt;code&amp;gt;export infile=&amp;lt;your_qchem_input_file&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
# &amp;lt;code&amp;gt;export outfile=&amp;lt;name_of_qchem_output_file&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
# &amp;lt;code&amp;gt;export scratch=&amp;lt;name_of_a_scratch_directory&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
# &amp;lt;code&amp;gt;sbatch &amp;lt;your options&amp;gt; submit.qchem&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Using QCMagic=&lt;br /&gt;
If you have not used QCMagic on cerebro before, you will need to install it first - instructions are available [https://wikis.ch.cam.ac.uk/thom/wiki/index.php/QCMagic#Installation here].&lt;br /&gt;
&lt;br /&gt;
Here is a submit file template for a QCMagic job:&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
export OMP_NUM_THREADS=$SLURM_CPUS_ON_NODE&lt;br /&gt;
&lt;br /&gt;
# Run the calculation&lt;br /&gt;
runscanSurface.py -p 12 -L --read-minima=1 etc... &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you copy this information to a file called &amp;lt;code&amp;gt;submit.qcmagic&amp;lt;/code&amp;gt;, you can then submit it with&lt;br /&gt;
&amp;lt;pre&amp;gt;sbatch $old $test submit.qcmagic&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include multiple commands in a submit file.&lt;/div&gt;</summary>
		<author><name>Cak49</name></author>
	</entry>
	<entry>
		<id>https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Main_Page&amp;diff=879</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Main_Page&amp;diff=879"/>
		<updated>2021-07-24T23:44:40Z</updated>

		<summary type="html">&lt;p&gt;Cak49: Added page on getting started with cerebro&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&lt;br /&gt;
 # _________  # ___   ___     # ______      # ___ __ __     #  # _______     # ______       # ______      # __  __      # ______    #&lt;br /&gt;
 #/________/\ #/__/\ /__/\    #/_____/\     #/__//_//_/\    #  #/______/\    #/_____/\      #/_____/\     #/_/\/_/\     #/_____/\   #&lt;br /&gt;
 #\__.::.__\/ #\::\ \\  \ \   #\:::_ \ \    #\::\| \| \ \   #  #\::::__\/__  #\:::_ \ \     #\:::_ \ \    #\:\ \:\ \    #\:::_ \ \  #&lt;br /&gt;
 #   \::\ \   # \::\/_\ .\ \  # \:\ \ \ \   # \:.      \ \  #  # \:\ /____/\ # \:(_) ) )_   # \:\ \ \ \   # \:\ \:\ \   # \:(_) \ \ #&lt;br /&gt;
 #    \::\ \  #  \:: ___::\ \ #  \:\ \ \ \  #  \:.\-/\  \ \ #  #  \:\\_  _\/ #  \: __ `\ \  #  \:\ \ \ \  #  \:\ \:\ \  #  \: ___\/ #&lt;br /&gt;
 #     \::\ \ #   \: \ \\::\ \#   \:\_\ \ \ #   \. \  \  \ \#  #   \:\_\ \ \ #   \ \ `\ \ \ #   \:\_\ \ \ #   \:\_\:\ \ #   \ \ \   #&lt;br /&gt;
 #      \__\/ #    \__\/ \::\/#    \_____\/ #    \__\/ \__\/#  #    \_____\/ #    \_\/ \_\/ #    \_____\/ #    \_____\/ #    \_\/   #&lt;br /&gt;
 #            #               #             #               #  #             #              #             #             #           #&lt;br /&gt;
&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Hello, Guten Abend, and Bienvenue to the new Thom Group Wiki. (Apparently evenings are good times to read the Wiki.)&lt;br /&gt;
&lt;br /&gt;
In this Wiki you can find various pieces of useful information, such as when group meetings are, who is going to bring cake, how to run a particular calculation or perform a certain computer trick, who&#039;s using which computer in the group, and so on. You can also see how fun we are as a group by looking at our various photos.&lt;br /&gt;
&lt;br /&gt;
=Group Calendar=&lt;br /&gt;
https://calendar.google.com/calendar/render?mode=day&amp;amp;date=20160601T153539#main_7%7Cday-1+23745+23745+23745&lt;br /&gt;
&lt;br /&gt;
{{Special:IframePage}}&lt;br /&gt;
&lt;br /&gt;
=Group Meetings=&lt;br /&gt;
&lt;br /&gt;
Past Group Meetings [[Past Group Meetings|here]].&lt;br /&gt;
&lt;br /&gt;
===Summer 2021===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;width: 20ex;&amp;quot; |&#039;&#039;&#039;Date&#039;&#039;&#039; || style=&amp;quot;width: 18ex;&amp;quot; | &#039;&#039;&#039;Talk&#039;&#039;&#039; || style=&amp;quot;width: 18ex;&amp;quot; | &#039;&#039;&#039;Cake&#039;&#039;&#039; &lt;br /&gt;
|-&lt;br /&gt;
|12th July 2021 || INFORMAL || &lt;br /&gt;
|-&lt;br /&gt;
|20th July 2021 || INFORMAL || &lt;br /&gt;
|-&lt;br /&gt;
|27th July 2021 || Cesar &amp;amp; Tarik ||  &lt;br /&gt;
|-&lt;br /&gt;
|3rd August 2021 || Constance || &lt;br /&gt;
|-&lt;br /&gt;
|9th August 2021 || INFORMAL ||  &lt;br /&gt;
|-&lt;br /&gt;
|16th August 2021 || INFORMAL || &lt;br /&gt;
|-&lt;br /&gt;
|23rd August 2021|| Benjamin || &lt;br /&gt;
|-&lt;br /&gt;
|30th August 2021|| INFORMAL || &lt;br /&gt;
|-&lt;br /&gt;
|6th September 2021 || Arta ||&lt;br /&gt;
|-&lt;br /&gt;
|13th September 2021 || ||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Summer &#039;Interns&#039;=&lt;br /&gt;
Past Summer Interns [[Past Summer Interns|here]].&lt;br /&gt;
==2021==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;width: 18ex;&amp;quot; |&#039;&#039;&#039;Name&#039;&#039;&#039; || style=&amp;quot;width: 18ex;&amp;quot; | &#039;&#039;&#039;Dates&#039;&#039;&#039; || style=&amp;quot;width: 25ex;&amp;quot; | &#039;&#039;&#039;Project&#039;&#039;&#039;|| style=&amp;quot;width: 18ex;&amp;quot; | &#039;&#039;&#039;Machine&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Anna Bui   || 19th Jul - 17th Sep || NOCI Carbon Capture || hypatia&lt;br /&gt;
|-&lt;br /&gt;
| Zian Wang  || 19th Jul - 17th Sep || NOCI Photochemistry || obsidian&lt;br /&gt;
|-&lt;br /&gt;
| Brian Zhao || 19th Jul - 17th Sep || Stochastic Coupled Cluster || gritstone&lt;br /&gt;
|-&lt;br /&gt;
| Nick Lee   || 19th Jul - 17th Sep || NOCI Singlet Fission  || moonraker&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= [[Group_List | Group List]] =&lt;br /&gt;
The full timeline of all current and past group members is available [https://wikis.ch.cam.ac.uk/thom/wiki/index.php/Group_List here].&lt;br /&gt;
&lt;br /&gt;
An up to date list of group members is also available [http://www.ch.cam.ac.uk/group/thom here].&lt;br /&gt;
&lt;br /&gt;
[[File:AJWT_group_photo_2_5_19-4926_taken_by_Nathan_Pitt_University_of_Cambridge-tighter.jpg|500px|thumb|center|Thom Group photo - taken by Nathan Pitt, ©University of Cambridge, May 2019]]&lt;br /&gt;
[[File:AJWT_Group_photo-5470_taken_by_Nathan_Pitt_University_of_Cambridge.jpg|500px|thumb|center|Thom Group photo - taken by Nathan Pitt, ©University of Cambridge, November 2017]]&lt;br /&gt;
&lt;br /&gt;
= [[Computer_List | Computer List]] =&lt;br /&gt;
- Group computers available.&lt;br /&gt;
&lt;br /&gt;
= [[Introduction | Introduction to basic shell commands]] = &lt;br /&gt;
- There are a number of tutorials available which document basic operations that are useful including:&lt;br /&gt;
&lt;br /&gt;
# General bash commands&lt;br /&gt;
# Setting up cygwin&lt;br /&gt;
# Setting up [https://git-scm.com/book/en/v2/Git-on-the-Server-Generating-Your-SSH-Public-Key ssh keys] and general bash commands what are helpful&lt;br /&gt;
# Setting up ssh config files&lt;br /&gt;
# using [[GIT]]&lt;br /&gt;
# Useful cerebro queue commands&lt;br /&gt;
# Some [[vim]] tidbits&lt;br /&gt;
&lt;br /&gt;
Currently undergoing construction.&lt;br /&gt;
&lt;br /&gt;
= How to connect to department machines =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;On Mac/WSL:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Check you have an Admitto account and collect your password from https://www.ch.cam.ac.uk/computing/admitto-service&lt;br /&gt;
# In the terminal run the command &#039;&#039;ssh -X crsid@citadel.ch.cam.ac.uk&#039;&#039;&lt;br /&gt;
# When prompted input your Admitto username (crsid) and password &lt;br /&gt;
# Once this has worked run the command &#039;&#039;ssh -X crsid@machinename&#039;&#039; in the terminal to log into a particular machine&lt;br /&gt;
&lt;br /&gt;
Set up logging in without a password:&lt;br /&gt;
&lt;br /&gt;
# Generate an ssh key by running the command &#039;&#039;ssh-keygen&#039;&#039; in the terminal, as described in detail in the section &amp;quot;Introduction to basic shell commands&amp;quot;&lt;br /&gt;
# Use &#039;&#039;cd ~/.ssh&#039;&#039; to navigate to the directory holding the keys, and copy the text from the file &amp;quot;id_rsa.pub&amp;quot; beginning with ssh-rsa. This is your public ssh key&lt;br /&gt;
# Log into the department citadel machine, and create / navigate to a directory called .ssh&lt;br /&gt;
# Use &#039;&#039;chmod 700 .ssh&#039;&#039; to set permissions for the directory&lt;br /&gt;
# Input &#039;&#039;vi authorized_keys&#039;&#039; to open up the vi text editor. Press i, then paste in your public ssh key. Press escape, then type &#039;&#039;:wq&#039;&#039; and press enter to write and quit the editor &lt;br /&gt;
# Log into the particular machine you want to ssh to, and repeat steps 3 to 5&lt;br /&gt;
# Exit back to your machine and navigate to the home directory&lt;br /&gt;
# Input &#039;&#039;vi .ssh/config&#039;&#039; to open the vi text editor. Press i, then paste in the following, with your crsid and machine name in the places given:&lt;br /&gt;
   Host citadel&lt;br /&gt;
      User crsid&lt;br /&gt;
      Hostname citadel.ch.cam.ac.uk&lt;br /&gt;
      ForwardAgent yes&lt;br /&gt;
      ProxyCommand none&lt;br /&gt;
   Host machinename&lt;br /&gt;
      Hostname machinename&lt;br /&gt;
      ProxyCommand ssh citadel -W %h:%p&lt;br /&gt;
      User crsid&lt;br /&gt;
      ForwardAgent yes&lt;br /&gt;
      ServerAliveInterval 60&lt;br /&gt;
      ServerAliveCountMax 10&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Press escape, then input &#039;&#039;:wq&#039;&#039; followed by enter to exit the editor.&lt;br /&gt;
You can now log straight into citadel with &#039;&#039;ssh citadel&#039;&#039; or straight into your machine with &#039;&#039;ssh machinename&#039;&#039;. The last two commands stop the ssh being killed if you are idle for too long. The &#039;&#039;ServerAliveInterval&#039;&#039; is how many seconds to ping a null packet, and the &#039;&#039;ServerAliveCountMax&#039;&#039; are how many consecutive times it needs to fail for the ssh to be killed.&lt;br /&gt;
&lt;br /&gt;
= Useful Software =&lt;br /&gt;
# Using [[QChem]]&lt;br /&gt;
# Using [[QCMagic]]&lt;br /&gt;
# [[SimpleDMC]]&lt;br /&gt;
# [[MRCC]]&lt;br /&gt;
&lt;br /&gt;
= Useful Information =&lt;br /&gt;
# Guidelines on [[Code Review]]&lt;br /&gt;
# How to do things relating to [[HANDE]]&lt;br /&gt;
# How to run PySCF or other [[Python software on Archer]]&lt;br /&gt;
# How to run QChem on [[darwin]]&lt;br /&gt;
# Where to get [[Travel Money]]&lt;br /&gt;
# Backed-up [[Storage]]&lt;br /&gt;
# [[How to get IQMol to run a local version of Q-Chem via SSH]]&lt;br /&gt;
# [[Slow ubuntu dash]]&lt;br /&gt;
# [[Persistent X]] sessions for remote working&lt;br /&gt;
# [[Paper submission]]&lt;br /&gt;
# [[Getting Started with cerebro]]&lt;br /&gt;
&lt;br /&gt;
= [[Archiving_data | Archiving data for the university repository]] =&lt;br /&gt;
&lt;br /&gt;
= [[Website_to_do | To-do list for the Thom Group Website]] =&lt;br /&gt;
&lt;br /&gt;
= [[Group_activities | Group Activities]] =&lt;br /&gt;
&lt;br /&gt;
= To-do list for the Wiki=&lt;br /&gt;
&lt;br /&gt;
- A pretty picture&lt;br /&gt;
&lt;br /&gt;
- A &amp;quot;How to:&amp;quot; page on setting up cygwin, ssh keys and general bash commands what are helpful&lt;br /&gt;
&lt;br /&gt;
- A &amp;quot;How to:&amp;quot; page on using qchem&lt;br /&gt;
&lt;br /&gt;
- A Pretty picture for the $wgLogo&lt;/div&gt;</summary>
		<author><name>Cak49</name></author>
	</entry>
	<entry>
		<id>https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=QChem&amp;diff=878</id>
		<title>QChem</title>
		<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=QChem&amp;diff=878"/>
		<updated>2021-07-24T21:19:18Z</updated>

		<summary type="html">&lt;p&gt;Cak49: Fixed formatting, other small changes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Q-Chem is a commercial quantum chemistry package available for use in our group.&lt;br /&gt;
&lt;br /&gt;
==Fragment Guesses with multiple bases==&lt;br /&gt;
To use basis set projection and fragment guesses you have to run the smaller basis set calculation with fragments first, and then read this into a second calculation which does the projection&lt;br /&gt;
&amp;lt;pre&amp;gt;$molecule&lt;br /&gt;
     0 1&lt;br /&gt;
  --&lt;br /&gt;
  0 1&lt;br /&gt;
     H       0.000000    -0.115747     1.133769&lt;br /&gt;
     H       0.000000     1.109931    -0.113383&lt;br /&gt;
     O       0.000000     0.005817    -0.020386&lt;br /&gt;
  --&lt;br /&gt;
  0 1&lt;br /&gt;
     He      10000   0 0&lt;br /&gt;
  $end&lt;br /&gt;
&lt;br /&gt;
  $rem&lt;br /&gt;
     JOBTYPE              sp&lt;br /&gt;
     EXCHANGE             b3lyp&lt;br /&gt;
     BASIS                cc-pVDZ&lt;br /&gt;
     scf_guess fragmo&lt;br /&gt;
     CORRELATION          none&lt;br /&gt;
     SYMMETRY             false&lt;br /&gt;
     SYM_IGNORE           true&lt;br /&gt;
  $end&lt;br /&gt;
&lt;br /&gt;
  @@@&lt;br /&gt;
&lt;br /&gt;
  $molecule&lt;br /&gt;
  read&lt;br /&gt;
  $end&lt;br /&gt;
&lt;br /&gt;
  $rem&lt;br /&gt;
     scf_guess read&lt;br /&gt;
     JOBTYPE              sp&lt;br /&gt;
     EXCHANGE             b3lyp&lt;br /&gt;
     BASIS                cc-pVTZ&lt;br /&gt;
     BASIS2                cc-pVDZ&lt;br /&gt;
     CORRELATION          none&lt;br /&gt;
     MAX_SCF_CYCLES       600&lt;br /&gt;
     SYMMETRY             false&lt;br /&gt;
     SYM_IGNORE           true&lt;br /&gt;
     basisprojtype ovprojection&lt;br /&gt;
  $end&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==INTDUMP / FCIDUMP ==&lt;br /&gt;
To create files in the FCIDUMP format (used e.g. by Hande) create a QChem input file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$molecule&lt;br /&gt;
0 1&lt;br /&gt;
  H 0 0 0&lt;br /&gt;
  H 1 0 0&lt;br /&gt;
$end&lt;br /&gt;
&lt;br /&gt;
$rem&lt;br /&gt;
  correlation idump&lt;br /&gt;
  exchange hf&lt;br /&gt;
  basis sto-3G&lt;br /&gt;
  use_abelian_subgroup true&lt;br /&gt;
  scf_guess_print 9999&lt;br /&gt;
$end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and use the version of QChem currently (2020-02-20) available from:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[you@liminal] $ export QC=public_o&lt;br /&gt;
[you@liminal] $ source ~ajwt3/code/qchem/qcsetup.bash&lt;br /&gt;
[you@liminal] $ qchem your-input-file.in&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should produce a file called &amp;lt;code&amp;gt;INTDUMP&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;amp;FCI NORB= 2,NELEC=  2,MS2=  0&lt;br /&gt;
  ORBSYM=1,6,&lt;br /&gt;
  ISYM=1 UHF=.FALSE.&lt;br /&gt;
 &amp;amp;END&lt;br /&gt;
     0.62640249948715   1   1   1   1&lt;br /&gt;
     0.19679058349422   1   2   1   2&lt;br /&gt;
      0.6217067630807   2   2   1   1&lt;br /&gt;
     0.19679058349422   2   1   1   2&lt;br /&gt;
     0.19679058349422   2   1   2   1&lt;br /&gt;
     0.65307074688898   2   2   2   2&lt;br /&gt;
     -1.1108441795661   1   1   0   0&lt;br /&gt;
    -0.58912100326925   2   2   0   0&lt;br /&gt;
    -0.39980670964291   1   0   0   0&lt;br /&gt;
     0.37823811728909   2   0   0   0&lt;br /&gt;
     0.52917721026434   0   0   0   0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting SCF Metadynamics Calculations==&lt;br /&gt;
&lt;br /&gt;
A full example for SCF Metadynamics can be found at [https://wikis.ch.cam.ac.uk/thom/wiki/index.php/QCMagic QCMagic SymmetryTools Tutorial (Section 7.1)].  This section provides more information on how to choose parameters in different situations.&lt;br /&gt;
&lt;br /&gt;
If a calculation repeatedly converges on the same solution, adjusting one or more of these keywords can help to find different solutions.&lt;br /&gt;
* Increasing &amp;lt;code&amp;gt;SCF_MINFIND_INITNORM&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;SCF_MINFIND_INITLAMBDA&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;SCF_MINFIND_INCREASEFACTOR&amp;lt;/code&amp;gt; can help get out of the minimum.  However, setting &amp;lt;code&amp;gt;SCF_MINFIND_INITLAMBDA&amp;lt;/code&amp;gt; too high can result in SCF solutions with very high energies, and &amp;lt;code&amp;gt;SCF_MINFIND_INITNORM&amp;lt;/code&amp;gt; can get in the way of convergence, particularly when reading in a solution (in that case, set it to zero).&lt;br /&gt;
* Increasing &amp;lt;code&amp;gt;SCF_MINFIND_RESTARTSTEPS&amp;lt;/code&amp;gt; helps if a solution is close to another minima but does not converge before the calculation restarts with new orbitals&lt;br /&gt;
* Changing &amp;lt;code&amp;gt;SCF_MINFIND_RANDOMMIXING&amp;lt;/code&amp;gt; is generally helpful.  +/- 15708 and 31416 are sensible values to try, and 07854 (which corresponds to halfway between swapping the orbitals) can also help.&lt;br /&gt;
&lt;br /&gt;
If the resulting solutions are too high in energy,&lt;br /&gt;
* decreasing &amp;lt;code&amp;gt;SCF_MINFIND_INITNORM&amp;lt;/code&amp;gt; &lt;br /&gt;
* decreasing &amp;lt;code&amp;gt;SCF_MINFIND_INITLAMBDA&amp;lt;/code&amp;gt; &lt;br /&gt;
* decreasing &amp;lt;code&amp;gt;SCF_MINFIND_MIXENERGY&amp;lt;/code&amp;gt; (even to 00005)&lt;br /&gt;
* adjusting &amp;lt;code&amp;gt;MOM_START&amp;lt;/code&amp;gt;&lt;br /&gt;
* and using &amp;lt;code&amp;gt;SCF_MINFIND_MIXMETHOD&amp;lt;/code&amp;gt; 1 or 2&lt;br /&gt;
can help to find lower-energy excited states.&lt;br /&gt;
&lt;br /&gt;
==NOCI Tutorial==&lt;br /&gt;
This tutorial includes two possible methods for doing NOCI.  The examples below show how to do NOCI at a single geometry, but these methods can easily be extended to cover NOCI at multiple points along a path.&lt;br /&gt;
&lt;br /&gt;
===Method #1===&lt;br /&gt;
In this approach, we find minima using SCF Metadynamics and then do NOCI on them in the same Q-Chem output file. A sample Q-Chem input file for formaldehyde is shown below. In this example, we have Q-Chem generate four initial reference determinants using SCF Metadynamics by selecting &amp;lt;code&amp;gt;NOCI_REGEN 0&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;NOCI_DETGEN 3&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;SCF_SAVEMINIMA 4&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$molecule&lt;br /&gt;
0 1&lt;br /&gt;
  H   -0.0000000    0.9275885    1.1766889&lt;br /&gt;
  C   -0.0000000    0.0000000    0.6019825&lt;br /&gt;
  H   -0.0000000   -0.9275885    1.1766889&lt;br /&gt;
  O    0.0000000   -0.0000000   -0.6001772&lt;br /&gt;
$end&lt;br /&gt;
&lt;br /&gt;
$rem&lt;br /&gt;
   EXCHANGE                   HF&lt;br /&gt;
   CORRELATION                NOCI&lt;br /&gt;
   BASIS		      STO-3G&lt;br /&gt;
   UNRESTRICTED               true&lt;br /&gt;
   MAX_SCF_CYCLES             1000&lt;br /&gt;
   SCF_CONVERGENCE            10&lt;br /&gt;
   MOM_START                  1&lt;br /&gt;
   SCF_SAVEMINIMA             4&lt;br /&gt;
   SCF_MINFIND_INITNORM       05000&lt;br /&gt;
   SCF_MINFIND_INITLAMBDA     00300&lt;br /&gt;
   SCF_MINFIND_RANDOMMIXING   30000&lt;br /&gt;
   SCF_MINFIND_MIXMETHOD      1&lt;br /&gt;
   USE_LIBNOCI                true&lt;br /&gt;
   NOCI_REFGEN                0&lt;br /&gt;
   NOCI_DETGEN                3&lt;br /&gt;
   NOCI_NEIGVAL               4&lt;br /&gt;
   NOCI_PRINT                 5&lt;br /&gt;
$end&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We then run &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;qchem formaldehyde.noci.in formaldehyde.noci.out&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and look for the energies of the SCF solutions with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;grep “Saving Minimum” formaldehyde.noci.out&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which gives&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;      Saving Minimum 1:    -112.3535105301&lt;br /&gt;
      Saving Minimum 2:    -111.9177589859&lt;br /&gt;
      Saving Minimum 3:    -111.7116823375&lt;br /&gt;
      Saving Minimum 4:    -112.3571993219&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Information about the resulting NOCI states is printed at the end of the output file.  In this example, the energies and S2 values can be examined with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -A5 &amp;quot;NOCI Energy&amp;quot; formaldehyde.noci.out&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
giving&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;  NOCI Energy:&lt;br /&gt;
            1           2           3           4    &lt;br /&gt;
    1  -112.36268  -112.16945  -111.91685  -111.71168&lt;br /&gt;
  NOCI &amp;lt;S^2&amp;gt;:&lt;br /&gt;
            1           2           3           4    &lt;br /&gt;
    1   0.0835515   1.8508569   0.0321459   1.0273785&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Method #2===&lt;br /&gt;
In this method, we use QCMagic to read in SCF Metadynamics states in &amp;lt;code&amp;gt;.sd&amp;lt;/code&amp;gt; files into a Q-Chem NOCI calculation.  &lt;br /&gt;
&lt;br /&gt;
In this example, we are starting with HF SCF solutions for formaldehyde in four separate &amp;lt;code&amp;gt;.sd&amp;lt;/code&amp;gt; files (&amp;lt;code&amp;gt;form.s1.sd&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;form.s2.sd&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;form.s3.sd&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;form.s4.sd&amp;lt;/code&amp;gt;) with the following energies:&lt;br /&gt;
&amp;lt;pre&amp;gt;-112.3535105299      Minimum 1&lt;br /&gt;
-111.9177348081      Minimum 2&lt;br /&gt;
-111.4909067597      Minimum 3&lt;br /&gt;
-111.8200842261      Minimum 4&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
First, we combine all &amp;lt;code&amp;gt;.sd&amp;lt;/code&amp;gt; files for the states at a particular geometry using &amp;lt;code&amp;gt;runcombineSDXC.py&amp;lt;/code&amp;gt;, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;runcombineSDXC.py -i form.s1.sd\&lt;br /&gt;
                     form.s2.sd\&lt;br /&gt;
                     form.s3.sd\&lt;br /&gt;
                     form.s4.sd\&lt;br /&gt;
                  -o form_1234 &amp;gt; terminal_sdxc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This creates an &amp;lt;code&amp;gt;.sd&amp;lt;/code&amp;gt; file, &amp;lt;code&amp;gt;form_1234.sd&amp;lt;/code&amp;gt;, which contains all the minima at that geometry.  We then use &amp;lt;code&amp;gt;runrunSDXC.py&amp;lt;/code&amp;gt; to apply a template for NOCI and call Q-Chem:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;runrunSDXC.py -p 12 -L --template=noci.template form_1234.sd noci_form_1234 &amp;gt; terminal_noci&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An example &amp;lt;code&amp;gt;noci.template&amp;lt;/code&amp;gt; file for LIBNOCI is shown below: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$molecule&lt;br /&gt;
read&lt;br /&gt;
$end&lt;br /&gt;
&lt;br /&gt;
$rem&lt;br /&gt;
        EXCHANGE                HF&lt;br /&gt;
        CORRELATION             NOCI&lt;br /&gt;
        UNRESTRICTED            TRUE&lt;br /&gt;
        BASIS                   STO-3G&lt;br /&gt;
        SCF_SAVEMINIMA          4&lt;br /&gt;
        SCF_READMINIMA          -4&lt;br /&gt;
        NOCI_PRINT              10&lt;br /&gt;
        USE_LIBNOCI             TRUE&lt;br /&gt;
        NOCI_REFGEN             1&lt;br /&gt;
        NOCI_DETGEN             0&lt;br /&gt;
        SKIP_SCFMAN             TRUE&lt;br /&gt;
$end&lt;br /&gt;
&lt;br /&gt;
$noci&lt;br /&gt;
1 2 3 4&lt;br /&gt;
$end&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this template, we specify &amp;lt;code&amp;gt;NOCI_REFGEN 1&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;NOCI_DETGEN 0&amp;lt;/code&amp;gt; since we are reading in our reference determinants and do not wish to generate any more.  We use the &amp;lt;code&amp;gt;$noci&amp;lt;/code&amp;gt; section to specify which states to read in: here, we read in all the states, though we could read in a subset of the states in the &amp;lt;code&amp;gt;.sd&amp;lt;/code&amp;gt; file if we wanted to.  In this example, we use &amp;lt;code&amp;gt;SKIP_SCFMAN TRUE&amp;lt;/code&amp;gt; to avoid reconverging the solutions.  If we wanted to reconverge them, we would omit this option and include any missing SCF options in the template.&lt;br /&gt;
&lt;br /&gt;
We can now examine our output file, &amp;lt;code&amp;gt;noci_form_1234.g0.xc0.out&amp;lt;/code&amp;gt;.  First, we check the energies of the HF states we read in with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;grep &amp;quot;Total Energy =&amp;quot; noci_form_1234.g0.xc0.out&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which gives&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;    Total Energy =     -112.3535105266&lt;br /&gt;
    Total Energy =     -111.9177347312&lt;br /&gt;
    Total Energy =     -111.4909067030&lt;br /&gt;
    Total Energy =     -111.8200841138&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and examine the energies and S2 values of the NOCI solutions with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -A5 &amp;quot;NOCI Energy&amp;quot; noci_form_1234.g0.xc0.out&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
giving&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;  NOCI Energy:&lt;br /&gt;
            1           2           3           4    &lt;br /&gt;
    1  -112.35436  -111.91688  -111.82008  -111.49091&lt;br /&gt;
  NOCI &amp;lt;S^2&amp;gt;:&lt;br /&gt;
            1           2           3           4    &lt;br /&gt;
    1   0.0000000   0.0000000   1.0107832   1.9977364&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(N.B. If we compare the NOCI states from method #1 and method #2, we notice that they are different because weused different HF states in both methods. If we had used the same states in both examples, we would get the same NOCI results.)&lt;br /&gt;
&lt;br /&gt;
===Further Information===&lt;br /&gt;
Finding SCF solutions with Metadynamics:&lt;br /&gt;
* [https://wikis.ch.cam.ac.uk/thom/wiki/index.php/QCMagic QCMagic SymmetryTools Tutorial (Section 7.1)] &lt;br /&gt;
* Q-Chem section on Troubleshooting Metadynamics Calculations: see above&lt;br /&gt;
* [https://manual.q-chem.com/5.3/sec_SCF-meta-dyn.html Q-Chem documentation on SCF Metadynamics (Section 4.9.2)]&lt;br /&gt;
* [https://manual.q-chem.com/5.3/subsubsec_SCFMetadynNOCI.html Q-Chem documentation on the LIBNOCI implementation of SCF Metadynamics (Section 4.9.3)]&lt;br /&gt;
NOCI&lt;br /&gt;
* [https://manual.q-chem.com/5.3/subsec_NOCI.html Q-Chem documentation for NOCI (Section 7.4)]&lt;br /&gt;
* Burton H. G. A.; Thom, A. J. W. General Approach for Multireference Ground and Excited States Using Nonorthogonal Configuration Interaction. J Chem. Theory Comput. 2019, 15, 4851.&lt;br /&gt;
Keywords for different implementations of NOCI in Q-Chem&lt;br /&gt;
* LIBNOCI (most recent implementation):  &amp;lt;code&amp;gt;USE_LIBNOCI TRUE&amp;lt;/code&amp;gt;&lt;br /&gt;
* older implementation: &amp;lt;code&amp;gt;USE_LIBNOCI FALSE&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;GEN_SCFMAN OFF&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cak49</name></author>
	</entry>
	<entry>
		<id>https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=QChem&amp;diff=877</id>
		<title>QChem</title>
		<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=QChem&amp;diff=877"/>
		<updated>2021-07-24T21:12:59Z</updated>

		<summary type="html">&lt;p&gt;Cak49: Added NOCI Tutorial&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Q-Chem is a commercial quantum chemistry package available for use in our group.&lt;br /&gt;
&lt;br /&gt;
= Fragment Guesses with multiple bases =&lt;br /&gt;
To uses basis set projection and fragment guesses you have to run the smaller basis set calculation with fragments first, and then read this into a second calculation which does the projection&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  $molecule&lt;br /&gt;
     0 1&lt;br /&gt;
  --&lt;br /&gt;
  0 1&lt;br /&gt;
     H       0.000000    -0.115747     1.133769&lt;br /&gt;
     H       0.000000     1.109931    -0.113383&lt;br /&gt;
     O       0.000000     0.005817    -0.020386&lt;br /&gt;
  --&lt;br /&gt;
  0 1&lt;br /&gt;
     He      10000   0 0&lt;br /&gt;
  $end&lt;br /&gt;
  $rem&lt;br /&gt;
     JOBTYPE              sp&lt;br /&gt;
     EXCHANGE             b3lyp&lt;br /&gt;
     BASIS                cc-pVDZ&lt;br /&gt;
     scf_guess fragmo&lt;br /&gt;
     CORRELATION          none&lt;br /&gt;
     SYMMETRY             false&lt;br /&gt;
     SYM_IGNORE           true&lt;br /&gt;
  $end&lt;br /&gt;
  @@@&lt;br /&gt;
  $molecule&lt;br /&gt;
  read&lt;br /&gt;
  $end&lt;br /&gt;
  $rem&lt;br /&gt;
     scf_guess read&lt;br /&gt;
     JOBTYPE              sp&lt;br /&gt;
     EXCHANGE             b3lyp&lt;br /&gt;
     BASIS                cc-pVTZ&lt;br /&gt;
     BASIS2                cc-pVDZ&lt;br /&gt;
     CORRELATION          none&lt;br /&gt;
     MAX_SCF_CYCLES       600&lt;br /&gt;
     SYMMETRY             false&lt;br /&gt;
     SYM_IGNORE           true&lt;br /&gt;
     basisprojtype ovprojection&lt;br /&gt;
  $end&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==INTDUMP / FCIDUMP ==&lt;br /&gt;
&lt;br /&gt;
To create files in the FCIDUMP format (used e.g. by Hande) create a QChem input file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$molecule&lt;br /&gt;
0 1&lt;br /&gt;
  H 0 0 0&lt;br /&gt;
  H 1 0 0&lt;br /&gt;
$end&lt;br /&gt;
&lt;br /&gt;
$rem&lt;br /&gt;
  correlation idump&lt;br /&gt;
  exchange hf&lt;br /&gt;
  basis sto-3G&lt;br /&gt;
  use_abelian_subgroup true&lt;br /&gt;
  scf_guess_print 9999&lt;br /&gt;
$end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and use the version of QChem currently (2020-02-20) available from:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[you@liminal] $ export QC=public_o&lt;br /&gt;
[you@liminal] $ source ~ajwt3/code/qchem/qcsetup.bash&lt;br /&gt;
[you@liminal] $ qchem your-input-file.in&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should produce a file called &amp;lt;code&amp;gt;INTDUMP&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;amp;FCI NORB= 2,NELEC=  2,MS2=  0&lt;br /&gt;
  ORBSYM=1,6,&lt;br /&gt;
  ISYM=1 UHF=.FALSE.&lt;br /&gt;
 &amp;amp;END&lt;br /&gt;
     0.62640249948715   1   1   1   1&lt;br /&gt;
     0.19679058349422   1   2   1   2&lt;br /&gt;
      0.6217067630807   2   2   1   1&lt;br /&gt;
     0.19679058349422   2   1   1   2&lt;br /&gt;
     0.19679058349422   2   1   2   1&lt;br /&gt;
     0.65307074688898   2   2   2   2&lt;br /&gt;
     -1.1108441795661   1   1   0   0&lt;br /&gt;
    -0.58912100326925   2   2   0   0&lt;br /&gt;
    -0.39980670964291   1   0   0   0&lt;br /&gt;
     0.37823811728909   2   0   0   0&lt;br /&gt;
     0.52917721026434   0   0   0   0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting SCF Metadynamics Calculations==&lt;br /&gt;
&lt;br /&gt;
If a calculation repeatedly converges on the same solution, adjusting one or more of these keywords can help to find different solutions.&lt;br /&gt;
&lt;br /&gt;
* Increasing &amp;lt;code&amp;gt;SCF_MINFIND_INITNORM&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;SCF_MINFIND_INITLAMBDA&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;SCF_MINFIND_INCREASEFACTOR&amp;lt;/code&amp;gt; can help get out of the minimum.  However, setting &amp;lt;code&amp;gt;SCF_MINFIND_INITLAMBDA&amp;lt;/code&amp;gt; too high can result in SCF solutions with very high energies, and &amp;lt;code&amp;gt;SCF_MINFIND_INITNORM&amp;lt;/code&amp;gt; can get in the way of convergence, particularly when reading in a solution (in that case, set it to zero).&lt;br /&gt;
* Increasing &amp;lt;code&amp;gt;SCF_MINFIND_RESTARTSTEPS&amp;lt;/code&amp;gt; helps if a solution is close to another minima but does not converge before the calculation restarts with new orbitals&lt;br /&gt;
* Changing &amp;lt;code&amp;gt;SCF_MINFIND_RANDOMMIXING&amp;lt;/code&amp;gt; is generally helpful.  +/- 15708 and 31416 are sensible values to try, and 07854 (which corresponds to halfway between swapping the orbitals) can also help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the resulting solutions are too high in energy,&lt;br /&gt;
* decreasing &amp;lt;code&amp;gt;SCF_MINFIND_INITNORM&amp;lt;/code&amp;gt; &lt;br /&gt;
* decreasing &amp;lt;code&amp;gt;SCF_MINFIND_INITLAMBDA&amp;lt;/code&amp;gt; &lt;br /&gt;
* decreasing &amp;lt;code&amp;gt;SCF_MINFIND_MIXENERGY&amp;lt;/code&amp;gt; (even to 00005)&lt;br /&gt;
* adjusting &amp;lt;code&amp;gt;MOM_START&amp;lt;/code&amp;gt;&lt;br /&gt;
* and using &amp;lt;code&amp;gt;SCF_MINFIND_MIXMETHOD&amp;lt;/code&amp;gt; 1 or 2&lt;br /&gt;
can help to find lower-energy excited states.&lt;br /&gt;
&lt;br /&gt;
==NOCI Tutorial==&lt;br /&gt;
This tutorial includes two possible methods for doing NOCI.  The examples below show how to do NOCI at a single geometry, but these methods can easily be extended to cover NOCI at multiple points along a path.&lt;br /&gt;
&lt;br /&gt;
===Method #1===&lt;br /&gt;
In this approach, we find minima using SCF Metadynamics and then do NOCI on them in the same Q-Chem output file. A sample Q-Chem input file for formaldehyde is shown below. In this example, we have Q-Chem generate four initial reference determinants using SCF Metadynamics by selecting &amp;lt;code&amp;gt;NOCI_REGEN 0&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;NOCI_DETGEN 3&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;SCF_SAVEMINIMA 4&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$molecule&lt;br /&gt;
0 1&lt;br /&gt;
  H   -0.0000000    0.9275885    1.1766889&lt;br /&gt;
  C   -0.0000000    0.0000000    0.6019825&lt;br /&gt;
  H   -0.0000000   -0.9275885    1.1766889&lt;br /&gt;
  O    0.0000000   -0.0000000   -0.6001772&lt;br /&gt;
$end&lt;br /&gt;
&lt;br /&gt;
$rem&lt;br /&gt;
   EXCHANGE                   HF&lt;br /&gt;
   CORRELATION                NOCI&lt;br /&gt;
   BASIS		      STO-3G&lt;br /&gt;
   UNRESTRICTED               true&lt;br /&gt;
   MAX_SCF_CYCLES             1000&lt;br /&gt;
   SCF_CONVERGENCE            10&lt;br /&gt;
   MOM_START                  1&lt;br /&gt;
   SCF_SAVEMINIMA             4&lt;br /&gt;
   SCF_MINFIND_INITNORM       05000&lt;br /&gt;
   SCF_MINFIND_INITLAMBDA     00300&lt;br /&gt;
   SCF_MINFIND_RANDOMMIXING   30000&lt;br /&gt;
   SCF_MINFIND_MIXMETHOD      1&lt;br /&gt;
   USE_LIBNOCI                true&lt;br /&gt;
   NOCI_REFGEN                0&lt;br /&gt;
   NOCI_DETGEN                3&lt;br /&gt;
   NOCI_NEIGVAL               4&lt;br /&gt;
   NOCI_PRINT                 5&lt;br /&gt;
$end&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We then run &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;qchem formaldehyde.noci.in formaldehyde.noci.out&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and look for the energies of the SCF solutions with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;grep “Saving Minimum” formaldehyde.noci.out&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which gives&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;      Saving Minimum 1:    -112.3535105301&lt;br /&gt;
      Saving Minimum 2:    -111.9177589859&lt;br /&gt;
      Saving Minimum 3:    -111.7116823375&lt;br /&gt;
      Saving Minimum 4:    -112.3571993219&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Information about the resulting NOCI states is printed at the end of the output file.  In this example, the energies and S2 values can be examined with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -A5 &amp;quot;NOCI Energy&amp;quot; formaldehyde.noci.out&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
giving&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;  NOCI Energy:&lt;br /&gt;
            1           2           3           4    &lt;br /&gt;
    1  -112.36268  -112.16945  -111.91685  -111.71168&lt;br /&gt;
  NOCI &amp;lt;S^2&amp;gt;:&lt;br /&gt;
            1           2           3           4    &lt;br /&gt;
    1   0.0835515   1.8508569   0.0321459   1.0273785&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Method #2===&lt;br /&gt;
In this method, we use QCMagic to read in SCF Metadynamics states in &amp;lt;code&amp;gt;.sd&amp;lt;/code&amp;gt; files into a Q-Chem NOCI calculation.  &lt;br /&gt;
&lt;br /&gt;
In this example, we are starting with HF SCF solutions for formaldehyde in four separate &amp;lt;code&amp;gt;.sd&amp;lt;/code&amp;gt; files (&amp;lt;code&amp;gt;form.s1.sd&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;form.s2.sd&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;form.s3.sd&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;form.s4.sd&amp;lt;/code&amp;gt;) with the following energies:&lt;br /&gt;
&amp;lt;pre&amp;gt;-112.3535105299      Minimum 1&lt;br /&gt;
-111.9177348081      Minimum 2&lt;br /&gt;
-111.4909067597      Minimum 3&lt;br /&gt;
-111.8200842261      Minimum 4&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
First, we combine all &amp;lt;code&amp;gt;.sd&amp;lt;/code&amp;gt; files for the states at a particular geometry using &amp;lt;code&amp;gt;runcombineSDXC.py&amp;lt;/code&amp;gt;, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;runcombineSDXC.py -i form.s1.sd\&lt;br /&gt;
                     form.s2.sd\&lt;br /&gt;
                     form.s3.sd\&lt;br /&gt;
                     form.s4.sd\&lt;br /&gt;
                  -o form_1234 &amp;gt; terminal_sdxc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This creates an &amp;lt;code&amp;gt;.sd&amp;lt;/code&amp;gt; file, &amp;lt;code&amp;gt;form_1234.sd&amp;lt;/code&amp;gt;, which contains all the minima at that geometry.  We then use &amp;lt;code&amp;gt;runrunSDXC.py&amp;lt;/code&amp;gt; to apply a template for NOCI and call Q-Chem:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;runrunSDXC.py -p 12 -L --template=noci.template form_1234.sd noci_form_1234 &amp;gt; terminal_noci&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An example &amp;lt;code&amp;gt;noci.template&amp;lt;/code&amp;gt; file for LIBNOCI is shown below: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$molecule&lt;br /&gt;
read&lt;br /&gt;
$end&lt;br /&gt;
&lt;br /&gt;
$rem&lt;br /&gt;
        EXCHANGE                HF&lt;br /&gt;
        CORRELATION             NOCI&lt;br /&gt;
        UNRESTRICTED            TRUE&lt;br /&gt;
        BASIS                   STO-3G&lt;br /&gt;
        SCF_SAVEMINIMA          4&lt;br /&gt;
        SCF_READMINIMA          -4&lt;br /&gt;
        NOCI_PRINT              10&lt;br /&gt;
        USE_LIBNOCI             TRUE&lt;br /&gt;
        NOCI_REFGEN             1&lt;br /&gt;
        NOCI_DETGEN             0&lt;br /&gt;
        SKIP_SCFMAN             TRUE&lt;br /&gt;
$end&lt;br /&gt;
&lt;br /&gt;
$noci&lt;br /&gt;
1 2 3 4&lt;br /&gt;
$end&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this template, we specify &amp;lt;code&amp;gt;NOCI_REFGEN 1&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;NOCI_DETGEN 0&amp;lt;/code&amp;gt; since we are reading in our reference determinants and do not wish to generate any more.  We use the &amp;lt;code&amp;gt;$noci&amp;lt;/code&amp;gt; section to specify which states to read in: here, we read in all the states, though we could read in a subset of the states in the &amp;lt;code&amp;gt;.sd&amp;lt;/code&amp;gt; file if we wanted to.  In this example, we use &amp;lt;code&amp;gt;SKIP_SCFMAN TRUE&amp;lt;/code&amp;gt; to avoid reconverging the solutions.  If we wanted to reconverge them, we would omit this option and include any missing SCF options in the template.&lt;br /&gt;
&lt;br /&gt;
We can now examine our output file, &amp;lt;code&amp;gt;noci_form_1234.g0.xc0.out&amp;lt;/code&amp;gt;.  First, we check the energies of the HF states we read in with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;grep &amp;quot;Total Energy =&amp;quot; noci_form_1234.g0.xc0.out&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which gives&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;    Total Energy =     -112.3535105266&lt;br /&gt;
    Total Energy =     -111.9177347312&lt;br /&gt;
    Total Energy =     -111.4909067030&lt;br /&gt;
    Total Energy =     -111.8200841138&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and examine the energies and S2 values of the NOCI solutions with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -A5 &amp;quot;NOCI Energy&amp;quot; noci_form_1234.g0.xc0.out&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
giving&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;  NOCI Energy:&lt;br /&gt;
            1           2           3           4    &lt;br /&gt;
    1  -112.35436  -111.91688  -111.82008  -111.49091&lt;br /&gt;
  NOCI &amp;lt;S^2&amp;gt;:&lt;br /&gt;
            1           2           3           4    &lt;br /&gt;
    1   0.0000000   0.0000000   1.0107832   1.9977364&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(N.B. If we compare the NOCI states from method #1 and method #2, we notice that they are different because weused different HF states in both methods. If we had used the same states in both examples, we would get the same NOCI results.)&lt;br /&gt;
&lt;br /&gt;
===Further Information===&lt;br /&gt;
Finding SCF solutions with Metadynamics:&lt;br /&gt;
* [https://wikis.ch.cam.ac.uk/thom/wiki/index.php/QCMagic QCMagic SymmetryTools Tutorial (Section 7.1)] &lt;br /&gt;
* Q-Chem section on Troubleshooting Metadynamics Calculations: see above&lt;br /&gt;
* [https://manual.q-chem.com/5.3/sec_SCF-meta-dyn.html Q-Chem documentation on SCF Metadynamics (Section 4.9.2)]&lt;br /&gt;
* [https://manual.q-chem.com/5.3/subsubsec_SCFMetadynNOCI.html Q-Chem documentation on the LIBNOCI implementation of SCF Metadynamics (Section 4.9.3)]&lt;br /&gt;
NOCI&lt;br /&gt;
* [https://manual.q-chem.com/5.3/subsec_NOCI.html Q-Chem documentation for NOCI (Section 7.4)]&lt;br /&gt;
* Burton H. G. A.; Thom, A. J. W. General Approach for Multireference Ground and Excited States Using Nonorthogonal Configuration Interaction. J Chem. Theory Comput. 2019, 15, 4851.&lt;br /&gt;
Keywords for different implementations of NOCI in Q-Chem&lt;br /&gt;
* LIBNOCI (most recent implementation):  &amp;lt;code&amp;gt;USE_LIBNOCI TRUE&amp;lt;/code&amp;gt;&lt;br /&gt;
* older implementation: &amp;lt;code&amp;gt;USE_LIBNOCI FALSE&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;GEN_SCFMAN OFF&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cak49</name></author>
	</entry>
	<entry>
		<id>https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=QChem&amp;diff=862</id>
		<title>QChem</title>
		<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=QChem&amp;diff=862"/>
		<updated>2021-07-12T21:16:00Z</updated>

		<summary type="html">&lt;p&gt;Cak49: Added section on troubleshooting SCF metadynamics&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Q-Chem is a commercial quantum chemistry package available for use in our group.&lt;br /&gt;
&lt;br /&gt;
= Fragment Guesses with multiple bases =&lt;br /&gt;
To uses basis set projection and fragment guesses you have to run the smaller basis set calculation with fragments first, and then read this into a second calculation which does the projection&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  $molecule&lt;br /&gt;
     0 1&lt;br /&gt;
  --&lt;br /&gt;
  0 1&lt;br /&gt;
     H       0.000000    -0.115747     1.133769&lt;br /&gt;
     H       0.000000     1.109931    -0.113383&lt;br /&gt;
     O       0.000000     0.005817    -0.020386&lt;br /&gt;
  --&lt;br /&gt;
  0 1&lt;br /&gt;
     He      10000   0 0&lt;br /&gt;
  $end&lt;br /&gt;
  $rem&lt;br /&gt;
     JOBTYPE              sp&lt;br /&gt;
     EXCHANGE             b3lyp&lt;br /&gt;
     BASIS                cc-pVDZ&lt;br /&gt;
     scf_guess fragmo&lt;br /&gt;
     CORRELATION          none&lt;br /&gt;
     SYMMETRY             false&lt;br /&gt;
     SYM_IGNORE           true&lt;br /&gt;
  $end&lt;br /&gt;
  @@@&lt;br /&gt;
  $molecule&lt;br /&gt;
  read&lt;br /&gt;
  $end&lt;br /&gt;
  $rem&lt;br /&gt;
     scf_guess read&lt;br /&gt;
     JOBTYPE              sp&lt;br /&gt;
     EXCHANGE             b3lyp&lt;br /&gt;
     BASIS                cc-pVTZ&lt;br /&gt;
     BASIS2                cc-pVDZ&lt;br /&gt;
     CORRELATION          none&lt;br /&gt;
     MAX_SCF_CYCLES       600&lt;br /&gt;
     SYMMETRY             false&lt;br /&gt;
     SYM_IGNORE           true&lt;br /&gt;
     basisprojtype ovprojection&lt;br /&gt;
  $end&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==INTDUMP / FCIDUMP ==&lt;br /&gt;
&lt;br /&gt;
To create files in the FCIDUMP format (used e.g. by Hande) create a QChem input file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$molecule&lt;br /&gt;
0 1&lt;br /&gt;
  H 0 0 0&lt;br /&gt;
  H 1 0 0&lt;br /&gt;
$end&lt;br /&gt;
&lt;br /&gt;
$rem&lt;br /&gt;
  correlation idump&lt;br /&gt;
  exchange hf&lt;br /&gt;
  basis sto-3G&lt;br /&gt;
  use_abelian_subgroup true&lt;br /&gt;
  scf_guess_print 9999&lt;br /&gt;
$end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and use the version of QChem currently (2020-02-20) available from:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[you@liminal] $ export QC=public_o&lt;br /&gt;
[you@liminal] $ source ~ajwt3/code/qchem/qcsetup.bash&lt;br /&gt;
[you@liminal] $ qchem your-input-file.in&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should produce a file called &amp;lt;code&amp;gt;INTDUMP&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;amp;FCI NORB= 2,NELEC=  2,MS2=  0&lt;br /&gt;
  ORBSYM=1,6,&lt;br /&gt;
  ISYM=1 UHF=.FALSE.&lt;br /&gt;
 &amp;amp;END&lt;br /&gt;
     0.62640249948715   1   1   1   1&lt;br /&gt;
     0.19679058349422   1   2   1   2&lt;br /&gt;
      0.6217067630807   2   2   1   1&lt;br /&gt;
     0.19679058349422   2   1   1   2&lt;br /&gt;
     0.19679058349422   2   1   2   1&lt;br /&gt;
     0.65307074688898   2   2   2   2&lt;br /&gt;
     -1.1108441795661   1   1   0   0&lt;br /&gt;
    -0.58912100326925   2   2   0   0&lt;br /&gt;
    -0.39980670964291   1   0   0   0&lt;br /&gt;
     0.37823811728909   2   0   0   0&lt;br /&gt;
     0.52917721026434   0   0   0   0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting SCF Metadynamics Calculations==&lt;br /&gt;
&lt;br /&gt;
If a calculation repeatedly converges on the same solution, adjusting one or more of these keywords can help to find different solutions.&lt;br /&gt;
&lt;br /&gt;
* Increasing &amp;lt;code&amp;gt;SCF_MINFIND_INITNORM&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;SCF_MINFIND_INITLAMBDA&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;SCF_MINFIND_INREASEFACTOR&amp;lt;/code&amp;gt; can help get out of the minimum.  However, setting &amp;lt;code&amp;gt;SCF_MINFIND_INITLAMBDA&amp;lt;/code&amp;gt; too high can result in SCF solutions with very high energies, and &amp;lt;code&amp;gt;SCF_MINFIND_INITNORM&amp;lt;/code&amp;gt; can get in the way of convergence, particularly when reading in a solution (in that case, set it to zero).&lt;br /&gt;
* Increasing &amp;lt;code&amp;gt;SCF_MINFIND_RESTARTSTEPS&amp;lt;/code&amp;gt; helps if a solution is close to another minima but does not converge before the calculation restarts with new orbitals&lt;br /&gt;
* Changing &amp;lt;code&amp;gt;SCF_MINFIND_RANDOMMIXING&amp;lt;/code&amp;gt; is generally helpful.  +/- 15708 and 31416 are sensible values to try, and 07854 (which corresponds to halfway between swapping the orbitals) can also help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the resulting solutions are too high in energy,&lt;br /&gt;
* decreasing &amp;lt;code&amp;gt;SCF_MINFIND_INITNORM&amp;lt;/code&amp;gt; &lt;br /&gt;
* decreasing &amp;lt;code&amp;gt;SCF_MINFIND_INITLAMBDA&amp;lt;/code&amp;gt; &lt;br /&gt;
* decreasing &amp;lt;code&amp;gt;SCF_MINFIND_MIXENERGY&amp;lt;/code&amp;gt; (even to 00005)&lt;br /&gt;
* adjusting &amp;lt;code&amp;gt;MOM_START&amp;lt;/code&amp;gt;&lt;br /&gt;
* and using &amp;lt;code&amp;gt;SCF_MINFIND_MIXMETHOD&amp;lt;/code&amp;gt; 1 or 2&lt;br /&gt;
can help to find lower-energy excited states.&lt;/div&gt;</summary>
		<author><name>Cak49</name></author>
	</entry>
	<entry>
		<id>https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Computer_and_Storage_List&amp;diff=788</id>
		<title>Computer and Storage List</title>
		<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Computer_and_Storage_List&amp;diff=788"/>
		<updated>2020-10-08T16:45:07Z</updated>

		<summary type="html">&lt;p&gt;Cak49: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!name&lt;br /&gt;
!office&lt;br /&gt;
!user&lt;br /&gt;
!cores&lt;br /&gt;
!processor&lt;br /&gt;
!RAM&lt;br /&gt;
!OS&lt;br /&gt;
!Video Ports&lt;br /&gt;
!Displays&lt;br /&gt;
!Hardware requests&lt;br /&gt;
!Working from home&lt;br /&gt;
|-&lt;br /&gt;
|carpathia&lt;br /&gt;
|379&lt;br /&gt;
|Alex&lt;br /&gt;
|6&lt;br /&gt;
|Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz&lt;br /&gt;
|32GB&lt;br /&gt;
|Ubuntu 18.04.5&lt;br /&gt;
|-&lt;br /&gt;
|liminal&lt;br /&gt;
|379&lt;br /&gt;
|Alex&lt;br /&gt;
|6&lt;br /&gt;
|Intel(R) Core(TM) i7-7800X CPU @ 3.50GHz&lt;br /&gt;
|64GB&lt;br /&gt;
|Ubuntu 18.04.5&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|hypatia&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|6&lt;br /&gt;
|Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz&lt;br /&gt;
|32GB&lt;br /&gt;
|Ubuntu 18.04.5&lt;br /&gt;
|-&lt;br /&gt;
|serenity&lt;br /&gt;
|378&lt;br /&gt;
|Andreea&lt;br /&gt;
|6&lt;br /&gt;
|Intel(R) Core(TM) i7-5930K CPU @ 3.50GHz&lt;br /&gt;
|64GB&lt;br /&gt;
|Ubuntu 16.04&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|sandstone&lt;br /&gt;
|378&lt;br /&gt;
|Kripa, Tiger&lt;br /&gt;
|6&lt;br /&gt;
|Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz&lt;br /&gt;
|32GB&lt;br /&gt;
|Ubuntu 16.04.7&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|gritstone&lt;br /&gt;
|&lt;br /&gt;
|Hang&lt;br /&gt;
|6&lt;br /&gt;
|Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz&lt;br /&gt;
|32GB&lt;br /&gt;
|Ubuntu 16.04.4&lt;br /&gt;
|-&lt;br /&gt;
|moonraker&lt;br /&gt;
|&lt;br /&gt;
|Nick Lee&lt;br /&gt;
|4&lt;br /&gt;
|Intel(R) Xeon(R) CPU E3-1270 v5 @ 3.60GHz&lt;br /&gt;
|64GB&lt;br /&gt;
|Ubuntu 16.04.7&lt;br /&gt;
|-&lt;br /&gt;
|obsidian&lt;br /&gt;
|&lt;br /&gt;
|Isha&lt;br /&gt;
|6&lt;br /&gt;
|Intel(R) Core(TM) i7-6800K CPU @ 3.40GHz&lt;br /&gt;
|32GB&lt;br /&gt;
|Ubuntu 18.04&lt;br /&gt;
|-&lt;br /&gt;
|hylas&lt;br /&gt;
|378&lt;br /&gt;
|Fabio&lt;br /&gt;
|6&lt;br /&gt;
|Intel(R) Core(TM) i7-6800K CPU @ 3.40GHz&lt;br /&gt;
|32GB&lt;br /&gt;
|Ubuntu 16.04.7&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|cerberus&lt;br /&gt;
|&lt;br /&gt;
|Alex&lt;br /&gt;
|6&lt;br /&gt;
|Intel(R) Core(TM) i7-5930K CPU @ 3.50GHz&lt;br /&gt;
|32GB&lt;br /&gt;
|CentOS 7 [FPGA development board host]&lt;br /&gt;
|-&lt;br /&gt;
|chucksty&lt;br /&gt;
|&lt;br /&gt;
|David&lt;br /&gt;
|6&lt;br /&gt;
|Intel(R) Core(TM) i7-7800X CPU @ 3.50GHz&lt;br /&gt;
|64GB&lt;br /&gt;
|Ubuntu 16.04.3&lt;br /&gt;
|-&lt;br /&gt;
|chesterian&lt;br /&gt;
|&lt;br /&gt;
|Bang&lt;br /&gt;
|6&lt;br /&gt;
|Intel(R) Core(TM) i7-7800X CPU @ 3.50GHz&lt;br /&gt;
|64GB&lt;br /&gt;
|Ubuntu 16.04.3&lt;br /&gt;
|-&lt;br /&gt;
|behemoth&lt;br /&gt;
|380&lt;br /&gt;
|Arta&lt;br /&gt;
|8&lt;br /&gt;
|Intel(R) Xeon(R) Silver 4208 CPU @ 2.10GHz&lt;br /&gt;
|256GB&lt;br /&gt;
|Ubuntu 18.04.5&lt;br /&gt;
|-&lt;br /&gt;
|nemesis&lt;br /&gt;
|378&lt;br /&gt;
|Constance&lt;br /&gt;
|6&lt;br /&gt;
|Intel(R) Core(TM) i7-4930X CPU @ 3.40GHz&lt;br /&gt;
|16GB&lt;br /&gt;
|Ubuntu 18.04.5&lt;br /&gt;
|-&lt;br /&gt;
|cerebro&lt;br /&gt;
|&lt;br /&gt;
|Alavi &amp;amp; Thom Groups&lt;br /&gt;
|12 x 20&lt;br /&gt;
16 x 8&lt;br /&gt;
|2x Intel(R) Xeon(R) CPU X5650  @ 2.67GHz&lt;br /&gt;
2x Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz&lt;br /&gt;
|48GB&lt;br /&gt;
64GB&lt;br /&gt;
|Rocks 6.2 (CentOS 6.9)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Notes=&lt;br /&gt;
&lt;br /&gt;
To find out your OS version, run &lt;br /&gt;
&lt;br /&gt;
   lsb_release -a&lt;br /&gt;
&lt;br /&gt;
To determine the RAM, run&lt;br /&gt;
&lt;br /&gt;
    head -1 /proc/meminfo&lt;br /&gt;
&lt;br /&gt;
To find out core counts, run&lt;br /&gt;
&lt;br /&gt;
    cat /proc/cpuinfo &lt;br /&gt;
&lt;br /&gt;
NB the number of &#039;processors&#039; may be different from the number of cores owing to hyperthreading.  The &#039;cpu cores&#039; value is the one to take for single CPU machines.&lt;br /&gt;
&lt;br /&gt;
[http://hobbit.ch.cam.ac.uk/xymon/workstations/workstationsThom/workstationsThomLinux/ Hobbit] may also have some useful information.&lt;br /&gt;
&lt;br /&gt;
[https://www.ch.cam.ac.uk/computing/group-computer-representatives Group computer reps] can manage group entries in the department [https://chemdb.ch.cam.ac.uk/hotwire3/chemistry/ database] and there&#039;s a [https://apps.ch.cam.ac.uk/computer-reps/group-computers.php hardware inventory] and a [https://apps.ch.cam.ac.uk/space-management/space-report.php space report] too.&lt;/div&gt;</summary>
		<author><name>Cak49</name></author>
	</entry>
	<entry>
		<id>https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Computer_and_Storage_List&amp;diff=762</id>
		<title>Computer and Storage List</title>
		<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Computer_and_Storage_List&amp;diff=762"/>
		<updated>2020-08-31T14:16:26Z</updated>

		<summary type="html">&lt;p&gt;Cak49: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!name&lt;br /&gt;
!office&lt;br /&gt;
!user&lt;br /&gt;
!cores&lt;br /&gt;
!processor&lt;br /&gt;
!RAM&lt;br /&gt;
!OS&lt;br /&gt;
!Video Ports&lt;br /&gt;
!Displays&lt;br /&gt;
!Hardware requests&lt;br /&gt;
|-&lt;br /&gt;
|carpathia&lt;br /&gt;
|379&lt;br /&gt;
|Alex&lt;br /&gt;
|6&lt;br /&gt;
|Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz&lt;br /&gt;
|32GB&lt;br /&gt;
|Ubuntu 18.04.5&lt;br /&gt;
|-&lt;br /&gt;
|liminal&lt;br /&gt;
|379&lt;br /&gt;
|Alex&lt;br /&gt;
|6&lt;br /&gt;
|Intel(R) Core(TM) i7-7800X CPU @ 3.50GHz&lt;br /&gt;
|64GB&lt;br /&gt;
|Ubuntu 18.04.5&lt;br /&gt;
|-&lt;br /&gt;
|hypatia&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|6&lt;br /&gt;
|Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz&lt;br /&gt;
|32GB&lt;br /&gt;
|Ubuntu 16.04&lt;br /&gt;
|-&lt;br /&gt;
|serenity&lt;br /&gt;
|&lt;br /&gt;
|Andreea&lt;br /&gt;
|6&lt;br /&gt;
|Intel(R) Core(TM) i7-5930K CPU @ 3.50GHz&lt;br /&gt;
|64GB&lt;br /&gt;
|Ubuntu 16.04&lt;br /&gt;
|-&lt;br /&gt;
|sandstone&lt;br /&gt;
|&lt;br /&gt;
|Kripa&lt;br /&gt;
|6&lt;br /&gt;
|Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz&lt;br /&gt;
|32GB&lt;br /&gt;
|Ubuntu 16.04.7&lt;br /&gt;
|-&lt;br /&gt;
|gritstone&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|6&lt;br /&gt;
|Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz&lt;br /&gt;
|32GB&lt;br /&gt;
|Ubuntu 16.04.4&lt;br /&gt;
|-&lt;br /&gt;
|moonraker&lt;br /&gt;
|&lt;br /&gt;
|Nick Lee&lt;br /&gt;
|4&lt;br /&gt;
|Intel(R) Xeon(R) CPU E3-1270 v5 @ 3.60GHz&lt;br /&gt;
|64GB&lt;br /&gt;
|Ubuntu 16.04.7&lt;br /&gt;
|-&lt;br /&gt;
|obsidian&lt;br /&gt;
|&lt;br /&gt;
|Hugh&lt;br /&gt;
|6&lt;br /&gt;
|Intel(R) Core(TM) i7-6800K CPU @ 3.40GHz&lt;br /&gt;
|32GB&lt;br /&gt;
|Ubuntu 16.04&lt;br /&gt;
|-&lt;br /&gt;
|hylas&lt;br /&gt;
|&lt;br /&gt;
|Fabio&lt;br /&gt;
|6&lt;br /&gt;
|Intel(R) Core(TM) i7-6800K CPU @ 3.40GHz&lt;br /&gt;
|32GB&lt;br /&gt;
|Ubuntu 16.04&lt;br /&gt;
|-&lt;br /&gt;
|cerberus&lt;br /&gt;
|&lt;br /&gt;
|Alex&lt;br /&gt;
|6&lt;br /&gt;
|Intel(R) Core(TM) i7-5930K CPU @ 3.50GHz&lt;br /&gt;
|32GB&lt;br /&gt;
|CentOS 7 [FPGA development board host]&lt;br /&gt;
|-&lt;br /&gt;
|chucksty&lt;br /&gt;
|&lt;br /&gt;
|David&lt;br /&gt;
|6&lt;br /&gt;
|Intel(R) Core(TM) i7-7800X CPU @ 3.50GHz&lt;br /&gt;
|64GB&lt;br /&gt;
|Ubuntu 16.04.3&lt;br /&gt;
|-&lt;br /&gt;
|chesterian&lt;br /&gt;
|&lt;br /&gt;
|Bang&lt;br /&gt;
|6&lt;br /&gt;
|Intel(R) Core(TM) i7-7800X CPU @ 3.50GHz&lt;br /&gt;
|64GB&lt;br /&gt;
|Ubuntu 16.04.3&lt;br /&gt;
|-&lt;br /&gt;
|nemesis&lt;br /&gt;
|&lt;br /&gt;
|Constance&lt;br /&gt;
|6&lt;br /&gt;
|Intel(R) Core(TM) i7-4930X CPU @ 3.40GHz&lt;br /&gt;
|16GB&lt;br /&gt;
|Ubuntu 16.04.7&lt;br /&gt;
|-&lt;br /&gt;
|cerebro&lt;br /&gt;
|&lt;br /&gt;
|Alavi &amp;amp; Thom Groups&lt;br /&gt;
|12 x 20&lt;br /&gt;
16 x 8&lt;br /&gt;
|2x Intel(R) Xeon(R) CPU X5650  @ 2.67GHz&lt;br /&gt;
2x Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz&lt;br /&gt;
|48GB&lt;br /&gt;
64GB&lt;br /&gt;
|Rocks 6.2 (CentOS 6.9)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Notes=&lt;br /&gt;
&lt;br /&gt;
To find out your OS version, run &lt;br /&gt;
&lt;br /&gt;
   lsb_release -a&lt;br /&gt;
&lt;br /&gt;
To determine the RAM, run&lt;br /&gt;
&lt;br /&gt;
    head -1 /proc/meminfo&lt;br /&gt;
&lt;br /&gt;
To find out core counts, run&lt;br /&gt;
&lt;br /&gt;
    cat /proc/cpuinfo &lt;br /&gt;
&lt;br /&gt;
NB the number of &#039;processors&#039; may be different from the number of cores owing to hyperthreading.  The &#039;cpu cores&#039; value is the one to take for single CPU machines.&lt;br /&gt;
&lt;br /&gt;
[http://hobbit.ch.cam.ac.uk/xymon/workstations/workstationsThom/workstationsThomLinux/ Hobbit] may also have some useful information.&lt;br /&gt;
&lt;br /&gt;
[https://www.ch.cam.ac.uk/computing/group-computer-representatives Group computer reps] can manage group entries in the department [https://chemdb.ch.cam.ac.uk/hotwire3/chemistry/ database] and there&#039;s a [https://apps.ch.cam.ac.uk/computer-reps/group-computers.php hardware inventory] and a [https://apps.ch.cam.ac.uk/space-management/space-report.php space report] too.&lt;/div&gt;</summary>
		<author><name>Cak49</name></author>
	</entry>
</feed>