Differences between revisions 1 and 7 (spanning 6 versions)
Revision 1 as of 2007-03-20 16:07:37
Size: 4348
Comment:
Revision 7 as of 2007-04-26 17:28:14
Size: 6615
Editor: MarcinDulak
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
.. contents::

CAMd Database
=============
Line 112: Line 117:

Generating new pseudopotentials
===============================

For Dacapo, we use pseudopotentials generated with `USPP package`_.
Download the latest `uspp-736-0.tgz <http://www.physics.rutgers.edu/~dhv/uspp/uspp-736-0.tgz>`_ version.

Compiling the package
---------------------

* unpack the package::

   gunzip < uspp-736-0.tgz | tar xf -
   cd uspp-736

* the compiler must be able to generate fortran unformatted IEEE big-endian data files.
  Note that `g77` compiler does not provide (?) this feature.
  See `<https://wiki.fysik.dtu.dk/dacapo/Installation#installing-the-pseudopotentials>`_ and
  set the appropriate compiler flag `FC` and `FFLAGS` in `Source/Makefile` file.

* ::

   make compile

Example
-------

Directory `Work` contains examples of pseudopotentials.
To generate a pseudopotential go into one of directories
(e.g. Work/011-Na/011-Na-ca-n-campos) and type::

   make

This psedopotential uses `na_ae_0.adat` file as the all-electron run of the reference atomic configuration,
and `na_ps.adat` as pseudopotential generation file. Other \*ae\*adat files (together with
the corresponding \*test\*adat files) are used
for testing of the generated pseudopotential using different electronic configurations.
The pseudopotential data is written into `na_ps.uspp` file.
Use the ``SetPseudoPotential(<elementnumber>, path)`` method, as described in
`<https://wiki.fysik.dtu.dk/dacapo/Manual#pseudo-potentials>`_,
to tell dacapo program to use this pseudopotential file.

See `Makefile` for details and
the `Doc <http://www.physics.rutgers.edu/~dhv/uspp/uspp-736/Doc/>`_ directory for the manual.

Have a look at another example (for Na) 011-Na-ca-n-campos_ca_01_incl_tests.tar.gz__.
Unpack this file into the Work/011-Na directory and read the *NEW* file::

   cd Work/011-Na; gunzip < 011-Na-ca-n-campos_ca_01_incl_tests.tar.gz | tar xf -

__ attachment:011-Na-ca-n-campos_ca_01_incl_tests.tar.gz

The `tutorial <http://www.abinit.org/Infos/Tutorial/lesson_paw2.html>`_ provides
a step-by-step description of the generation process of a new pseudopotential for **Ti**.

.. _USPP package: http://www.physics.rutgers.edu/~dhv/uspp/


CAMd Database

H                                 He
Li Be                     B C N O F Ne
Na Mg                     Al Si P S Cl Ar
K Ca Sc Ti V Cr Mn Fe Co Ni Cu Zn Ga Ge As Se Br Kr
Rb Sr Y Zr Nb Mo Tc Ru Rh Pd Ag Cd In Sn Sb Te I Xe
Cs Ba La Hf Ta W Re Os Ir Pt Au Hg Tl Pb Bi Po At Rn

Generating new pseudopotentials

For Dacapo, we use pseudopotentials generated with USPP package. Download the latest uspp-736-0.tgz version.

Compiling the package

Example

Directory Work contains examples of pseudopotentials. To generate a pseudopotential go into one of directories (e.g. Work/011-Na/011-Na-ca-n-campos) and type:

make

This psedopotential uses na_ae_0.adat file as the all-electron run of the reference atomic configuration, and na_ps.adat as pseudopotential generation file. Other *ae*adat files (together with the corresponding *test*adat files) are used for testing of the generated pseudopotential using different electronic configurations. The pseudopotential data is written into na_ps.uspp file. Use the SetPseudoPotential(<elementnumber>, path) method, as described in https://wiki.fysik.dtu.dk/dacapo/Manual#pseudo-potentials, to tell dacapo program to use this pseudopotential file.

See Makefile for details and the Doc directory for the manual.

Have a look at another example (for Na) 011-Na-ca-n-campos_ca_01_incl_tests.tar.gz. Unpack this file into the Work/011-Na directory and read the NEW file:

cd Work/011-Na; gunzip <  011-Na-ca-n-campos_ca_01_incl_tests.tar.gz | tar xf -

The tutorial provides a step-by-step description of the generation process of a new pseudopotential for Ti.

Dacapo: Pseudopotential_Library (last edited 2012-08-26 12:05:46 by MarcinDulak)