[Linuxppc-users] Caffe compilation failed
Gerrit Huizenga [Notes]
gerrit at us.ibm.com
Wed Aug 2 01:48:40 AEST 2017
Current build instructions for ppc64le are here:
https://github.com/ppc64le/build-scripts/tree/master/caffe
gerrit
--
"Only those who will risk going too far can possibly find out how far one
can go." ~ T. S. Eliot
Gerrit Huizenga, STSM
Power Open Source Ecosystem Lead
gerrit at us.ibm.com
From: Frederic DUMOULIN <frederic.dumoulin at mipsology.com>
To: linuxppc-users at lists.ozlabs.org
Date: 08/01/2017 07:38 AM
Subject: [Linuxppc-users] Caffe compilation failed
Sent by: "Linuxppc-users" <linuxppc-users-bounces
+gerrit=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/5f025951/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-users/attachments/20170801/5f025951/attachment.gif>
More information about the Linuxppc-users
mailing list