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.

After successfully running properties, the directory should contain the files GRED.DAT and KRED.DAT.<br />

Note that GRED.DAT has a slightly different format in crystal09.<br />

Running the casino utility crysgen06 or crysgen09 in the same directory reads these files and writes<br />

gwfn.data for use in casino.<br />

1D/2D/3D periodic systems<br />

For periodic systems, the k-point mesh used within crystal06 should be an integer multiple <strong>of</strong> the<br />

supercell size that is used in casino. Within crystal06/09, the mesh is defined using the SHRINK<br />

keyword followed by 1, 2 or 3 integers depending on the number <strong>of</strong> periodic dimensions.<br />

Next, the input for the properties program needs one additional line after the NEWK keyword. To<br />

simply output the full k-point mesh that was used with crystal06, use the following:<br />

NEWK<br />

0 0<br />

1 0<br />

CRYAPI_OUT<br />

END<br />

After running properties successfully, the directory should contain the files GRED.DAT and KRED.DAT<br />

IMPORTANT: In periodic systems the program crysgen09 (or crysgen06 ) now needs to know some<br />

parameters related to the size <strong>of</strong> the supercells required (the converter can output several sizes <strong>of</strong><br />

supercells in one run). These can be taken from a file called crysgen.dat (which is normally automatically<br />

produced by the runqmc script)—but if this file is not present crysgen will ask you to input<br />

this data on the command line.<br />

For reference, a typical crysgen.dat indicating that three supercells <strong>of</strong> sizes 222, 333 and 444 should<br />

be generated might look like:<br />

QMC<br />

3<br />

2 2 2<br />

3 3 3<br />

4 4 4<br />

END<br />

The first number it reads after the QMC line is the number N <strong>of</strong> different super cell sized is should<br />

produce. After this, it takes N triples <strong>of</strong> integers each specifying one size <strong>of</strong> a supercell. These<br />

supercells have to be integer dividers <strong>of</strong> the k-point mesh that was output by the properties program.<br />

After all N triples have been given, the individual gwfn.data files are produced for use by casino.<br />

Differences between CRYSTAL03 and CRYSTAL06/09 input files<br />

The crystal03 and crystal06/09 codes have minor irritating and mutually incompatible differences<br />

in their input formats. The differences that casino users are most likely to encounter using old<br />

example input files from our distributions are as follows:<br />

• In crystal06/09 there are now three sections to the input file rather than four. To update<br />

earlier input files, delete the superfluous END statement after the third section.<br />

• The shrinking factors <strong>of</strong> the Monkhorst and Gilat nets are now given by the SHRINK keyword<br />

followed by, e.g., ‘8 16’, rather than the old three numbers at the start <strong>of</strong> the fourth section.<br />

• The TOLSCF keyword—which is common in input files round here—no longer works. Replace<br />

this block with the TOLDEE block which contains one number (the usual energy threshold, e.g.,<br />

7).<br />

• In crystal09 the format <strong>of</strong> user-defined INPUT pseudopotentials changed. If you happen to<br />

be using a pseudopotential taken from our online library before February 2012, then it will<br />

cease to work, and crystal09 will stop with an error message ‘RADIAL POWER IN INPUT<br />

PSEUDO OUT OF RANGE’. The solution is to add a zero to the line after ‘INPUT’ in each<br />

pseudopotential. The casino online library and examples were updated to reflect this change<br />

in February 2012. See Question D4 <strong>of</strong> the casino FAQ.<br />

Parallel CRYSTAL<br />

105

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

Saved successfully!

Ooh no, something went wrong!