ASE Manual Release 3.6.1.2825 CAMd - CampOS Wiki
ASE Manual Release 3.6.1.2825 CAMd - CampOS Wiki
ASE Manual Release 3.6.1.2825 CAMd - CampOS Wiki
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Restarting from an old Calculation<br />
<strong>ASE</strong> <strong>Manual</strong>, <strong>Release</strong> 3.6.1.2828<br />
If you want to rerun an old SIESTA calculation, made using the <strong>ASE</strong> interface or not, you can set the fdf tag<br />
UseSaveData to True. This is equivalent to setting both DM.UseSaveDM and MD.UseSaveXV to True, i.e.<br />
it will reuse the the density matrix, and the atomic coordinates (and unit cell) of the previous calculation. Note<br />
that the Siesta jobname (the label keyword in the <strong>ASE</strong> interface) must be identical to the jobname of the old<br />
calculation.<br />
DftbPlus<br />
Introduction<br />
DftbPlus is a density-functional based tight-binding code using atom centered orbitals. This interface makes it<br />
possible to use DftbPlus as a calculator in <strong>ASE</strong>. You need to register at DftbPlus site to download the code.<br />
Additionally you need Slater-coster files for the combination of atom types of your system. These can be obtained<br />
at dftb.org.<br />
Environment variables<br />
Set environment variables in your configuration file (what is the directory for the Slater-Koster files and what is<br />
the name of the executable):<br />
• bash:<br />
$ DFTB_PREFIX=/my_disk/my_name/lib/Dftb+sk/mio-0-1/ (an example)<br />
$ DFTB_COMMAND=~/bin/DFTB+/dftb+_s081217.i686-linux (an example)<br />
• csh/tcsh:<br />
$ setenv DFTB_PREFIX /my_disk/my_name/lib/Dftb+sk/mio-0-1/ (an example)<br />
$ setenv DFTB_COMMAND ~/bin/DFTB+/dftb+_s081217.i686-linux (an example)<br />
DftbPlus Calculator<br />
This is a preliminary version of the DftbPlus calculator, so all the DftbPlus features are unfortunately not there.<br />
Use write_dftb=False to use your own ‘dftb_in.hsd’-file with all the flavours you need. In that case ase only<br />
updates the coordinates of the system, otherwise file ‘dftb_in.hsd’ remains intact (see example 2 below). However,<br />
in case of own ‘dftb_in.hsd’ file you need first read in atom position and atom type information of your system for<br />
ase (for instance a xyz-file), see example 2 below.<br />
The atom positions in file ‘dftb_in.hsd’ are updated during <strong>ASE</strong> geometry optimization.<br />
For the spin polarised calculations this <strong>ASE</strong>-interface generates parameters with GGA-PBE-spin parameters. If<br />
you need LDA use your own ‘dftb_in.hsd’-file.<br />
Information of periodicity is taken from ase (see example1 below).<br />
For example:<br />
calc = Dftb(label=’o2’,<br />
write_dftb=True,<br />
do_spin_polarized=True,<br />
unpaired_electrons=2.0,<br />
fermi_temperature=100.0,<br />
scc=True)<br />
7.14. Calculators 117