Cannot find libcudartemu.so -- CUDA Toolkit 3.1 for ubuntu 904, Driver256.44

My system is Ubuntu 1004, using Toolkit 3.1 for ubuntu 904. make dbg=1 or make works fine. But make emu=1 doesn’t work. It says:

/usr/bin/ld: cannot find -lcudartemu

Here is my /usr/local/cuda/lib

[codebox]total 69076

drwxr-xr-x 2 root root 4096 2010-08-15 17:40 ./

drwxr-xr-x 10 root root 4096 2010-08-15 17:40 …/

lrwxrwxrwx 1 root root 14 2010-08-15 17:40 libcublas.so -> libcublas.so.3*

lrwxrwxrwx 1 root root 18 2010-08-15 17:40 libcublas.so.3 -> libcublas.so.3.1.9*

-rwxr-xr-x 1 root root 47345784 2010-08-15 17:40 libcublas.so.3.1.9*

lrwxrwxrwx 1 root root 14 2010-08-15 17:40 libcudart.so -> libcudart.so.3*

lrwxrwxrwx 1 root root 18 2010-08-15 17:40 libcudart.so.3 -> libcudart.so.3.1.9*

-rwxr-xr-x 1 root root 222584 2010-08-15 17:40 libcudart.so.3.1.9*

lrwxrwxrwx 1 root root 13 2010-08-15 17:40 libcufft.so -> libcufft.so.3*

lrwxrwxrwx 1 root root 17 2010-08-15 17:40 libcufft.so.3 -> libcufft.so.3.1.9*

-rwxr-xr-x 1 root root 23148368 2010-08-15 17:40 libcufft.so.3.1.9*

[/codebox]

and this is my /usr/lib/libcuda*

[codebox]

lrwxrwxrwx 1 root root 12 2010-08-14 23:28 /usr/lib/libcuda.so -> libcuda.so.1

lrwxrwxrwx 1 root root 17 2010-08-14 23:28 /usr/lib/libcuda.so.1 -> libcuda.so.256.40

-rwxr-xr-x 1 root root 9294154 2010-08-14 23:28 /usr/lib/libcuda.so.256.40

[/codebox]

my $LD_LIBRARY_PATH

[codebox]

echo $LD_LIBRARY_PATH

/usr/local/cuda/lib

[/codebox]

I see many people have libcudartemu.so in /usr/local/cuda/lib. But I haven’t. I reinstall CUDA Toolkit, but the problem doesn’t solve.

The emulation features of the toolkit were already deprecated in Cuda 3.0, and have been removed in Cuda 3.1.

The emulation features of the toolkit were already deprecated in Cuda 3.0, and have been removed in Cuda 3.1.