[Haskell-cafe] install cuda

Manuel M T Chakravarty chak at cse.unsw.edu.au
Thu Apr 4 04:05:59 CEST 2013


Geoffrey Mainland <mainland at apeiron.net>:
> Fantastic, glad you got it working! Maybe it's time for me to send
> Trevor a pull request...

That sounds like an excellent idea!

Manuel

> On 04/01/2013 04:27 PM, Peter Caspers wrote:
>> 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
>> Peter
>> 
>> 
>> 
>> 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?
>>> 
>>> Geoff
>>> 
>>> 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
>>>> Peter
>>>> 
>>>> Am 31.03.2013 21:48, schrieb Geoffrey Mainland:
>>>>> You need to generate the configure script using autoconf:
>>>>> 
>>>>> 
>>> 
> https://www.gnu.org/software/autoconf/manual/autoconf.html#autoconf-Invocation
>>>>> 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 ?
>>>>>> 
>>>>>> 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'.
>> 
> 
> 
> 
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe




More information about the Haskell-Cafe mailing list