molecule
pDynamo

Installation

The current version of pDynamo has been tested on Linux and MAC OS-X 10 machines. Given that the library uses standard Python and C, it should also work on Windows machines although this has yet to be tried.

Linux and MAC OS-X

  1. At a minimum, installation of pDynamo requires an up-to-date version of Python (ideally 2.5 or higher, but 2.4 may also work) and a C compiler. pDynamo employs some third-party libraries, notably BLAS and LAPACK, but basic versions of these come in the source distribution and so need not be provided separately.
  2. Download the current version of the library, pdynamo-x.y.tgz.
  3. Put the downloaded file, pdynamo-x.y.tgz, in the directory where the library is to be installed.
  4. Type tar -xvzf pdynamo-x.y.tgz to unpack the downloaded file and create the directory pDynamo-x.y.
  5. Go to the pDynamo installation directory by typing cd pDynamo-x.y/installation.
  6. Type python Install.py to install the library. This command can take a little while and will produce a lot of output.
  7. Set up the environment variables that are needed by the library. These are described in the file 00readme.txt in the installation directory and are most conveniently defined in a login start-up file, such as .cshrc or .login.
  8. To test the library, type cd ../book/examples and then python RunAll.py. The tests take about a day to run and require about a gigabyte of disk space. Once they are finished type python DifferenceOutputs.py to see the differences between the generated outputs and the reference outputs provided with the installation.

By default, installation does not process the Pyrex files that link the Python and C parts of pDynamo together. Instead, the preprocessed files that are included in the distribution are employed. This may cause problems on some machines. If this is the case, download and install the current version of Pyrex and then repeat the installation using the command python Install.py -f.

Valid XHTML 1.0 Strict
Last modification time (GMT): Wed Sep 26 12:38:47 2007
Copyright © 2007–2008 Martin J. Field