[Haskell-cafe] install cuda

Geoffrey Mainland mainland at apeiron.net
Mon Apr 1 12:25:35 CEST 2013

That is not a very elucidating crash message, so I don't see how to
proceed. After ghci print "Loading package cuda- ... linking
... done." it just exits? No error dialog, nothing? Did you try building
any of the examples in the cuda package that don't require ghci?

Is your graphics card incompatible with CUDA 5.0, or do you just not
want to update your driver?


On 04/01/2013 10:33 AM, Peter Caspers wrote:
> yes, the installation seems to work fine now. However, doing the following test in ghci
> Prelude> :m +Foreign.CUDA
> Prelude Foreign.CUDA> props 0
> Loading package bytestring- ... linking ... done.
> Loading package cuda- ... linking ... done.
> results in a crash. The CUDA version I am using is 4.1.28. You think
there is something I could try to analyze this further ?
> Thanks a lot for your help
> Peter
> Am 31.03.2013 21:48, schrieb Geoffrey Mainland:
>> You need to generate the configure script using autoconf:
>> On 03/31/2013 08:27 PM, Peter Caspers wrote:
>>> Hmm, I get
>>> Configuring cuda-
>>> setup.exe: configure script not found.
>>> can you help ?
>>> Peter
>>>> I was able to install the cuda package under 32-bit GHC 7.4.2 using the
>>>> 5.0 SDK and use it from within ghci. This required using my fork of the
>>>> cuda repo and following the instructions in my WINDOWS.md. Make sure
>>>> nvcc is in your path (the CUDA installer should have made this so) and
>>>> try 'cabal configure'.

More information about the Haskell-Cafe mailing list