Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined symbol: _ZN5boost6python6detail11init_moduleER11PyModuleDefPFvvE #6547

Open
5 tasks
mlcoop opened this issue Sep 25, 2018 · 2 comments
Open
5 tasks

Comments

@mlcoop
Copy link

mlcoop commented Sep 25, 2018

Important - read before submitting

Please read the guidelines for contributing before submitting this issue!

Please do not post installation, build, usage, or modeling questions, or other requests for help to Issues.
Use the caffe-users list instead.
This helps developers maintain a clear, uncluttered, and efficient view of the state of Caffe.

Issue summary

Steps to reproduce

Tried solutions

System configuration

  • Operating system:
  • Compiler:
  • CUDA version (if applicable):
  • CUDNN version (if applicable):
  • BLAS:
  • Python version (if using pycaffe):
  • MATLAB version (if using matcaffe):

Issue checklist

  • read the guidelines and removed the first paragraph
  • written a short summary and detailed steps to reproduce
  • explained how solutions to related problems failed (tick if found none)
  • filled system configuration
  • attached relevant logs/config files (tick if not applicable)
@mlcoop
Copy link
Author

mlcoop commented Sep 25, 2018

I am trying to import caffe.
I get error: undefined symbol: _ZN5boost6python6detail11init_moduleER11PyModuleDefPFvvE

My configs are:
USE_CUDNN := 1

CUDA_ARCH := -gencode arch=compute_30,code=sm_30
-gencode arch=compute_35,code=sm_35
-gencode arch=compute_50,code=sm_50
-gencode arch=compute_52,code=sm_52
-gencode arch=compute_60,code=sm_60
-gencode arch=compute_61,code=sm_61
-gencode arch=compute_61,code=compute_61
BLAS := atlas
ANACONDA_HOME := $/home/malibayev/anaconda3/envs/pytorch_0_4
PYTHON_INCLUDE := $(ANACONDA_HOME)/include
$(ANACONDA_HOME)/include/python3.6m
$(ANACONDA_HOME)/lib/python3.6/site-packages/numpy/core/include

PYTHON_LIB := $(ANACONDA_HOME)/lib
WITH_PYTHON_LAYER := 1

INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include /usr/include/hdf5/serial
LIBRARY_DIRS := $(PYTHON_LIB) /usr/local/lib /usr/lib /usr/lib/x86_64-linux-gnu/hdf5/serial/
BUILD_DIR := build
DISTRIBUTE_DIR := distribute
TEST_GPUID := 0

Did make all; make rustest; make test; make pycaffe;
make pytest showed couple errors:
ERROR: test_coord_map (unittest.loader._FailedTest)
ERROR: test_layer_type_list (unittest.loader._FailedTest)
ERROR: test_python_layer (unittest.loader._FailedTest)
ERROR: test_python_layer_with_param_str (unittest.loader._FailedTest)
ERROR: test_solver (unittest.loader._FailedTest)

@mlcoop mlcoop closed this as completed Sep 25, 2018
@mlcoop mlcoop reopened this Sep 25, 2018
@gaobb
Copy link

gaobb commented Sep 25, 2018

Uncomment to use Python 3 (default is Python 2)

PYTHON_LIBRARIES := boost_python-py35 python3.6m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants