summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2007-11-25 18:01:52 +0000
committerAlberto Ruiz <aruiz@um.es>2007-11-25 18:01:52 +0000
commita4c7d19bae75c93e3831e6cf8ae65b4bfd735b94 (patch)
tree57ae3f2cd4c629e9151325d919866864d097b8e7 /README
parent30fdf02aff2ac1c4da2bb9292fc08cc8330580d0 (diff)
minor changes in hssl.cabal
Diffstat (limited to 'README')
-rw-r--r--README24
1 files changed, 12 insertions, 12 deletions
diff --git a/README b/README
index f224ddb..d7ee666 100644
--- a/README
+++ b/README
@@ -38,6 +38,8 @@ $ runhaskell Setup.lhs install --user
38 38
39See below for installation on Windows. 39See below for installation on Windows.
40 40
41For undetermined reasons compilation with -O in Linux requires -fvia-C.
42
41TESTS 43TESTS
42 44
43$ runhaskell examples/tests 45$ runhaskell examples/tests
@@ -51,15 +53,13 @@ produces segmentation faults when working with big matrices
51on compiled programs. To expose the problem: 53on compiled programs. To expose the problem:
52 54
53$ cd examples 55$ cd examples
54$ ghc --make -O tests.hs 56$ ghc --make -O -fvia-C tests.hs
55$ ./tests --big 57$ ./tests --big
56 58
57If this crashes, just uninstall atlas3-sse2 (atlas3-base-dev will be used). 59If this crashes, just uninstall atlas3-sse2 and use atlas3-base-dev instead.
58Fortunately, atlas3-sse2-dev seems to work well on Ubuntu 7.10 Gutsy. 60Fortunately, atlas3-sse2-dev seems to work well on Ubuntu 7.10 Gutsy.
59
60A similar problem was reported at: 61A similar problem was reported at:
61 62 http://article.gmane.org/gmane.linux.debian.devel.bugs.general/323065
62http://article.gmane.org/gmane.linux.debian.devel.bugs.general/323065
63 63
64EXAMPLES 64EXAMPLES
65 65
@@ -112,10 +112,12 @@ INSTALLATION ON WINDOWS
112 112
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 headers folder (under include) to:
116 C:\ghc\ghc.6.x.1\include 116 C:\ghc\ghc.6.x.1\include
117 These headers are also available from:
118 http://perception.inf.um.es/~aruiz/darcs/HSSL/gsl.zip
117 119
1182) Install the package as usual from the command line in the hssl-0.1 folder: 1202) Install the package as usual:
119 runhaskell Setup.lhs configure 121 runhaskell Setup.lhs configure
120 runhaskell Setup.lhs build 122 runhaskell Setup.lhs build
121 runhaskell Setup.lhs install 123 runhaskell Setup.lhs install
@@ -125,7 +127,7 @@ INSTALLATION ON WINDOWS
125 127
1263) Copy libgsl.dll, libcblas.dll (from the binaries package gsl-1.8.bin.zip) 1283) Copy libgsl.dll, libcblas.dll (from the binaries package gsl-1.8.bin.zip)
127 and liblapack.dll (borrowed from the R system) to the folder in which 129 and liblapack.dll (borrowed from the R system) to the folder in which
128 hssl has been installed: C:\Program Files\haskell\hss-0.1\ghc-6.x.1. 130 hssl has been installed: C:\Program Files\haskell\hss-0.1\ghc-6.x.x.
129 Rename libcblas.dll to libblas.dll. 131 Rename libcblas.dll to libblas.dll.
130 They are needed to compile programs. 132 They are needed to compile programs.
131 These three dlls are available from: 133 These three dlls are available from:
@@ -146,9 +148,7 @@ will produce a "non supported in this OS" runtime error.
146If you find an alternative free and complete lapack.dll which works well 148If you find an alternative free and complete lapack.dll which works well
147for this system please let me know. 149for this system please let me know.
148 150
149NOTE: In windows the library is currently compiled with -O0 -fasm to avoid 151The examples using graphics do not yet work in windows.
150 a C syntax error on clapack.h. You won't notice any appreciable difference
151 in performance, but I will try to fix it asap.
152 152
153ACKNOWLEDGEMENTS 153ACKNOWLEDGEMENTS
154 154