i’ve been reading forums where some people say it works but with memory problems, others say it does not work at all.
whats your experience?
i’ve been reading forums where some people say it works but with memory problems, others say it does not work at all.
whats your experience?
Runs just fine on my 9.04 64bit system.
N.
my main machine is ubuntu 9.04.
Is CUDA 2.2 supported on Ubuntu 9.04?
I’ve tried CUDA 2.3 beta on Kubuntu 9.04. I’m able to compile and run console-based applications, but there are many errors when I build X-based applications in CUDA SDK 2.3.
hey,which version of CUDA drivers and SDK have you used?
NVIDIA-Linux-x86_64-185.18.14-pkg2.run
cudatoolkit_2.2_linux_64_ubuntu8.10.run
cudasdk_2.2_linux.run
N.
even i have installed the same versions but im not able to compile examples from the SDK.
Im getting the following errors:
shashwat@mig8gb3-desktop:~/NVIDIA_CUDA_SDK$ make
make[1]: Entering directory `/home/shashwat/NVIDIA_CUDA_SDK/common’
make[1]: g++: Command not found
make[1]: *** [obj/release/bank_checker.cpp.o] Error 127
make[1]: Leaving directory `/home/shashwat/NVIDIA_CUDA_SDK/common’
make: *** [lib/libcutil.so] Error 2
is it because the gcc version?
my gcc version is 4.3.3
or because of missing repositories??
thanking you in advance…
Looks like the g++ executable is not in your search path. Either put it in your .bashrc file
export PATH=/path_to_where_you_installed_g++:$PATH
then logout and log back in
or adjust the line
CXX := g++
in the common.mk file of the SDK to
CXX := /path_to_where_you_installed_g++/g++
PS: you do have g++ installed, right? g++ isn’t the same as gcc
N.
The key here is that you do not have g++ installed:
Run “sudo apt-get install build-essential”, and then you should have both gcc and g++.
did that but im getting:
E: Couldn’t find package build-essential
What do i do now…im completely new to UBUNTU !!!
Looks like you’re missing some repositories. Yoiur /etc/apt/sources.list file should look something like this
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release amd64 (20090420.1)]/ jaunty main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu/ jaunty main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ jaunty universe
deb-src http://archive.ubuntu.com/ubuntu/ jaunty universe
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates universe
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu/ jaunty multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-updates multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://be.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
# deb-src http://be.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu jaunty partner
# deb-src http://archive.canonical.com/ubuntu jaunty partner
deb http://archive.ubuntu.com/ubuntu/ jaunty-security main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security main restricted
deb http://archive.ubuntu.com/ubuntu/ jaunty-security universe
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security universe
deb http://archive.ubuntu.com/ubuntu/ jaunty-security multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security multiverse
deb http://apt.jenslody.de/ any main
deb-src http://apt.jenslody.de/ any main
deb http://apt.wxwidgets.org/ lenny-wx main
N.
Which version of gcc and g++ are you using??
I’ve got two versions installed using update-alternatives:
There are 2 alternatives which provide `gcc’.
Selection Alternative
1 /usr/bin/gcc-4.2
2 /usr/bin/gcc-4.3
It’s quite possible that I used 4.2 to compile the SDK.
N.
I’ve removed CUDA 2.3 beta from my Kubuntu 9.04 desktop and installed CUDA 2.2:
Everything works fine, and I can build the SDK applications with GCC 4.3.3
Indeed, compiling SDK 2.2 can return some compilation errors on 64 bit systems, those are fixed in 2.2.1 (check releaselog of SDK 2.2.1).
N.
Thanks i made it work on ubuntu 9.04 64bit