I just installed CUDA 3.1 on Fedora 13 the following way:
yum install gcc kernel-devel eclipse-jdt eclipse-cdt freeglut freeglut-devel mesa-libGLU-devel libXmu-devel libXi-devel Alt+Ctrl+F2 /sbin/init 3 ./devdriver_3.1_linux_64_256.35.run shutdown -r now #I did yum remove kmod-nvidia previously, nouveau is blacklisted cudatoolkit_3.1_linux_64_fedora12.run echo "PATH=\$PATH:/usr/local/cuda/bin LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:/usr/local/cuda/lib:/usr/local/cuda/lib64 export PATH export LD_LIBRARY_PATH" >> ~/.bashrc gpucomputingsdk_3.1_linux.run
cd /home/user/NVIDIA_GPU_Computing_SDK/C/src/fluidsGL/ make
/usr/bin/ld: cannot find -lrendercheckgl_x86_64 collect2: ld returned 1 exit status make: *** [../../bin/linux/release/fluidsGL] Error 1
and the other examples fail in a similar way with the same error.
Just typing nvcc gives:
nvcc ï¿½%6X: No input files specified; use option --help for more information
which seems fine to me.
I could post my /var/log/nvidia-installer.log on demand, but it’s very long and ends with
-> Driver file installation is complete. -> Running post-install sanity check: -> done. -> Post-install sanity check passed. -> Shared memory test passed. -> Running runtime sanity check: -> done. -> Runtime sanity check passed. -> Would you like to run the nvidia-xconfig utility to automatically update you r X configuration file so that the NVIDIA X driver will be used when you res tart X? Any pre-existing X configuration file will be backed up. (Answer: Y es) -> Your X configuration file has been successfully updated. Installation of the NVIDIA Accelerated Graphics Driver for Linux-x86_64 (version: 256.35) is now complete.
cat /proc/driver/nvidia/cards/0 prints
Model: Quadro NVS 140M IRQ: 16 Video BIOS: 60.86.3e.00.00 Card Type: PCI-E DMA Size: 40 bits DMA Mask: 0xffffffffff Bus Location: 0000:01.00.0
More important cat /proc/driver/nvidia/version:
NVRM version: NVIDIA UNIX x86_64 Kernel Module 256.35 Wed Jun 16 18:42:44 PDT 2010 GCC version: gcc version 4.4.4 20100503 (Red Hat 4.4.4-2) (GCC)
Besides other stuff my /etc/X11/xorg.conf contains
Section "Files" ModulePath "/usr/lib64/xorg/modules/extensions/nvidia" ModulePath "/usr/lib64/xorg/modules" EndSection Section "ServerFlags" Option "AIGLX" "on" EndSection Section "Device" Identifier "Videocard0" Driver "nvidia" EndSection Section "Screen" Identifier "Default Screen" Device "Videocard0" Option "AddARGBGLXVisuals" "True" SubSection "Display" Modes "nvidia-auto-select" EndSubSection EndSection
Any suggestions are highly appreciated. Thank you in advance.
Keep in mind that these are my first steps using CUDA, so I might be very naive and overlook a simple problem.