CASINO manual - Theory of Condensed Matter
CASINO manual - Theory of Condensed Matter
CASINO manual - Theory of Condensed Matter
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
to |p x | in the limit <strong>of</strong> perfect sampling (i.e., a biased estimate with finite sampling). You will<br />
also get larger error bars on |p| than |p| x<br />
. See Sec. 33.8 for more details and for an example see<br />
J. Chem. Phys. 127, 124306 (2007).<br />
DMC AVE PERIOD (Integer) Number <strong>of</strong> consecutive local energies that are averaged together in<br />
DMC before writing them to the dmc.hist file. The only effect <strong>of</strong> this keyword is reduce the<br />
number <strong>of</strong> lines in dmc.hist by a factor <strong>of</strong> 1/dmc ave period. Note that if dmc equil nstep<br />
or dmc state nstep are not divisible by dmc ave period, they will be rounded up to the<br />
nearest integer multiple <strong>of</strong> it.<br />
DMC DECORR PERIOD (Integer) Length <strong>of</strong> the inner decorrelation loop in DMC. The algorithm<br />
will perform dmc decorr period configuration moves between successive evaluations <strong>of</strong><br />
expectation values other than the energy. Setting dmc decorr period to a value greater than<br />
1 should reduce the serial correlation <strong>of</strong> the data. Notice that dmc decorr period differs from<br />
its VMC counterpart in that in DMC local energies are calculated at intermediate steps (they<br />
must), and these additional values are averaged into the energy data. Therefore, for calculations<br />
which do not require expectation values other than the energy, changing dmc decorr period<br />
from 1 to some value x is equivalent to setting multiplying both dmc equil/stats nstep and<br />
dmc ave period by x. In a preliminary DMC calculation, dmc decorr period specifies the<br />
frequency with which configurations are written out.<br />
DMC EQUIL FIXPOP (Real) If VMC and DMC energy are too different, the population increases<br />
during the initial phase <strong>of</strong> equilibration before the reference energy can counteract. This parameter<br />
(between 0.0 and 1.0) specifies an initial fraction <strong>of</strong> the equilibration phase during which<br />
the population and total weight are fixed to the target weight. Setting this parameter to e.g.<br />
0.5 will prevent such explosions and should have negligible effect on equilibration time.<br />
DMC EQUIL NBLOCK (Integer) Number <strong>of</strong> blocks into which the DMC equilibration phase is<br />
divided (if dmc equil nstep is not divisible by dmc equil nblock, then the number <strong>of</strong> steps<br />
will be increased to the nearest multiple <strong>of</strong> the number <strong>of</strong> blocks). Note that having multiple<br />
blocks does not increase the amount <strong>of</strong> data collected, merely the frequency with which data is<br />
written to files; the final answer should be essentially the same, irrespective <strong>of</strong> the number <strong>of</strong><br />
blocks. Specifically, at the end <strong>of</strong> each equilibration block, the following significant actions are<br />
performed:<br />
(1) Write processor- and config-averaged data to dmc.hist (one line for each step in the current<br />
block).<br />
(2) Print monitoring data to the out file (block-averaged quantities).<br />
(3) Make a backup copy <strong>of</strong> the config.out file (if catastrophe protection is turned on with the<br />
dmc trip weight keyword).<br />
(4) Write the dmc.status file.<br />
(5) Write the current state <strong>of</strong> the system, and all configurations in the current population to the<br />
config.out file (note that by setting the checkpoint keyword to 0, this step can be skipped<br />
until the end <strong>of</strong> the final block, or skipped completely if checkpoint=-1, but this is not the<br />
default).<br />
Note that if accumulating expectation values other than the energy, data is not written to the<br />
expval.data file after each block, as it would be during the statistics accumulation phase.<br />
Also, having too many blocks will make the code slower, and if the run is not massively long it<br />
is perfectly in order to have only one DMC equil block (which is the default).<br />
DMC EQUIL NSTEP (Integer) Number <strong>of</strong> DMC steps performed on each processor in the DMC<br />
equilibration phase, and consequently, the total number <strong>of</strong> local energy samples (averaged over<br />
configurations and processors) written to the dmc.hist file. The equilibration phase may be<br />
partitioned into dmc equil nblock blocks, but this does not affect the total number <strong>of</strong> steps<br />
(just how frequently stuff is written out). However, if dmc equil nstep is not divisible by the<br />
number <strong>of</strong> blocks, then it will be rounded up to the nearest multiple <strong>of</strong> dmc equil nblock.<br />
Furthermore, dmc ave period consecutive local energies may be averaged together in DMC<br />
before writing them to the dmc.hist file (hence reducing its size), but again, if dmc equil nstep<br />
is not divisible by dmc ave period, it will be rounded up to the nearest multiple <strong>of</strong> it. Note the<br />
difference in parallel behaviour compared to vmc nstep, which is not a per processor quantity;<br />
this is because the DMC phase is parallelized over configurations.<br />
DMC INIT EREF (Physical) If set, dmc init eref defines the initial reference energy for a DMC<br />
calculation. If unset, the VMC energy is used instead (default). This keyword is ignored if the<br />
38