Re: 7.8.1 cabal install of vector package (dependent on primitive package) fails

2014-04-10 Thread Vivian McPhail
Yes, exactly. On 10 April 2014 22:03, Herbert Valerio Riedel h...@gnu.org wrote: On 2014-04-10 at 06:00:43 +0200, Vivian McPhail wrote: Indeed. It was using the wrong cabal-install version. Even though I had installed the newest cabal-install I needed to restart the xterm I

7.8.1 cabal install of vector package (dependent on primitive package) fails

2014-04-09 Thread Vivian McPhail
Hi, Ubuntu 12.04, 64 bit x86, ghc 7.8.1 gives the following: # cabal install --global vector ... [ 5 of 19] Compiling Data.Vector.Fusion.Stream.Monadic ( Data/Vector/Fusion/Stream/Monadic.hs, dist/build/Data/Vector/Fusion/Stream/Monadic.o ) Loading package ghc-prim ... linking ... done. Loading

Re: 7.8.1 cabal install of vector package (dependent on primitive package) fails

2014-04-09 Thread Vivian McPhail
with 1.16 :) 1) cabal update 2) cabal install cabal-install 3) rm ~/.cabal/config # old pre 1.18 config should go! 4) cabal update # also probably add ~/.cabal/bin to path 5) cabal install vector On Wed, Apr 9, 2014 at 11:24 PM, Vivian McPhail haskell.vivian.mcph...@gmail.com wrote: Hi

Re: ANNOUNCE: GHC 7.0.1 Release Candidate 1

2010-09-29 Thread Vivian McPhail
Trying to build rc1 from source linux x86_64 BuildFlavour = perf It seems that the -fPIC flag is set, but an error still occurs ( /usr/bin/ld: libraries/integer-gmp/gmp/objs/abs.o: relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC )

DPH, granularity, and GPUs

2010-09-29 Thread Vivian McPhail
Hello, DPH seems to build parallel vectors at the level of scalar elements (doubles, say). Is this a design decision aimed at targettiing GPUs? If I am filtering an hour's worth of multichannel data (an array of (Vector Double)) then off the top of my head I would think that the optimal

GHCi: scripting and multiline input

2010-09-13 Thread Vivian McPhail
Hi, I am attempting to mimic matlab/octave using ghci, including a facility for updateable graphs of data. 1) It would be nice to be able to load a script of commands from the prompt \begin{file} script Sine where import hmatrix Numeric.Vector import plot Graphics.Rendering.Plot let ts =

ghci doesn't run FFi'd code which works under ghc on WinXP

2007-04-01 Thread Vivian McPhail
Hi All, I wrote a binding to matlab matrix.h and mat.h. My test program works when I compile a binary, but when I try to use the code in ghci nothing happens. There are no error messages, but all computations return a blank line. Does this fall into a known class of error? I can provide my