<html><body bgcolor="#FFFFFF"><p><font size="2">Try with this repositories, looks like your OS is not able to pull pre-requisite packages</font><br><br><br><font size="2">sudo vi /etc/apt/sources.list</font><br><br><font size="2">deb </font><a href="http://us.ports.ubuntu.com/ubuntu-ports/"><font size="2">http://us.ports.ubuntu.com/ubuntu-ports/</font></a><font size="2"> xenial main restricted</font><br><font size="2">deb </font><a href="http://us.ports.ubuntu.com/ubuntu-ports/"><font size="2">http://us.ports.ubuntu.com/ubuntu-ports/</font></a><font size="2"> xenial-updates main restricted</font><br><font size="2">deb </font><a href="http://us.ports.ubuntu.com/ubuntu-ports/"><font size="2">http://us.ports.ubuntu.com/ubuntu-ports/</font></a><font size="2"> xenial universe</font><br><font size="2">deb </font><a href="http://us.ports.ubuntu.com/ubuntu-ports/"><font size="2">http://us.ports.ubuntu.com/ubuntu-ports/</font></a><font size="2"> xenial-updates universe</font><br><font size="2">deb </font><a href="http://us.ports.ubuntu.com/ubuntu-ports/"><font size="2">http://us.ports.ubuntu.com/ubuntu-ports/</font></a><font size="2"> xenial multiverse</font><br><font size="2">deb </font><a href="http://us.ports.ubuntu.com/ubuntu-ports/"><font size="2">http://us.ports.ubuntu.com/ubuntu-ports/</font></a><font size="2"> xenial-updates multiverse</font><br><font size="2">deb </font><a href="http://us.ports.ubuntu.com/ubuntu-ports/"><font size="2">http://us.ports.ubuntu.com/ubuntu-ports/</font></a><font size="2"> xenial-backports main restricted universe multiverse</font><br><font size="2">deb </font><a href="http://ports.ubuntu.com/ubuntu-ports"><font size="2">http://ports.ubuntu.com/ubuntu-ports</font></a><font size="2"> xenial-security main restricted</font><br><font size="2">deb </font><a href="http://ports.ubuntu.com/ubuntu-ports"><font size="2">http://ports.ubuntu.com/ubuntu-ports</font></a><font size="2"> xenial-security universe</font><br><font size="2">deb </font><a href="http://ports.ubuntu.com/ubuntu-ports"><font size="2">http://ports.ubuntu.com/ubuntu-ports</font></a><font size="2"> xenial-security multiverse</font><br><br><font size="2">sudo apt-get update</font><br><tt>sudo apt-get install power-mldl</tt><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__=8FBB0BFCDFCB19718f9e8a93df938690918c8FB@" border="0" alt="Inactive hide details for Frederic DUMOULIN ---08/01/2017 09:58:13 AM---The pre compiled versions will be fine for the moment, "><font size="2" color="#424282">Frederic DUMOULIN ---08/01/2017 09:58:13 AM---The pre compiled versions will be fine for the moment, thanks. I tried the mldl-repo-local_3.4.2_ppc</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">Sridhar Satyanarayan <sridhars@us.ibm.com></font><br><font size="2" color="#5F5F5F">Cc: </font><font size="2">linuxppc-users@lists.ozlabs.org</font><br><font size="2" color="#5F5F5F">Date: </font><font size="2">08/01/2017 09:58 AM</font><br><font size="2" color="#5F5F5F">Subject: </font><font size="2">Re: [Linuxppc-users] Caffe compilation failed</font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br>The pre compiled versions will be fine for the moment, thanks.<br><br>I tried the mldl-repo-local_3.4.2_ppc64el.deb installation.<br>I've got an error on the last step:<br><tt><br>$ sudo apt-get install power-mldl<br>Reading package lists... Done<br>Building dependency tree <br>Reading state information... Done<br>Some packages could not be installed. This may mean that you have<br>requested an impossible situation or if you are using the unstable<br>distribution that some required packages have not yet been created<br>or been moved out of Incoming.<br>The following information may help to resolve the situation:<br><br>The following packages have unmet dependencies:<br> power-mldl : Depends: caffe-bvlc (>= 1.0.0rc5-3ibm1) but it is not going to be installed<br> Depends: caffe-ibm (>= 1.0.0rc3-3ibm4) but it is not going to be installed<br> Depends: caffe-nv (= 0.14.5-3ibm1) but it is not going to be installed or<br> caffe-nv (>= 0.15.14-3ibm1) but it is not going to be installed<br> Depends: digits (>= 5.0-3ibm4) but it is not going to be installed<br>E: Unable to correct problems, you have held broken packages.</tt><br><br><br>Fred<br><br><br>On 01/08/2017 16:42, Sridhar Satyanarayan wrote:
<ul><ul><font size="2">IBM has pre complied version of Berkeley, IBM and NVIDIA Caffe, in case you want to use it, </font><br><u><font color="#0000FF"><br></font></u><a href="https://public.dhe.ibm.com/software/server/POWER/Linux/mldl/ubuntu/README.html"><u><font size="2" color="#0000FF">https://public.dhe.ibm.com/software/server/POWER/Linux/mldl/ubuntu/README.html</font></u></a><br><font size="2"><br><br><br>Thanks & Regards<br></font><font size="2" face="Default Sans Sarif"><br>Sridhar Satyanarayan</font><font size="2" color="#0000FF" face="Default Sans Sarif"><br>Certified Expert IT Consultant</font><font size="2" face="Default Sans Sarif"><br>Lab Services Power Systems Delivery Practice<br>IBM Systems & Technology Group<br>Phone: +1-720-342-5346 <br>Mobile: +1-720-340-0173 <br>e-mail: </font><a href="mailto:sridhars@us.ibm.com"><u><font size="2" color="#0000FF" face="Default Sans Sarif">sridhars@us.ibm.com</font></u></a><br><br><br><img src="cid:1__=8FBB0BFCDFCB19718f9e8a93df938690918c8FB@" width="16" height="16" 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><font size="2" color="#5F5F5F"><br>From: </font><font size="2">Frederic DUMOULIN </font><a href="mailto:frederic.dumoulin@mipsology.com"><u><font size="2" color="#0000FF"><frederic.dumoulin@mipsology.com></font></u></a><font size="2" color="#5F5F5F"><br>To: </font><a href="mailto:linuxppc-users@lists.ozlabs.org"><u><font size="2" color="#0000FF">linuxppc-users@lists.ozlabs.org</font></u></a><font size="2" color="#5F5F5F"><br>Date: </font><font size="2">08/01/2017 08:39 AM</font><font size="2" color="#5F5F5F"><br>Subject: </font><font size="2">[Linuxppc-users] Caffe compilation failed</font><font size="2" color="#5F5F5F"><br>Sent by: </font><font size="2">"Linuxppc-users" </font><a href="mailto:linuxppc-users-bounces+sridhars=us.ibm.com@lists.ozlabs.org"><u><font size="2" color="#0000FF"><linuxppc-users-bounces+sridhars=us.ibm.com@lists.ozlabs.org></font></u></a><p><hr width="100%" size="2" align="left" noshade><br><br><tt><font size="2"><br>Hi,<br><br>I'm trying to compil Caffe software following this steps </font></tt><tt><u><font size="2" color="#0000FF"><br></font></u></tt><a href="http://caffe.berkeleyvision.org/installation.html#compilation"><tt><u><font size="2" color="#0000FF">http://caffe.berkeleyvision.org/installation.html#compilation</font></u></tt></a><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</font></tt><tt><u><font size="2" color="#0000FF"><br></font></u></tt><a href="mailto:Linuxppc-users@lists.ozlabs.org"><tt><u><font size="2" color="#0000FF">Linuxppc-users@lists.ozlabs.org</font></u></tt></a><tt><u><font size="2" color="#0000FF"><br></font></u></tt><a href="https://lists.ozlabs.org/listinfo/linuxppc-users"><tt><u><font size="2" color="#0000FF">https://lists.ozlabs.org/listinfo/linuxppc-users</font></u></tt></a><br><br><br></ul></ul><br><br><BR>
</body></html>