Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

build fails #8905

Closed
LoafingBunny opened this issue Nov 30, 2017 · 1 comment
Closed

build fails #8905

LoafingBunny opened this issue Nov 30, 2017 · 1 comment

Comments

@LoafingBunny
Copy link

LoafingBunny commented Nov 30, 2017

For Q & A and discussion, please start a discussion thread at https://discuss.mxnet.io

Description

compilation of the core library fails

Environment info (Required)

Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 24
On-line CPU(s) list: 0-23
Thread(s) per core: 2
Core(s) per socket: 12
Socket(s): 1
NUMA node(s): 2
Vendor ID: AuthenticAMD
CPU family: 23
Model: 1
Model name: AMD Ryzen Threadripper 1920X 12-Core Processor
Stepping: 1
CPU MHz: 3499.947
CPU max MHz: 3500,0000
CPU min MHz: 2200,0000
BogoMIPS: 6999.89
Virtualisation: AMD-V
L1d cache: 32K
L1i cache: 64K
L2 cache: 512K
L3 cache: 8192K
NUMA node0 CPU(s): 0-5,12-17
NUMA node1 CPU(s): 6-11,18-23
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid amd_dcm aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_l2 mwaitx hw_pstate vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload overflow_recov succor smca
----------Python Info----------
Version : 3.6.3
Compiler : GCC 7.2.0
Build : ('default', 'Nov 20 2017 20:41:42')
Arch : ('64bit', '')
------------Pip Info-----------
Version : 9.0.1
Directory : /home/user/anaconda3/envs/tf/lib/python3.6/site-packages/pip
----------MXNet Info-----------
No MXNet installed.
----------System Info----------
Platform : Linux-4.13.0-17-generic-x86_64-with-debian-stretch-sid
system : Linux
node : ws0
release : 4.13.0-17-generic
version : #20~16.04.1-Ubuntu SMP Mon Nov 6 14:18:00 UTC 2017
----------Hardware Info----------
machine : x86_64
processor : x86_64
----------Network Test----------
Setting timeout: 10
Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0174 sec, LOAD: 0.9502 sec.
Timing for Gluon Tutorial(en): http://gluon.mxnet.io, DNS: 0.0737 sec, LOAD: 0.1065 sec.
Timing for Gluon Tutorial(cn): https://zh.gluon.ai, DNS: 0.2632 sec, LOAD: 0.8676 sec.
Timing for FashionMNIST: https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.0446 sec, LOAD: 0.9809 sec.
Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0219 sec, LOAD: 0.4945 sec.
Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0269 sec, LOAD: 0.5263 sec.

Build info (Required if built from source)

Compiler (gcc/clang/mingw/visual studio):
gcc 5.4.0-6ubuntu1~16.04.5

MXNet commit hash:
(Paste the output of git rev-parse HEAD here.)
a5edbf9

Build config:
not changed

Error Message:

make -j $(nproc) USE_OPENCV=1 USE_BLAS=openblas USE_CUDA=1 USE_CUDA_PATH=/usr/local/cuda-8.0/ USE_CUDNN=1

In file included from src/io/iter_image_det_recordio.cc:37:0:
src/io/./inst_vector.h:33:33: fatal error: mshadow/tensor_blob.h: No such file or directory
compilation terminated.
Makefile:275: recipe for target 'build/src/io/iter_image_det_recordio.o' failed
make: *** [build/src/io/iter_image_det_recordio.o] Error 1
make: *** Waiting for unfinished jobs....

What have you tried to solve it?

  1. reinstall cuda 8 and cudnn 6
  2. test tensorflow with gpu...ok
  3. no more ideas :)
@LoafingBunny
Copy link
Author

ok nevermind, cloned repository again after reinstalling cuda, now compilation is successful. Somehow make clean didn't clean everything.

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

No branches or pull requests

1 participant