summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2007-11-23 09:29:50 +0000
committerAlberto Ruiz <aruiz@um.es>2007-11-23 09:29:50 +0000
commit48139eb50c9052406839ee8375e378374e973207 (patch)
tree5c84c9494115393a9cf7b4cead8e23a5ffcc4a9a /README
parente685015b98c8ca272e37376b50b3b17afe747529 (diff)
improved hssl.cabal
Diffstat (limited to 'README')
-rw-r--r--README28
1 files changed, 17 insertions, 11 deletions
diff --git a/README b/README
index e6752f2..f224ddb 100644
--- a/README
+++ b/README
@@ -26,8 +26,8 @@ The following packages are used for simple graphics:
26- gnuplot 26- gnuplot
27- imagemagick 27- imagemagick
28 28
29It is also a good idea to install GNU-Octave to check 29GNU-Octave can be used to check if the results
30that the results obtained by this library are correct... 30obtained by this library are correct.
31 31
32INSTALLATION 32INSTALLATION
33 33
@@ -83,7 +83,7 @@ Prelude Numeric.LinearAlgebra> u <> d <> trans v
83Prelude Numeric.GSL> :q 83Prelude Numeric.GSL> :q
84Leaving GHCi. 84Leaving GHCi.
85 85
86A few illustrative programs are included in the examples folder. 86A number of illustrative programs are included in the examples folder.
87 87
88CHANGES 88CHANGES
89 89
@@ -113,25 +113,31 @@ INSTALLATION ON WINDOWS
1131) Download the developer files gsl-1.8-lib.zip from 1131) Download the developer files gsl-1.8-lib.zip from
114 http://gnuwin32.sourceforge.net/packages/gsl.htm 114 http://gnuwin32.sourceforge.net/packages/gsl.htm
115 and copy the gsl folder (under include) to the include folder of ghc: 115 and copy the gsl folder (under include) to the include folder of ghc:
116 C:\ghc\ghc.6.6.1\include 116 C:\ghc\ghc.6.x.1\include
117 117
1182) Install the package as usual from the command line in the hssl-0.1 folder: 1182) Install the package as usual from the command line in the hssl-0.1 folder:
119 runhaskell Setup.lhs configure 119 runhaskell Setup.lhs configure
120 runhaskell Setup.lhs build 120 runhaskell Setup.lhs build
121 runhaskell Setup.lhs install 121 runhaskell Setup.lhs install
122 122
1232.5) If configure cannot find ld please see:
124 http://article.gmane.org/gmane.comp.lang.haskell.cafe/32025
125
1233) Copy libgsl.dll, libcblas.dll (from the binaries package gsl-1.8.bin.zip) 1263) Copy libgsl.dll, libcblas.dll (from the binaries package gsl-1.8.bin.zip)
124 and liblapack.dll (borrowed from the R system) to the folder where 127 and liblapack.dll (borrowed from the R system) to the folder in which
125 hssl has been installed: C:\Program Files\haskell\hss-0.1\ghc-6.6.1. 128 hssl has been installed: C:\Program Files\haskell\hss-0.1\ghc-6.x.1.
126 Rename libcblas.dll to libblas.dll. 129 Rename libcblas.dll to libblas.dll.
127 They are needed to compile programs. 130 They are needed to compile programs.
128 These three dlls are also available from 131 These three dlls are available from:
129 http://perception.inf.um.es/~aruiz/darcs/HSSL/dll1.zip 132 http://perception.inf.um.es/~aruiz/darcs/HSSL/dll1.zip
130 133
1314) Copy the dlls at http://perception.inf.um.es/~aruiz/darcs/HSSL/dll2.zip 1344) Copy the dlls available from:
135 http://perception.inf.um.es/~aruiz/darcs/HSSL/dll2.zip
132 to the working directory or C:\windows\system 136 to the working directory or C:\windows\system
133 They are required to run the programs and ghci. 137 They are required to run the programs and ghci.
134 138
1395) run the tests
140
135Unfortunately the lapack dll supplied by the R system does not include 141Unfortunately the lapack dll supplied by the R system does not include
136zgels_, zgelss_, and zgees_, so the functions depending on them 142zgels_, zgelss_, and zgees_, so the functions depending on them
137(linearSolveLS, linearSolveSVD, and schur for complex data) 143(linearSolveLS, linearSolveSVD, and schur for complex data)
@@ -140,9 +146,9 @@ will produce a "non supported in this OS" runtime error.
140If you find an alternative free and complete lapack.dll which works well 146If you find an alternative free and complete lapack.dll which works well
141for this system please let me know. 147for this system please let me know.
142 148
143NOTE: I get a syntax error when compiling LAPACK.hs in Windows with ghc-opts -O. 149NOTE: In windows the library is currently compiled with -O0 -fasm to avoid
144 Please change it to ghc-opts -O0 in hssl.cabal and build again. 150 a C syntax error on clapack.h. You won't notice any appreciable difference
145 You won't notice any appreciable difference in performance, but I will try to fix it asap. 151 in performance, but I will try to fix it asap.
146 152
147ACKNOWLEDGEMENTS 153ACKNOWLEDGEMENTS
148 154