[Linuxppc-users] Caffe compilation failed

Steve Munroe sjmunroe at us.ibm.com
Wed Aug 2 00:52:23 AEST 2017


"Linuxppc-users" <linuxppc-users-bounces
+sjmunroe=us.ibm.com at lists.ozlabs.org> wrote on 08/01/2017 09:37:44 AM:

> From: Frederic DUMOULIN <frederic.dumoulin at mipsology.com>
> To: linuxppc-users at lists.ozlabs.org
> Date: 08/01/2017 09:39 AM
> Subject: [Linuxppc-users] Caffe compilation failed
> Sent by: "Linuxppc-users" <linuxppc-users-bounces
> +sjmunroe=us.ibm.com at lists.ozlabs.org>
>
> Hi,
>
> I'm trying to compil Caffe software following this steps
> http://caffe.berkeleyvision.org/installation.html#compilation.
> I need the CPU_ONLY flag to be OFF and USE_CUDNN to ON. In this mode
> cuda files are compiled.
>
> It seems that the cuda files can not be compiled with
> /opt/at10.0/bin/gcc since the version is 6.3.1 whereas cuda headers
> doen't support gcc > 5:
> [  1%] Building NVCC (Device) object
> src/caffe/CMakeFiles/cuda_compile.dir/solvers/
> cuda_compile_generated_adagrad_solver.cu.o
> nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are
> deprecated, and may be removed in a future release (Use
> -Wno-deprecated-gpu-targets to suppress warning).
> In file included from /usr/local/cuda/include/cuda_runtime.h:78:0,
>                   from <command-line>:0:
> /usr/local/cuda/include/host_config.h:119:2: error: #error --
> unsupported GNU version! gcc versions later than 5 are not supported!
>   #error -- unsupported GNU version! gcc versions later than 5 are not
> supported!
>    ^~~~~
> CMake Error at cuda_compile_generated_adagrad_solver.cu.o.cmake:207
> (message):
>
This is NVIDIA / CUDA restriction / Bug.

They need to fix this. The Open Source world does not hold still, ...

Steven J. Munroe
Linux on Power Toolchain Architect
IBM Corporation, Linux Technology Center
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-users/attachments/20170801/bfcc3a46/attachment.html>


More information about the Linuxppc-users mailing list