Objet : Developers list for StarPU
Archives de la liste
- From: Nathalie Furmento <nathalie.furmento@labri.fr>
- To: "David M. Rogers" <davidrogers@usf.edu>, starpu-devel@lists.gforge.inria.fr
- Subject: Re: [Starpu-devel] Build Error with nvcc V7.0.27
- Date: Fri, 29 May 2015 08:48:25 +0200
- 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>
Hi David,
Thanks for reporting the issue.
It has already been fixed in the source repository of StarPU and will be available in the next release.
Cheers,
Nathalie
On 29/05/2015 06:52, David M. Rogers wrote:
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
- [Starpu-devel] Build Error with nvcc V7.0.27, David M. Rogers, 29/05/2015
- Re: [Starpu-devel] Build Error with nvcc V7.0.27, Nathalie Furmento, 29/05/2015
- Re: [Starpu-devel] Build Error with nvcc V7.0.27, Samuel Thibault, 29/05/2015
Archives gérées par MHonArc 2.6.19+.