~ubuntu-branches/ubuntu/saucy/python-scipy/saucy

« back to all changes in this revision

Viewing changes to Lib/sandbox/pysparse/INSTALL

  • Committer: Bazaar Package Importer
  • Author(s): Ondrej Certik
  • Date: 2008-06-16 22:58:01 UTC
  • mfrom: (2.1.24 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080616225801-irdhrpcwiocfbcmt
Tags: 0.6.0-12
* The description updated to match the current SciPy (Closes: #489149).
* Standards-Version bumped to 3.8.0 (no action needed)
* Build-Depends: netcdf-dev changed to libnetcdf-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Special installation instructions for various platforms
2
 
=======================================================
3
 
 
4
 
Win32 using MS VC++ 6.0 and Intel MKL
5
 
-------------------------------------
6
 
 
7
 
PySparse was sucessfully built with Microsoft Visual C++ 6.0 together
8
 
with the Intel Math Kernel Library (MKL).
9
 
 
10
 
When adjusting "setup.py" you can use the settings under "elif hostname
11
 
== 'Rivendell':" and change the library_dirs_list according to your
12
 
MKL installation.
13
 
 
14
 
Before running the setup script please make sure that the VC++
15
 
executables are in your PATH environment variable.
16
 
 
17
 
It is also important that you include the directory containing the MKL
18
 
DLLs in your PATH environment variable. Otherwise runtime errors will
19
 
occur when PySparse is imported and called.
20
 
 
21
 
 
22
 
Win32 using MinGW
23
 
-----------------
24
 
 
25
 
1. Follow the instructions at http://sebsauvage.net/python/mingw.html
26
 
   to
27
 
 
28
 
   - install MinGW
29
 
 
30
 
   - build libpython22.a from python.dll
31
 
 
32
 
2. Install the BLAS/LAPACK
33
 
 
34
 
   - Download the LAPACK and BLAS sources from
35
 
     http://www.netlib.org.
36
 
 
37
 
   - Follow the included instructions to build the libraries using the
38
 
     MinGW development tools.
39
 
 
40
 
   - Install the libraries in your MinGW tree.
41
 
 
42
 
3. Build pysparse
43
 
 
44
 
   - Customise setup.py:
45
 
 
46
 
     Your should use the following settings:
47
 
        libraries_list = ['lapack', 'blas', 'g2c']
48
 
        superlu_defs = [("NO_TIMER",1), ('USE_VENDOR_BLAS',1)]
49
 
 
50
 
   - Build build and install:
51
 
 
52
 
     python.exe setup.py build --compiler mingw32 --install