14.09.2014 Views

CASINO manual - Theory of Condensed Matter

CASINO manual - Theory of Condensed Matter

CASINO manual - Theory of Condensed Matter

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

the DMC energy with a sufficiently low error bar. This is the ‘statistics-accumulation’ part 8 .<br />

As usual, the basic output <strong>of</strong> casino is sent to a file called out. The other important output file<br />

is dmc.hist, which contains the energy and other data as a function <strong>of</strong> move number (see Sec. 7.10<br />

for precise definitions <strong>of</strong> what it contains). The data in this file must be analysed using the reblock<br />

utility, as was done above for the data in the vmc.hist file—there is no equivalent <strong>of</strong> the ve utility<br />

at present. Again, as in VMC, on-the-fly reblocking is done to a limited extent and reblocked error<br />

bars are printed at the end <strong>of</strong> the output file (this will not work yet for continued runs; in that case<br />

the reblock utility must be used) 9 .<br />

The progress <strong>of</strong> a DMC simulation is easily visualized by means <strong>of</strong> the utility graphdmc, which reads<br />

the dmc.hist file and calls the plotting program xmgrace to show you the resulting pretty picture.<br />

Typing graphdmc will produce something like this:<br />

1500<br />

1400<br />

1300<br />

1200<br />

1100<br />

POPULATION<br />

1000<br />

0 500 1000 1500<br />

-55.4<br />

-55.5<br />

-55.6<br />

Local energy (Ha)<br />

Reference energy<br />

Best estimate<br />

-55.7<br />

-55.8<br />

0 500 1000 1500<br />

Number <strong>of</strong> moves<br />

This picture shows the results <strong>of</strong> the simulation <strong>of</strong> an antiferromagnetic NiO crystal with 1280 configurations.<br />

The upper panel shows how the population fluctuates as the simulation progresses. There<br />

is a feedback process in operation to limit the population fluctuations, so the population should just<br />

oscillate around the total initial number <strong>of</strong> configurations that we chose (1280 in this case). If you<br />

have a colour-printed <strong>manual</strong> or you are looking at the PDF version, in the bottom panel you will see<br />

a red line, a green line and a rapidly oscillating black line. The black line is the instantaneous value<br />

<strong>of</strong> the local energy averaged over the current population <strong>of</strong> configurations; the red line is the reference<br />

energy E T , which is adjusted to control the feedback process that keeps the population in check; and<br />

the green line is the best estimate <strong>of</strong> the DMC energy as the simulation progresses.<br />

You should note that, in the picture above, the best estimate <strong>of</strong> the energy falls from its initial value<br />

(the energy from the VMC configuration-generation run) to a much lower, constant value (around<br />

−55.72 a.u.) as the wave function evolves to the ground state. You should look for the point at which<br />

8 Given our ability to reblock the casino data and discard an arbitrary number <strong>of</strong> initial steps, one might wonder<br />

why it is necessary at all to run equilibration steps in DMC. In fact, the algorithm in the equilibration and statistics<br />

accumulation phases is slightly different. In the equilibration phase, the underlying mean DMC energy is generally<br />

expected to decrease as time progresses, whereas in the statistics accumulation phase it is steady. Hence the ‘best<br />

estimate <strong>of</strong> the energy’ in equilibration is taken over a narrow window <strong>of</strong> the most recent ebest av window (=25 by<br />

default) moves, whereas in statistics accumulation the best estimate is the average over all moves since the start <strong>of</strong><br />

statistics accumulation. The best estimate <strong>of</strong> the energy is used in the local-energy limiting schemes when computing<br />

the branching factors: see later.<br />

9 A file dmc.status is written and overwritten at the end <strong>of</strong> each DMC block. At any time during the run, this<br />

file contains the complete statistical evaluation as it would be written if the run had finished here. The out file only<br />

contains this data once at the end, if the run is finished properly. The file is intended to be both human-readable and<br />

easy to parse.<br />

22

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!