<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    I've got it.<br>
    I tried to install caffe individally, it also failed but with a more
    explicit message, the dependency is not on libcudnn5 but on
    libcudnn5-dev.<br>
    After downloading the package from nvidia I was able to install the
    full mldl package.<br>
    <br>
    Thanks a lot for your help.<br>
    <br>
    <div class="moz-signature">Fred<br>
      <br>
      <br>
    </div>
    <div class="moz-cite-prefix">On 01/08/2017 18:11, Sridhar
      Satyanarayan wrote:<br>
    </div>
    <blockquote
cite="mid:OFD318D8BC.5767B242-ON0025816F.00589FE1-8725816F.0058F1F4@notes.na.collabserv.com"
      type="cite">
      <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 moz-do-not-send="true"
          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 moz-do-not-send="true"
          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 moz-do-not-send="true"
          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 moz-do-not-send="true"
          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 moz-do-not-send="true"
          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 moz-do-not-send="true"
          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 moz-do-not-send="true"
          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 moz-do-not-send="true"
          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 moz-do-not-send="true"
          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 moz-do-not-send="true"
          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 face="Default Sans Sarif" size="2">Sridhar
          Satyanarayan</font><br>
        <font face="Default Sans Sarif" size="2" color="#0000FF">Certified
          Expert IT Consultant</font><br>
        <font face="Default Sans Sarif" size="2">Lab Services Power
          Systems Delivery Practice</font><br>
        <font face="Default Sans Sarif" size="2">IBM Systems &
          Technology Group</font><br>
        <font face="Default Sans Sarif" size="2">Phone:  +1-720-342-5346
        </font><br>
        <font face="Default Sans Sarif" size="2">Mobile: 
          +1-720-340-0173   </font><br>
        <font face="Default Sans Sarif" size="2">e-mail: <a class="moz-txt-link-abbreviated" href="mailto:sridhars@us.ibm.com">sridhars@us.ibm.com</a></font><font
          size="2"><br>
        </font><br>
        <br>
        <img src="cid:part11.01060806.08050302@mipsology.com"
          alt="Inactive hide details for Frederic DUMOULIN ---08/01/2017
          09:58:13 AM---The pre compiled versions will be fine for the
          moment, " border="0" height="16" width="16"><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 <a class="moz-txt-link-rfc2396E" href="mailto:frederic.dumoulin@mipsology.com"><frederic.dumoulin@mipsology.com></a></font><br>
        <font size="2" color="#5F5F5F">To: </font><font size="2">Sridhar
          Satyanarayan <a class="moz-txt-link-rfc2396E" href="mailto:sridhars@us.ibm.com"><sridhars@us.ibm.com></a></font><br>
        <font size="2" color="#5F5F5F">Cc: </font><font size="2"><a class="moz-txt-link-abbreviated" href="mailto:linuxppc-users@lists.ozlabs.org">linuxppc-users@lists.ozlabs.org</a></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>
      </p>
      <hr style="color:#8091A5; " align="left" size="2"
        noshade="noshade" width="100%"><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 moz-do-not-send="true"
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 face="Default Sans Sarif" size="2"><br>
            Sridhar Satyanarayan</font><font face="Default Sans Sarif"
            size="2" color="#0000FF"><br>
            Certified Expert IT Consultant</font><font face="Default
            Sans Sarif" size="2"><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 moz-do-not-send="true"
            href="mailto:sridhars@us.ibm.com"><u><font face="Default
                Sans Sarif" size="2" color="#0000FF">sridhars@us.ibm.com</font></u></a><br>
          <br>
          <br>
          <img src="cid:part11.01060806.08050302@mipsology.com"
            alt="Inactive hide details for Frederic DUMOULIN
            ---08/01/2017 08:39:03 AM---Hi, I'm trying to compil Caffe
            software following this " height="16" width="16"><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
            moz-do-not-send="true"
            href="mailto:frederic.dumoulin@mipsology.com"><u><font
                size="2" color="#0000FF"><a class="moz-txt-link-rfc2396E" href="mailto:frederic.dumoulin@mipsology.com"><frederic.dumoulin@mipsology.com></a></font></u></a><font
            size="2" color="#5F5F5F"><br>
            To: </font><a moz-do-not-send="true"
            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
            moz-do-not-send="true"
href="mailto:linuxppc-users-bounces+sridhars=us.ibm.com@lists.ozlabs.org"><u><font
                size="2" color="#0000FF"><a class="moz-txt-link-rfc2396E" href="mailto:linuxppc-users-bounces+sridhars=us.ibm.com@lists.ozlabs.org"><linuxppc-users-bounces+sridhars=us.ibm.com@lists.ozlabs.org></a></font></u></a>
          <hr align="left" size="2" noshade="noshade" width="100%"><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 moz-do-not-send="true"
            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 moz-do-not-send="true"
            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 moz-do-not-send="true"
            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>
    </blockquote>
    <br>
  </body>
</html>