Differences between revisions 32 and 33
Revision 32 as of 2007-05-22 11:08:36
Size: 4150
Editor: MarcinDulak
Revision 33 as of 2007-05-22 11:15:13
Size: 4351
Editor: MarcinDulak
Deletions are marked like this. Additions are marked like this.
Line 52: Line 52:
   After installation set the path manually::    After installation you may need (if **libvtkRenderingPythonTkWidgets.so** is missing) to make a link::

        ln -s /usr/lib/libvtkRenderingPythonTkWidgets.so.5.0 /usr/lib/libvtkRenderingPythonTkWidgets.so

   and set the path manually::

Download and install ASE

Requirements for ASE

The following packages are required for basic ASE functionality:

  1. Python 2.2 or later is required. Python is available from http://www.python.org.
  2. Numeric Python. Use the latest version 24.2.

    Build preferably from our python-numeric-24.2-1.1.el5.fys.src.rpm or edit customize.py file to configure Numeric Python to use the system lapack library.

  1. Scientific Python from http://dirac.cnrs-orleans.fr/ScientificPython/. Use the 2.4.11 version.

The following packages are optional, since they enable the use of some specific external tools. You only need to install these tools if you want to use the extra tools mentioned:

  1. Rasmol from http://www.openrasmol.org/.

    A rasmol src and binary rpm can be use for installing Rasmol on linux. You can run ASE without RasMol, you just won't be able to plot atoms with the RasMol plotter.

  1. Gnuplot. ASE can use Gnuplot via the Gnuplot-Python interface from http://sourceforge.net/projects/gnuplot-py/. At CAMP/Niflheim we call this RPM python-gnuplot. Use the 1.7 version.
  2. Python Pexpect from http://pexpect.sourceforge.net/.

    The current version of Pexpect is 2.1, but at Niflheim we use an old version 0.999. Both versions can be downloaded from the above site. At CAMP/Niflheim we install the Pexpect RPM under the name of python-pexpect.

    RPM packages for Pexpect can be found on rpmfind.

  3. Matplotlib http://matplotlib.sourceforge.net/. Use the 0.90.0 version.
  4. vtk http://www.vtk.org/. After installation you may need (if libvtkRenderingPythonTkWidgets.so is missing) to make a link:

    ln -s /usr/lib/libvtkRenderingPythonTkWidgets.so.5.0 /usr/lib/libvtkRenderingPythonTkWidgets.so

    and set the path manually:

    export VTK_TK_WIDGET_PATH=/usr/lib

    Use the 5.0.3 version.

Installation of a Python-based package

A Python-based package such as ASE or any of the above mentioned extra packages are usually downloaded as a tar-ball or from a CVS repository.

In order to install the package you have two options (both require superuser priviledges):

  1. Install as a Python package:

    python setup.py install
  2. Build an RPM package and install it on one or many machines:

    python setup.py bdist_rpm

    You have to locate the finished RPM package after building, it may be in the dist/ subdirectory if correctly implemented, or in another directory such as build/bdist.linux-x86_64/rpm/RPMS/ (for the x86_64 architecture).

If you don't have root permissions, you will need to add the package directory to your PYTHONPATH environment variable and use your local copy of the code.

Installation of ASE

The latest version of Campos ASE is version 2.3. Get the tar-ball here: campos-ase-2.3.5.tar.gz. For CVS access to the Campos ASE code see the Campos CVS page (simply cvs checkout CamposASE2).

Make sure that everything works by running the test suite:

cd ASE/Tests
python test.py

To get started with Campos ASE, point your browser at the CamposASE homepage.

Gentoo Linux

Installation on Gentoo Linux is described in the document Installing CAMPOS software on Gentoo Linux.


The CAMPOS Atomic Simulation Environment is released under the GNU Public License version 2. See the file LICENSE which accompanies the downloaded files, or see the license at GNU's web server at http://www.gnu.org/licenses/gpl.html.

ase2: Download (last edited 2010-10-20 09:11:16 by localhost)