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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

%block kpoints_list<br />

0.25 -0.25 -0.25 0.25<br />

0.25 -0.25 0.25 0.25<br />

0.25 0.25 -0.25 0.25<br />

0.25 0.25 0.25 0.25<br />

%endblock kpoints_list<br />

This is a 2 × 2 × 2 k-point mesh <strong>of</strong>fset so that Γ is exactly in between the grid points, with only<br />

one out <strong>of</strong> each ±k being given, and equal weight being assigned to each k point in the DFT<br />

calculation. The symmetry generate flag should be given in seedname.cell.<br />

4. Run a castep single-point energy calculation (not geometry optimization, etc.) using castep<br />

〈seedname〉.<br />

5. Then run the castep2casino converter, which is part <strong>of</strong> the castep distribution using<br />

castep2casino 〈seedname〉. 15<br />

6. Rename seedname.casino as pwfn.data.<br />

7. The pwfn.data can be read by casino, but it’s usually best to convert to a blip basis by running<br />

the blip program. (See Sec. 9.)<br />

8.4 CRYSTAL<br />

[See ~/<strong>CASINO</strong>/utils/wfn converters/crystal 9x/, /crystal 03/, /crystal 06 and<br />

/crystal 09.]<br />

8.4.1 The CRYSTAL program<br />

crystal is a commercially available quantum-mechanical package which is able to calculate the electronic<br />

structure <strong>of</strong> both molecules and systems with periodic boundary conditions in 1, 2 or 3 dimensions<br />

(polymers, slabs or crystals) using either HF or DFT. The latest version <strong>of</strong> the program<br />

was written by Roberto Dovesi, Vic Saunders, Carla Roetti, Roberto Orlando, Nic Harrison, Claudio<br />

Zicovich-Wilson, Klaus Doll, Bartolomeo Civalleri, Ian Bush, Philippe D’Arco, Miquel Llunell and F.<br />

Pascale. See www.tcm.phy.cam.ac.uk/~mdt26/crystal.html and the various links from there for<br />

more information.<br />

casino supposedly supports the <strong>of</strong>ficial releases crystal95, crystal98, crystal03, crystal06 and<br />

crystal09 (but not 88 or 92).<br />

With the now very obsolete crystal95 or crystal98 you must use a separate utility crysgen98 —<br />

included with the casino distribution—which transforms the contents <strong>of</strong> various crystal temporary<br />

Fortran files into a casino gwfn.data file.<br />

crystal03 was supposed to contain a facility to write out a casino gwfn.data file directly. The<br />

necessary routines were written by MDT following a specification agreed by the Daresbury authors<br />

<strong>of</strong> crystal but its incorporation into crystal was then vetoed by the Torino group. MDT was<br />

then asked to change the routines into a separate utility, but necessary information regarding the<br />

crystal source code was not available. The practical upshot <strong>of</strong> this is that casino is only supported<br />

in MDT’s private version <strong>of</strong> crystal03 which he is not allowed to distribute. Best to use crystal06<br />

or crystal09 instead.<br />

crystal06 is able to write out all the information required by external programs but as this is not<br />

specific to casino a utility crysgen06 is required to convert the data into casino gwfn.data format.<br />

crystal09 is able to write out all the information required by external programs but as this is not<br />

specific to casino a utility crysgen09 is required to convert the data into casino gwfn.data format<br />

(the size <strong>of</strong> the overlap matrix in the API was changed in going from 06 to 09 for some reason, hence<br />

the different utility).<br />

If you want to use pseudopotentials with crystal you can use the Trail-Needs ones on the casino<br />

website, which are given in the crystal format. For some <strong>of</strong> these a Gaussian basis set in the<br />

appropriate format which is optimized with respect to the pseudopotential is included in the ‘Further<br />

data’ column.<br />

15 If you are using an old version <strong>of</strong> castep then you will need to insert the line ‘continuation : 〈seedname〉’ in the<br />

seedname.param file before running castep2casino.<br />

102

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

Saved successfully!

Ooh no, something went wrong!