IntelLabs / SkimCaffe

Caffe for Sparse Convolutional Neural Network
Other
238 stars 64 forks source link

make error #1

Open LXWDL opened 7 years ago

LXWDL commented 7 years ago

Hi , Thanks for your codes, when I run the make all -j16 ,I have encountered the following questions and I have no idea how to solver the problems,can you help me? thanks. make[1]: Is entering the directory /home/dl/lxw/SkimCaffe-intel_scnn/src/SpMP' make[1]: warning: jobserver unavailable: using -j1. Add+' to parent make rule. icpc -qopenmp -std=c++11 -ipp -Wno-deprecated -Wall -O3 -DNDEBUG -xHost -fPIC -c COO.cpp -o COO.o make[1]: icpc:Command not found make[1]: [COO.o] error 127 make[1]:Leaving the catalog `/home/dl/lxw/SkimCaffe-intel_scnn/src/SpMP' make: [SpMP] error 2 make: *** Waiting for an unfinished task.... make[1]: Is entering the directory /home/dl/lxw/SkimCaffe-intel_scnn/src/libxsmm' make[1]: warning: jobserver unavailable: using -j1. Add+' to parent make rule. make[1]: Nothing can be done for `libxsmm '。

jspark1105 commented 7 years ago

Hi, can you try "make all" without -j16 option or use smaller number like -j4? Error messages in English will also help me to understand better.

LXWDL commented 7 years ago

@jspark1105 ,Thanks for your help,the problem has been solved, but I have encountered another error when I run the following command: ./examples/cifar10/train_script_sparse_feature.sh 0.001 0.00000000045 1 examples/cifar10/template_cifar10_full_multistep_solver_sfm.prototx examples/cifar10/template_cifar10_full_train_test_sfm.prototxt the error is: Traceback (most recent call last): File "python/set_layer_param.py", line 7, in import lmdb ImportError: No module named lmdb

jspark1105 commented 7 years ago

The script is from @wenwei202 and I haven't used it. Anyway, looks like lmdb Python package is not installed in your system?

LXWDL commented 7 years ago

@jspark1105 Thanks for your reply,but when I run the make all , I encountered the following error: PROTOC src/caffe/proto/caffe.proto CXX .build_release/src/caffe/proto/caffe.pb.cc /bin/sh: 1: icpc: not found make: *** [.build_release/src/caffe/proto/caffe.pb.o] error 1 I am new to Caffe, so these mistakes do not know how to solve.Do you have a good suggestion? Thanks .

jspark1105 commented 7 years ago

Sorry didn't know that you were asking about icc in your first posting. As explained in README.md , the only compiler supported by SkimCaffe is Intel compiler (icc). You can freely use Intel compiler if you're participating in an open source project: https://software.intel.com/en-us/qualify-for-free-software