1
Special installation instructions for various platforms
2
=======================================================
4
Win32 using MS VC++ 6.0 and Intel MKL
5
-------------------------------------
7
PySparse was sucessfully built with Microsoft Visual C++ 6.0 together
8
with the Intel Math Kernel Library (MKL).
10
When adjusting "setup.py" you can use the settings under "elif hostname
11
== 'Rivendell':" and change the library_dirs_list according to your
14
Before running the setup script please make sure that the VC++
15
executables are in your PATH environment variable.
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.
25
1. Follow the instructions at http://sebsauvage.net/python/mingw.html
30
- build libpython22.a from python.dll
32
2. Install the BLAS/LAPACK
34
- Download the LAPACK and BLAS sources from
35
http://www.netlib.org.
37
- Follow the included instructions to build the libraries using the
38
MinGW development tools.
40
- Install the libraries in your MinGW tree.
46
Your should use the following settings:
47
libraries_list = ['lapack', 'blas', 'g2c']
48
superlu_defs = [("NO_TIMER",1), ('USE_VENDOR_BLAS',1)]
50
- Build build and install:
52
python.exe setup.py build --compiler mingw32 --install