[gl-como] Cuda - Archlinux

ADB albeluci@gmail.com
Gio 26 Maggio 2011 12:27:43 CEST


Non riesco a porttare a termine la compilazione per una serie di
errori e di richieste che non posso soddisfare...

Di seguito trovate che mi dice il terminale:


[alberto@netgear ~]$ yaourt -S cuda

==> Scaricamento del PKGBUILD di cuda da AUR...
x PKGBUILD

Comment by: btouellette on Fri, 25 Jun 2010 21:26:13 +0000
OpenCL support has been rolled into the newest nvidia-utils.

http://bugs.archlinux.org/task/18486	

Comment by: btouellette on Mon, 28 Jun 2010 19:09:35 +0000
3.1 out!

http://developer.nvidia.com/object/cuda_3_1_downloads.html	

Comment by: mizux on Thu, 30 Sep 2010 17:29:08 +0000
Why don't add a new package : cuda-devdriver
with pkbuild... based on official devdriver which should be use with
specific CUDA version...
32bit :
http://developer.download.nvidia.com/compute/cuda/3_2/drivers/devdriver_3.2_linux_32_260.24.run
64bit :
http://developer.download.nvidia.com/compute/cuda/3_2/drivers/devdriver_3.2_linux_64_260.24.run

Comment by: Schnouki on Thu, 30 Sep 2010 17:48:49 +0000
I've been using CUDA 3.2 for a few weeks (prerelease for registered
developers ;)) with the 260.24 driver. I'll post my PKGBUILDs
tomorrow. In the meantime, be sure *not to update to xorg-server-1.9*
if you want to use the 260.24 driver: *stay at xorg-server-1.8*.
260.24 does not include the 1.9 performance fixes that come with
260.19... (not tested 260.19 with CUDA 3.2 though :))

Comment by: Schnouki on Fri, 01 Oct 2010 07:45:57 +0000
Here is the source package for the 260.24 driver:
http://fichiers.schnouki.net/archlinux/cuda/nvidia-260.24-1.src.tar.gz
(splitted PKGBUILD that builds both nvidia and nvidia-utils).

Comment by: sl1pkn07 on Sun, 03 Oct 2010 11:41:52 +0000
@Shnouki

please, add for make lib32-nvidia-utils in your pkgbuild

thanks	

First Submitted: Tue, 27 Nov 2007 23:46:30 +0000	
cuda 3.2.16-1
( Pacchetto non supportato: Potenzialmente pericoloso! )
==> Modificare PKGBUILD  [S/n] ("A" per annullare)
==> ----------------------------------------------
==> n

==> Dipendenze di cuda
 - cuda-toolkit>=3.2.16-1 (giā installato)

 - cuda-sdk>=3.2.16-1 (compilazione da AUR)


==> Continuare la compilazione di cuda [S/n]
==> ----------------------------------------
==>
==> Compilazione e installazione del pacchetto
==> Installa o compila le dipendenze mancanti per cuda:

==> Scaricamento del PKGBUILD di cuda-sdk da AUR...
x PKGBUILD
x common.mk.patch

Comment by: Schnouki on Mon, 21 Mar 2011 09:40:43 +0000
@sl1pkn07: I'm sorry, but I don't really understand what you mean
here. There is no nvidia driver in my repo, and my cuda-* packages
depend on nvidia=260.19.21, which is OK for 260.19.44. Could you
please explain what you meant here?

Comment by: sl1pkn07 on Thu, 24 Mar 2011 00:48:31 +0000
simply.

and my cuda-* packages depend on nvidia=260.19.21 - update dependency
to 260.19.44 in your repository

[schnouki]
Server = http://repo.schnouki.net/archlinux/$arch	

Comment by: Schnouki on Thu, 24 Mar 2011 07:43:29 +0000
But there's no need to do this. If you're already using nvidia
260.19.44, no problem: the nvidia=260.19.21 dependency is satisfied.
If you're still using 260.19.21, that's fine too, this package works
with it.

Comment by: Schnouki on Fri, 25 Mar 2011 14:37:09 +0000
I made new packages for NVIDIA registered developers that wish to test
the CUDA 4.0 prerelease: cuda-sdk-beta
(http://aur.archlinux.org/packages.php?ID=47707) and cuda-toolkit-beta
(http://aur.archlinux.org/packages.php?ID=47706). If you want to use
them, be sure to read the comments on the AUR pages and inside the
PKGBUILDs.

Comment by: danvari on Sun, 27 Mar 2011 11:14:07 +0000
i get the following error when i try to compile the sdk examples
(maybe it has sth. to do with the current update to nvidia driver
270.30??):

make[1]: Entering directory
`/home/stephan/NVIDIA_GPU_Computing_SDK/C/src/simpleMultiCopy'
/usr/include/surface_functions.h: In function ‘void surf1Dread(T*,
surfacevoid, 1, int, int, cudaSurfaceBoundaryMode)’:
/usr/include/surface_functions.h:100:95: error: there are no arguments
to ‘__surf1Dreadc1’ that depend on a template parameter, so a
declaration of ‘__surf1Dreadc1’ must be available
/usr/include/surface_functions.h:100:95: note: (if you use
‘-fpermissive’, G++ will accept your code, but allowing the use of an
undeclared name is deprecated)
/usr/include/surface_functions.h:101:96: error: there are no arguments
to ‘__surf1Dreads1’ that depend on a template parameter, so a
declaration of ‘__surf1Dreads1’ must be available
/usr/include/surface_functions.h:102:94: error: there are no arguments
to ‘__surf1Dreadu1’ that depend on a template parameter, so a
declaration of ‘__surf1Dreadu1’ must be available
/usr/include/surface_functions.h:103:94: error: there are no arguments
to ‘__surf1Dreadu2’ that depend on a template parameter, so a
declaration of ‘__surf1Dreadu2’ must be available
/usr/include/surface_functions.h:104:95: error: there are no arguments
to ‘__surf1Dreadu4’ that depend on a template parameter, so a
declaration of ‘__surf1Dreadu4’ must be available
/usr/include/surface_functions.h: In function ‘void surf2Dread(T*,
surfacevoid, 2, int, int, int, cudaSurfaceBoundaryMode)’:
/usr/include/surface_functions.h:460:98: error: there are no arguments
to ‘__surf2Dreadc1’ that depend on a template parameter, so a
declaration of ‘__surf2Dreadc1’ must be available
/usr/include/surface_functions.h:461:99: error: there are no arguments
to ‘__surf2Dreads1’ that depend on a template parameter, so a
declaration of ‘__surf2Dreads1’ must be available
/usr/include/surface_functions.h:462:97: error: there are no arguments
to ‘__surf2Dreadu1’ that depend on a template parameter, so a
declaration of ‘__surf2Dreadu1’ must be available
/usr/include/surface_functions.h:463:97: error: there are no arguments
to ‘__surf2Dreadu2’ that depend on a template parameter, so a
declaration of ‘__surf2Dreadu2’ must be available
/usr/include/surface_functions.h:464:98: error: there are no arguments
to ‘__surf2Dreadu4’ that depend on a template parameter, so a
declaration of ‘__surf2Dreadu4’ must be available
make[1]: *** [obj/x86_64/release/simpleMultiCopy.cu.o] Error 1	

Comment by: Schnouki on Sun, 27 Mar 2011 16:04:11 +0000
@danvari: hmm, the path seems to indicate you're not compiling the SDK
using this package, right? :)
Anyway, you should try what the 4th line suggests: add
--compiler-options -fpermissive to your NVCCFLAGS. I couldn't compile
the SDK without that option. Also, be sure to use gcc 4.3 or 4.4; gcc
4.5 (or 4.6 ;)) will definitely not work for a few examples.
You may want to check the common.mk.patch that comes with this
package. As you are apparently on a x86_64 machine, you can also
directly use the binary package from my custom repository;
instructions are in the PKGBUILD or in some older comments.

First Submitted: Mon, 02 Feb 2009 14:47:11 +0000	
cuda-sdk 3.2.16-1
( Pacchetto non supportato: Potenzialmente pericoloso! )
==> Modificare PKGBUILD  [S/n] ("A" per annullare)
==> ----------------------------------------------
==> n

==> Dipendenze di cuda-sdk
 - cuda-toolkit>=3.2.16 (giā installato)
 - nvidia>=260.19.21 (giā installato)
 - freeglut (giā installato)
 - gcc44 (compilazione da AUR)


==> Continuare la compilazione di cuda-sdk [S/n]
==> --------------------------------------------
==>
==> Compilazione e installazione del pacchetto
==> Installa o compila le dipendenze mancanti per cuda-sdk:

==> Scaricamento del PKGBUILD di gcc44 da AUR...
x PKGBUILD
x gcc_pure64.patch
x gcc-hash-style-both.patch

Comment by: maxi_jac on Tue, 24 Aug 2010 23:37:34 +0000
It worked perfectly for me. Thanks	

Comment by: Barthalion on Tue, 22 Feb 2011 11:34:56 +0000
4.4.5 was released 4 months ago.	

Comment by: sl1pkn07 on Wed, 23 Feb 2011 00:48:16 +0000
barthalion. this is for cuda-sdk. only compile with this	

Comment by: speciousfool on Tue, 01 Mar 2011 10:21:57 +0000
I guess we need to see what gcc is needed for the new cuda-sdk 4.0
before anything else.

Comment by: Barthalion on Sat, 19 Mar 2011 09:28:03 +0000
For you maybe yes, but newest version (4.5) have much worst
performance and optimization, and I'm using this to compiling
everything.

Comment by: sl1pkn07 on Fri, 22 Apr 2011 22:39:24 +0000
cloog-ppl not longer available on AUR	

First Submitted: Fri, 28 May 2010 14:46:15 +0000	
gcc44 4.4.4-2
( Pacchetto non supportato: Potenzialmente pericoloso! )
==> Modificare PKGBUILD  [S/n] ("A" per annullare)
==> ----------------------------------------------
==> n

==> Dipendenze di gcc44
 - binutils>=2.20.1 (giā installato)
 - mpfr>=2.4.2-2 (giā installato)
 - zlib (giā installato)
 - libelf (giā installato)
 - cloog-ppl>=0.15.8 (compilazione da AUR)


==> Continuare la compilazione di gcc44 [S/n]
==> -----------------------------------------
==>
==> Compilazione e installazione del pacchetto
==> Installa o compila le dipendenze mancanti per gcc44:
Password:
errore: il seguente pacchetto non č stato trovato: cloog-ppl>=0.15.8
==> Riavviare la compilazione di gcc44 [s/N]
==> ----------------------------------------
==>
==> Modificare PKGBUILD  [S/n] ("A" per annullare)
==> ----------------------------------------------
==> n

==> Dipendenze di gcc44
 - binutils>=2.20.1 (giā installato)
 - mpfr>=2.4.2-2 (giā installato)
 - zlib (giā installato)
 - libelf (giā installato)
 - cloog-ppl>=0.15.8 (compilazione da AUR)


==> Continuare la compilazione di gcc44 [S/n]
==> -----------------------------------------
==>
==> Compilazione e installazione del pacchetto
==> Installa o compila le dipendenze mancanti per gcc44:
errore: il seguente pacchetto non č stato trovato: cloog-ppl>=0.15.8
==> Riavviare la compilazione di gcc44 [s/N]
==> ----------------------------------------

Il sistema č aggiornatissimo quindi ultima versione di XORG e driver NVIDIA.
a questo punto mi sono andato a cercare  cloog-ppl>=0.15.8 ma non sono
riuscito a trovarlo

idee?
-- 
 --


Maggiori informazioni sulla lista gl-como