[Haskell-cafe] NVIDIA's CUDA and Haskell

Trevor L. McDonell tmcdonell at cse.unsw.edu.au
Wed Jul 6 04:10:38 CEST 2011


hmm... so libcuda and libcudart are in /usr/local/cuda/lib and the script isn't
finding them?

Any further information on your system / os combination? What version of the
toolkit are you using? I currently use 3.2, haven't tried with 4.x yet.

> $ nvcc --version
> nvcc: NVIDIA (R) Cuda compiler driver
> Copyright (c) 2005-2010 NVIDIA Corporation
> Built on Thu_Nov_11_15:26:50_PST_2010
> Cuda compilation tools, release 3.2, V0.2.1221



On 05/07/2011, at 10:16 PM, Johannes Waldmann wrote:

> Trevor L. McDonell <tmcdonell <at> cse.unsw.edu.au> writes:
> 
>> ... source repo should work:
>> https://github.com/mchakravarty/accelerate
> 
> I have CUDA in the default location (e.g., /usr/local/cuda/bin/nvcc )
> but I can't seem to get the cuda cabal package to build
> 
> ...
> checking cuda.h usability... yes
> checking cuda.h presence... yes
> checking for cuda.h... yes
> checking cuda_runtime_api.h usability... yes
> checking cuda_runtime_api.h presence... yes
> checking for cuda_runtime_api.h... yes
> checking for library containing cuDriverGetVersion... no
> configure: error: could not find CUDA driver library
> 
> I have nvcc in the PATH, and I also set --extra-include/lib-dirs
> 
> I can build and run the NVIDIA_GPU_Computing_SDK examples.
> 
> 
> 
> 
> _______________________________________________
> 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