<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikis.ch.cam.ac.uk/thom/wiki/index.php?action=history&amp;feed=atom&amp;title=Getting_Started_with_cerebro</id>
	<title>Getting Started with cerebro - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikis.ch.cam.ac.uk/thom/wiki/index.php?action=history&amp;feed=atom&amp;title=Getting_Started_with_cerebro"/>
	<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Getting_Started_with_cerebro&amp;action=history"/>
	<updated>2026-06-10T19:02:33Z</updated>
	<subtitle>Revision history for this page on the wiki</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&amp;oldid=prev</id>
		<title>Cak49 at 19:18, 27 July 2021</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&amp;oldid=prev"/>
		<updated>2021-07-27T19:18:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:18, 27 July 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 47:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 47:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;source /home/maf63/code/qcsetup-general.bash&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;source /home/maf63/code/qcsetup-general.bash&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;source ~/.slurmrc&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;source ~/.slurmrc&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&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/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;cbh31&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;code/qchem5/qc521&lt;/del&gt;/bin/qchem&amp;lt;/code&amp;gt;. &lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&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/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;maf63&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;qchem-general&lt;/ins&gt;/bin/qchem&amp;lt;/code&amp;gt;. &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&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;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&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;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&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&amp;oldid=prev</id>
		<title>Cak49 at 18:27, 27 July 2021</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&amp;oldid=prev"/>
		<updated>2021-07-27T18:27:36Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:27, 27 July 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Using Q-Chem=&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Using Q-Chem=&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you have not used Q-Chem on cerebro before, first check &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;if&lt;/del&gt; you have access with &amp;lt;code&amp;gt;which qchem&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you have not used Q-Chem on cerebro before, first check &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;whether&lt;/ins&gt; you have access with &amp;lt;code&amp;gt;which qchem&amp;lt;/code&amp;gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&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;/ins&gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;# QChem&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;export QC=trunk&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;source /home/maf63/code/qcsetup-general.bash&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;source ~/.slurmrc&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&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;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&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;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&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;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 80:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 86:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;sbatch $old $test submit.qcmagic&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;sbatch $old $test submit.qcmagic&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You can include multiple commands in a submit file.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You can include multiple commands in a submit file&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, e&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;g.:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;#!/bin/bash&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;export OMP_NUM_THREADS=$SLURM_CPUS_ON_NODE&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Run the calculation&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;runscanSurface.py -p 12 -L --read-minima=4 --read-only output_file.out state_4_read &amp;gt; term_read&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;runqcSDExtract.py -p 12 -L --reconverge --rem=&quot;SCF_CONVERGENCE 10&quot; state_4_read.sd state_4 &amp;gt; term_reconv&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;runcombineSDXC.py -i state_1.sd state_2.sd state_3.sd state_4.sd -o states_1234 &amp;gt; term_sdxc&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&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;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&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&amp;oldid=prev</id>
		<title>Cak49: Added information about 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&amp;oldid=prev"/>
		<updated>2021-07-25T00:03:06Z</updated>

		<summary type="html">&lt;p&gt;Added information about getting started with cerebro&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&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; |&amp;#039;&amp;#039;&amp;#039;Partition&amp;#039;&amp;#039;&amp;#039; || style=&amp;quot;width: 14ex;&amp;quot; | &amp;#039;&amp;#039;&amp;#039;sbatch Option&amp;#039;&amp;#039;&amp;#039; || style=&amp;quot;width: 10ex;&amp;quot; | &amp;#039;&amp;#039;&amp;#039;Time Limit&amp;#039;&amp;#039;&amp;#039;|| style=&amp;quot;width: 45ex;&amp;quot; | &amp;#039;&amp;#039;&amp;#039;Other Notes&amp;#039;&amp;#039;&amp;#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;
&amp;#039;&amp;#039;&amp;#039;Make sure you have the right job ID!&amp;#039;&amp;#039;&amp;#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&amp;#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>
</feed>