18.11.2012 Views

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

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.

<strong>ASE</strong> <strong>Manual</strong>, <strong>Release</strong> 3.6.1.2828<br />

NEW FILE:<br />

ase/io/turbomole.py<br />

ase/calculators:<br />

__init__.py<br />

new line 10<br />

from ase.calculators.turbomole import Turbomole<br />

NEW FILE:<br />

ase/calculators/turbomole.py<br />

VASP<br />

Introduction<br />

VASP is a density-functional theory code using pseudopotentials or the projector-augmented wave method and a<br />

plane wave basis set. This interface makes it possible to use VASP as a calculator in <strong>ASE</strong>, and also to use <strong>ASE</strong> as<br />

a post-processor for an already performed VASP calculation.<br />

Environment variables<br />

You need to write a script called run_vasp.py containing something like this:<br />

import os<br />

exitcode = os.system(’vasp’)<br />

The environment variable VASP_SCRIPT must point to that file.<br />

A directory containing the pseudopotential directories potpaw (LDA XC) potpaw_GGA (PW91 XC) and<br />

potpaw_PBE (PBE XC) is also needed, and it is to be put in the environment variable VASP_PP_PATH.<br />

Set both environment variables in your shell configuration file:<br />

$ export VASP_SCRIPT=$HOME/vasp/run_vasp.py<br />

$ export VASP_PP_PATH=$HOME/vasp/mypps<br />

VASP Calculator<br />

The default setting used by the VASP interface is<br />

class vasp.Vasp(restart=None, xc=’PW91’, setups=None, kpts=(1, 1, 1), gamma=None)<br />

Below follows a list with a selection of parameters<br />

keyword type default value description<br />

restart bool None Restart old calculation or use <strong>ASE</strong> for post-processing<br />

xc str ’PW91’ XC-functional<br />

setups str None Additional setup option<br />

kpts seq Gamma-point k-point sampling<br />

gamma bool None Gamma-point centered k-point sampling<br />

reciprocal bool None Use reciprocal units if k-points are specified explicitly<br />

prec str Accuracy of calculation<br />

encut float Kinetic energy cutoff<br />

ediff float Convergence break condition for SC-loop.<br />

nbands int Number of bands<br />

algo str Electronic minimization algorithm<br />

ismear int Type of smearing<br />

sigma float Width of smearing<br />

nelm int Maximum number of SC-iterations<br />

122 Chapter 7. Documentation for modules in <strong>ASE</strong>

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

Saved successfully!

Ooh no, something went wrong!