[Linuxppc-users] Caffe compilation failed

Frederic DUMOULIN frederic.dumoulin at mipsology.com
Wed Aug 2 01:57:42 AEST 2017


The pre compiled versions will be fine for the moment, thanks.

I tried the mldl-repo-local_3.4.2_ppc64el.deb installation.
I've got an error on the last step:

$ sudo apt-get install power-mldl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  power-mldl : Depends: caffe-bvlc (>= 1.0.0rc5-3ibm1) but it is not 
going to be installed
               Depends: caffe-ibm (>= 1.0.0rc3-3ibm4) but it is not 
going to be installed
               Depends: caffe-nv (= 0.14.5-3ibm1) but it is not going to 
be installed or
                        caffe-nv (>= 0.15.14-3ibm1) but it is not going 
to be installed
               Depends: digits (>= 5.0-3ibm4) but it is not going to be 
installed
E: Unable to correct problems, you have held broken packages.


Fred


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-users/attachments/20170801/7efba9c4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-users/attachments/20170801/7efba9c4/attachment-0001.gif>


More information about the Linuxppc-users mailing list