[gpaw-users] HELP

khadija korichi k0richi at yahoo.fr
Wed Jul 14 19:12:51 CEST 2010


Hi all
For installation, I use the last version of ase and GPAW
with this command:

svn checkout https://svn.fysik.dtu.dk/projects/ase/trunk ase
svn checkout https://svn.fysik.dtu.dk/projects/gpaw/trunk gpaw

where i obtain the following version

For ASE

# Copyright (C) 2003  CAMP
# Please see the accompanying LICENSE file for further information.

version_base = '3.5.0'

For GPAW
https://wiki.fysik.dtu.dk/gpaw-files/gpaw-0.4.2734.tar.gz

I run the following script of transport properties
****************************************************************************************
from ase import Atoms
from gpaw.transport.calculator import Transport 
from gpaw.atom.basis import BasisMaker
from gpaw.occupations import FermiDirac
from gpaw.poisson import PoissonSolver
from gpaw.mixer import Mixer
import pickle

a = 3.6
L = 7.00

basis = BasisMaker('Na').generate(1, 1, energysplit=0.3)

atoms = Atoms('Na9', pbc=(0, 0, 1), cell=[L, L, 9 * a])
atoms.positions[:9, 2] = [i * a for i in range(9)]
atoms.positions[:, :2] = L / 2.
atoms.center()
pl_atoms1 = range(4)     
pl_atoms2 = range(5, 9)
pl_cell1 = (L, L, 4 * a) 
pl_cell2 = pl_cell1
t = Transport(h=0.3,
              xc='LDA',
              basis={'Na': basis},
              kpts=(1,1,1),
              occupations=FermiDirac(0.1),
              mode='lcao',
              poissonsolver=PoissonSolver(nn=2, relax='GS'),
              txt='Na_lcao.txt',
              mixer=Mixer(0.1, 5, weight=100.0),
              pl_atoms=[pl_atoms1, pl_atoms2],
              pl_cells=[pl_cell1, pl_cell2],
              pl_kpts=(1,1,5),
              edge_atoms=[[0, 3], [0, 8]],
              mol_atoms=[4],
              guess_steps=1,
              fixed_boundary=False,
              foot_print=False)
atoms.set_calculator(t)
t.calculate_iv(0.5, 2)
***************************************************************************************************

How I download the package of ASE available in this site:

https://wiki.fysik.dtu.dk/ase/epydoc/ase-module.html

Regards
/khadija




      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserv.fysik.dtu.dk/pipermail/gpaw-users/attachments/20100714/fd3c12aa/attachment.html 


More information about the gpaw-users mailing list