MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: non working CUDA x86_64 with Home Edition x86

  • To: mathgroup at smc.vnet.net
  • Subject: [mg114658] Re: non working CUDA x86_64 with Home Edition x86
  • From: Bert RAM Aerts <bert.ram.aerts at gmail.com>
  • Date: Sun, 12 Dec 2010 05:41:22 -0500 (EST)
  • References: <idv72n$sv0$1@smc.vnet.net>

On 11 dec, 07:52, Bert RAM Aerts <bert.ram.ae... at gmail.com> wrote:
> My laptop is running Mandriva 2010.1 x86_64 Linux.
> It has an nVIDIA GeForce 8600M GT, which supports CUDA.
> CUDA 3.2.16 is installed with the latest display driver 260.19.21
> Compiled examples from CUDA SDK are working fine.
>
> I have Mathematica Home Edition 8.0.0 which is 32 bit.
>
> I can install the 32 bit CUDAResources-Lin-8.0.0.6.paclet fromhttp://www.wolfram.com/CUDA/CUDAResources.html
> with
> Needs["CUDALink`"]
> CUDAResorucesInstall["<path_to_paclet>"]
>
> But trying to install the 64 bit variant
> CUDAResources-Lin64-8.0.0.6.paclet
> does not work.
>
> Needs["CUDALink`"]
> CUDAInformation[]
> gives
> CUDAInformation::invdriv: CUDA was not able to find a valid CUDA
> driver. Refer to CUDALink System Requirements for system requirements.
>
>
>
> Is there a way to couple 32 bit Mathematica to 64 bit CUDA?
>
> (It is not possible to install 32 bit CUDA in Mandriva.)

First of all Mandriva's CUDA packages contain libraries for both /usr/
lib and /usr/lib64.

I could get CUDA and OpenCL to work by reading following tutorial
http://reference.wolfram.com/mathematica/CUDALink/tutorial/Setup.html
1 symbolic links
  su
  cd /usr/lib/nvidia-current
  ln -s libnvidia-tls.so.260.19.21 libnvidia-tls.so
  cd /usr/lib
  ln -s nvidia-current/libOpenCL.so libOpenCL.so
2 script mathematica.sh to start Mathematica
  export NVIDIA_DRIVER_LIBRARY_PATH=/usr/lib/nvidia-current/libnvidia-
tls.so
  export CUDA_LIBRARY_PATH=/usr/lib/nvidia-current/libcuda.so
  mathematica



  • Prev by Date: Re: Message composition was changed in v8?
  • Next by Date: Re: Replacement Rule with Sqrt in denominator. Also Bug in Series; see Semantica / Harris solution
  • Previous by thread: non working CUDA x86_64 with Home Edition x86
  • Next by thread: Question: Compile in Mathematica 8.0