summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL58
1 files changed, 58 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..e4c7e12
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,58 @@
1-----------------------------------------
2 A simple scientific library for Haskell
3-----------------------------------------
4
5INSTALLATION
6
7Recommended method:
8 $ sudo apt-get install libgsl0-dev refblas3-dev lapack3-dev atlas3-[your arch]-dev
9 $ cabal install hmatrix
10
11Detailed installation instructions:
12 http://www.hmatrix.googlepages.com/installation
13
14INSTALLATION ON WINDOWS ----------------------------------------
15
161) Download the developer files gsl-1.8-lib.zip from
17 http://gnuwin32.sourceforge.net/packages/gsl.htm
18 and copy the gsl headers folder (under include) to:
19 C:\ghc\ghc.6.x.1\include
20 These headers are also available from:
21 http://perception.inf.um.es/~aruiz/darcs/hmatrix/gsl.zip
22
232) Copy libgsl.dll, libcblas.dll (from the binaries package gsl-1.8.bin.zip)
24 and liblapack.dll (borrowed from the R system) to the ghc folder, e.g.:
25 C:\ghc\ghc-6.x.x.
26 Rename libcblas.dll to libblas.dll.
27 They are needed to compile programs.
28 These three dlls are available from:
29 http://perception.inf.um.es/~aruiz/darcs/hmatrix/dll1.zip
30
312.5) Remove the following functions from the export list of
32 lib/Numeric/GSL/Special/Ellint.hs:
33 ellint_Pcomp_e, ellint_Pcomp, ellint_Dcomp_e, ellint_Dcomp
34
353) Install the package as usual:
36 runhaskell Setup.lhs configure
37 runhaskell Setup.lhs build
38 runhaskell Setup.lhs install
39
403.5) If configure cannot find ld please see:
41 http://article.gmane.org/gmane.comp.lang.haskell.cafe/32025
42
434) Copy the dlls available from:
44 http://perception.inf.um.es/~aruiz/darcs/hmatrix/dll2.zip
45 to the working directory or C:\windows\system
46 They are required to run the programs and ghci.
47
485) run the tests
49
50Unfortunately the lapack dll supplied by the R system does not include
51zgels_, zgelss_, and zgees_, so the functions depending on them
52(linearSolveLS, linearSolveSVD, and schur for complex data)
53will produce a "non supported in this OS" runtime error.
54
55If you find an alternative free and complete lapack.dll which works well
56for this system please let me know.
57
58The examples using graphics do not yet work in windows.