[Haskell-cafe] install cuda
pcaspers1973 at gmail.com
Mon Apr 1 17:27:32 CEST 2013
indeed, not very helpful ...
When I installed Cuda the latest driver (296.0) that was running on my
laptop (a W520 ThinkPad) was not sufficient for version 5.0. However as
I noticed today in February Lenovo released a driver update (311.0) and
with that 5.0 is in fact running. :-)
With that the Haskell bindings work well.
Thanks again very much, Geoff
Am 01.04.2013 12:25, schrieb Geoffrey Mainland:
> That is not a very elucidating crash message, so I don't see how to
> proceed. After ghci print "Loading package cuda-0.5.0.0 ... 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-0.9.2.1 ... linking ... done.
>> Loading package cuda-0.5.0.0 ... 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
>> 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-0.5.0.0...
>>>> setup.exe: configure script not found.
>>>> can you help ?
>>>>> 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