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