<html><body><p><font size="2">IBM has pre complied version of Berkeley, IBM and NVIDIA Caffe, in case you want to use it, </font><br><br><a href="https://public.dhe.ibm.com/software/server/POWER/Linux/mldl/ubuntu/README.html"><font size="2">https://public.dhe.ibm.com/software/server/POWER/Linux/mldl/ubuntu/README.html</font></a><br><br><font size="2"><br><br>Thanks & Regards<br><br></font><font size="2" face="Default Sans Sarif">Sridhar Satyanarayan</font><br><font size="2" color="#0000FF" face="Default Sans Sarif">Certified Expert IT Consultant</font><br><font size="2" face="Default Sans Sarif">Lab Services Power Systems Delivery Practice</font><br><font size="2" face="Default Sans Sarif">IBM Systems & Technology Group</font><br><font size="2" face="Default Sans Sarif">Phone: +1-720-342-5346 </font><br><font size="2" face="Default Sans Sarif">Mobile: +1-720-340-0173 </font><br><font size="2" face="Default Sans Sarif">e-mail: sridhars@us.ibm.com</font><font size="2"><br></font><br><br><img width="16" height="16" src="cid:1__=8FBB0BFCDFC31FCF8f9e8a93df938690918c8FB@" border="0" alt="Inactive hide details for Frederic DUMOULIN ---08/01/2017 08:39:03 AM---Hi, I'm trying to compil Caffe software following this "><font size="2" color="#424282">Frederic DUMOULIN ---08/01/2017 08:39:03 AM---Hi, I'm trying to compil Caffe software following this steps</font><br><br><font size="2" color="#5F5F5F">From: </font><font size="2">Frederic DUMOULIN <frederic.dumoulin@mipsology.com></font><br><font size="2" color="#5F5F5F">To: </font><font size="2">linuxppc-users@lists.ozlabs.org</font><br><font size="2" color="#5F5F5F">Date: </font><font size="2">08/01/2017 08:39 AM</font><br><font size="2" color="#5F5F5F">Subject: </font><font size="2">[Linuxppc-users] Caffe compilation failed</font><br><font size="2" color="#5F5F5F">Sent by: </font><font size="2">"Linuxppc-users" <linuxppc-users-bounces+sridhars=us.ibm.com@lists.ozlabs.org></font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br><tt><font size="2">Hi,<br><br>I'm trying to compil Caffe software following this steps <br></font></tt><tt><font size="2"><a href="http://caffe.berkeleyvision.org/installation.html#compilation">http://caffe.berkeleyvision.org/installation.html#compilation</a></font></tt><tt><font size="2">.<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/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><br>Here is the cmake configuration:<br>-- Boost version: 1.61.0<br>-- Found the following Boost libraries:<br>-- system<br>-- thread<br>-- filesystem<br>-- chrono<br>-- date_time<br>-- atomic<br>-- Found gflags (include: /usr/include, library: <br>/usr/lib/powerpc64le-linux-gnu/libgflags.so)<br>-- Found glog (include: /usr/include, library: <br>/usr/lib/powerpc64le-linux-gnu/libglog.so)<br>-- Found PROTOBUF Compiler: /usr/bin/protoc<br>-- Found lmdb (include: /usr/include, library: <br>/usr/lib/powerpc64le-linux-gnu/liblmdb.so)<br>-- Found LevelDB (include: /usr/include, library: <br>/usr/lib/powerpc64le-linux-gnu/libleveldb.so)<br>-- Found Snappy (include: /usr/include, library: <br>/usr/lib/powerpc64le-linux-gnu/libsnappy.so)<br>-- CUDA detected: 8.0<br>-- Found cuDNN: ver. 5.0.5 found (include: /usr/local/cuda/include, <br>library: /usr/local/cuda/lib64/libcudnn.so)<br>-- Automatic GPU detection failed. Building for all known architectures.<br>-- Added CUDA NVCC flags for: sm_20 sm_21 sm_30 sm_35 sm_50<br>-- OpenCV found (/usr/share/OpenCV)<br>-- Found Atlas (include: /usr/include, library: /usr/lib/libatlas.so)<br>-- NumPy ver. 1.11.0 found (include: <br>/usr/lib/python2.7/dist-packages/numpy/core/include)<br>-- Boost version: 1.61.0<br>-- Found the following Boost libraries:<br>-- python<br>-- Detected Doxygen OUTPUT_DIRECTORY: ./doxygen/<br>-- <br>-- ******************* Caffe Configuration Summary *******************<br>-- General:<br>-- Version : 1.0.0-rc3<br>-- Git : rc3-176-g790c2db<br>-- System : Linux<br>-- C++ compiler : /opt/at10.0/bin/c++<br>-- Release CXX flags : -O3 -DNDEBUG -fPIC -Wall -Wno-sign-compare <br>-Wno-uninitialized<br>-- Debug CXX flags : -g -fPIC -Wall -Wno-sign-compare <br>-Wno-uninitialized<br>-- Build type : Release<br>-- <br>-- BUILD_SHARED_LIBS : ON<br>-- BUILD_python : ON<br>-- BUILD_matlab : OFF<br>-- BUILD_docs : ON<br>-- CPU_ONLY : OFF<br>-- USE_OPENCV : ON<br>-- USE_LEVELDB : ON<br>-- USE_LMDB : ON<br>-- ALLOW_LMDB_NOLOCK : OFF<br>-- <br>-- Dependencies:<br>-- BLAS : Yes (Atlas)<br>-- Boost : Yes (ver. 1.61)<br>-- glog : Yes<br>-- gflags : Yes<br>-- protobuf : Yes (ver. 2.6.1)<br>-- lmdb : Yes (ver. 0.9.17)<br>-- LevelDB : Yes (ver. 1.18)<br>-- Snappy : Yes (ver. 1.1.3)<br>-- OpenCV : Yes (ver. 2.4.9.1)<br>-- CUDA : Yes (ver. 8.0)<br>-- <br>-- NVIDIA CUDA:<br>-- Target GPU(s) : Auto<br>-- GPU arch(s) : sm_20 sm_21 sm_30 sm_35 sm_50<br>-- cuDNN : Yes (ver. 5.0.5)<br><br>How can it be solved ?<br><br>Thanks,<br>Fred<br><br>_______________________________________________<br>Linuxppc-users mailing list<br>Linuxppc-users@lists.ozlabs.org<br></font></tt><tt><font size="2"><a href="https://lists.ozlabs.org/listinfo/linuxppc-users">https://lists.ozlabs.org/listinfo/linuxppc-users</a></font></tt><tt><font size="2"><br></font></tt><br><br><BR>
</body></html>