Accéder au contenu.
Menu Sympa

starpu-devel - [Starpu-devel] Build Error with nvcc V7.0.27

Objet : Developers list for StarPU

Archives de la liste

[Starpu-devel] Build Error with nvcc V7.0.27


Chronologique Discussions 
  • From: "David M. Rogers" <davidrogers@usf.edu>
  • To: <starpu-devel@lists.gforge.inria.fr>
  • Subject: [Starpu-devel] Build Error with nvcc V7.0.27
  • Date: Fri, 29 May 2015 00:52:10 -0400
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=davidrogers@usf.edu;
  • List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel/>
  • List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>
  • Organization: University of South Florida

When compiling the latest starpu-1.2.0rc2, I get the error:

/usr/local/cuda/bin/nvcc interface/complex_kernels.cu -c -o interface/complex_kernels.o -ccbin gcc -I/usr/local/cuda/include -m64 --compiler-options -fno-strict-aliasing -I../include/ -I../include/ -I../examples/ -arch sm_13
nvcc fatal : Value 'sm_13' is not defined for option 'gpu-architecture'
Makefile:5653: recipe for target 'interface/complex_kernels.o' failed
make[3]: *** [interface/complex_kernels.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/dave/starpu-1.2.0rc2/examples'

or (for ./configure --prefix=/usr/local NVCCFLAGS="-arch=sm_52")

/usr/local/cuda/bin/nvcc interface/complex_kernels.cu -c -o interface/complex_kernels.o -arch=sm_52 -ccbin gcc -I/usr/local/cuda/include -m64 --compiler-options -fno-strict-aliasing -I../include/ -I../include/ -I../examples/ -arch sm_13
nvcc fatal : redefinition of argument 'gpu-architecture'
Makefile:5653: recipe for target 'interface/complex_kernels.o' failed
make[3]: *** [interface/complex_kernels.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/dave/starpu-1.2.0rc2/examples'


Apparently sm_13 is not supported in the latest cuda, and manually setting arch doesn't stop arch_13 from being used. The flag comes in examples/Makefile.am, and should be turned off by an appropriate automake test.

Linux 3.16.0-38-generic #52-Ubuntu SMP Thu May 7 10:51:21 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

gcc (Ubuntu 4.9.1-16ubuntu6) 4.9.1

nvcc: Built on Mon_Feb_16_22:59:02_CST_2015
Cuda compilation tools, release 7.0, V7.0.27

--
~ David M. Rogers
Assistant Professor of Chemistry
University of South Florida

office: IDRB 202m
phone: 813-974-4298





Archives gérées par MHonArc 2.6.19+.

Haut de le page