<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://micro.stanford.edu/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Qbox_Computing_Bulk_Modulus_of_Au</id>
	<title>Qbox Computing Bulk Modulus of Au - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://micro.stanford.edu/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Qbox_Computing_Bulk_Modulus_of_Au"/>
	<link rel="alternate" type="text/html" href="http://micro.stanford.edu/mediawiki/index.php?title=Qbox_Computing_Bulk_Modulus_of_Au&amp;action=history"/>
	<updated>2026-07-05T10:19:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.7</generator>
	<entry>
		<id>http://micro.stanford.edu/mediawiki/index.php?title=Qbox_Computing_Bulk_Modulus_of_Au&amp;diff=2050&amp;oldid=prev</id>
		<title>Caiwei: /* Computing Bulk Modulus of Au */</title>
		<link rel="alternate" type="text/html" href="http://micro.stanford.edu/mediawiki/index.php?title=Qbox_Computing_Bulk_Modulus_of_Au&amp;diff=2050&amp;oldid=prev"/>
		<updated>2008-12-31T20:56:25Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Computing Bulk Modulus of Au&lt;/span&gt;&lt;/span&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 20:56, 31 December 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&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;== Computing Bulk Modulus of Au ==&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;==&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; Qbox:&lt;/ins&gt; Computing Bulk Modulus of Au ==&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;This part of the tutorial is dedicated to a non trivial calculation of Bulk modulus with Qbox.&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;This part of the tutorial is dedicated to a non trivial calculation of Bulk modulus with Qbox.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Caiwei</name></author>
	</entry>
	<entry>
		<id>http://micro.stanford.edu/mediawiki/index.php?title=Qbox_Computing_Bulk_Modulus_of_Au&amp;diff=2049&amp;oldid=prev</id>
		<title>Caiwei: Computing Bulk Modulus of Au by Qbox moved to Qbox Computing Bulk Modulus of Au</title>
		<link rel="alternate" type="text/html" href="http://micro.stanford.edu/mediawiki/index.php?title=Qbox_Computing_Bulk_Modulus_of_Au&amp;diff=2049&amp;oldid=prev"/>
		<updated>2008-12-31T20:55:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/wiki/Computing_Bulk_Modulus_of_Au_by_Qbox&quot; class=&quot;mw-redirect&quot; title=&quot;Computing Bulk Modulus of Au by Qbox&quot;&gt;Computing Bulk Modulus of Au by Qbox&lt;/a&gt; moved to &lt;a href=&quot;/wiki/Qbox_Computing_Bulk_Modulus_of_Au&quot; title=&quot;Qbox Computing Bulk Modulus of Au&quot;&gt;Qbox Computing Bulk Modulus of Au&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:55, 31 December 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Caiwei</name></author>
	</entry>
	<entry>
		<id>http://micro.stanford.edu/mediawiki/index.php?title=Qbox_Computing_Bulk_Modulus_of_Au&amp;diff=2048&amp;oldid=prev</id>
		<title>Kwkang: Protected &quot;Computing Bulk Modulus of Au by Qbox&quot; [edit=Qbox:move=Qbox:read=Qbox]</title>
		<link rel="alternate" type="text/html" href="http://micro.stanford.edu/mediawiki/index.php?title=Qbox_Computing_Bulk_Modulus_of_Au&amp;diff=2048&amp;oldid=prev"/>
		<updated>2008-11-12T21:49:59Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/wiki/Computing_Bulk_Modulus_of_Au_by_Qbox&quot; class=&quot;mw-redirect&quot; title=&quot;Computing Bulk Modulus of Au by Qbox&quot;&gt;Computing Bulk Modulus of Au by Qbox&lt;/a&gt;&amp;quot; [edit=Qbox:move=Qbox:read=Qbox]&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:49, 12 November 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Kwkang</name></author>
	</entry>
	<entry>
		<id>http://micro.stanford.edu/mediawiki/index.php?title=Qbox_Computing_Bulk_Modulus_of_Au&amp;diff=2047&amp;oldid=prev</id>
		<title>Kwkang: Protected &quot;Computing Bulk Modulus of Au by Qbox&quot; [edit=Qbox:move=Qbox:read=Qbox] (expires 08:00, 11 November 2008 (UTC))</title>
		<link rel="alternate" type="text/html" href="http://micro.stanford.edu/mediawiki/index.php?title=Qbox_Computing_Bulk_Modulus_of_Au&amp;diff=2047&amp;oldid=prev"/>
		<updated>2008-11-10T22:57:21Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/wiki/Computing_Bulk_Modulus_of_Au_by_Qbox&quot; class=&quot;mw-redirect&quot; title=&quot;Computing Bulk Modulus of Au by Qbox&quot;&gt;Computing Bulk Modulus of Au by Qbox&lt;/a&gt;&amp;quot; [edit=Qbox:move=Qbox:read=Qbox] (expires 08:00, 11 November 2008 (UTC))&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:57, 10 November 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Kwkang</name></author>
	</entry>
	<entry>
		<id>http://micro.stanford.edu/mediawiki/index.php?title=Qbox_Computing_Bulk_Modulus_of_Au&amp;diff=2046&amp;oldid=prev</id>
		<title>Caiwei: /* Computing Bulk Modulus of Au */</title>
		<link rel="alternate" type="text/html" href="http://micro.stanford.edu/mediawiki/index.php?title=Qbox_Computing_Bulk_Modulus_of_Au&amp;diff=2046&amp;oldid=prev"/>
		<updated>2008-11-08T09:25:21Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Computing Bulk Modulus of Au&lt;/span&gt;&lt;/span&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 09:25, 8 November 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&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;We will compute the bulk modulus by computing stress at two different volumes and taking finite differences. &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;We will compute the bulk modulus by computing stress at two different volumes and taking finite differences. &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;The calculation will be done with one atom per cell and many k-points. Qbox does not &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;checks&lt;/del&gt; for convergence so it is our responsability to verify for this, including energy cutoff, iteration convergence, k-point grid, system size, and pseudopotential quality. Other ways of calculating bulk modulus and convergence tests are left as exercises.&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;The calculation will be done with one atom per cell and many k-points. Qbox does not &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;check&lt;/ins&gt; for convergence so it is our responsability to verify for this, including energy cutoff, iteration convergence, k-point grid, system size, and pseudopotential quality. Other ways of calculating bulk modulus and convergence tests are left as exercises.&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;For computing the bulk modulus of gold we will need at least three files (1) a pseudopotential for Gold, (2) input files for defining cell parameters and other calculation specifications (3) a list of k-points for the FCC cell. We will put all of them in one empty directory:&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;For computing the bulk modulus of gold we will need at least three files (1) a pseudopotential for Gold, (2) input files for defining cell parameters and other calculation specifications (3) a list of k-points for the FCC cell. We will put all of them in one empty directory:&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 16:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&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;  wget http://micro.stanford.edu/mediawiki-1.11.0/images/Au_bulk_au-pbe.TM.xml.txt -O au-pbe.TM.xml&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;  wget http://micro.stanford.edu/mediawiki-1.11.0/images/Au_bulk_au-pbe.TM.xml.txt -O au-pbe.TM.xml&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;Qbox was designed to be an interactive code, so each input line &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;y&lt;/del&gt; actually a command given to the Qbox engine to set internal variables or perform a wavefunction optimization. The input file we will use is this [[media:au_bulk_au_stress.i.txt | au_bulk/au_stress.i ]]. This input file calls another input file with the k-point sampling set [[media:au_bulk_kp8881fcc.i.txt | au_bulk/kp8881fcc.i]].&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;Qbox was designed to be an interactive code, so each input line &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is&lt;/ins&gt; actually a command given to the Qbox engine to set internal variables or perform a wavefunction optimization. The input file we will use is this [[media:au_bulk_au_stress.i.txt | au_bulk/au_stress.i ]]. This input file calls another input file with the k-point sampling set [[media:au_bulk_kp8881fcc.i.txt | au_bulk/kp8881fcc.i]].&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;  wget http://micro.stanford.edu/mediawiki-1.11.0/images/Au_bulk_au_stress.i.txt -O au_stress.i&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;  wget http://micro.stanford.edu/mediawiki-1.11.0/images/Au_bulk_au_stress.i.txt -O au_stress.i&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Caiwei</name></author>
	</entry>
	<entry>
		<id>http://micro.stanford.edu/mediawiki/index.php?title=Qbox_Computing_Bulk_Modulus_of_Au&amp;diff=2045&amp;oldid=prev</id>
		<title>Caiwei: /* Computing Bulk Modulus of Au */</title>
		<link rel="alternate" type="text/html" href="http://micro.stanford.edu/mediawiki/index.php?title=Qbox_Computing_Bulk_Modulus_of_Au&amp;diff=2045&amp;oldid=prev"/>
		<updated>2008-11-08T09:18:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Computing Bulk Modulus of Au&lt;/span&gt;&lt;/span&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 09:18, 8 November 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&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;This part of the tutorial is dedicated to a non trivial calculation of Bulk modulus with Qbox.&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;This part of the tutorial is dedicated to a non trivial calculation of Bulk modulus with Qbox.&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;We performed this calculation on a dual-core Ubuntu installation (see &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;above&lt;/del&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;We performed this calculation on a dual-core Ubuntu installation (see &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[http://micro.stanford.edu/wiki/How_to_compile_Qbox#Quick_compilation_in_Ubuntu tutorial]&lt;/ins&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;We will compute the bulk modulus by computing stress at two different volumes and taking finite differences. &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;We will compute the bulk modulus by computing stress at two different volumes and taking finite differences. &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Caiwei</name></author>
	</entry>
	<entry>
		<id>http://micro.stanford.edu/mediawiki/index.php?title=Qbox_Computing_Bulk_Modulus_of_Au&amp;diff=2044&amp;oldid=prev</id>
		<title>Caiwei at 09:03, 8 November 2008</title>
		<link rel="alternate" type="text/html" href="http://micro.stanford.edu/mediawiki/index.php?title=Qbox_Computing_Bulk_Modulus_of_Au&amp;diff=2044&amp;oldid=prev"/>
		<updated>2008-11-08T09:03:19Z</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 09:03, 8 November 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 139:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 139:&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;* Change the k-point grid, k-point grids can be generated or just converted from other codes k-point grid outputs. For example from VASP, the only difference is that the k-point weights (see last column in &#039;au_bulk/kpt8881fcc.i&#039;) must be normalized to one.&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;* Change the k-point grid, k-point grids can be generated or just converted from other codes k-point grid outputs. For example from VASP, the only difference is that the k-point weights (see last column in &#039;au_bulk/kpt8881fcc.i&#039;) must be normalized to one.&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;* Use a different pseudopotential, for example this one (see details inside the file) [[media:au_bulk_Au_PBE_11e.xml.txt | au_bulk/Au_PBE_11e.xml]]&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;* Use a different pseudopotential, for example this one (see details inside the file) [[media:au_bulk_Au_PBE_11e.xml.txt | au_bulk/Au_PBE_11e.xml]]&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;br /&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&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;(end of compilation tutorial)&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Caiwei</name></author>
	</entry>
	<entry>
		<id>http://micro.stanford.edu/mediawiki/index.php?title=Qbox_Computing_Bulk_Modulus_of_Au&amp;diff=2043&amp;oldid=prev</id>
		<title>Caiwei: New page: == Computing Bulk Modulus of Au ==  This part of the tutorial is dedicated to a non trivial calculation of Bulk modulus with Qbox. We performed this calculation on a dual-core Ubuntu insta...</title>
		<link rel="alternate" type="text/html" href="http://micro.stanford.edu/mediawiki/index.php?title=Qbox_Computing_Bulk_Modulus_of_Au&amp;diff=2043&amp;oldid=prev"/>
		<updated>2008-11-08T09:02:48Z</updated>

		<summary type="html">&lt;p&gt;New page: == Computing Bulk Modulus of Au ==  This part of the tutorial is dedicated to a non trivial calculation of Bulk modulus with Qbox. We performed this calculation on a dual-core Ubuntu insta...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Computing Bulk Modulus of Au ==&lt;br /&gt;
&lt;br /&gt;
This part of the tutorial is dedicated to a non trivial calculation of Bulk modulus with Qbox.&lt;br /&gt;
We performed this calculation on a dual-core Ubuntu installation (see above).&lt;br /&gt;
&lt;br /&gt;
We will compute the bulk modulus by computing stress at two different volumes and taking finite differences. &lt;br /&gt;
The calculation will be done with one atom per cell and many k-points. Qbox does not checks for convergence so it is our responsability to verify for this, including energy cutoff, iteration convergence, k-point grid, system size, and pseudopotential quality. Other ways of calculating bulk modulus and convergence tests are left as exercises.&lt;br /&gt;
&lt;br /&gt;
For computing the bulk modulus of gold we will need at least three files (1) a pseudopotential for Gold, (2) input files for defining cell parameters and other calculation specifications (3) a list of k-points for the FCC cell. We will put all of them in one empty directory:&lt;br /&gt;
&lt;br /&gt;
  mkdir au_bulk&lt;br /&gt;
  cd au_bulk&lt;br /&gt;
&lt;br /&gt;
We will omit the generation of the pseudopotential, we will only mention that the pseudopotential has to be consistent with the functional choosen (in this case GGA-PBE). The file is directly given here: [[media:au_bulk_au-pbe.TM.xml.txt | au_bulk/au-pbe.TM.xml]] &lt;br /&gt;
&lt;br /&gt;
  wget http://micro.stanford.edu/mediawiki-1.11.0/images/Au_bulk_au-pbe.TM.xml.txt -O au-pbe.TM.xml&lt;br /&gt;
&lt;br /&gt;
Qbox was designed to be an interactive code, so each input line y actually a command given to the Qbox engine to set internal variables or perform a wavefunction optimization. The input file we will use is this [[media:au_bulk_au_stress.i.txt | au_bulk/au_stress.i ]]. This input file calls another input file with the k-point sampling set [[media:au_bulk_kp8881fcc.i.txt | au_bulk/kp8881fcc.i]].&lt;br /&gt;
&lt;br /&gt;
  wget http://micro.stanford.edu/mediawiki-1.11.0/images/Au_bulk_au_stress.i.txt -O au_stress.i&lt;br /&gt;
  wget http://micro.stanford.edu/mediawiki-1.11.0/images/Au_bulk_kp8881fcc.i.txt -O kp8881fcc.i&lt;br /&gt;
&lt;br /&gt;
What follows is a explanation line by line of the input file au_bulk/au_stress.i. Pound sign &amp;#039;#&amp;#039; indicate comment lines.&lt;br /&gt;
&lt;br /&gt;
(begin of au_stress.i)&lt;br /&gt;
&lt;br /&gt;
  ## this input file compute the stress tensor for FCC Au&lt;br /&gt;
  # define cell&lt;br /&gt;
  set cell  3.9 3.9 0.000  0.000 3.9 3.9  3.9 0.000 3.9&lt;br /&gt;
&lt;br /&gt;
  # define reference cell (always larger than cell),&lt;br /&gt;
  #   meant to smooth out discrete changes on pw basis on volume change&lt;br /&gt;
  set ref_cell 4 4 0  0 4 4  4 0 4&lt;br /&gt;
&lt;br /&gt;
  # declare a pseudopotential file and give name to such species&lt;br /&gt;
  species gold au-pbe.TM.xml&lt;br /&gt;
 &lt;br /&gt;
  # add one atom to the cell&lt;br /&gt;
  atom Au gold 0 0 0&lt;br /&gt;
&lt;br /&gt;
  # set number of empty states, needed for metals, nempty is 0 by default. &lt;br /&gt;
  set nempty 8&lt;br /&gt;
  &lt;br /&gt;
  # energy cut off, always check convergece against this variable.&lt;br /&gt;
  set ecut 90&lt;br /&gt;
&lt;br /&gt;
  # define kpoints using file kp8881fcc.i&lt;br /&gt;
  #  this will call an external file that should be in the current directory&lt;br /&gt;
  #  if file is not found Qbox will ignore the line and continue!&lt;br /&gt;
  kp8881fcc.i&lt;br /&gt;
  &lt;br /&gt;
  # activates the calculation of stress tensor.&lt;br /&gt;
  set stress ON&lt;br /&gt;
&lt;br /&gt;
  # effective cutoff for stress calculation, improves smoothness relative to change in pw basis set&lt;br /&gt;
  set ecuts 85&lt;br /&gt;
&lt;br /&gt;
  # set functional, default is LDA&lt;br /&gt;
  set xc PBE&lt;br /&gt;
&lt;br /&gt;
  #set optimization algorithm in non-selfconsistent loop&lt;br /&gt;
  set wf_dyn PSD&lt;br /&gt;
&lt;br /&gt;
  # energy cutoff for the wf optimization algorith&lt;br /&gt;
  # must be lower than actual ecut,&lt;br /&gt;
  # lower values can accelerate converge but increase instabilities  &lt;br /&gt;
  set ecutprec 10&lt;br /&gt;
&lt;br /&gt;
  # real calculations start here&lt;br /&gt;
  # randomize initial wavefunction &lt;br /&gt;
  randomize_wf&lt;br /&gt;
&lt;br /&gt;
  # updating of charge density self consistent loop, can improve convergence&lt;br /&gt;
  set charge_mix_coeff 0.2&lt;br /&gt;
&lt;br /&gt;
  # set smearing of fermi surface, can improve convergence for metals&lt;br /&gt;
  set fermi_temp 300&lt;br /&gt;
&lt;br /&gt;
  # run 10 series of 5 self consistent loops with 5 non-self consistent loop &lt;br /&gt;
  run 10 5 5&lt;br /&gt;
&lt;br /&gt;
  # save atom position and wavefunction for later use&lt;br /&gt;
  save gs.xml&lt;br /&gt;
&lt;br /&gt;
(end of au_stress.i)&lt;br /&gt;
&lt;br /&gt;
Now we can run the calculation  or submit it to a queue.&lt;br /&gt;
&lt;br /&gt;
  mpirun -np 2 ~/soft/qbox-1.45.0/src/qbox au_stress.i | tee au_stress.o&lt;br /&gt;
&lt;br /&gt;
&amp;#039;au_bulk/au_stress.o&amp;#039; will contain all the output from qbox, exploring this file is the only way to check for convergence. The simplest check is to see (and plot) how the total energy converged:&lt;br /&gt;
&lt;br /&gt;
  grep etotal au_stress.o&lt;br /&gt;
&lt;br /&gt;
Other checks can include stress tensor or electron occupancy. Once we checked converge we can look at the final output of the stress tensor. For example in our case we will see&lt;br /&gt;
&lt;br /&gt;
  $ grep &amp;#039;&amp;lt;sigma_xx&amp;#039; au_stress_a3.9.o -A 5 | tail -6&lt;br /&gt;
     &amp;lt;sigma_xx&amp;gt;   4.85104411 &amp;lt;/sigma_xx&amp;gt;&lt;br /&gt;
     &amp;lt;sigma_yy&amp;gt;   4.85104541 &amp;lt;/sigma_yy&amp;gt;&lt;br /&gt;
     &amp;lt;sigma_zz&amp;gt;   4.85104410 &amp;lt;/sigma_zz&amp;gt;&lt;br /&gt;
     &amp;lt;sigma_xy&amp;gt;   0.00000018 &amp;lt;/sigma_xy&amp;gt;&lt;br /&gt;
     &amp;lt;sigma_yz&amp;gt;   0.00000010 &amp;lt;/sigma_yz&amp;gt;&lt;br /&gt;
     &amp;lt;sigma_xz&amp;gt;  -0.00000064 &amp;lt;/sigma_xz&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That means that the resulting stress is diagonal (as it should be) and the magnitude is 4.85104~GPa. The we can rerun an input file with a slightly different cell:&lt;br /&gt;
&lt;br /&gt;
  set cell  3.855 3.855 0.000  0.000 3.855 3.855  3.855 0.000 3.855&lt;br /&gt;
&lt;br /&gt;
Then read the final stress in the same way. In this way we have two volumes 114.58 and 118.64 and obtained two corresponding pressures 11.441950 and 4.85104411 Gpa. The volumes are given in atomic units but we do not need the volume units for this. A numerical approximation of the bulf modulus is simply&lt;br /&gt;
&lt;br /&gt;
  (11.441950-4.85104411)/(114.58 - 118.64)* ((114.58 + 118.64)/2) &lt;br /&gt;
&lt;br /&gt;
which results numerically in 189.30 in units of GPa.&lt;br /&gt;
&lt;br /&gt;
Possible improvements not shown here for simplicity: &lt;br /&gt;
&lt;br /&gt;
(1) It is possible to write a script (bash or otherwise) to automatize the process. &lt;br /&gt;
(2) It is possible to reuse the wavefunction of the first calculation in the second&lt;br /&gt;
by loading the gs.xml wavefunction before resetting the cell size (and removing the &amp;#039;randomize_wf&amp;#039; line)&lt;br /&gt;
&lt;br /&gt;
  load gs.xml&lt;br /&gt;
  set cell 3.855 3.855 0 3.855 0 3.855 0 0 3.855 &lt;br /&gt;
  # randomize_wf&lt;br /&gt;
&lt;br /&gt;
(3) In the same way it is possible to save wavefunctions in case the calculation is interrupted&lt;br /&gt;
&lt;br /&gt;
  run 3 5 5&lt;br /&gt;
  save gs_checkpoint.xml&lt;br /&gt;
  run 3 5 5&lt;br /&gt;
  save gs_checkpoint.xml&lt;br /&gt;
  run 3 5 5&lt;br /&gt;
&lt;br /&gt;
Further (home)work to convert this tutorial in a serious result: &lt;br /&gt;
&lt;br /&gt;
* Check that the result is converged by increasing the value of ecut. &lt;br /&gt;
* Try duplicating the number of iteration &amp;#039;run 20 5 5&amp;#039; to improve convergence.&lt;br /&gt;
* Take finite differences with smaller volume differences and near zero pressure.&lt;br /&gt;
* Calculate the bulk modulus using total energies at three different volumes instead of pressures or by fitting to more point near equilibrium volume.&lt;br /&gt;
* Change the k-point grid, k-point grids can be generated or just converted from other codes k-point grid outputs. For example from VASP, the only difference is that the k-point weights (see last column in &amp;#039;au_bulk/kpt8881fcc.i&amp;#039;) must be normalized to one.&lt;br /&gt;
* Use a different pseudopotential, for example this one (see details inside the file) [[media:au_bulk_Au_PBE_11e.xml.txt | au_bulk/Au_PBE_11e.xml]]&lt;br /&gt;
&lt;br /&gt;
(end of compilation tutorial)&lt;/div&gt;</summary>
		<author><name>Caiwei</name></author>
	</entry>
</feed>