MathGroup Archive 2011

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

Search the Archive

Re: Cudalink Internal Error

  • To: mathgroup at smc.vnet.net
  • Subject: [mg119980] Re: Cudalink Internal Error
  • From: Bert RAM Aerts <bert.ram.aerts at gmail.com>
  • Date: Sun, 3 Jul 2011 04:11:12 -0400 (EDT)
  • References: <iug57k$9d5$1@smc.vnet.net>

On 29 jun, 23:25, Brad Kimbrough <brad.kimbro... at 4dtechnology.com>
wrote:
> Hello,
>
> I have been trying to run the cudalink examples located in the getting
> started directory for cudalink.
>
> CudaQ returns true, and all other status queries return results. I am
> running a GTX 285, and have been using cuda without mathmatica for
> some time - all the sdk examples run.
>
> when I try to run the CudaDot example I get: CUDADot::internal:
> cudalink experienced and internal error.
>
> I can transfer memory to and from the GPU using the cudalink data
> transfer functions without error, but none of the Cudalink
> computational functions will run. The error provides no indication of
> what is wrong.
>
> If anyone else has experienced this issue I could really use your
> help.
>
> Regards,
>
> Brad Kimbrough

Hi,

You forgot to mention on which operating system you are...

I am working on Mageia Linux x86_64 with Mathematica Home Edition 8.0.1

I had to foresee following symbolic links:
su
cd /usr/lib64/nvidia-current
ln -s libnvidia-tls.so.275.09.07 libnvidia-tls.so
ln -s libcuda.so.275.09.07 libcuda.so
cd /usr/lib64
ln -s nvidia-current/libOpenCL.so.1 libOpenCL.so

I start Mathematica with following script:
export NVIDIA_DRIVER_LIBRARY_PATH=/usr/lib64/nvidia-current/libnvidia-tls.so
export CUDA_LIBRARY_PATH=/usr/lib64/nvidia-current/libcuda.so
mathematica

This way the CUDADot example from the Documentation Center works.

Hope this helps...

Kind regards,

Bert


  • Prev by Date: Re: Bug in Sum?
  • Next by Date: Is Put - Get cycle in Mathematica always deterministic?
  • Previous by thread: Re: A GUI Builder for Mathematica, or best existing solution..
  • Next by thread: Is Put - Get cycle in Mathematica always deterministic?