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.
for a given trial wave function and geometry by setting the input keyword runtype to ‘gen mpc’ and<br />
typing runqmc.<br />
One might consider using the MPC interaction because casino can evaluate it much more quickly<br />
than the Ewald interaction, and also because it gives rise to smaller finite-size effects 1 . More details<br />
are given in Sec. 19.4.4.<br />
6.1.6 Summary <strong>of</strong> input files required by <strong>CASINO</strong><br />
The input files (and some <strong>of</strong> the output files) required by casino are summarized in the figure below:<br />
Gaussians:<br />
correlation.data<br />
input<br />
config.in<br />
CRYSTAL95/98/03/06/09<br />
GAUSSIAN94/98/03/09<br />
TURBOMOLE<br />
expot.data<br />
mpc.data<br />
gwfn.data<br />
vmc.hist<br />
dmc.hist<br />
etc..<br />
Plane waves:<br />
ABINIT<br />
CASTEP<br />
K270<br />
GP<br />
PWSCF<br />
Numerical orbitals:<br />
TCM atomic code<br />
pwfn.data<br />
bwfn.data<br />
Blips<br />
bwfn.data.bin<br />
awfn.data<br />
dwfn.data<br />
<strong>CASINO</strong><br />
pseudopotential<br />
file<br />
out<br />
expval.data<br />
config.out<br />
The dotted-line boxes indicate optional files, and the curved dotted line indicates that one <strong>of</strong> the<br />
wave function files defined by the arrows within the sweep <strong>of</strong> the curve must be supplied (unless you<br />
are doing a model system such as the homogeneous electron gas which does not require a trial wave<br />
function generated by an external code).<br />
A complete list <strong>of</strong> the input and output files used by casino, together with detailed information about<br />
their format, is given in Sec. 7.<br />
6.2 How to do a VMC calculation<br />
Let’s begin by calculating the HF energy <strong>of</strong> a hydrogen atom. Change directory to<br />
~/<strong>CASINO</strong>/examples/atom/hydrogen/. You will see a gwfn.data file generated by a gaussian94<br />
calculation—see the bottom <strong>of</strong> gwfn.data for the gaussian output—and a casino input file (note<br />
that most casino wave function files are supplied in compressed .gz form, so you may need to gunzip<br />
them). No pseudopotential file is supplied, so casino will assume you wish to do an all-electron<br />
calculation. No correlation.data file is supplied, because the correlation energy in a one-electron<br />
atom (zero!) is not difficult to calculate without one.<br />
Look in the input file. You will see that neu and ned have been given the correct values (one<br />
spin-up electron present), periodic is F, and, as this is a finite system, the npcell block is not<br />
required. It is not necessary to equilibrate the electron distribution since there is only one electron,<br />
but vmc equil nstep is set to 500 to remind you that this should normally be done. The vmc nstep<br />
parameter is set to 100000. Note also that the runtype parameter is set to ‘vmc’, implying that we<br />
are going to perform a VMC calculation. The atom basis type parameter is set to ‘gaussian’, which<br />
means that a Gaussian basis set is used to expand the orbitals in the trial wave function.<br />
Type runqmc. Three files, out, vmc.hist and config.out, should be produced. First type envmc.<br />
This is a quick way to pull the VMC result out <strong>of</strong> the output file. It says:<br />
1 The difference between the energy per atom obtained in a finite simulation cell and the energy per atom for an<br />
infinite crystal is smaller when the MPC interaction is used instead <strong>of</strong> the Ewald interaction.<br />
14