clab / clab/dynet

Dynet GPU manual installation error. [No such file or directory: '/home/skumyol/dynet-base/dynet/build/python/_dynet.pyx']

Open
#1,611 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
3.4k
Forks
701
PR merge metrics
No merged PRs in 30d

Description

Hi,
I'm having problem with building dynet GPU and have no idea about the reason.

-- Configuring done
-- Generating done
-- Build files have been written to: /home/skumyol/dynet-base/dynet/build
[ 1%] [ 2%] Building NVCC (Device) object dynet/CMakeFiles/dynet.dir//./dynet_generated_gpu-merge3.cu.o
Building NVCC (Device) object dynet/CMakeFiles/dynet.dir//./dynet_generated_cudnn-ops.cu.o
nvcc warning : The -std=c++11 flag is not supported with the configured host compiler. Flag will be ignored.
nvcc warning : The -std=c++11 flag is not supported with the configured host compiler. Flag will be ignored.
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/type_traits:35,
from /home/skumyol/dynet-base/dynet/dynet/dim.h:12,
from /home/skumyol/dynet-base/dynet/dynet/tensor.h:15,
from /home/skumyol/dynet-base/dynet/dynet/tensor-eigen.h:7,
from /home/skumyol/dynet-base/dynet/dynet/nodes-arith-const.cc:1,
from /home/skumyol/dynet-base/dynet/build/dynet/gpu-merge3.cu:1:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/c++0x_warning.h:31:2: error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/random:35,
from /home/skumyol/dynet-base/dynet/dynet/globals.h:4,
from /home/skumyol/dynet-base/dynet/dynet/aligned-mem-pool.h:6,
from /home/skumyol/dynet-base/dynet/dynet/dynet.h:16,
from /home/skumyol/dynet-base/dynet/dynet/cudnn-ops.cu:6:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/c++0x_warning.h:31:2: error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.
CMake Error at dynet_generated_cudnn-ops.cu.o.cmake:202 (message):
Error generating
/home/skumyol/dynet-base/dynet/build/dynet/CMakeFiles/dynet.dir//./dynet_generated_cudnn-ops.cu.o

make[2]: *** [dynet/CMakeFiles/dynet.dir/./dynet_generated_cudnn-ops.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMake Error at dynet_generated_gpu-merge3.cu.o.cmake:202 (message):
Error generating
/home/skumyol/dynet-base/dynet/build/dynet/CMakeFiles/dynet.dir//./dynet_generated_gpu-merge3.cu.o

make[2]: *** [dynet/CMakeFiles/dynet.dir/./dynet_generated_gpu-merge3.cu.o] Error 1
make[1]: *** [dynet/CMakeFiles/dynet.dir/all] Error 2
make: *** [all] Error 2
running build
INFO:root:CMAKE_PATH='/usr/bin/cmake'
INFO:root:MAKE_PATH='/usr/bin/make'
INFO:root:MAKE_FLAGS='-j 24'
INFO:root:EIGEN3_INCLUDE_DIR='/home/skumyol/eigen'
INFO:root:EIGEN3_DOWNLOAD_URL='https://bitbucket.org/eigen/eigen/get/b2e267dc99d4.zip'
INFO:root:CC_PATH='/usr/bin/gcc'
INFO:root:CXX_PATH='/usr/bin/g++'
INFO:root:SCRIPT_DIR='/home/skumyol/dynet-base/dynet'
INFO:root:BUILD_DIR='/home/skumyol/dynet-base/dynet/build'
INFO:root:INSTALL_PREFIX='/home/skumyol/venv2/lib/python2.7/site-packages/../../..'
INFO:root:PYTHON='/home/skumyol/venv2/bin/python'
cmake version 2.8.12.2
g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

running build_py
INFO:root:Building Python files...
file dynet_viz.py (for module dynet_viz) not found
file dynet_config.py (for module dynet_config) not found
file dynet_viz.py (for module dynet_viz) not found
file dynet_config.py (for module dynet_config) not found
running build_ext
INFO:root:Building Cython extensions...
INFO:root:INCLUDE_DIRS='/home/skumyol/dynet-base/dynet /home/skumyol/eigen /home/skumyol/eigen'
INFO:root:LIBRARIES='dynet'
INFO:root:LIBRARY_DIRS='/home/skumyol/dynet-base/dynet/build//dynet/ . /home/skumyol/dynet-base/dynet/build/dynet/'
INFO:root:COMPILER_ARGS='-std=c++11 -Wno-unused-function'
INFO:root:EXTRA_LINK_ARGS="-Wl,-rpath='/usr/local/lib/',--no-as-needed"
INFO:root:RUNTIME_LIB_DIRS='/home/skumyol/dynet-base/dynet/build//dynet/ /usr/local/lib/'
cythoning /home/skumyol/dynet-base/dynet/build/python/_dynet.pyx to /home/skumyol/dynet-base/dynet/build/python/_dynet.cpp
error: [Errno 2] No such file or directory: '/home/skumyol/dynet-base/dynet/build/python/_dynet.pyx'

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the GPU build using the reported CMake 2.8.12.2, GCC 4.4.7, and Python 2.7 environment. Start with the NVCC compilation errors and the build/python/_dynet.pyx generation step; done means the build completes without the reported compiler and missing-file failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp, python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.