Installation Notes for the LLNLPython Distribution

[PD, ZCM and DA - Latest version, December 21, 1998]

Notice: There have been bugs reported when loading on a platform where there is a native version of the BLAS or LAPACK. Somehow there is a confusion between different versions of the routines. Please be sure to alter the file Setup to remove the files indicated from the build of module lapack_lite and to set the location of your libraries appropriately if working on such a platform.

This document is aimed at those building the LLNLPython distribution from source. This distribution includes several packages (not in the Python sense, just in the sense of 'collection of modules').

For each package there are some Pythons scripts to install, and for all but PyHistory, there are some C or C++ files to compile.

Compilation and Installation in a sketch:

or, in words:

UNIX

Compilation

Perform the following two steps in each subdirectory of the LLNLDistribution directory which has a Src subdirectory you wish to build.

Installation

Installation involves moving both the shared libraries (on UNIX, these files typically end with .so or .sl, and should be created by the makethis process in the root directory of each package) and the Python source files (in the Lib subdirectory(ies)) to any directory in your path. You can either do this by hand, or by executing python installthis.py in the root directory of each package.

Windows 95, 98, NT

Compilation (assumes Visual C++ 5 or later)

Installation

On Windows, the shared libraries are produced in a subdirectory named "pyds". A .pyd file is a Windows DLL renamed to have the .pyd extension, which Python recognizes as corresponding to a dynamically loadable Python module.

Running:

should create a directory C:\Program Files\LLNLDistribution\ and put all of the files (both .py and .pyd) in it. You have to modify your PYTHONPATH accordingly.

(Note: this is for source builders only; if you are using the Windows installer the path is set correctly in the registry.)

Please send feedback about the automatic scripts to da@python.net.